text
stringlengths 197
24.1M
|
---|
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ExFunction
.type ExFunction, %function
ExFunction:
.LFB0:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str w0, [sp, 28]
str x1, [sp, 16]
str x2, [sp, 8]
ldr w0, [sp, 28]
str w0, [sp, 40]
ldr x0, [sp, 16]
str x0, [sp, 48]
ldr x0, [sp, 8]
str x0, [sp, 56]
nop
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ExFunction, .-ExFunction
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "r"
.align 3
.LC1:
.string "in1"
.align 3
.LC2:
.string "%ld\n"
.align 3
.LC3:
.string "Result: %ld*%ld*%ld=%ld (count: %ld)\n"
.align 3
.LC4:
.string "Count: %ld\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
stp x25, x26, [sp, 64]
str x27, [sp, 80]
sub sp, sp, #16
.cfi_offset 19, -160
.cfi_offset 20, -152
.cfi_offset 21, -144
.cfi_offset 22, -136
.cfi_offset 23, -128
.cfi_offset 24, -120
.cfi_offset 25, -112
.cfi_offset 26, -104
.cfi_offset 27, -96
str w0, [x29, 108]
str x1, [x29, 96]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 168]
mov x1, 0
mov x0, sp
mov x19, x0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fopen
str x0, [x29, 144]
str xzr, [x29, 136]
mov w0, 201
str w0, [x29, 132]
ldr w0, [x29, 132]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 152]
sxtw x1, w0
mov x26, x1
mov x27, 0
lsr x1, x26, 58
lsl x23, x27, 6
orr x23, x1, x23
lsl x22, x26, 6
sxtw x1, w0
mov x24, x1
mov x25, 0
lsr x1, x24, 58
lsl x21, x25, 6
orr x21, x1, x21
lsl x20, x24, 6
sxtw x0, w0
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L2:
cmp sp, x1
beq .L3
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L2
.L3:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L4
str xzr, [sp, 1024]
.L4:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 160]
str wzr, [x29, 116]
b .L5
.L6:
ldrsw x0, [x29, 116]
lsl x0, x0, 3
ldr x1, [x29, 160]
add x0, x1, x0
mov x2, x0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
ldr x0, [x29, 144]
bl __isoc99_fscanf
ldr w0, [x29, 116]
add w0, w0, 1
str w0, [x29, 116]
.L5:
ldr w1, [x29, 116]
ldr w0, [x29, 132]
cmp w1, w0
blt .L6
str wzr, [x29, 120]
b .L7
.L13:
ldr w0, [x29, 120]
add w0, w0, 1
str w0, [x29, 124]
b .L8
.L12:
ldr w0, [x29, 124]
add w0, w0, 1
str w0, [x29, 128]
b .L9
.L11:
ldr x0, [x29, 136]
add x0, x0, 1
str x0, [x29, 136]
ldr x0, [x29, 160]
ldrsw x1, [x29, 120]
ldr x1, [x0, x1, lsl 3]
ldr x0, [x29, 160]
ldrsw x2, [x29, 124]
ldr x0, [x0, x2, lsl 3]
add x1, x1, x0
ldr x0, [x29, 160]
ldrsw x2, [x29, 128]
ldr x0, [x0, x2, lsl 3]
add x0, x1, x0
cmp x0, 2020
bne .L10
ldr x0, [x29, 160]
ldrsw x1, [x29, 120]
ldr x6, [x0, x1, lsl 3]
ldr x0, [x29, 160]
ldrsw x1, [x29, 124]
ldr x7, [x0, x1, lsl 3]
ldr x0, [x29, 160]
ldrsw x1, [x29, 128]
ldr x3, [x0, x1, lsl 3]
ldr x0, [x29, 160]
ldrsw x1, [x29, 120]
ldr x1, [x0, x1, lsl 3]
ldr x0, [x29, 160]
ldrsw x2, [x29, 124]
ldr x0, [x0, x2, lsl 3]
mul x1, x1, x0
ldr x0, [x29, 160]
ldrsw x2, [x29, 128]
ldr x0, [x0, x2, lsl 3]
mul x0, x1, x0
ldr x5, [x29, 136]
mov x4, x0
mov x2, x7
mov x1, x6
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
.L10:
ldr w0, [x29, 128]
add w0, w0, 1
str w0, [x29, 128]
.L9:
ldr w1, [x29, 128]
ldr w0, [x29, 132]
cmp w1, w0
blt .L11
ldr w0, [x29, 124]
add w0, w0, 1
str w0, [x29, 124]
.L8:
ldr w1, [x29, 124]
ldr w0, [x29, 132]
cmp w1, w0
blt .L12
ldr w0, [x29, 120]
add w0, w0, 1
str w0, [x29, 120]
.L7:
ldr w1, [x29, 120]
ldr w0, [x29, 132]
cmp w1, w0
blt .L13
ldr x1, [x29, 136]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [x29, 144]
bl fclose
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L15
bl __stack_chk_fail
.L15:
mov w0, w1
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x25, x26, [sp, 64]
ldr x27, [sp, 80]
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Informe o seu ano de nascimento:"
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "Voc\303\252 tem %d anos e est\303\241 apto para votar.\n"
.align 3
.LC3:
.string "Voc\303\252 tem %d anos e n\303\243o \303\251 obrigado a votar.\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
mov w0, 2022
str w0, [sp, 32]
str wzr, [sp, 28]
str wzr, [sp, 36]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
add x0, sp, 28
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 28]
ldr w1, [sp, 32]
sub w0, w1, w0
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 15
ble .L2
ldr w0, [sp, 36]
cmp w0, 70
bgt .L2
ldr w1, [sp, 36]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
b .L3
.L2:
ldr w1, [sp, 36]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
.L3:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global filePath
.bss
.align 3
.type filePath, %object
.size filePath, 8
filePath:
.zero 8
.global defaultPath
.data
.align 3
.type defaultPath, %object
.size defaultPath, 18
defaultPath:
.ascii "./files/index.html"
.global responseBuffer
.bss
.align 3
.type responseBuffer, %object
.size responseBuffer, 8
responseBuffer:
.zero 8
.global timestr
.align 3
.type timestr, %object
.size timestr, 64
timestr:
.zero 64
.global v
.align 2
.type v, %object
.size v, 4
v:
.zero 4
.global outFile
.align 3
.type outFile, %object
.size outFile, 8
outFile:
.zero 8
.global HTTPstrings
.section .rodata
.align 3
.LC26:
.string "HTTP/1.1"
.align 3
.LC27:
.string "HTTP/1.0"
.align 3
.LC28:
.string "Not Found"
.align 3
.LC29:
.string "Forbidden"
.align 3
.LC30:
.string "OK"
.align 3
.LC31:
.string "Server: Zaphod-Beeblebrox"
.align 3
.LC32:
.string "Content-Type: text/html"
.align 3
.LC33:
.string "Content-Length: "
.align 3
.LC34:
.string "Date: "
.align 3
.LC35:
.string "Connection-Type: "
.section .data.rel.local,"aw"
.align 3
.type HTTPstrings, %object
.size HTTPstrings, 80
HTTPstrings:
.xword .LC26
.xword .LC27
.xword .LC28
.xword .LC29
.xword .LC30
.xword .LC31
.xword .LC32
.xword .LC33
.xword .LC34
.xword .LC35
.global response
.bss
.align 3
.type response, %object
.size response, 72
response:
.zero 72
.section .rodata
.align 3
.LC36:
.string " -- VERBOSE --"
.align 3
.LC37:
.string "When port number is undefined, default is 8808 and silence"
.align 3
.LC38:
.string "When port number is defined, verbose is activated"
.align 3
.LC39:
.string "server [(optional) PORT]"
.align 3
.LC40:
.string "%s\n%s\n%s\n"
.align 3
.LC41:
.string "port number: %d\n"
.align 3
.LC42:
.string "socket was not created successfully... EXITING"
.align 3
.LC43:
.string "...Socket Created\n"
.align 3
.LC44:
.string "Bind Unsuccessful... EXITING"
.align 3
.LC45:
.string "...Bind to port %d successful\n"
.align 3
.LC46:
.string "...Listening for incoming connections\n"
.align 3
.LC47:
.string "----------------------\n|-- CLIENT CONNECTED\n"
.align 3
.LC48:
.string "%s"
.align 3
.LC49:
.string "|-- END OF MESSAGE --------------"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -112
.cfi_offset 20, -104
str w0, [sp, 44]
str x1, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 120]
mov x1, 0
ldr w0, [sp, 44]
cmp w0, 2
bne .L2
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
bl strlen
cmp x0, 4
bhi .L3
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
bl atoi
str w0, [sp, 72]
adrp x0, v
add x0, x0, :lo12:v
mov w1, 1
str w1, [x0]
adrp x0, .LC36
add x0, x0, :lo12:.LC36
bl puts
b .L4
.L3:
adrp x0, .LC37
add x3, x0, :lo12:.LC37
adrp x0, .LC38
add x2, x0, :lo12:.LC38
adrp x0, .LC39
add x1, x0, :lo12:.LC39
adrp x0, .LC40
add x0, x0, :lo12:.LC40
bl printf
mov w0, 0
bl exit
.L2:
mov w0, 8088
str w0, [sp, 72]
.L4:
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L6
ldr w1, [sp, 72]
adrp x0, .LC41
add x0, x0, :lo12:.LC41
bl printf
.L6:
mov w0, 1
str w0, [sp, 68]
mov w2, 0
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 76]
add x0, sp, 68
mov w4, 4
mov x3, x0
mov w2, 2
mov w1, 1
ldr w0, [sp, 76]
bl setsockopt
ldr w0, [sp, 76]
cmn w0, #1
bne .L7
adrp x0, .LC42
add x0, x0, :lo12:.LC42
bl puts
mov w0, -3
bl exit
.L7:
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L9
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl printf
.L9:
mov w0, 2
strh w0, [sp, 88]
str wzr, [sp, 92]
ldr w0, [sp, 72]
and w0, w0, 65535
bl htons
and w0, w0, 65535
strh w0, [sp, 90]
add x0, sp, 88
mov w2, 16
mov x1, x0
ldr w0, [sp, 76]
bl bind
cmp w0, 0
bge .L10
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl puts
mov w0, -2
bl exit
.L10:
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L12
ldr w1, [sp, 72]
adrp x0, .LC45
add x0, x0, :lo12:.LC45
bl printf
.L12:
mov w1, 1
ldr w0, [sp, 76]
bl listen
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L14
adrp x0, .LC46
add x0, x0, :lo12:.LC46
bl printf
.L14:
mov w0, 16
str w0, [sp, 64]
b .L15
.L24:
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L17
adrp x0, .LC47
add x0, x0, :lo12:.LC47
bl printf
.L17:
bl fork
str w0, [sp, 80]
ldr w0, [sp, 80]
cmn w0, #1
bne .L18
ldr w0, [sp, 60]
bl close
b .L15
.L18:
ldr w0, [sp, 80]
cmp w0, 0
ble .L19
b .L15
.L19:
ldr w0, [sp, 80]
cmp w0, 0
bne .L15
bl getpid
str w0, [sp, 84]
add x0, sp, 60
bl parse
adrp x0, response
add x0, x0, :lo12:response
bl buildResponse
mov x1, x0
adrp x0, responseBuffer
add x0, x0, :lo12:responseBuffer
str x1, [x0]
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L21
adrp x0, responseBuffer
add x0, x0, :lo12:responseBuffer
ldr x0, [x0]
mov x1, x0
adrp x0, .LC48
add x0, x0, :lo12:.LC48
bl printf
.L21:
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L23
adrp x0, .LC49
add x0, x0, :lo12:.LC49
bl printf
.L23:
ldr w19, [sp, 60]
adrp x0, responseBuffer
add x0, x0, :lo12:responseBuffer
ldr x20, [x0]
adrp x0, responseBuffer
add x0, x0, :lo12:responseBuffer
ldr x0, [x0]
bl strlen
mov x2, x0
mov x1, x20
mov w0, w19
bl write
ldr w0, [sp, 60]
bl close
mov w1, 3
ldr w0, [sp, 84]
bl kill
.L15:
add x1, sp, 64
add x0, sp, 104
mov x2, x1
mov x1, x0
ldr w0, [sp, 76]
bl accept
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bne .L24
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 120]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L26
bl __stack_chk_fail
.L26:
mov w0, w1
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC50:
.string "r"
.align 3
.LC51:
.string "|%s"
.align 3
.LC52:
.string "Badly formatted request: file path"
.align 3
.LC53:
.string "I don't understand this request yet! :("
.align 3
.LC54:
.string "parsed"
.align 3
.LC55:
.string "|-- MESSAGE READ --\n"
.align 3
.LC56:
.string "|--> SERVE: %s\n|-------------------------------\n"
.text
.align 2
.global parse
.type parse, %function
parse:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
mov w0, 1
str w0, [sp, 36]
ldr x0, [sp, 24]
ldr w0, [x0]
str w0, [sp, 40]
adrp x0, .LC50
add x1, x0, :lo12:.LC50
ldr w0, [sp, 40]
bl fdopen
str x0, [sp, 64]
str xzr, [sp, 48]
b .L28
.L41:
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L30
ldr x0, [sp, 48]
mov x1, x0
adrp x0, .LC51
add x0, x0, :lo12:.LC51
bl printf
.L30:
ldr w0, [sp, 36]
add w1, w0, 1
str w1, [sp, 36]
cmp w0, 1
bne .L31
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 71
bne .L32
ldr x0, [sp, 48]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 69
bne .L32
ldr x0, [sp, 48]
add x0, x0, 2
ldrb w0, [x0]
cmp w0, 84
bne .L32
ldr x0, [sp, 48]
add x0, x0, 3
ldrb w0, [x0]
cmp w0, 32
bne .L32
ldr x0, [sp, 48]
add x0, x0, 4
mov w1, 32
bl strchr
str x0, [sp, 72]
adrp x0, response
add x0, x0, :lo12:response
mov w1, 1
str w1, [x0]
ldr x0, [sp, 72]
cmp x0, 0
bne .L33
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl puts
mov w0, 0
b .L46
.L33:
ldr x0, [sp, 48]
add x0, x0, 4
ldr x1, [sp, 72]
sub x0, x1, x0
bl malloc
str x0, [sp, 80]
ldr x0, [sp, 48]
add x0, x0, 4
ldr x1, [sp, 72]
sub x0, x1, x0
bl malloc
mov x1, x0
adrp x0, filePath
add x0, x0, :lo12:filePath
str x1, [x0]
ldr x0, [sp, 48]
add x3, x0, 4
ldr x0, [sp, 48]
add x0, x0, 4
ldr x1, [sp, 72]
sub x0, x1, x0
mov x2, x0
mov x1, x3
ldr x0, [sp, 80]
bl strncpy
ldr x0, [sp, 80]
bl sanitize
mov x1, x0
adrp x0, filePath
add x0, x0, :lo12:filePath
str x1, [x0]
b .L38
.L32:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 72
bne .L36
ldr x0, [sp, 48]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 69
bne .L36
ldr x0, [sp, 48]
add x0, x0, 2
ldrb w0, [x0]
cmp w0, 65
bne .L36
ldr x0, [sp, 48]
add x0, x0, 3
ldrb w0, [x0]
cmp w0, 68
bne .L36
ldr x0, [sp, 48]
add x0, x0, 4
ldrb w0, [x0]
cmp w0, 32
bne .L36
ldr x0, [sp, 48]
add x0, x0, 5
mov w1, 32
bl strchr
str x0, [sp, 72]
adrp x0, response
add x0, x0, :lo12:response
str wzr, [x0]
ldr x0, [sp, 72]
cmp x0, 0
bne .L37
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl puts
mov w0, 0
b .L46
.L37:
ldr x0, [sp, 48]
add x0, x0, 5
ldr x1, [sp, 72]
sub x0, x1, x0
bl malloc
str x0, [sp, 80]
ldr x0, [sp, 48]
add x0, x0, 5
ldr x1, [sp, 72]
sub x0, x1, x0
bl malloc
mov x1, x0
adrp x0, filePath
add x0, x0, :lo12:filePath
str x1, [x0]
ldr x0, [sp, 48]
add x3, x0, 5
ldr x0, [sp, 48]
add x0, x0, 5
ldr x1, [sp, 72]
sub x0, x1, x0
mov x2, x0
mov x1, x3
ldr x0, [sp, 80]
bl strncpy
ldr x0, [sp, 80]
bl sanitize
mov x1, x0
adrp x0, filePath
add x0, x0, :lo12:filePath
str x1, [x0]
b .L38
.L36:
adrp x0, .LC53
add x0, x0, :lo12:.LC53
bl puts
mov w0, -1
b .L46
.L31:
ldr w0, [sp, 36]
cmp w0, 10
bls .L39
adrp x0, .LC54
add x0, x0, :lo12:.LC54
bl puts
mov w0, 1
b .L46
.L39:
ldr w0, [sp, 36]
cmp w0, 1
bls .L38
ldr w0, [sp, 36]
cmp w0, 9
bhi .L38
adrp x0, response
add x0, x0, :lo12:response
str wzr, [x0, 4]
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 67
bne .L38
ldr x0, [sp, 48]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 111
bne .L38
ldr x0, [sp, 48]
add x0, x0, 2
ldrb w0, [x0]
cmp w0, 110
bne .L38
ldr x0, [sp, 48]
add x0, x0, 3
ldrb w0, [x0]
cmp w0, 110
bne .L38
ldr x0, [sp, 48]
add x0, x0, 12
ldrb w0, [x0]
cmp w0, 67
beq .L40
ldr x0, [sp, 48]
add x0, x0, 12
ldrb w0, [x0]
cmp w0, 99
bne .L38
.L40:
adrp x0, response
add x0, x0, :lo12:response
mov w1, 1
str w1, [x0, 4]
.L38:
ldr x0, [sp, 48]
bl free
str xzr, [sp, 48]
.L28:
add x1, sp, 56
add x0, sp, 48
ldr x2, [sp, 64]
bl getline
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 2
bgt .L41
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L43
adrp x0, .LC55
add x0, x0, :lo12:.LC55
bl printf
.L43:
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L45
adrp x0, filePath
add x0, x0, :lo12:filePath
ldr x0, [x0]
mov x1, x0
adrp x0, .LC56
add x0, x0, :lo12:.LC56
bl printf
.L45:
mov w0, 1
.L46:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L47
bl __stack_chk_fail
.L47:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size parse, .-parse
.section .rodata
.align 3
.LC58:
.string "%c%s"
.text
.align 2
.global sanitize
.type sanitize, %function
sanitize:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -272]!
.cfi_def_cfa_offset 272
.cfi_offset 29, -272
.cfi_offset 30, -264
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 264]
mov x1, 0
adrp x0, .LC57
add x1, x0, :lo12:.LC57
add x0, sp, 64
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldp q0, q1, [x1, 32]
stp q0, q1, [x0, 32]
ldp q0, q1, [x1, 64]
stp q0, q1, [x0, 64]
ldp q0, q1, [x1, 96]
stp q0, q1, [x0, 96]
ldp q0, q1, [x1, 128]
stp q0, q1, [x0, 128]
ldp q0, q1, [x1, 160]
stp q0, q1, [x0, 160]
ldr x1, [x1, 192]
str x1, [x0, 192]
str wzr, [sp, 44]
b .L49
.L52:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
add x1, sp, 64
ldr x0, [x1, x0]
mov x1, x0
ldr x0, [sp, 24]
bl strstr
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L50
ldr x0, [sp, 24]
bl strlen
mov x1, x0
ldr x0, [sp, 24]
mov x2, x1
mov w1, 0
bl memset
adrp x0, defaultPath
add x0, x0, :lo12:defaultPath
b .L55
.L50:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L49:
ldr w0, [sp, 44]
cmp w0, 24
ble .L52
ldr x0, [sp, 24]
bl strlen
cmp x0, 1
bne .L53
adrp x0, defaultPath
add x0, x0, :lo12:defaultPath
b .L55
.L53:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 47
bne .L54
mov x0, 9
bl malloc
str x0, [sp, 48]
ldr x3, [sp, 24]
mov w2, 46
adrp x0, .LC58
add x1, x0, :lo12:.LC58
ldr x0, [sp, 48]
bl sprintf
ldr x0, [sp, 48]
b .L55
.L54:
adrp x0, defaultPath
add x0, x0, :lo12:defaultPath
.L55:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 264]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L56
bl __stack_chk_fail
.L56:
mov x0, x1
ldp x29, x30, [sp], 272
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size sanitize, .-sanitize
.section .rodata
.align 3
.LC0:
.string "0"
.align 3
.LC1:
.string "bin"
.align 3
.LC2:
.string "boot"
.align 3
.LC3:
.string "dev"
.align 3
.LC4:
.string "etc"
.align 3
.LC5:
.string "home"
.align 3
.LC6:
.string "initrd.img"
.align 3
.LC7:
.string "lib"
.align 3
.LC8:
.string "lib64"
.align 3
.LC9:
.string "lost+found"
.align 3
.LC10:
.string "media"
.align 3
.LC11:
.string "mnt"
.align 3
.LC12:
.string "opt"
.align 3
.LC13:
.string "proc"
.align 3
.LC14:
.string "root"
.align 3
.LC15:
.string "run"
.align 3
.LC16:
.string "sbin"
.align 3
.LC17:
.string "srv"
.align 3
.LC18:
.string "sys"
.align 3
.LC19:
.string "tmp"
.align 3
.LC20:
.string "usr"
.align 3
.LC21:
.string "var"
.align 3
.LC22:
.string "vmlinuz"
.align 3
.LC23:
.string ".."
.align 3
.LC24:
.string "//"
.data
.align 3
.LC57:
.xword .LC0
.xword .LC1
.xword .LC2
.xword .LC3
.xword .LC4
.xword .LC5
.xword .LC6
.xword .LC7
.xword .LC8
.xword .LC9
.xword .LC10
.xword .LC11
.xword .LC12
.xword .LC13
.xword .LC14
.xword .LC15
.xword .LC16
.xword .LC17
.xword .LC18
.xword .LC19
.xword .LC20
.xword .LC21
.xword .LC22
.xword .LC23
.xword .LC24
.text
.section .rodata
.align 3
.LC59:
.string "! ! %d FILE NOT FOUND ! !\n|-------------------------------\n"
.align 3
.LC60:
.string "|File found\n|-------------------------------\n\n"
.align 3
.LC61:
.string "%c"
.align 3
.LC62:
.string "%s %i %s\r\n%s%s\r\n%s\r\n%s\r\n%s%i\r\n\r\n"
.align 3
.LC63:
.string "%s%s"
.text
.align 2
.global buildResponse
.type buildResponse, %function
buildResponse:
.LFB9:
.cfi_startproc
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, 32]
.cfi_offset 29, -96
.cfi_offset 30, -88
add x29, sp, 32
str x0, [sp, 56]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 120]
mov x1, 0
adrp x0, HTTPstrings
add x0, x0, :lo12:HTTPstrings
ldr x1, [x0]
ldr x0, [sp, 56]
str x1, [x0, 8]
adrp x0, HTTPstrings
add x0, x0, :lo12:HTTPstrings
ldr x1, [x0, 40]
ldr x0, [sp, 56]
str x1, [x0, 48]
adrp x0, HTTPstrings
add x0, x0, :lo12:HTTPstrings
ldr x1, [x0, 48]
ldr x0, [sp, 56]
str x1, [x0, 64]
adrp x0, HTTPstrings
add x0, x0, :lo12:HTTPstrings
ldr x1, [x0, 56]
ldr x0, [sp, 56]
str x1, [x0, 56]
adrp x0, filePath
add x0, x0, :lo12:filePath
ldr x0, [x0]
mov w1, 0
bl access
cmn w0, #1
bne .L58
ldr x0, [sp, 56]
mov w1, 404
str w1, [x0, 16]
adrp x0, HTTPstrings
add x0, x0, :lo12:HTTPstrings
ldr x1, [x0, 16]
ldr x0, [sp, 56]
str x1, [x0, 24]
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L60
adrp x0, response
add x0, x0, :lo12:response
ldr w0, [x0, 16]
mov w1, w0
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl printf
.L60:
str wzr, [sp, 76]
b .L61
.L58:
adrp x0, filePath
add x0, x0, :lo12:filePath
ldr x2, [x0]
adrp x0, .LC50
add x1, x0, :lo12:.LC50
mov x0, x2
bl fopen
mov x1, x0
adrp x0, outFile
add x0, x0, :lo12:outFile
str x1, [x0]
ldr x0, [sp, 56]
mov w1, 200
str w1, [x0, 16]
adrp x0, HTTPstrings
add x0, x0, :lo12:HTTPstrings
ldr x1, [x0, 32]
ldr x0, [sp, 56]
str x1, [x0, 24]
adrp x0, v
add x0, x0, :lo12:v
ldr w0, [x0]
cmp w0, 1
bne .L63
adrp x0, .LC60
add x0, x0, :lo12:.LC60
bl printf
.L63:
adrp x0, outFile
add x0, x0, :lo12:outFile
ldr x0, [x0]
mov w2, 2
mov x1, 0
bl fseek
adrp x0, outFile
add x0, x0, :lo12:outFile
ldr x0, [x0]
bl ftell
str w0, [sp, 76]
adrp x0, outFile
add x0, x0, :lo12:outFile
ldr x0, [x0]
bl rewind
ldr w0, [sp, 76]
bl malloc
str x0, [sp, 96]
ldr w1, [sp, 76]
adrp x0, outFile
add x0, x0, :lo12:outFile
ldr x0, [x0]
mov x3, x0
mov x2, x1
mov x1, 1
ldr x0, [sp, 96]
bl fread
adrp x0, outFile
add x0, x0, :lo12:outFile
ldr x0, [x0]
bl fclose
.L61:
mov x0, 0
bl time
str x0, [sp, 80]
add x0, sp, 80
bl localtime
str x0, [sp, 104]
ldr x3, [sp, 104]
adrp x0, .LC61
add x2, x0, :lo12:.LC61
mov x1, 64
adrp x0, timestr
add x0, x0, :lo12:timestr
bl strftime
adrp x0, HTTPstrings
add x0, x0, :lo12:HTTPstrings
ldr x1, [x0, 64]
ldr x0, [sp, 56]
str x1, [x0, 32]
ldr x0, [sp, 56]
adrp x1, timestr
add x1, x1, :lo12:timestr
str x1, [x0, 40]
ldr x0, [sp, 56]
ldr x9, [x0, 8]
ldr x0, [sp, 56]
ldr w3, [x0, 16]
ldr x0, [sp, 56]
ldr x4, [x0, 24]
ldr x0, [sp, 56]
ldr x5, [x0, 32]
ldr x0, [sp, 56]
ldr x6, [x0, 40]
ldr x0, [sp, 56]
ldr x7, [x0, 48]
ldr x0, [sp, 56]
ldr x0, [x0, 64]
ldr x1, [sp, 56]
ldr x1, [x1, 56]
add x8, sp, 88
ldr w2, [sp, 76]
str w2, [sp, 16]
str x1, [sp, 8]
str x0, [sp]
mov x2, x9
adrp x0, .LC62
add x1, x0, :lo12:.LC62
mov x0, x8
bl asprintf
ldr x0, [sp, 56]
ldr w0, [x0]
cmp w0, 0
beq .L64
mov x0, 16
bl malloc
str x0, [sp, 112]
ldr x0, [sp, 88]
ldr x3, [sp, 96]
mov x2, x0
adrp x0, .LC63
add x1, x0, :lo12:.LC63
ldr x0, [sp, 112]
bl sprintf
ldr x0, [sp, 112]
b .L67
.L64:
ldr x0, [sp, 88]
.L67:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 120]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L68
bl __stack_chk_fail
.L68:
mov x0, x1
ldp x29, x30, [sp, 32]
add sp, sp, 128
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size buildResponse, .-buildResponse
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
bl __VERIFIER_nondet_int
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
ble .L2
mov w0, 0
b .L3
.L2:
mov w0, 1
.L3:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%s"
.align 3
.LC1:
.string "\n%s %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
add x0, sp, 24
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
add x0, sp, 40
add x3, sp, 24
mov x2, x0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x3
bl __isoc99_sscanf
str w0, [sp, 20]
add x0, sp, 40
ldr w2, [sp, 20]
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d %d"
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "%ld \n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
mov x12, 41008
sub sp, sp, x12
.cfi_def_cfa_offset 41008
stp x29, x30, [sp, 16]
.cfi_offset 29, -40992
.cfi_offset 30, -40984
add x29, sp, 16
.cfi_def_cfa 29, 40992
stp x19, x20, [sp, 32]
stp x21, x22, [sp, 48]
stp x23, x24, [sp, 64]
stp x25, x26, [sp, 80]
str x27, [sp, 96]
.cfi_offset 19, -40976
.cfi_offset 20, -40968
.cfi_offset 21, -40960
.cfi_offset 22, -40952
.cfi_offset 23, -40944
.cfi_offset 24, -40936
.cfi_offset 25, -40928
.cfi_offset 26, -40920
.cfi_offset 27, -40912
str w0, [x29, 108]
str x1, [x29, 96]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x1, x29, 32768
ldr x2, [x0]
str x2, [x1, 8216]
mov x2, 0
mov x0, sp
mov x19, x0
mov x0, 9223372036854775807
str x0, [x29, 152]
add x1, x29, 124
add x0, x29, 128
mov x2, x1
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
add x0, x29, 176
mov x1, 40804
mov x2, x1
mov w1, 0
bl memset
ldr w0, [x29, 128]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 160]
sxtw x1, w0
mov x26, x1
mov x27, 0
lsr x1, x26, 59
lsl x23, x27, 5
orr x23, x1, x23
lsl x22, x26, 5
sxtw x1, w0
mov x24, x1
mov x25, 0
lsr x1, x24, 59
lsl x21, x25, 5
orr x21, x1, x21
lsl x20, x24, 5
sxtw x0, w0
lsl x0, x0, 2
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L2:
cmp sp, x1
beq .L3
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L2
.L3:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L4
str xzr, [sp, 1024]
.L4:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 168]
str wzr, [x29, 140]
b .L5
.L6:
ldrsw x0, [x29, 140]
lsl x0, x0, 2
ldr x1, [x29, 168]
add x0, x1, x0
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [x29, 140]
add w0, w0, 1
str w0, [x29, 140]
.L5:
ldr w0, [x29, 128]
ldr w1, [x29, 140]
cmp w1, w0
blt .L6
str wzr, [x29, 140]
b .L7
.L8:
add x1, x29, 136
add x0, x29, 132
mov x2, x1
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w3, [x29, 136]
ldr w4, [x29, 132]
sxtw x0, w4
sxtw x2, w3
mov x1, 101
mul x1, x2, x1
add x0, x1, x0
lsl x0, x0, 2
add x1, x29, 176
mov w2, 1
str w2, [x1, x0]
ldr w5, [x29, 132]
ldr w6, [x29, 136]
sxtw x0, w4
sxtw x2, w3
mov x1, 101
mul x1, x2, x1
add x0, x1, x0
lsl x0, x0, 2
add x1, x29, 176
ldr w2, [x1, x0]
sxtw x0, w6
sxtw x3, w5
mov x1, 101
mul x1, x3, x1
add x0, x1, x0
lsl x0, x0, 2
add x1, x29, 176
str w2, [x1, x0]
ldr w0, [x29, 140]
add w0, w0, 1
str w0, [x29, 140]
.L7:
ldr w0, [x29, 124]
ldr w1, [x29, 140]
cmp w1, w0
blt .L8
mov w0, 1
str w0, [x29, 140]
b .L9
.L15:
ldr w0, [x29, 140]
add w0, w0, 1
str w0, [x29, 144]
b .L10
.L14:
ldr w0, [x29, 144]
add w0, w0, 1
str w0, [x29, 148]
b .L11
.L13:
ldrsw x0, [x29, 144]
ldrsw x2, [x29, 140]
mov x1, 101
mul x1, x2, x1
add x0, x1, x0
lsl x0, x0, 2
add x1, x29, 176
ldr w0, [x1, x0]
cmp w0, 0
beq .L12
ldrsw x0, [x29, 148]
ldrsw x2, [x29, 144]
mov x1, 101
mul x1, x2, x1
add x0, x1, x0
lsl x0, x0, 2
add x1, x29, 176
ldr w0, [x1, x0]
cmp w0, 0
beq .L12
ldrsw x0, [x29, 140]
ldrsw x2, [x29, 148]
mov x1, 101
mul x1, x2, x1
add x0, x1, x0
lsl x0, x0, 2
add x1, x29, 176
ldr w0, [x1, x0]
cmp w0, 0
beq .L12
ldr w0, [x29, 140]
sub w1, w0, #1
ldr x0, [x29, 168]
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr w0, [x29, 144]
sub w2, w0, #1
ldr x0, [x29, 168]
sxtw x2, w2
ldr w0, [x0, x2, lsl 2]
add w1, w1, w0
ldr w0, [x29, 148]
sub w2, w0, #1
ldr x0, [x29, 168]
sxtw x2, w2
ldr w0, [x0, x2, lsl 2]
add w0, w1, w0
sxtw x0, w0
ldr x1, [x29, 152]
cmp x1, x0
ble .L12
ldr w0, [x29, 140]
sub w1, w0, #1
ldr x0, [x29, 168]
sxtw x1, w1
ldr w1, [x0, x1, lsl 2]
ldr w0, [x29, 144]
sub w2, w0, #1
ldr x0, [x29, 168]
sxtw x2, w2
ldr w0, [x0, x2, lsl 2]
add w1, w1, w0
ldr w0, [x29, 148]
sub w2, w0, #1
ldr x0, [x29, 168]
sxtw x2, w2
ldr w0, [x0, x2, lsl 2]
add w0, w1, w0
sxtw x0, w0
str x0, [x29, 152]
.L12:
ldr w0, [x29, 148]
add w0, w0, 1
str w0, [x29, 148]
.L11:
ldr w0, [x29, 128]
ldr w1, [x29, 148]
cmp w1, w0
ble .L13
ldr w0, [x29, 144]
add w0, w0, 1
str w0, [x29, 144]
.L10:
ldr w0, [x29, 128]
ldr w1, [x29, 144]
cmp w1, w0
ble .L14
ldr w0, [x29, 140]
add w0, w0, 1
str w0, [x29, 140]
.L9:
ldr w0, [x29, 128]
ldr w1, [x29, 140]
cmp w1, w0
blt .L15
ldr x1, [x29, 152]
mov x0, 9223372036854775807
cmp x1, x0
beq .L16
ldr x1, [x29, 152]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
b .L17
.L16:
mov w1, -1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
.L17:
mov w0, 0
mov sp, x19
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x3, x29, 32768
ldr x4, [x3, 8216]
ldr x2, [x0]
subs x4, x4, x2
mov x2, 0
beq .L19
bl __stack_chk_fail
.L19:
mov w0, w1
sub sp, x29, #16
.cfi_def_cfa 31, 41008
ldp x19, x20, [sp, 32]
ldp x21, x22, [sp, 48]
ldp x23, x24, [sp, 64]
ldp x25, x26, [sp, 80]
ldr x27, [sp, 96]
ldp x29, x30, [sp, 16]
mov x12, 41008
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_restore 27
.cfi_restore 25
.cfi_restore 26
.cfi_restore 23
.cfi_restore 24
.cfi_restore 21
.cfi_restore 22
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global Achievementfmt
.section .rodata
.align 3
.type Achievementfmt, %object
.size Achievementfmt, 15
Achievementfmt:
.string "niiissiiiiisii"
.global AchievementCriteriafmt
.align 3
.type AchievementCriteriafmt, %object
.size AchievementCriteriafmt, 24
AchievementCriteriafmt:
.string "niiiiiiiixsiiiiixxxxxxx"
.global AreaTableEntryfmt
.align 3
.type AreaTableEntryfmt, %object
.size AreaTableEntryfmt, 27
AreaTableEntryfmt:
.string "iiinixxxxxisixxxxxxxxxxxxx"
.global AreaGroupEntryfmt
.align 3
.type AreaGroupEntryfmt, %object
.size AreaGroupEntryfmt, 9
AreaGroupEntryfmt:
.string "niiiiiii"
.global AreaTriggerEntryfmt
.align 3
.type AreaTriggerEntryfmt, %object
.size AreaTriggerEntryfmt, 14
AreaTriggerEntryfmt:
.string "nifffxxxfffff"
.global ArmorLocationfmt
.align 3
.type ArmorLocationfmt, %object
.size ArmorLocationfmt, 7
ArmorLocationfmt:
.string "nfffff"
.global AuctionHouseEntryfmt
.align 3
.type AuctionHouseEntryfmt, %object
.size AuctionHouseEntryfmt, 6
AuctionHouseEntryfmt:
.string "niiix"
.global BankBagSlotPricesEntryfmt
.align 3
.type BankBagSlotPricesEntryfmt, %object
.size BankBagSlotPricesEntryfmt, 3
BankBagSlotPricesEntryfmt:
.string "ni"
.global BarberShopStyleEntryfmt
.align 3
.type BarberShopStyleEntryfmt, %object
.size BarberShopStyleEntryfmt, 9
BarberShopStyleEntryfmt:
.string "nixxxiii"
.global BattlemasterListEntryfmt
.align 3
.type BattlemasterListEntryfmt, %object
.size BattlemasterListEntryfmt, 21
BattlemasterListEntryfmt:
.string "niiiiiiiiixsiiiiiiii"
.global CharStartOutfitEntryfmt
.align 3
.type CharStartOutfitEntryfmt, %object
.size CharStartOutfitEntryfmt, 80
CharStartOutfitEntryfmt:
.string "diiiiiiiiiiiiiiiiiiiiiiiiixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
.global CharTitlesEntryfmt
.align 3
.type CharTitlesEntryfmt, %object
.size CharTitlesEntryfmt, 7
CharTitlesEntryfmt:
.string "nxsxix"
.global ChatChannelsEntryfmt
.align 3
.type ChatChannelsEntryfmt, %object
.size ChatChannelsEntryfmt, 6
ChatChannelsEntryfmt:
.string "iixsx"
.global ChrClassesEntryfmt
.align 3
.type ChrClassesEntryfmt, %object
.size ChrClassesEntryfmt, 15
ChrClassesEntryfmt:
.string "nixsxxxixiixxx"
.global ChrRacesEntryfmt
.align 3
.type ChrRacesEntryfmt, %object
.size ChrRacesEntryfmt, 25
ChrRacesEntryfmt:
.string "nxixiixixxxxixsxxxxxixxx"
.global ChrClassesXPowerTypesfmt
.align 3
.type ChrClassesXPowerTypesfmt, %object
.size ChrClassesXPowerTypesfmt, 4
ChrClassesXPowerTypesfmt:
.string "nii"
.global CinematicSequencesEntryfmt
.align 3
.type CinematicSequencesEntryfmt, %object
.size CinematicSequencesEntryfmt, 11
CinematicSequencesEntryfmt:
.string "nxxxxxxxxx"
.global CreatureDisplayInfofmt
.align 3
.type CreatureDisplayInfofmt, %object
.size CreatureDisplayInfofmt, 18
CreatureDisplayInfofmt:
.string "nxxifxxxxxxxxxxxx"
.global CreatureDisplayInfoExtrafmt
.align 3
.type CreatureDisplayInfoExtrafmt, %object
.size CreatureDisplayInfoExtrafmt, 22
CreatureDisplayInfoExtrafmt:
.string "nixxxxxxxxxxxxxxxxxxx"
.global CreatureFamilyfmt
.align 3
.type CreatureFamilyfmt, %object
.size CreatureFamilyfmt, 13
CreatureFamilyfmt:
.string "nfifiiiiixsx"
.global CreatureSpellDatafmt
.align 3
.type CreatureSpellDatafmt, %object
.size CreatureSpellDatafmt, 10
CreatureSpellDatafmt:
.string "niiiixxxx"
.global DungeonEncounterfmt
.align 3
.type DungeonEncounterfmt, %object
.size DungeonEncounterfmt, 9
DungeonEncounterfmt:
.string "niiiisxx"
.global CreatureTypefmt
.align 3
.type CreatureTypefmt, %object
.size CreatureTypefmt, 4
CreatureTypefmt:
.string "nxx"
.global CurrencyTypesfmt
.align 3
.type CurrencyTypesfmt, %object
.size CurrencyTypesfmt, 12
CurrencyTypesfmt:
.string "nxsxxxxiiix"
.global DurabilityCostsfmt
.align 3
.type DurabilityCostsfmt, %object
.size DurabilityCostsfmt, 31
DurabilityCostsfmt:
.string "niiiiiiiiiiiiiiiiiiiiiiiiiiiii"
.global DurabilityQualityfmt
.align 3
.type DurabilityQualityfmt, %object
.size DurabilityQualityfmt, 3
DurabilityQualityfmt:
.string "nf"
.global EmotesEntryfmt
.align 3
.type EmotesEntryfmt, %object
.size EmotesEntryfmt, 9
EmotesEntryfmt:
.string "nxxiiixx"
.global EmotesTextEntryfmt
.align 3
.type EmotesTextEntryfmt, %object
.size EmotesTextEntryfmt, 20
EmotesTextEntryfmt:
.string "nxixxxxxxxxxxxxxxxx"
.global FactionEntryfmt
.align 3
.type FactionEntryfmt, %object
.size FactionEntryfmt, 27
FactionEntryfmt:
.string "niiiiiiiiiiiiiiiiiiffixsxx"
.global FactionTemplateEntryfmt
.align 3
.type FactionTemplateEntryfmt, %object
.size FactionTemplateEntryfmt, 15
FactionTemplateEntryfmt:
.string "niiiiiiiiiiiii"
.global GameObjectDisplayInfofmt
.align 3
.type GameObjectDisplayInfofmt, %object
.size GameObjectDisplayInfofmt, 22
GameObjectDisplayInfofmt:
.string "nxxxxxxxxxxxffffffxxx"
.global GemPropertiesEntryfmt
.align 3
.type GemPropertiesEntryfmt, %object
.size GemPropertiesEntryfmt, 7
GemPropertiesEntryfmt:
.string "nixxix"
.global GlyphPropertiesfmt
.align 3
.type GlyphPropertiesfmt, %object
.size GlyphPropertiesfmt, 5
GlyphPropertiesfmt:
.string "niii"
.global GlyphSlotfmt
.align 3
.type GlyphSlotfmt, %object
.size GlyphSlotfmt, 4
GlyphSlotfmt:
.string "nii"
.global GtBarberShopCostBasefmt
.align 3
.type GtBarberShopCostBasefmt, %object
.size GtBarberShopCostBasefmt, 3
GtBarberShopCostBasefmt:
.string "xf"
.global GtCombatRatingsfmt
.align 3
.type GtCombatRatingsfmt, %object
.size GtCombatRatingsfmt, 3
GtCombatRatingsfmt:
.string "xf"
.global GtChanceToMeleeCritBasefmt
.align 3
.type GtChanceToMeleeCritBasefmt, %object
.size GtChanceToMeleeCritBasefmt, 3
GtChanceToMeleeCritBasefmt:
.string "xf"
.global GtChanceToMeleeCritfmt
.align 3
.type GtChanceToMeleeCritfmt, %object
.size GtChanceToMeleeCritfmt, 3
GtChanceToMeleeCritfmt:
.string "xf"
.global GtChanceToSpellCritBasefmt
.align 3
.type GtChanceToSpellCritBasefmt, %object
.size GtChanceToSpellCritBasefmt, 3
GtChanceToSpellCritBasefmt:
.string "xf"
.global GtOCTClassCombatRatingScalarfmt
.align 3
.type GtOCTClassCombatRatingScalarfmt, %object
.size GtOCTClassCombatRatingScalarfmt, 3
GtOCTClassCombatRatingScalarfmt:
.string "df"
.global GtChanceToSpellCritfmt
.align 3
.type GtChanceToSpellCritfmt, %object
.size GtChanceToSpellCritfmt, 3
GtChanceToSpellCritfmt:
.string "xf"
.global GtOCTRegenHPfmt
.align 3
.type GtOCTRegenHPfmt, %object
.size GtOCTRegenHPfmt, 3
GtOCTRegenHPfmt:
.string "xf"
.global GtRegenHPPerSptfmt
.align 3
.type GtRegenHPPerSptfmt, %object
.size GtRegenHPPerSptfmt, 3
GtRegenHPPerSptfmt:
.string "xf"
.global GtRegenMPPerSptfmt
.align 3
.type GtRegenMPPerSptfmt, %object
.size GtRegenMPPerSptfmt, 3
GtRegenMPPerSptfmt:
.string "xf"
.global GtSpellScalingfmt
.align 3
.type GtSpellScalingfmt, %object
.size GtSpellScalingfmt, 3
GtSpellScalingfmt:
.string "df"
.global GtOCTBaseHPByClassfmt
.align 3
.type GtOCTBaseHPByClassfmt, %object
.size GtOCTBaseHPByClassfmt, 3
GtOCTBaseHPByClassfmt:
.string "df"
.global GtOCTBaseMPByClassfmt
.align 3
.type GtOCTBaseMPByClassfmt, %object
.size GtOCTBaseMPByClassfmt, 3
GtOCTBaseMPByClassfmt:
.string "df"
.global Holidaysfmt
.align 3
.type Holidaysfmt, %object
.size Holidaysfmt, 56
Holidaysfmt:
.string "nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
.global ItemClassfmt
.align 3
.type ItemClassfmt, %object
.size ItemClassfmt, 7
ItemClassfmt:
.string "nixxxs"
.global ItemArmorQualityfmt
.align 3
.type ItemArmorQualityfmt, %object
.size ItemArmorQualityfmt, 10
ItemArmorQualityfmt:
.string "nfffffffi"
.global ItemArmorShieldfmt
.align 3
.type ItemArmorShieldfmt, %object
.size ItemArmorShieldfmt, 10
ItemArmorShieldfmt:
.string "nifffffff"
.global ItemArmorTotalfmt
.align 3
.type ItemArmorTotalfmt, %object
.size ItemArmorTotalfmt, 7
ItemArmorTotalfmt:
.string "niffff"
.global ItemBagFamilyfmt
.align 3
.type ItemBagFamilyfmt, %object
.size ItemBagFamilyfmt, 3
ItemBagFamilyfmt:
.string "nx"
.global ItemDamagefmt
.align 3
.type ItemDamagefmt, %object
.size ItemDamagefmt, 10
ItemDamagefmt:
.string "nfffffffi"
.global ItemLimitCategoryEntryfmt
.align 3
.type ItemLimitCategoryEntryfmt, %object
.size ItemLimitCategoryEntryfmt, 5
ItemLimitCategoryEntryfmt:
.string "nxii"
.global ItemRandomPropertiesfmt
.align 3
.type ItemRandomPropertiesfmt, %object
.size ItemRandomPropertiesfmt, 9
ItemRandomPropertiesfmt:
.string "nxiiiiis"
.global ItemRandomSuffixfmt
.align 3
.type ItemRandomSuffixfmt, %object
.size ItemRandomSuffixfmt, 14
ItemRandomSuffixfmt:
.string "nsxiiiiiiiiii"
.global ItemSetEntryfmt
.align 3
.type ItemSetEntryfmt, %object
.size ItemSetEntryfmt, 38
ItemSetEntryfmt:
.string "dsxxxxxxxxxxxxxxxxxiiiiiiiiiiiiiiiiii"
.global LockEntryfmt
.align 3
.type LockEntryfmt, %object
.size LockEntryfmt, 34
LockEntryfmt:
.string "niiiiiiiiiiiiiiiiiiiiiiiixxxxxxxx"
.global MailTemplateEntryfmt
.align 3
.type MailTemplateEntryfmt, %object
.size MailTemplateEntryfmt, 4
MailTemplateEntryfmt:
.string "nxs"
.global MapEntryfmt
.align 3
.type MapEntryfmt, %object
.size MapEntryfmt, 21
MapEntryfmt:
.string "nsiiiisissififfiiiii"
.global MapDifficultyEntryfmt
.align 3
.type MapDifficultyEntryfmt, %object
.size MapDifficultyEntryfmt, 8
MapDifficultyEntryfmt:
.string "niisiis"
.global MovieEntryfmt
.align 3
.type MovieEntryfmt, %object
.size MovieEntryfmt, 5
MovieEntryfmt:
.string "nxxx"
.global OverrideSpellDatafmt
.align 3
.type OverrideSpellDatafmt, %object
.size OverrideSpellDatafmt, 14
OverrideSpellDatafmt:
.string "niiiiiiiiiixx"
.global QuestFactionRewardfmt
.align 3
.type QuestFactionRewardfmt, %object
.size QuestFactionRewardfmt, 12
QuestFactionRewardfmt:
.string "niiiiiiiiii"
.global QuestSortEntryfmt
.align 3
.type QuestSortEntryfmt, %object
.size QuestSortEntryfmt, 3
QuestSortEntryfmt:
.string "nx"
.global QuestXPLevelfmt
.align 3
.type QuestXPLevelfmt, %object
.size QuestXPLevelfmt, 12
QuestXPLevelfmt:
.string "niiiiiiiiii"
.global Phasefmt
.align 3
.type Phasefmt, %object
.size Phasefmt, 4
Phasefmt:
.string "nii"
.global PvPDifficultyfmt
.align 3
.type PvPDifficultyfmt, %object
.size PvPDifficultyfmt, 7
PvPDifficultyfmt:
.string "diiiii"
.global RandomPropertiesPointsfmt
.align 3
.type RandomPropertiesPointsfmt, %object
.size RandomPropertiesPointsfmt, 17
RandomPropertiesPointsfmt:
.string "niiiiiiiiiiiiiii"
.global ScalingStatDistributionfmt
.align 3
.type ScalingStatDistributionfmt, %object
.size ScalingStatDistributionfmt, 24
ScalingStatDistributionfmt:
.string "niiiiiiiiiiiiiiiiiiiixi"
.global ScalingStatValuesfmt
.align 3
.type ScalingStatValuesfmt, %object
.size ScalingStatValuesfmt, 48
ScalingStatValuesfmt:
.string "iniiiiiiiiiiiiiiiiiiiixxxxxxxxxxxxxxxxxxxxxxxxx"
.global SkillLinefmt
.align 3
.type SkillLinefmt, %object
.size SkillLinefmt, 8
SkillLinefmt:
.string "nisxixi"
.global SkillLineAbilityfmt
.align 3
.type SkillLineAbilityfmt, %object
.size SkillLineAbilityfmt, 15
SkillLineAbilityfmt:
.string "niiiixxiiiiixx"
.global SkillRaceClassInfofmt
.align 3
.type SkillRaceClassInfofmt, %object
.size SkillRaceClassInfofmt, 10
SkillRaceClassInfofmt:
.string "diiiiixxx"
.global SoundEntriesfmt
.align 3
.type SoundEntriesfmt, %object
.size SoundEntriesfmt, 36
SoundEntriesfmt:
.string "nissssssssssssssssssssssxxxxxxxxxxx"
.global SpellCastTimefmt
.align 3
.type SpellCastTimefmt, %object
.size SpellCastTimefmt, 5
SpellCastTimefmt:
.string "niii"
.global SpellDurationfmt
.align 3
.type SpellDurationfmt, %object
.size SpellDurationfmt, 5
SpellDurationfmt:
.string "niii"
.global SpellDifficultyfmt
.align 3
.type SpellDifficultyfmt, %object
.size SpellDifficultyfmt, 6
SpellDifficultyfmt:
.string "niiii"
.global SpellEntryfmt
.align 3
.type SpellEntryfmt, %object
.size SpellEntryfmt, 49
SpellEntryfmt:
.string "niiiiiiiiiiiiiiifiiiissxxiixxixiiiiiiixiiiiiiiix"
.global SpellAuraOptionsEntryfmt
.align 3
.type SpellAuraOptionsEntryfmt, %object
.size SpellAuraOptionsEntryfmt, 6
SpellAuraOptionsEntryfmt:
.string "diiii"
.global SpellAuraRestrictionsEntryfmt
.align 3
.type SpellAuraRestrictionsEntryfmt, %object
.size SpellAuraRestrictionsEntryfmt, 10
SpellAuraRestrictionsEntryfmt:
.string "diiiiiiii"
.global SpellCastingRequirementsEntryfmt
.align 3
.type SpellCastingRequirementsEntryfmt, %object
.size SpellCastingRequirementsEntryfmt, 8
SpellCastingRequirementsEntryfmt:
.string "dixxixi"
.global SpellCategoriesEntryfmt
.align 3
.type SpellCategoriesEntryfmt, %object
.size SpellCategoriesEntryfmt, 8
SpellCategoriesEntryfmt:
.string "diiiiii"
.global SpellClassOptionsEntryfmt
.align 3
.type SpellClassOptionsEntryfmt, %object
.size SpellClassOptionsEntryfmt, 8
SpellClassOptionsEntryfmt:
.string "dxiiiix"
.global SpellCooldownsEntryfmt
.align 3
.type SpellCooldownsEntryfmt, %object
.size SpellCooldownsEntryfmt, 5
SpellCooldownsEntryfmt:
.string "diii"
.global SpellEffectEntryfmt
.align 3
.type SpellEffectEntryfmt, %object
.size SpellEffectEntryfmt, 28
SpellEffectEntryfmt:
.string "difiiixfiiiiiifixfiiiiiiiix"
.global SpellEquippedItemsEntryfmt
.align 3
.type SpellEquippedItemsEntryfmt, %object
.size SpellEquippedItemsEntryfmt, 5
SpellEquippedItemsEntryfmt:
.string "diii"
.global SpellInterruptsEntryfmt
.align 3
.type SpellInterruptsEntryfmt, %object
.size SpellInterruptsEntryfmt, 7
SpellInterruptsEntryfmt:
.string "dixixi"
.global SpellLevelsEntryfmt
.align 3
.type SpellLevelsEntryfmt, %object
.size SpellLevelsEntryfmt, 5
SpellLevelsEntryfmt:
.string "diii"
.global SpellPowerEntryfmt
.align 3
.type SpellPowerEntryfmt, %object
.size SpellPowerEntryfmt, 9
SpellPowerEntryfmt:
.string "diiiixxx"
.global SpellReagentsEntryfmt
.align 3
.type SpellReagentsEntryfmt, %object
.size SpellReagentsEntryfmt, 18
SpellReagentsEntryfmt:
.string "diiiiiiiiiiiiiiii"
.global SpellScalingEntryfmt
.align 3
.type SpellScalingEntryfmt, %object
.size SpellScalingEntryfmt, 17
SpellScalingEntryfmt:
.string "diiiiffffffffffi"
.global SpellShapeshiftEntryfmt
.align 3
.type SpellShapeshiftEntryfmt, %object
.size SpellShapeshiftEntryfmt, 7
SpellShapeshiftEntryfmt:
.string "dixixx"
.global SpellTargetRestrictionsEntryfmt
.align 3
.type SpellTargetRestrictionsEntryfmt, %object
.size SpellTargetRestrictionsEntryfmt, 7
SpellTargetRestrictionsEntryfmt:
.string "dfiiii"
.global SpellTotemsEntryfmt
.align 3
.type SpellTotemsEntryfmt, %object
.size SpellTotemsEntryfmt, 6
SpellTotemsEntryfmt:
.string "diiii"
.global SpellFocusObjectfmt
.align 3
.type SpellFocusObjectfmt, %object
.size SpellFocusObjectfmt, 3
SpellFocusObjectfmt:
.string "nx"
.global SpellItemEnchantmentfmt
.align 3
.type SpellItemEnchantmentfmt, %object
.size SpellItemEnchantmentfmt, 24
SpellItemEnchantmentfmt:
.string "nxiiiiiixxxiiisiiiixxxx"
.global SpellItemEnchantmentConditionfmt
.align 3
.type SpellItemEnchantmentConditionfmt, %object
.size SpellItemEnchantmentConditionfmt, 32
SpellItemEnchantmentConditionfmt:
.string "nbbbbbxxxxxbbbbbbbbbbiiiiiXXXXX"
.global SpellRadiusfmt
.align 3
.type SpellRadiusfmt, %object
.size SpellRadiusfmt, 5
SpellRadiusfmt:
.string "nfxx"
.global SpellRangefmt
.align 3
.type SpellRangefmt, %object
.size SpellRangefmt, 9
SpellRangefmt:
.string "nffffxxx"
.global SpellRuneCostfmt
.align 3
.type SpellRuneCostfmt, %object
.size SpellRuneCostfmt, 6
SpellRuneCostfmt:
.string "niiii"
.global SpellShapeshiftFormfmt
.align 3
.type SpellShapeshiftFormfmt, %object
.size SpellShapeshiftFormfmt, 22
SpellShapeshiftFormfmt:
.string "nxxiixiiixxiiiiiiiixx"
.global SummonPropertiesfmt
.align 3
.type SummonPropertiesfmt, %object
.size SummonPropertiesfmt, 7
SummonPropertiesfmt:
.string "niiiii"
.global TalentEntryfmt
.align 3
.type TalentEntryfmt, %object
.size TalentEntryfmt, 20
TalentEntryfmt:
.string "niiiiiiixxiiibbbbxx"
.global TalentTabEntryfmt
.align 3
.type TalentTabEntryfmt, %object
.size TalentTabEntryfmt, 12
TalentTabEntryfmt:
.string "nxxiiixxxxx"
.global TaxiNodesEntryfmt
.align 3
.type TaxiNodesEntryfmt, %object
.size TaxiNodesEntryfmt, 12
TaxiNodesEntryfmt:
.string "nifffsiixxx"
.global TaxiPathEntryfmt
.align 3
.type TaxiPathEntryfmt, %object
.size TaxiPathEntryfmt, 5
TaxiPathEntryfmt:
.string "niii"
.global TaxiPathNodeEntryfmt
.align 3
.type TaxiPathNodeEntryfmt, %object
.size TaxiPathNodeEntryfmt, 12
TaxiPathNodeEntryfmt:
.string "diiifffiiii"
.global TotemCategoryEntryfmt
.align 3
.type TotemCategoryEntryfmt, %object
.size TotemCategoryEntryfmt, 5
TotemCategoryEntryfmt:
.string "nxii"
.global VehicleEntryfmt
.align 3
.type VehicleEntryfmt, %object
.size VehicleEntryfmt, 41
VehicleEntryfmt:
.string "niffffiiiiiiiifffffffffffffffssssfifiixx"
.global VehicleSeatEntryfmt
.align 3
.type VehicleSeatEntryfmt, %object
.size VehicleSeatEntryfmt, 67
VehicleSeatEntryfmt:
.string "niiffffffffffiiiiiifffffffiiifffiiiiiiiffiiiiixxxxxxxxxxxxxxxxxxxx"
.global WMOAreaTableEntryfmt
.align 3
.type WMOAreaTableEntryfmt, %object
.size WMOAreaTableEntryfmt, 16
WMOAreaTableEntryfmt:
.string "niiixxxxxiixxxx"
.global WorldMapAreaEntryfmt
.align 3
.type WorldMapAreaEntryfmt, %object
.size WorldMapAreaEntryfmt, 15
WorldMapAreaEntryfmt:
.string "xinxffffixxxxx"
.global WorldMapOverlayEntryfmt
.align 3
.type WorldMapOverlayEntryfmt, %object
.size WorldMapOverlayEntryfmt, 16
WorldMapOverlayEntryfmt:
.string "nxiiiixxxxxxxxx"
.global WorldSafeLocsEntryfmt
.align 3
.type WorldSafeLocsEntryfmt, %object
.size WorldSafeLocsEntryfmt, 7
WorldSafeLocsEntryfmt:
.string "nifffx"
.global WorldPvPAreaEnrtyfmt
.align 3
.type WorldPvPAreaEnrtyfmt, %object
.size WorldPvPAreaEnrtyfmt, 8
WorldPvPAreaEnrtyfmt:
.string "niiiiii"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%lf"
.align 3
.LC1:
.string "%d\n"
.align 3
.LC2:
.string "%.3lf\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #560
.cfi_def_cfa_offset 560
stp x29, x30, [sp]
.cfi_offset 29, -560
.cfi_offset 30, -552
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 552]
mov x1, 0
str xzr, [sp, 32]
str xzr, [sp, 24]
str wzr, [sp, 16]
str wzr, [sp, 20]
b .L2
.L3:
ldr d0, [sp, 24]
add x0, sp, 40
ldr w1, [sp, 20]
bl is_unique
cmp w0, 0
beq .L2
ldr d0, [sp, 24]
ldrsw x0, [sp, 20]
lsl x0, x0, 3
add x1, sp, 40
str d0, [x1, x0]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L2:
add x0, sp, 24
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
cmn w0, #1
bne .L3
str wzr, [sp, 20]
b .L4
.L5:
ldrsw x0, [sp, 20]
lsl x0, x0, 3
add x1, sp, 40
ldr d0, [x1, x0]
ldr w0, [sp, 16]
scvtf d1, w0
bl fmod
fmov d1, d0
ldr d0, [sp, 32]
fadd d0, d0, d1
str d0, [sp, 32]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L4:
ldr w1, [sp, 20]
ldr w0, [sp, 16]
cmp w1, w0
blt .L5
ldr w1, [sp, 16]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr d0, [sp, 32]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 552]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 560
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.align 2
.global is_unique
.type is_unique, %function
is_unique:
.LFB1:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str d0, [sp, 8]
str wzr, [sp, 44]
b .L9
.L12:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [sp, 8]
fcmp d1, d0
bne .L10
mov w0, 0
b .L11
.L10:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L9:
ldr w1, [sp, 44]
ldr w0, [sp, 20]
cmp w1, w0
blt .L12
mov w0, 1
.L11:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size is_unique, .-is_unique
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global strlen
.type strlen, %function
strlen:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str xzr, [sp, 24]
b .L2
.L3:
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
.L2:
ldr x1, [sp, 8]
ldr x0, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L3
ldr x0, [sp, 24]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size strlen, .-strlen
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global Push
.type Push, %function
Push:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
mov x0, 16
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w1, [sp, 20]
str w1, [x0]
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size Push, .-Push
.align 2
.global Append
.type Append, %function
Append:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
mov x0, 16
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 24]
cmp x0, 0
bne .L4
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl Push
str x0, [sp, 24]
b .L5
.L4:
ldr x0, [sp, 24]
str x0, [sp, 40]
b .L6
.L7:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L6:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
cmp x0, 0
bne .L7
mov x0, 16
bl malloc
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr w1, [sp, 20]
str w1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str xzr, [x0, 8]
.L5:
ldr x0, [sp, 24]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size Append, .-Append
.align 2
.global AddFourth
.type AddFourth, %function
AddFourth:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
mov x0, 16
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w1, [sp, 20]
str w1, [x0]
mov w0, 1
str w0, [sp, 44]
ldr x0, [sp, 24]
str x0, [sp, 48]
b .L10
.L11:
ldr x0, [sp, 48]
ldr x0, [x0, 8]
str x0, [sp, 48]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L10:
ldr w0, [sp, 44]
cmp w0, 3
ble .L11
ldr x0, [sp, 48]
ldr x1, [x0, 8]
ldr x0, [sp, 56]
str x1, [x0, 8]
ldr x0, [sp, 48]
ldr x1, [sp, 56]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size AddFourth, .-AddFourth
.align 2
.global isEmpty
.type isEmpty, %function
isEmpty:
.LFB9:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size isEmpty, .-isEmpty
.align 2
.global SizeList
.type SizeList, %function
SizeList:
.LFB10:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str x0, [sp, 24]
str wzr, [sp, 20]
b .L16
.L17:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L16:
ldr x0, [sp, 24]
cmp x0, 0
bne .L17
ldr w0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size SizeList, .-SizeList
.section .rodata
.align 3
.LC0:
.string "%d -> "
.align 3
.LC1:
.string "NULL"
.text
.align 2
.global Dump
.type Dump, %function
Dump:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
str x0, [sp, 40]
ldr x0, [sp, 24]
bl isEmpty
cmp w0, 0
bne .L20
b .L21
.L22:
ldr x0, [sp, 40]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
.L21:
ldr x0, [sp, 40]
cmp x0, 0
bne .L22
.L20:
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size Dump, .-Dump
.align 2
.global FreeList
.type FreeList, %function
FreeList:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
b .L25
.L26:
ldr x0, [sp, 24]
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
ldr x0, [sp, 40]
bl free
.L25:
ldr x0, [sp, 24]
cmp x0, 0
bne .L26
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size FreeList, .-FreeList
.section .rodata
.align 3
.LC2:
.string "%d"
.text
.align 2
.global main
.type main, %function
main:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str xzr, [sp, 32]
add x0, sp, 28
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
b .L29
.L30:
ldr w0, [sp, 28]
mov w1, w0
ldr x0, [sp, 32]
bl Append
str x0, [sp, 32]
add x0, sp, 28
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
.L29:
ldr w0, [sp, 28]
cmp w0, 0
bge .L30
add x0, sp, 28
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr x0, [sp, 32]
bl SizeList
cmp w0, 4
bgt .L31
ldr w0, [sp, 28]
mov w1, w0
ldr x0, [sp, 32]
bl Append
str x0, [sp, 32]
b .L32
.L31:
ldr x0, [sp, 32]
bl isEmpty
cmp w0, 0
beq .L33
ldr w0, [sp, 28]
mov w1, w0
ldr x0, [sp, 32]
bl Push
str x0, [sp, 32]
b .L32
.L33:
ldr w0, [sp, 28]
mov w1, w0
ldr x0, [sp, 32]
bl AddFourth
str x0, [sp, 32]
.L32:
ldr x0, [sp, 32]
bl Dump
ldr x0, [sp, 32]
bl FreeList
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L35
bl __stack_chk_fail
.L35:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global my_str_isupper
.type my_str_isupper, %function
my_str_isupper:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 28]
b .L2
.L5:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 64
bls .L3
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 90
bhi .L3
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
b .L2
.L3:
mov w0, 0
b .L4
.L2:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L5
mov w0, 1
.L4:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size my_str_isupper, .-my_str_isupper
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "rb"
.text
.align 2
.global read_buffer
.type read_buffer, %function
read_buffer:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 24]
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L2
mov x0, 0
b .L3
.L2:
mov w2, 2
mov x1, 0
ldr x0, [sp, 40]
bl fseek
ldr x0, [sp, 40]
bl ftell
str x0, [sp, 48]
mov w2, 0
mov x1, 0
ldr x0, [sp, 40]
bl fseek
ldr x0, [sp, 48]
add x0, x0, 1
bl malloc
str x0, [sp, 56]
ldr x3, [sp, 40]
ldr x2, [sp, 48]
mov x1, 1
ldr x0, [sp, 56]
bl fread
ldr x1, [sp, 56]
ldr x0, [sp, 48]
add x0, x1, x0
strb wzr, [x0]
ldr x0, [sp, 16]
cmp x0, 0
beq .L4
ldr x0, [sp, 16]
ldr x1, [sp, 48]
str x1, [x0]
.L4:
ldr x0, [sp, 56]
.L3:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size read_buffer, .-read_buffer
.section .rodata
.align 3
.LC1:
.string "w+"
.text
.align 2
.global write_buffer
.type write_buffer, %function
write_buffer:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 40]
bl fopen
str x0, [sp, 56]
ldr x0, [sp, 32]
cmp x0, 0
beq .L6
ldr x3, [sp, 56]
ldr x2, [sp, 24]
mov x1, 1
ldr x0, [sp, 32]
bl fwrite
.L6:
ldr x0, [sp, 56]
bl fclose
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size write_buffer, .-write_buffer
.section .rodata
.align 3
.LC2:
.string "error: call to 'clGetPlatformIDs' failed"
.align 3
.LC3:
.string "Number of platforms: %d\n"
.align 3
.LC4:
.string "platform=%p\n"
.align 3
.LC5:
.string "error: call to 'clGetPlatformInfo' failed"
.align 3
.LC6:
.string "platform.name='%s'\n\n"
.align 3
.LC7:
.string "error: call to 'clGetDeviceIDs' failed"
.align 3
.LC8:
.string "Number of devices: %d\n"
.align 3
.LC9:
.string "device=%p\n"
.align 3
.LC10:
.string "error: call to 'clGetDeviceInfo' failed"
.align 3
.LC11:
.string "device.name='%s'\n"
.align 3
.LC12:
.string "error: call to 'clCreateContext' failed"
.align 3
.LC13:
.string "context=%p\n"
.align 3
.LC14:
.string "error: call to 'clCreateCommandQueue' failed"
.align 3
.LC15:
.string "command_queue=%p\n"
.align 3
.LC16:
.string "error: No binary specified"
.align 3
.LC17:
.string "error: call to 'clCreateProgramWithBinary' failed"
.align 3
.LC18:
.string "error: Invalid binary for device"
.align 3
.LC19:
.string "program=%p\n"
.align 3
.LC20:
.string "program binary loaded"
.align 3
.LC21:
.string "error: call to 'clBuildProgram' failed:\n%s\n"
.align 3
.LC22:
.string "program built"
.align 3
.LC23:
.string "fmod_floatfloat"
.align 3
.LC24:
.string "error: call to 'clCreateKernel' failed"
.align 3
.LC25:
.string "error: could not create source buffer"
.align 3
.LC26:
.string "error: call to 'clEnqueueWriteBuffer' failed"
.align 3
.LC27:
.string "error: could not create dst buffer"
.align 3
.LC28:
.string "error: call to 'clSetKernelArg' failed"
.align 3
.LC29:
.string "error: call to 'clEnqueueNDRangeKernel' failed"
.align 3
.LC30:
.string "error: call to 'clEnqueueReadBuffer' failed"
.align 3
.LC31:
.string "%s.result"
.align 3
.LC32:
.string "Result dumped to %s\n"
.align 3
.LC33:
.string "error: call to 'clReleaseMemObject' failed"
.align 3
.LC34:
.string "error: call to 'clReleaseKernel' failed"
.align 3
.LC35:
.string "error: call to 'clReleaseProgram' failed"
.align 3
.LC36:
.string "error: call to 'clReleaseCommandQueue' failed"
.align 3
.LC37:
.string "error: call to 'clReleaseContext' failed"
.text
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
sub sp, sp, #544
.cfi_def_cfa_offset 544
stp x29, x30, [sp, 16]
.cfi_offset 29, -528
.cfi_offset 30, -520
add x29, sp, 16
str w0, [sp, 44]
str x1, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 536]
mov x1, 0
add x1, sp, 56
add x0, sp, 80
mov x2, x1
mov x1, x0
mov w0, 1
bl clGetPlatformIDs
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L8
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 1
bl exit
.L8:
ldr w0, [sp, 56]
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr x0, [sp, 80]
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [sp, 80]
add x1, sp, 224
mov x4, 0
mov x3, x1
mov x2, 100
mov w1, 2306
bl clGetPlatformInfo
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L9
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
mov w0, 1
bl exit
.L9:
add x0, sp, 224
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
ldr x0, [sp, 80]
add x2, sp, 64
add x1, sp, 88
mov x4, x2
mov x3, x1
mov w2, 1
mov x1, 4
bl clGetDeviceIDs
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L10
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
mov w0, 1
bl exit
.L10:
ldr w0, [sp, 64]
mov w1, w0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
ldr x0, [sp, 88]
mov x1, x0
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
ldr x0, [sp, 88]
add x1, sp, 328
mov x4, 0
mov x3, x1
mov x2, 100
mov w1, 4139
bl clGetDeviceInfo
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L11
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
mov w0, 1
bl exit
.L11:
add x0, sp, 328
mov x1, x0
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
mov w0, 10
bl putchar
add x1, sp, 60
add x0, sp, 88
mov x5, x1
mov x4, 0
mov x3, 0
mov x2, x0
mov w1, 1
mov x0, 0
bl clCreateContext
str x0, [sp, 152]
ldr w0, [sp, 60]
cmp w0, 0
beq .L12
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl puts
mov w0, 1
bl exit
.L12:
ldr x1, [sp, 152]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
ldr x0, [sp, 88]
add x1, sp, 60
mov x3, x1
mov x2, 0
mov x1, x0
ldr x0, [sp, 152]
bl clCreateCommandQueue
str x0, [sp, 160]
ldr w0, [sp, 60]
cmp w0, 0
beq .L13
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl puts
mov w0, 1
bl exit
.L13:
ldr x1, [sp, 160]
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl printf
mov w0, 10
bl putchar
ldr w0, [sp, 44]
cmp w0, 2
bne .L14
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
add x1, sp, 104
bl read_buffer
str x0, [sp, 96]
add x4, sp, 60
add x3, sp, 68
add x2, sp, 96
add x1, sp, 104
add x0, sp, 88
mov x6, x4
mov x5, x3
mov x4, x2
mov x3, x1
mov x2, x0
mov w1, 1
ldr x0, [sp, 152]
bl clCreateProgramWithBinary
str x0, [sp, 168]
ldr w0, [sp, 60]
cmp w0, 0
beq .L16
b .L41
.L14:
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl puts
mov w0, 1
bl exit
.L41:
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl puts
mov w0, 1
bl exit
.L16:
ldr w0, [sp, 68]
cmp w0, 0
beq .L17
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl puts
mov w0, 1
bl exit
.L17:
ldr x1, [sp, 168]
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl printf
ldr x0, [sp, 96]
bl free
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl puts
mov w0, 10
bl putchar
add x0, sp, 88
mov x5, 0
mov x4, 0
mov x3, 0
mov x2, x0
mov w1, 1
ldr x0, [sp, 168]
bl clBuildProgram
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L18
ldr x0, [sp, 88]
add x1, sp, 144
mov x5, x1
mov x4, 0
mov x3, 0
mov w2, 4483
mov x1, x0
ldr x0, [sp, 168]
bl clGetProgramBuildInfo
ldr x0, [sp, 144]
bl malloc
str x0, [sp, 216]
ldr x0, [sp, 88]
ldr x1, [sp, 144]
mov x5, 0
ldr x4, [sp, 216]
mov x3, x1
mov w2, 4483
mov x1, x0
ldr x0, [sp, 168]
bl clGetProgramBuildInfo
ldr x1, [sp, 216]
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl printf
ldr x0, [sp, 216]
bl free
mov w0, 1
bl exit
.L18:
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl puts
mov w0, 10
bl putchar
add x0, sp, 60
mov x2, x0
adrp x0, .LC23
add x1, x0, :lo12:.LC23
ldr x0, [sp, 168]
bl clCreateKernel
str x0, [sp, 176]
ldr w0, [sp, 60]
cmp w0, 0
beq .L19
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl puts
mov w0, 1
bl exit
.L19:
mov x0, 10
str x0, [sp, 184]
ldr x0, [sp, 184]
lsl x0, x0, 2
bl malloc
str x0, [sp, 192]
str wzr, [sp, 72]
b .L20
.L21:
ldrsw x0, [sp, 72]
lsl x0, x0, 2
ldr x1, [sp, 192]
add x0, x1, x0
fmov s0, 2.0e+0
str s0, [x0]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L20:
ldrsw x0, [sp, 72]
ldr x1, [sp, 184]
cmp x1, x0
bhi .L21
ldr x0, [sp, 184]
lsl x0, x0, 2
add x1, sp, 60
mov x4, x1
mov x3, 0
mov x2, x0
mov x1, 4
ldr x0, [sp, 152]
bl clCreateBuffer
str x0, [sp, 112]
ldr w0, [sp, 60]
cmp w0, 0
beq .L22
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl puts
mov w0, 1
bl exit
.L22:
ldr x1, [sp, 112]
ldr x0, [sp, 184]
lsl x0, x0, 2
str xzr, [sp]
mov x7, 0
mov w6, 0
ldr x5, [sp, 192]
mov x4, x0
mov x3, 0
mov w2, 1
ldr x0, [sp, 160]
bl clEnqueueWriteBuffer
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L23
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl puts
mov w0, 1
bl exit
.L23:
ldr x0, [sp, 184]
lsl x0, x0, 2
bl malloc
str x0, [sp, 200]
str wzr, [sp, 76]
b .L24
.L25:
ldrsw x0, [sp, 76]
lsl x0, x0, 2
ldr x1, [sp, 200]
add x0, x1, x0
fmov s0, 2.0e+0
str s0, [x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L24:
ldrsw x0, [sp, 76]
ldr x1, [sp, 184]
cmp x1, x0
bhi .L25
ldr x0, [sp, 184]
lsl x0, x0, 2
add x1, sp, 60
mov x4, x1
mov x3, 0
mov x2, x0
mov x1, 4
ldr x0, [sp, 152]
bl clCreateBuffer
str x0, [sp, 120]
ldr w0, [sp, 60]
cmp w0, 0
beq .L26
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl puts
mov w0, 1
bl exit
.L26:
ldr x1, [sp, 120]
ldr x0, [sp, 184]
lsl x0, x0, 2
str xzr, [sp]
mov x7, 0
mov w6, 0
ldr x5, [sp, 200]
mov x4, x0
mov x3, 0
mov w2, 1
ldr x0, [sp, 160]
bl clEnqueueWriteBuffer
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L27
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl puts
mov w0, 1
bl exit
.L27:
ldr x0, [sp, 184]
lsl x0, x0, 2
bl malloc
str x0, [sp, 208]
ldr x0, [sp, 184]
lsl x0, x0, 2
mov x2, x0
mov w1, 1
ldr x0, [sp, 208]
bl memset
ldr x0, [sp, 184]
lsl x0, x0, 2
add x1, sp, 60
mov x4, x1
mov x3, 0
mov x2, x0
mov x1, 2
ldr x0, [sp, 152]
bl clCreateBuffer
str x0, [sp, 128]
ldr w0, [sp, 60]
cmp w0, 0
beq .L28
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl puts
mov w0, 1
bl exit
.L28:
str wzr, [sp, 60]
add x0, sp, 112
mov x3, x0
mov x2, 8
mov w1, 0
ldr x0, [sp, 176]
bl clSetKernelArg
mov w1, w0
ldr w0, [sp, 60]
orr w0, w1, w0
str w0, [sp, 60]
add x0, sp, 120
mov x3, x0
mov x2, 8
mov w1, 1
ldr x0, [sp, 176]
bl clSetKernelArg
mov w1, w0
ldr w0, [sp, 60]
orr w0, w1, w0
str w0, [sp, 60]
add x0, sp, 128
mov x3, x0
mov x2, 8
mov w1, 2
ldr x0, [sp, 176]
bl clSetKernelArg
mov w1, w0
ldr w0, [sp, 60]
orr w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L29
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl puts
mov w0, 1
bl exit
.L29:
ldr x0, [sp, 184]
str x0, [sp, 136]
ldr x0, [sp, 184]
str x0, [sp, 144]
add x1, sp, 144
add x0, sp, 136
str xzr, [sp]
mov x7, 0
mov w6, 0
mov x5, x1
mov x4, x0
mov x3, 0
mov w2, 1
ldr x1, [sp, 176]
ldr x0, [sp, 160]
bl clEnqueueNDRangeKernel
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L30
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl puts
mov w0, 1
bl exit
.L30:
ldr x0, [sp, 160]
bl clFinish
ldr x1, [sp, 128]
ldr x0, [sp, 184]
lsl x0, x0, 2
str xzr, [sp]
mov x7, 0
mov w6, 0
ldr x5, [sp, 208]
mov x4, x0
mov x3, 0
mov w2, 1
ldr x0, [sp, 160]
bl clEnqueueReadBuffer
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L31
adrp x0, .LC30
add x0, x0, :lo12:.LC30
bl puts
mov w0, 1
bl exit
.L31:
ldr x0, [sp, 32]
ldr x0, [x0]
add x3, sp, 432
mov x2, x0
adrp x0, .LC31
add x1, x0, :lo12:.LC31
mov x0, x3
bl sprintf
ldr x0, [sp, 184]
lsl x1, x0, 2
add x0, sp, 432
mov x2, x1
ldr x1, [sp, 208]
bl write_buffer
add x0, sp, 432
mov x1, x0
adrp x0, .LC32
add x0, x0, :lo12:.LC32
bl printf
ldr x0, [sp, 208]
bl free
ldr x0, [sp, 128]
bl clReleaseMemObject
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L32
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl puts
mov w0, 1
bl exit
.L32:
ldr x0, [sp, 192]
bl free
ldr x0, [sp, 112]
bl clReleaseMemObject
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L33
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl puts
mov w0, 1
bl exit
.L33:
ldr x0, [sp, 200]
bl free
ldr x0, [sp, 120]
bl clReleaseMemObject
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L34
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl puts
mov w0, 1
bl exit
.L34:
ldr x0, [sp, 176]
bl clReleaseKernel
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L35
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl puts
mov w0, 1
bl exit
.L35:
ldr x0, [sp, 168]
bl clReleaseProgram
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L36
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl puts
mov w0, 1
bl exit
.L36:
ldr x0, [sp, 160]
bl clReleaseCommandQueue
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L37
adrp x0, .LC36
add x0, x0, :lo12:.LC36
bl puts
mov w0, 1
bl exit
.L37:
ldr x0, [sp, 152]
bl clReleaseContext
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L38
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl puts
mov w0, 1
bl exit
.L38:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 536]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L40
bl __stack_chk_fail
.L40:
mov w0, w1
ldp x29, x30, [sp, 16]
add sp, sp, 544
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "* "
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 24
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
mov w0, 1
str w0, [sp, 28]
b .L2
.L5:
ldr w0, [sp, 28]
str w0, [sp, 36]
mov w0, 1
str w0, [sp, 32]
b .L3
.L4:
ldr w1, [sp, 32]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L3:
ldr w1, [sp, 32]
ldr w0, [sp, 28]
cmp w1, w0
ble .L4
mov w0, 10
bl putchar
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 24]
ldr w1, [sp, 28]
cmp w1, w0
ble .L5
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "%f"
.align 3
.LC2:
.string "%s"
.text
.align 2
.global scilab_rt_bar_i2d0i0s0s0_
.type scilab_rt_bar_i2d0i0s0s0_, %function
scilab_rt_bar_i2d0i0s0s0_:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str w0, [sp, 60]
str w1, [sp, 56]
str x2, [sp, 48]
str d0, [sp, 40]
str w3, [sp, 36]
str x4, [sp, 24]
str x5, [sp, 16]
ldr w0, [sp, 56]
sxtw x1, w0
sub x1, x1, #1
str x1, [sp, 88]
sxtw x1, w0
mov x8, x1
mov x9, 0
lsr x1, x8, 59
lsl x7, x9, 5
orr x7, x1, x7
lsl x6, x8, 5
str wzr, [sp, 84]
str wzr, [sp, 76]
b .L2
.L5:
str wzr, [sp, 80]
b .L3
.L4:
ldrsw x2, [sp, 76]
sxtw x1, w0
mul x1, x2, x1
lsl x1, x1, 2
ldr x2, [sp, 48]
add x1, x2, x1
ldrsw x2, [sp, 80]
ldr w1, [x1, x2, lsl 2]
ldr w2, [sp, 84]
add w1, w2, w1
str w1, [sp, 84]
ldr w1, [sp, 80]
add w1, w1, 1
str w1, [sp, 80]
.L3:
ldr w2, [sp, 80]
ldr w1, [sp, 56]
cmp w2, w1
blt .L4
ldr w1, [sp, 76]
add w1, w1, 1
str w1, [sp, 76]
.L2:
ldr w2, [sp, 76]
ldr w1, [sp, 60]
cmp w2, w1
blt .L5
ldr w1, [sp, 84]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr d0, [sp, 40]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w1, [sp, 36]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr x1, [sp, 24]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr x1, [sp, 16]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
nop
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size scilab_rt_bar_i2d0i0s0s0_, .-scilab_rt_bar_i2d0i0s0s0_
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global DEBUG
.data
.align 2
.type DEBUG, %object
.size DEBUG, 4
DEBUG:
.word 1
.global start
.align 2
.type start, %object
.size start, 4
start:
.word 1
.section .rodata
.align 3
.LC0:
.string "gcd(81, 9) = %d\n"
.align 3
.LC1:
.string "gcd(7, 21) = %d\n"
.align 3
.LC2:
.string "gcd(17, 6) = %d\n"
.align 3
.LC3:
.string "gcd(116, 96) = %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w1, 9
mov w0, 81
bl gcd
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w1, 21
mov w0, 7
bl gcd
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w1, 6
mov w0, 17
bl gcd
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w1, 96
mov w0, 116
bl gcd
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.align 2
.global gcd
.type gcd, %function
gcd:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w0, [sp, 24]
cmp w0, 0
bne .L4
ldr w0, [sp, 28]
b .L5
.L4:
ldr w0, [sp, 28]
ldr w1, [sp, 24]
sdiv w2, w0, w1
ldr w1, [sp, 24]
mul w1, w2, w1
sub w0, w0, w1
mov w1, w0
ldr w0, [sp, 24]
bl gcd
.L5:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size gcd, .-gcd
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global abc
.bss
.align 2
.type abc, %object
.size abc, 4
abc:
.zero 4
.global variable_we_expect_to_see
.align 2
.type variable_we_expect_to_see, %object
.size variable_we_expect_to_see, 4
variable_we_expect_to_see:
.zero 4
.global xyz
.align 2
.type xyz, %object
.size xyz, 4
xyz:
.zero 4
.text
.align 2
.global foo
.type foo, %function
foo:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w0, 42
str w0, [sp, 12]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
.global x
.data
.align 2
.type x, %object
.size x, 4
x:
.word 42
.global y
.align 2
.type y, %object
.size y, 4
y:
.word 42
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global anp_sys_errlist
.section .rodata
.align 3
.LC0:
.string "Undefined error: 0"
.align 3
.LC1:
.string "Operation not permitted"
.align 3
.LC2:
.string "No such file or directory"
.align 3
.LC3:
.string "No such process"
.align 3
.LC4:
.string "Interrupted system call"
.align 3
.LC5:
.string "Input/output error"
.align 3
.LC6:
.string "Device not configured"
.align 3
.LC7:
.string "Argument list too long"
.align 3
.LC8:
.string "Exec format error"
.align 3
.LC9:
.string "Bad file descriptor"
.align 3
.LC10:
.string "No child processes"
.align 3
.LC11:
.string "Resource deadlock avoided"
.align 3
.LC12:
.string "Cannot allocate memory"
.align 3
.LC13:
.string "Permission denied"
.align 3
.LC14:
.string "Bad address"
.align 3
.LC15:
.string "Block device required"
.align 3
.LC16:
.string "Device busy"
.align 3
.LC17:
.string "File exists"
.align 3
.LC18:
.string "Cross-device link"
.align 3
.LC19:
.string "Operation not supported by device"
.align 3
.LC20:
.string "Not a directory"
.align 3
.LC21:
.string "Is a directory"
.align 3
.LC22:
.string "Invalid argument"
.align 3
.LC23:
.string "Too many open files in system"
.align 3
.LC24:
.string "Too many open files"
.align 3
.LC25:
.string "Inappropriate ioctl for device"
.align 3
.LC26:
.string "Text file busy"
.align 3
.LC27:
.string "File too large"
.align 3
.LC28:
.string "No space left on device"
.align 3
.LC29:
.string "Illegal seek"
.align 3
.LC30:
.string "Read-only file system"
.align 3
.LC31:
.string "Too many links"
.align 3
.LC32:
.string "Broken pipe"
.align 3
.LC33:
.string "Numerical argument out of domain"
.align 3
.LC34:
.string "Result too large"
.align 3
.LC35:
.string "Resource temporarily unavailable"
.align 3
.LC36:
.string "Operation now in progress"
.align 3
.LC37:
.string "Operation already in progress"
.align 3
.LC38:
.string "Socket operation on non-socket"
.align 3
.LC39:
.string "Destination address required"
.align 3
.LC40:
.string "Message too long"
.align 3
.LC41:
.string "Protocol wrong type for socket"
.align 3
.LC42:
.string "Protocol not available"
.align 3
.LC43:
.string "Protocol not supported"
.align 3
.LC44:
.string "Socket type not supported"
.align 3
.LC45:
.string "Operation not supported"
.align 3
.LC46:
.string "Protocol family not supported"
.align 3
.LC47:
.string "Address family not supported by protocol family"
.align 3
.LC48:
.string "Address already in use"
.align 3
.LC49:
.string "Can't assign requested address"
.align 3
.LC50:
.string "Network is down"
.align 3
.LC51:
.string "Network is unreachable"
.align 3
.LC52:
.string "Network dropped connection on reset"
.align 3
.LC53:
.string "Software caused connection abort"
.align 3
.LC54:
.string "Connection reset by peer"
.align 3
.LC55:
.string "No buffer space available"
.align 3
.LC56:
.string "Socket is already connected"
.align 3
.LC57:
.string "Socket is not connected"
.align 3
.LC58:
.string "Can't send after socket shutdown"
.align 3
.LC59:
.string "Too many references: can't splice"
.align 3
.LC60:
.string "Operation timed out"
.align 3
.LC61:
.string "Connection refused"
.align 3
.LC62:
.string "Too many levels of symbolic links"
.align 3
.LC63:
.string "File name too long"
.align 3
.LC64:
.string "Host is down"
.align 3
.LC65:
.string "No route to host"
.align 3
.LC66:
.string "Directory not empty"
.align 3
.LC67:
.string "Too many processes"
.align 3
.LC68:
.string "Too many users"
.align 3
.LC69:
.string "Disc quota exceeded"
.align 3
.LC70:
.string "Stale NFS file handle"
.align 3
.LC71:
.string "Too many levels of remote in path"
.align 3
.LC72:
.string "RPC struct is bad"
.align 3
.LC73:
.string "RPC version wrong"
.align 3
.LC74:
.string "RPC prog. not avail"
.align 3
.LC75:
.string "Program version wrong"
.align 3
.LC76:
.string "Bad procedure for program"
.align 3
.LC77:
.string "No locks available"
.align 3
.LC78:
.string "Function not implemented"
.align 3
.LC79:
.string "Inappropriate file type or format"
.section .data.rel.ro.local,"aw"
.align 3
.type anp_sys_errlist, %object
.size anp_sys_errlist, 640
anp_sys_errlist:
.xword .LC0
.xword .LC1
.xword .LC2
.xword .LC3
.xword .LC4
.xword .LC5
.xword .LC6
.xword .LC7
.xword .LC8
.xword .LC9
.xword .LC10
.xword .LC11
.xword .LC12
.xword .LC13
.xword .LC14
.xword .LC15
.xword .LC16
.xword .LC17
.xword .LC18
.xword .LC19
.xword .LC20
.xword .LC21
.xword .LC22
.xword .LC23
.xword .LC24
.xword .LC25
.xword .LC26
.xword .LC27
.xword .LC28
.xword .LC29
.xword .LC30
.xword .LC31
.xword .LC32
.xword .LC33
.xword .LC34
.xword .LC35
.xword .LC36
.xword .LC37
.xword .LC38
.xword .LC39
.xword .LC40
.xword .LC41
.xword .LC42
.xword .LC43
.xword .LC44
.xword .LC45
.xword .LC46
.xword .LC47
.xword .LC48
.xword .LC49
.xword .LC50
.xword .LC51
.xword .LC52
.xword .LC53
.xword .LC54
.xword .LC55
.xword .LC56
.xword .LC57
.xword .LC58
.xword .LC59
.xword .LC60
.xword .LC61
.xword .LC62
.xword .LC63
.xword .LC64
.xword .LC65
.xword .LC66
.xword .LC67
.xword .LC68
.xword .LC69
.xword .LC70
.xword .LC71
.xword .LC72
.xword .LC73
.xword .LC74
.xword .LC75
.xword .LC76
.xword .LC77
.xword .LC78
.xword .LC79
.global anp_sys_nerr
.section .rodata
.align 2
.type anp_sys_nerr, %object
.size anp_sys_nerr, 4
anp_sys_nerr:
.word 80
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.type sb_arrow_down_16_png, %object
.size sb_arrow_down_16_png, 281
sb_arrow_down_16_png:
.string "\211PNG\r\n\032\n"
.string ""
.string ""
.string "\rIHDR"
.string ""
.string ""
.string "\020"
.string ""
.string ""
.string "\020\b\006"
.string ""
.string ""
.string "\037\363\377a"
.string ""
.string ""
.string "\001sRGB"
.string "\256\316\034\351"
.string ""
.string ""
.string "\004gAMA"
.string ""
.string "\261\217\013\374a\005"
.string ""
.string ""
.string "\tpHYs"
.string ""
.string "\016\304"
.string ""
.string "\016\304\001\225+\016\033"
.string ""
.string ""
.string "\256IDAT8O\215\213;\n\002Q\020\004\367\"\"~\316\"\006~n\243\350^\307X\023\301\304\003\230\b\206*\030j\260\340\031\306\247\024\314\276\235^\260\241\202\351\251.RL\321\214r@\226\314<\312\001Y2\363(\007d\311\314\243\034\220%3\217r@\226\314<\312\001Y2\363(\007\374\270\336\356\350\355\331\035\216\365\361\227\354@kO\323O\344\305bU\242\306,\327e\346B(\320c\224\233\210\345h2c\342\031O\347\301\003Y\332\263z35{\274*\351\200,\255\323\03307\353\366\207\322\001Y\3768\235/\266\331\356\345\257\206,\377\244\260\017\377\276\3221\247\322\271\022"
.string ""
.string ""
.string ""
.ascii "IEND\256B`\202"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 2
.type bbccdd, %object
.size bbccdd, 4
bbccdd:
.word 114
.align 2
.type aaccdd, %object
.size aaccdd, 4
aaccdd:
.word 57
.align 2
.type aabbdd, %object
.size aabbdd, 4
aabbdd:
.word 66
.align 2
.type aabbcc, %object
.size aabbcc, 4
aabbcc:
.word 418
.align 2
.type BBCCDD, %object
.size BBCCDD, 4
BBCCDD:
.word 833
.align 2
.type AACCDD, %object
.size AACCDD, 4
AACCDD:
.word 2499
.align 2
.type AABBDD, %object
.size AABBDD, 4
AABBDD:
.word 1617
.align 2
.type AABBCC, %object
.size AABBCC, 4
AABBCC:
.word 561
.align 2
.type acoeff, %object
.size acoeff, 4
acoeff:
.word 11
.align 2
.type bcoeff, %object
.size bcoeff, 4
bcoeff:
.word 22
.align 2
.type ccoeff, %object
.size ccoeff, 4
ccoeff:
.word 19
.align 2
.type dcoeff, %object
.size dcoeff, 4
dcoeff:
.word 3
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str x1, [sp]
mov w0, 2
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global calcula_tempo
.type calcula_tempo, %function
calcula_tempo:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
cmp x0, 0
beq .L2
ldr x0, [sp]
cmp x0, 0
bne .L3
.L2:
movi d0, #0
b .L4
.L3:
ldr x0, [sp]
ldr x1, [x0]
mov x0, 16960
movk x0, 0xf, lsl 16
mul x1, x1, x0
ldr x0, [sp]
ldr x0, [x0, 8]
add x1, x1, x0
ldr x0, [sp, 8]
ldr x2, [x0]
mov x0, 16960
movk x0, 0xf, lsl 16
mul x2, x2, x0
ldr x0, [sp, 8]
ldr x0, [x0, 8]
add x0, x2, x0
sub x1, x1, x0
ldr x0, [sp]
ldr x2, [x0, 16]
mov x0, 16960
movk x0, 0xf, lsl 16
mul x2, x2, x0
ldr x0, [sp]
ldr x0, [x0, 24]
add x2, x2, x0
ldr x0, [sp, 8]
ldr x3, [x0, 16]
mov x0, 16960
movk x0, 0xf, lsl 16
mul x3, x3, x0
ldr x0, [sp, 8]
ldr x0, [x0, 24]
add x0, x3, x0
sub x0, x2, x0
add x0, x1, x0
fmov d0, x0
scvtf d0, d0
mov x0, 145685290680320
movk x0, 0x412e, lsl 48
fmov d1, x0
fdiv d0, d0, d1
.L4:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size calcula_tempo, .-calcula_tempo
.align 2
.global funcao
.type funcao, %function
funcao:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
str w2, [sp, 4]
str wzr, [sp, 24]
b .L6
.L9:
str wzr, [sp, 28]
b .L7
.L8:
ldr w0, [sp, 4]
add w0, w0, 1
str w0, [sp, 4]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L7:
ldr w1, [sp, 28]
ldr w0, [sp, 8]
cmp w1, w0
blt .L8
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L6:
ldr w1, [sp, 24]
ldr w0, [sp, 12]
cmp w1, w0
blt .L9
ldr w0, [sp, 4]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size funcao, .-funcao
.section .rodata
.align 3
.LC0:
.string "%d\n"
.align 3
.LC1:
.string "%lf\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -336]!
.cfi_def_cfa_offset 336
.cfi_offset 29, -336
.cfi_offset 30, -328
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 328]
mov x1, 0
add x0, sp, 40
mov x1, x0
mov w0, 0
bl getrusage
ldr w2, [sp, 28]
mov w1, 10000
mov w0, 10000
bl funcao
str w0, [sp, 28]
add x0, sp, 184
mov x1, x0
mov w0, 0
bl getrusage
add x1, sp, 184
add x0, sp, 40
bl calcula_tempo
str d0, [sp, 32]
ldr w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr d0, [sp, 32]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 328]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L13
bl __stack_chk_fail
.L13:
mov w0, w1
ldp x29, x30, [sp], 336
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global fnms
.bss
.align 3
.type fnms, %object
.size fnms, 1024
fnms:
.zero 1024
.global nfnms
.align 1
.type nfnms, %object
.size nfnms, 2
nfnms:
.zero 2
.global rootline
.align 3
.type rootline, %object
.size rootline, 8
rootline:
.zero 8
.global curline
.align 3
.type curline, %object
.size curline, 8
curline:
.zero 8
.global optable09
.section .rodata
.align 3
.LC5:
.string "ABA"
.align 3
.LC6:
.string "ABS"
.align 3
.LC7:
.string "ABX"
.align 3
.LC8:
.string "ABY"
.align 3
.LC9:
.string "ADC"
.align 3
.LC10:
.string "ADCA"
.align 3
.LC11:
.string "ADCB"
.align 3
.LC12:
.string "ADCD"
.align 3
.LC13:
.string "ADCR"
.align 3
.LC14:
.string "ADD"
.align 3
.LC15:
.string "ADDA"
.align 3
.LC16:
.string "ADDB"
.align 3
.LC17:
.string "ADDD"
.align 3
.LC18:
.string "ADDE"
.align 3
.LC19:
.string "ADDF"
.align 3
.LC20:
.string "ADDR"
.align 3
.LC21:
.string "ADDW"
.align 3
.LC22:
.string "AIM"
.align 3
.LC23:
.string "AND"
.align 3
.LC24:
.string "ANDA"
.align 3
.LC25:
.string "ANDB"
.align 3
.LC26:
.string "ANDCC"
.align 3
.LC27:
.string "ANDD"
.align 3
.LC28:
.string "ANDR"
.align 3
.LC29:
.string "ASL"
.align 3
.LC30:
.string "ASLA"
.align 3
.LC31:
.string "ASLB"
.align 3
.LC32:
.string "ASLD"
.align 3
.LC33:
.string "ASLD63"
.align 3
.LC34:
.string "ASR"
.align 3
.LC35:
.string "ASRA"
.align 3
.LC36:
.string "ASRB"
.align 3
.LC37:
.string "ASRD"
.align 3
.LC38:
.string "ASRD63"
.align 3
.LC39:
.string "BAND"
.align 3
.LC40:
.string "BCC"
.align 3
.LC41:
.string "BCS"
.align 3
.LC42:
.string "BEC"
.align 3
.LC43:
.string "BEOR"
.align 3
.LC44:
.string "BEQ"
.align 3
.LC45:
.string "BES"
.align 3
.LC46:
.string "BGE"
.align 3
.LC47:
.string "BGT"
.align 3
.LC48:
.string "BHI"
.align 3
.LC49:
.string "BHS"
.align 3
.LC50:
.string "BIAND"
.align 3
.LC51:
.string "BIEOR"
.align 3
.LC52:
.string "BIN"
.align 3
.LC53:
.string "BINARY"
.align 3
.LC54:
.string "BIOR"
.align 3
.LC55:
.string "BIT"
.align 3
.LC56:
.string "BITA"
.align 3
.LC57:
.string "BITB"
.align 3
.LC58:
.string "BITD"
.align 3
.LC59:
.string "BITMD"
.align 3
.LC60:
.string "BLE"
.align 3
.LC61:
.string "BLO"
.align 3
.LC62:
.string "BLS"
.align 3
.LC63:
.string "BLT"
.align 3
.LC64:
.string "BMI"
.align 3
.LC65:
.string "BNE"
.align 3
.LC66:
.string "BOR"
.align 3
.LC67:
.string "BPL"
.align 3
.LC68:
.string "BRA"
.align 3
.LC69:
.string "BRN"
.align 3
.LC70:
.string "BSR"
.align 3
.LC71:
.string "BSZ"
.align 3
.LC72:
.string "BVC"
.align 3
.LC73:
.string "BVS"
.align 3
.LC74:
.string "CBA"
.align 3
.LC75:
.string "CLC"
.align 3
.LC76:
.string "CLF"
.align 3
.LC77:
.string "CLI"
.align 3
.LC78:
.string "CLIF"
.align 3
.LC79:
.string "CLR"
.align 3
.LC80:
.string "CLRA"
.align 3
.LC81:
.string "CLRB"
.align 3
.LC82:
.string "CLRD"
.align 3
.LC83:
.string "CLRD63"
.align 3
.LC84:
.string "CLRE"
.align 3
.LC85:
.string "CLRF"
.align 3
.LC86:
.string "CLRW"
.align 3
.LC87:
.string "CLV"
.align 3
.LC88:
.string "CLZ"
.align 3
.LC89:
.string "CMP"
.align 3
.LC90:
.string "CMPA"
.align 3
.LC91:
.string "CMPB"
.align 3
.LC92:
.string "CMPD"
.align 3
.LC93:
.string "CMPE"
.align 3
.LC94:
.string "CMPF"
.align 3
.LC95:
.string "CMPR"
.align 3
.LC96:
.string "CMPS"
.align 3
.LC97:
.string "CMPU"
.align 3
.LC98:
.string "CMPW"
.align 3
.LC99:
.string "CMPX"
.align 3
.LC100:
.string "CMPY"
.align 3
.LC101:
.string "COM"
.align 3
.LC102:
.string "COMA"
.align 3
.LC103:
.string "COMB"
.align 3
.LC104:
.string "COMD"
.align 3
.LC105:
.string "COME"
.align 3
.LC106:
.string "COMF"
.align 3
.LC107:
.string "COMW"
.align 3
.LC108:
.string "COMMON"
.align 3
.LC109:
.string "CPD"
.align 3
.LC110:
.string "CPX"
.align 3
.LC111:
.string "CPY"
.align 3
.LC112:
.string "CWAI"
.align 3
.LC113:
.string "DAA"
.align 3
.LC114:
.string "DEC"
.align 3
.LC115:
.string "DECA"
.align 3
.LC116:
.string "DECB"
.align 3
.LC117:
.string "DECD"
.align 3
.LC118:
.string "DECD63"
.align 3
.LC119:
.string "DECE"
.align 3
.LC120:
.string "DECF"
.align 3
.LC121:
.string "DECW"
.align 3
.LC122:
.string "DEF"
.align 3
.LC123:
.string "DEFINE"
.align 3
.LC124:
.string "DEPHASE"
.align 3
.LC125:
.string "DES"
.align 3
.LC126:
.string "DEU"
.align 3
.LC127:
.string "DEX"
.align 3
.LC128:
.string "DEY"
.align 3
.LC129:
.string "DIVD"
.align 3
.LC130:
.string "DIVQ"
.align 3
.LC131:
.string "DUP"
.align 3
.LC132:
.string "EIM"
.align 3
.LC133:
.string "ELSE"
.align 3
.LC134:
.string "END"
.align 3
.LC135:
.string "ENDCOM"
.align 3
.LC136:
.string "ENDD"
.align 3
.LC137:
.string "ENDDEF"
.align 3
.LC138:
.string "ENDIF"
.align 3
.LC139:
.string "ENDM"
.align 3
.LC140:
.string "EOR"
.align 3
.LC141:
.string "EORA"
.align 3
.LC142:
.string "EORB"
.align 3
.LC143:
.string "EORD"
.align 3
.LC144:
.string "EORR"
.align 3
.LC145:
.string "EQU"
.align 3
.LC146:
.string "ERR"
.align 3
.LC147:
.string "EXG"
.align 3
.LC148:
.string "EXITM"
.align 3
.LC149:
.string "EXT"
.align 3
.LC150:
.string "EXTERN"
.align 3
.LC151:
.string "FCB"
.align 3
.LC152:
.string "FCC"
.align 3
.LC153:
.string "FCQ"
.align 3
.LC154:
.string "FCW"
.align 3
.LC155:
.string "FDB"
.align 3
.LC156:
.string "FILL"
.align 3
.LC157:
.string "FQB"
.align 3
.LC158:
.string "GLOBAL"
.align 3
.LC159:
.string "IF"
.align 3
.LC160:
.string "IFC"
.align 3
.LC161:
.string "IFD"
.align 3
.LC162:
.string "IFN"
.align 3
.LC163:
.string "IFNC"
.align 3
.LC164:
.string "IFND"
.align 3
.LC165:
.string "INC"
.align 3
.LC166:
.string "INCA"
.align 3
.LC167:
.string "INCB"
.align 3
.LC168:
.string "INCD"
.align 3
.LC169:
.string "INCD63"
.align 3
.LC170:
.string "INCE"
.align 3
.LC171:
.string "INCF"
.align 3
.LC172:
.string "INCLUDE"
.align 3
.LC173:
.string "INCW"
.align 3
.LC174:
.string "INS"
.align 3
.LC175:
.string "INU"
.align 3
.LC176:
.string "INX"
.align 3
.LC177:
.string "INY"
.align 3
.LC178:
.string "JMP"
.align 3
.LC179:
.string "JSR"
.align 3
.LC180:
.string "LBCC"
.align 3
.LC181:
.string "LBCS"
.align 3
.LC182:
.string "LBEC"
.align 3
.LC183:
.string "LBEQ"
.align 3
.LC184:
.string "LBES"
.align 3
.LC185:
.string "LBGE"
.align 3
.LC186:
.string "LBGT"
.align 3
.LC187:
.string "LBHI"
.align 3
.LC188:
.string "LBHS"
.align 3
.LC189:
.string "LBLE"
.align 3
.LC190:
.string "LBLO"
.align 3
.LC191:
.string "LBLS"
.align 3
.LC192:
.string "LBLT"
.align 3
.LC193:
.string "LBMI"
.align 3
.LC194:
.string "LBNE"
.align 3
.LC195:
.string "LBPL"
.align 3
.LC196:
.string "LBRA"
.align 3
.LC197:
.string "LBRN"
.align 3
.LC198:
.string "LBSR"
.align 3
.LC199:
.string "LBVC"
.align 3
.LC200:
.string "LBVS"
.align 3
.LC201:
.string "LD"
.align 3
.LC202:
.string "LDA"
.align 3
.LC203:
.string "LDAA"
.align 3
.LC204:
.string "LDAB"
.align 3
.LC205:
.string "LDAD"
.align 3
.LC206:
.string "LDB"
.align 3
.LC207:
.string "LDBT"
.align 3
.LC208:
.string "LDD"
.align 3
.LC209:
.string "LDE"
.align 3
.LC210:
.string "LDF"
.align 3
.LC211:
.string "LDMD"
.align 3
.LC212:
.string "LDQ"
.align 3
.LC213:
.string "LDS"
.align 3
.LC214:
.string "LDU"
.align 3
.LC215:
.string "LDW"
.align 3
.LC216:
.string "LDX"
.align 3
.LC217:
.string "LDY"
.align 3
.LC218:
.string "LEAS"
.align 3
.LC219:
.string "LEAU"
.align 3
.LC220:
.string "LEAX"
.align 3
.LC221:
.string "LEAY"
.align 3
.LC222:
.string "LIB"
.align 3
.LC223:
.string "LIBRARY"
.align 3
.LC224:
.string "LSL"
.align 3
.LC225:
.string "LSLA"
.align 3
.LC226:
.string "LSLB"
.align 3
.LC227:
.string "LSLD"
.align 3
.LC228:
.string "LSLD63"
.align 3
.LC229:
.string "LSR"
.align 3
.LC230:
.string "LSRA"
.align 3
.LC231:
.string "LSRB"
.align 3
.LC232:
.string "LSRD"
.align 3
.LC233:
.string "LSRD63"
.align 3
.LC234:
.string "LSRW"
.align 3
.LC235:
.string "MACRO"
.align 3
.LC236:
.string "MUL"
.align 3
.LC237:
.string "MULD"
.align 3
.LC238:
.string "NAM"
.align 3
.LC239:
.string "NAME"
.align 3
.LC240:
.string "NEG"
.align 3
.LC241:
.string "NEGA"
.align 3
.LC242:
.string "NEGB"
.align 3
.LC243:
.string "NEGD"
.align 3
.LC244:
.string "NOP"
.align 3
.LC245:
.string "OIM"
.align 3
.LC246:
.string "OPT"
.align 3
.LC247:
.string "OPTION"
.align 3
.LC248:
.string "ORA"
.align 3
.LC249:
.string "ORAA"
.align 3
.LC250:
.string "ORAB"
.align 3
.LC251:
.string "ORB"
.align 3
.LC252:
.string "ORCC"
.align 3
.LC253:
.string "ORD"
.align 3
.LC254:
.string "ORG"
.align 3
.LC255:
.string "ORR"
.align 3
.LC256:
.string "PAG"
.align 3
.LC257:
.string "PAGE"
.align 3
.LC258:
.string "PEMT"
.align 3
.LC259:
.string "PHASE"
.align 3
.LC260:
.string "PSH"
.align 3
.LC261:
.string "PSHA"
.align 3
.LC262:
.string "PSHB"
.align 3
.LC263:
.string "PSHD"
.align 3
.LC264:
.string "PSHS"
.align 3
.LC265:
.string "PSHSW"
.align 3
.LC266:
.string "PSHU"
.align 3
.LC267:
.string "PSHUW"
.align 3
.LC268:
.string "PSHX"
.align 3
.LC269:
.string "PSHY"
.align 3
.LC270:
.string "PUB"
.align 3
.LC271:
.string "PUBLIC"
.align 3
.LC272:
.string "PUL"
.align 3
.LC273:
.string "PULA"
.align 3
.LC274:
.string "PULB"
.align 3
.LC275:
.string "PULD"
.align 3
.LC276:
.string "PULS"
.align 3
.LC277:
.string "PULSW"
.align 3
.LC278:
.string "PULU"
.align 3
.LC279:
.string "PULUW"
.align 3
.LC280:
.string "PULX"
.align 3
.LC281:
.string "PULY"
.align 3
.LC282:
.string "REG"
.align 3
.LC283:
.string "REP"
.align 3
.LC284:
.string "REPEAT"
.align 3
.LC285:
.string "RESET"
.align 3
.LC286:
.string "RMB"
.align 3
.LC287:
.string "ROL"
.align 3
.LC288:
.string "ROLA"
.align 3
.LC289:
.string "ROLB"
.align 3
.LC290:
.string "ROLD"
.align 3
.LC291:
.string "ROLW"
.align 3
.LC292:
.string "ROR"
.align 3
.LC293:
.string "RORA"
.align 3
.LC294:
.string "RORB"
.align 3
.LC295:
.string "RORD"
.align 3
.LC296:
.string "RORW"
.align 3
.LC297:
.string "RPT"
.align 3
.LC298:
.string "RTI"
.align 3
.LC299:
.string "RTS"
.align 3
.LC300:
.string "RZB"
.align 3
.LC301:
.string "SBA"
.align 3
.LC302:
.string "SBC"
.align 3
.LC303:
.string "SBCA"
.align 3
.LC304:
.string "SBCB"
.align 3
.LC305:
.string "SBCD"
.align 3
.LC306:
.string "SBCR"
.align 3
.LC307:
.string "SEC"
.align 3
.LC308:
.string "SEF"
.align 3
.LC309:
.string "SEI"
.align 3
.LC310:
.string "SEIF"
.align 3
.LC311:
.string "SET"
.align 3
.LC312:
.string "SETDP"
.align 3
.LC313:
.string "SETLI"
.align 3
.LC314:
.string "SETPG"
.align 3
.LC315:
.string "SEV"
.align 3
.LC316:
.string "SEX"
.align 3
.LC317:
.string "SEXW"
.align 3
.LC318:
.string "SEZ"
.align 3
.LC319:
.string "SPC"
.align 3
.LC320:
.string "STA"
.align 3
.LC321:
.string "STAA"
.align 3
.LC322:
.string "STAB"
.align 3
.LC323:
.string "STAD"
.align 3
.LC324:
.string "STB"
.align 3
.LC325:
.string "STBT"
.align 3
.LC326:
.string "STD"
.align 3
.LC327:
.string "STE"
.align 3
.LC328:
.string "STF"
.align 3
.LC329:
.string "STQ"
.align 3
.LC330:
.string "STS"
.align 3
.LC331:
.string "STTL"
.align 3
.LC332:
.string "STU"
.align 3
.LC333:
.string "STW"
.align 3
.LC334:
.string "STX"
.align 3
.LC335:
.string "STY"
.align 3
.LC336:
.string "SUB"
.align 3
.LC337:
.string "SUBA"
.align 3
.LC338:
.string "SUBB"
.align 3
.LC339:
.string "SUBD"
.align 3
.LC340:
.string "SUBE"
.align 3
.LC341:
.string "SUBF"
.align 3
.LC342:
.string "SUBW"
.align 3
.LC343:
.string "SUBR"
.align 3
.LC344:
.string "SWI"
.align 3
.LC345:
.string "SWI2"
.align 3
.LC346:
.string "SWI3"
.align 3
.LC347:
.string "SYMLEN"
.align 3
.LC348:
.string "SYNC"
.align 3
.LC349:
.string "TAB"
.align 3
.LC350:
.string "TAP"
.align 3
.LC351:
.string "TBA"
.align 3
.LC352:
.string "TEXT"
.align 3
.LC353:
.string "TFM"
.align 3
.LC354:
.string "TFR"
.align 3
.LC355:
.string "TIM"
.align 3
.LC356:
.string "TITLE"
.align 3
.LC357:
.string "TPA"
.align 3
.LC358:
.string "TST"
.align 3
.LC359:
.string "TSTA"
.align 3
.LC360:
.string "TSTB"
.align 3
.LC361:
.string "TSTD"
.align 3
.LC362:
.string "TSTE"
.align 3
.LC363:
.string "TSTF"
.align 3
.LC364:
.string "TSTW"
.align 3
.LC365:
.string "TSX"
.align 3
.LC366:
.string "TSY"
.align 3
.LC367:
.string "TTL"
.align 3
.LC368:
.string "TXS"
.align 3
.LC369:
.string "TYS"
.align 3
.LC370:
.string "WAI"
.align 3
.LC371:
.string "WRN"
.align 3
.LC372:
.string "ZMB"
.section .data.rel.local,"aw"
.align 3
.type optable09, %object
.size optable09, 8832
optable09:
.xword .LC5
.hword 3
.zero 6
.xword 872721376
.xword .LC6
.hword 63
.zero 6
.xword 35
.xword .LC7
.hword 0
.zero 6
.xword 58
.xword .LC8
.hword 1
.zero 6
.xword 12709
.xword .LC9
.hword 22
.zero 6
.xword 137
.xword .LC10
.hword 9
.zero 6
.xword 137
.xword .LC11
.hword 9
.zero 6
.xword 201
.xword .LC12
.hword 75
.zero 6
.xword 4233
.xword .LC13
.hword 82
.zero 6
.xword 4145
.xword .LC14
.hword 22
.zero 6
.xword 139
.xword .LC15
.hword 9
.zero 6
.xword 139
.xword .LC16
.hword 9
.zero 6
.xword 203
.xword .LC17
.hword 10
.zero 6
.xword 195
.xword .LC18
.hword 85
.zero 6
.xword 4491
.xword .LC19
.hword 85
.zero 6
.xword 4555
.xword .LC20
.hword 82
.zero 6
.xword 4144
.xword .LC21
.hword 75
.zero 6
.xword 4235
.xword .LC22
.hword 79
.zero 6
.xword 2
.xword .LC23
.hword 22
.zero 6
.xword 132
.xword .LC24
.hword 9
.zero 6
.xword 132
.xword .LC25
.hword 9
.zero 6
.xword 196
.xword .LC26
.hword 4
.zero 6
.xword 28
.xword .LC27
.hword 75
.zero 6
.xword 4228
.xword .LC28
.hword 82
.zero 6
.xword 4148
.xword .LC29
.hword 12
.zero 6
.xword 8
.xword .LC30
.hword 0
.zero 6
.xword 72
.xword .LC31
.hword 0
.zero 6
.xword 88
.xword .LC32
.hword 1
.zero 6
.xword 22601
.xword .LC33
.hword 65
.zero 6
.xword 4168
.xword .LC34
.hword 12
.zero 6
.xword 7
.xword .LC35
.hword 0
.zero 6
.xword 71
.xword .LC36
.hword 0
.zero 6
.xword 87
.xword .LC37
.hword 1
.zero 6
.xword 18262
.xword .LC38
.hword 65
.zero 6
.xword 4167
.xword .LC39
.hword 80
.zero 6
.xword 4400
.xword .LC40
.hword 6
.zero 6
.xword 36
.xword .LC41
.hword 6
.zero 6
.xword 37
.xword .LC42
.hword 6
.zero 6
.xword 36
.xword .LC43
.hword 80
.zero 6
.xword 4404
.xword .LC44
.hword 6
.zero 6
.xword 39
.xword .LC45
.hword 6
.zero 6
.xword 37
.xword .LC46
.hword 6
.zero 6
.xword 44
.xword .LC47
.hword 6
.zero 6
.xword 46
.xword .LC48
.hword 6
.zero 6
.xword 34
.xword .LC49
.hword 6
.zero 6
.xword 36
.xword .LC50
.hword 80
.zero 6
.xword 4401
.xword .LC51
.hword 80
.zero 6
.xword 4405
.xword .LC52
.hword 63
.zero 6
.xword 44
.xword .LC53
.hword 63
.zero 6
.xword 44
.xword .LC54
.hword 80
.zero 6
.xword 4403
.xword .LC55
.hword 22
.zero 6
.xword 133
.xword .LC56
.hword 9
.zero 6
.xword 133
.xword .LC57
.hword 9
.zero 6
.xword 197
.xword .LC58
.hword 75
.zero 6
.xword 4229
.xword .LC59
.hword 84
.zero 6
.xword 4412
.xword .LC60
.hword 6
.zero 6
.xword 47
.xword .LC61
.hword 6
.zero 6
.xword 37
.xword .LC62
.hword 6
.zero 6
.xword 35
.xword .LC63
.hword 6
.zero 6
.xword 45
.xword .LC64
.hword 6
.zero 6
.xword 43
.xword .LC65
.hword 6
.zero 6
.xword 38
.xword .LC66
.hword 80
.zero 6
.xword 4402
.xword .LC67
.hword 6
.zero 6
.xword 42
.xword .LC68
.hword 6
.zero 6
.xword 32
.xword .LC69
.hword 6
.zero 6
.xword 33
.xword .LC70
.hword 6
.zero 6
.xword 141
.xword .LC71
.hword 63
.zero 6
.xword 34
.xword .LC72
.hword 6
.zero 6
.xword 40
.xword .LC73
.hword 6
.zero 6
.xword 41
.xword .LC74
.hword 3
.zero 6
.xword 872718816
.xword .LC75
.hword 1
.zero 6
.xword 7422
.xword .LC76
.hword 1
.zero 6
.xword 7359
.xword .LC77
.hword 1
.zero 6
.xword 7407
.xword .LC78
.hword 1
.zero 6
.xword 7343
.xword .LC79
.hword 12
.zero 6
.xword 15
.xword .LC80
.hword 0
.zero 6
.xword 79
.xword .LC81
.hword 0
.zero 6
.xword 95
.xword .LC82
.hword 1
.zero 6
.xword 20319
.xword .LC83
.hword 65
.zero 6
.xword 4175
.xword .LC84
.hword 65
.zero 6
.xword 4431
.xword .LC85
.hword 65
.zero 6
.xword 4447
.xword .LC86
.hword 65
.zero 6
.xword 4191
.xword .LC87
.hword 1
.zero 6
.xword 7421
.xword .LC88
.hword 1
.zero 6
.xword 7419
.xword .LC89
.hword 22
.zero 6
.xword 129
.xword .LC90
.hword 9
.zero 6
.xword 129
.xword .LC91
.hword 9
.zero 6
.xword 193
.xword .LC92
.hword 11
.zero 6
.xword 4227
.xword .LC93
.hword 85
.zero 6
.xword 4481
.xword .LC94
.hword 85
.zero 6
.xword 4545
.xword .LC95
.hword 82
.zero 6
.xword 4151
.xword .LC96
.hword 11
.zero 6
.xword 4492
.xword .LC97
.hword 11
.zero 6
.xword 4483
.xword .LC98
.hword 75
.zero 6
.xword 4225
.xword .LC99
.hword 10
.zero 6
.xword 140
.xword .LC100
.hword 11
.zero 6
.xword 4236
.xword .LC101
.hword 12
.zero 6
.xword 3
.xword .LC102
.hword 0
.zero 6
.xword 67
.xword .LC103
.hword 0
.zero 6
.xword 83
.xword .LC104
.hword 65
.zero 6
.xword 4163
.xword .LC105
.hword 65
.zero 6
.xword 4419
.xword .LC106
.hword 65
.zero 6
.xword 4435
.xword .LC107
.hword 65
.zero 6
.xword 4179
.xword .LC108
.hword 63
.zero 6
.xword 38
.xword .LC109
.hword 11
.zero 6
.xword 4227
.xword .LC110
.hword 10
.zero 6
.xword 140
.xword .LC111
.hword 11
.zero 6
.xword 4236
.xword .LC112
.hword 4
.zero 6
.xword 60
.xword .LC113
.hword 0
.zero 6
.xword 25
.xword .LC114
.hword 12
.zero 6
.xword 10
.xword .LC115
.hword 0
.zero 6
.xword 74
.xword .LC116
.hword 0
.zero 6
.xword 90
.xword .LC117
.hword 2
.zero 6
.xword 8585217
.xword .LC118
.hword 65
.zero 6
.xword 4170
.xword .LC119
.hword 65
.zero 6
.xword 4426
.xword .LC120
.hword 65
.zero 6
.xword 4442
.xword .LC121
.hword 65
.zero 6
.xword 4186
.xword .LC122
.hword 63
.zero 6
.xword 36
.xword .LC123
.hword 63
.zero 6
.xword 36
.xword .LC124
.hword 63
.zero 6
.xword 46
.xword .LC125
.hword 1
.zero 6
.xword 12927
.xword .LC126
.hword 1
.zero 6
.xword 13151
.xword .LC127
.hword 1
.zero 6
.xword 12319
.xword .LC128
.hword 1
.zero 6
.xword 12607
.xword .LC129
.hword 85
.zero 6
.xword 4493
.xword .LC130
.hword 75
.zero 6
.xword 4494
.xword .LC131
.hword 63
.zero 6
.xword 29
.xword .LC132
.hword 79
.zero 6
.xword 5
.xword .LC133
.hword 63
.zero 6
.xword 1
.xword .LC134
.hword 63
.zero 6
.xword 2
.xword .LC135
.hword 63
.zero 6
.xword 39
.xword .LC136
.hword 63
.zero 6
.xword 30
.xword .LC137
.hword 63
.zero 6
.xword 37
.xword .LC138
.hword 63
.zero 6
.xword 3
.xword .LC139
.hword 63
.zero 6
.xword 4
.xword .LC140
.hword 22
.zero 6
.xword 136
.xword .LC141
.hword 9
.zero 6
.xword 136
.xword .LC142
.hword 9
.zero 6
.xword 200
.xword .LC143
.hword 75
.zero 6
.xword 4232
.xword .LC144
.hword 82
.zero 6
.xword 4150
.xword .LC145
.hword 63
.zero 6
.xword 5
.xword .LC146
.hword 63
.zero 6
.xword 32
.xword .LC147
.hword 13
.zero 6
.xword 30
.xword .LC148
.hword 63
.zero 6
.xword 25
.xword .LC149
.hword 63
.zero 6
.xword 6
.xword .LC150
.hword 63
.zero 6
.xword 6
.xword .LC151
.hword 63
.zero 6
.xword 7
.xword .LC152
.hword 63
.zero 6
.xword 8
.xword .LC153
.hword 127
.zero 6
.xword 47
.xword .LC154
.hword 63
.zero 6
.xword 9
.xword .LC155
.hword 63
.zero 6
.xword 9
.xword .LC156
.hword 63
.zero 6
.xword 48
.xword .LC157
.hword 127
.zero 6
.xword 47
.xword .LC158
.hword 63
.zero 6
.xword 13
.xword .LC159
.hword 63
.zero 6
.xword 10
.xword .LC160
.hword 63
.zero 6
.xword 27
.xword .LC161
.hword 63
.zero 6
.xword 42
.xword .LC162
.hword 63
.zero 6
.xword 26
.xword .LC163
.hword 63
.zero 6
.xword 28
.xword .LC164
.hword 63
.zero 6
.xword 43
.xword .LC165
.hword 12
.zero 6
.xword 12
.xword .LC166
.hword 0
.zero 6
.xword 76
.xword .LC167
.hword 0
.zero 6
.xword 92
.xword .LC168
.hword 2
.zero 6
.xword 12779521
.xword .LC169
.hword 65
.zero 6
.xword 4172
.xword .LC170
.hword 65
.zero 6
.xword 4428
.xword .LC171
.hword 65
.zero 6
.xword 4444
.xword .LC172
.hword 63
.zero 6
.xword 16
.xword .LC173
.hword 65
.zero 6
.xword 4188
.xword .LC174
.hword 1
.zero 6
.xword 12897
.xword .LC175
.hword 1
.zero 6
.xword 13121
.xword .LC176
.hword 1
.zero 6
.xword 12289
.xword .LC177
.hword 1
.zero 6
.xword 12577
.xword .LC178
.hword 12
.zero 6
.xword 14
.xword .LC179
.hword 10
.zero 6
.xword 141
.xword .LC180
.hword 7
.zero 6
.xword 4132
.xword .LC181
.hword 7
.zero 6
.xword 4133
.xword .LC182
.hword 7
.zero 6
.xword 4132
.xword .LC183
.hword 7
.zero 6
.xword 4135
.xword .LC184
.hword 7
.zero 6
.xword 4133
.xword .LC185
.hword 7
.zero 6
.xword 4140
.xword .LC186
.hword 7
.zero 6
.xword 4142
.xword .LC187
.hword 7
.zero 6
.xword 4130
.xword .LC188
.hword 7
.zero 6
.xword 4132
.xword .LC189
.hword 7
.zero 6
.xword 4143
.xword .LC190
.hword 7
.zero 6
.xword 4133
.xword .LC191
.hword 7
.zero 6
.xword 4131
.xword .LC192
.hword 7
.zero 6
.xword 4141
.xword .LC193
.hword 7
.zero 6
.xword 4139
.xword .LC194
.hword 7
.zero 6
.xword 4134
.xword .LC195
.hword 7
.zero 6
.xword 4138
.xword .LC196
.hword 8
.zero 6
.xword 22
.xword .LC197
.hword 7
.zero 6
.xword 4129
.xword .LC198
.hword 8
.zero 6
.xword 23
.xword .LC199
.hword 7
.zero 6
.xword 4136
.xword .LC200
.hword 7
.zero 6
.xword 4137
.xword .LC201
.hword 22
.zero 6
.xword 134
.xword .LC202
.hword 9
.zero 6
.xword 134
.xword .LC203
.hword 9
.zero 6
.xword 134
.xword .LC204
.hword 9
.zero 6
.xword 198
.xword .LC205
.hword 10
.zero 6
.xword 204
.xword .LC206
.hword 9
.zero 6
.xword 198
.xword .LC207
.hword 80
.zero 6
.xword 4406
.xword .LC208
.hword 10
.zero 6
.xword 204
.xword .LC209
.hword 85
.zero 6
.xword 4486
.xword .LC210
.hword 85
.zero 6
.xword 4550
.xword .LC211
.hword 84
.zero 6
.xword 4413
.xword .LC212
.hword 83
.zero 6
.xword 4300
.xword .LC213
.hword 11
.zero 6
.xword 4302
.xword .LC214
.hword 10
.zero 6
.xword 206
.xword .LC215
.hword 75
.zero 6
.xword 4230
.xword .LC216
.hword 10
.zero 6
.xword 142
.xword .LC217
.hword 11
.zero 6
.xword 4238
.xword .LC218
.hword 5
.zero 6
.xword 50
.xword .LC219
.hword 5
.zero 6
.xword 51
.xword .LC220
.hword 5
.zero 6
.xword 48
.xword .LC221
.hword 5
.zero 6
.xword 49
.xword .LC222
.hword 63
.zero 6
.xword 16
.xword .LC223
.hword 63
.zero 6
.xword 16
.xword .LC224
.hword 12
.zero 6
.xword 8
.xword .LC225
.hword 0
.zero 6
.xword 72
.xword .LC226
.hword 0
.zero 6
.xword 88
.xword .LC227
.hword 1
.zero 6
.xword 22601
.xword .LC228
.hword 65
.zero 6
.xword 4168
.xword .LC229
.hword 12
.zero 6
.xword 4
.xword .LC230
.hword 0
.zero 6
.xword 68
.xword .LC231
.hword 0
.zero 6
.xword 84
.xword .LC232
.hword 1
.zero 6
.xword 17494
.xword .LC233
.hword 65
.zero 6
.xword 4164
.xword .LC234
.hword 65
.zero 6
.xword 4180
.xword .LC235
.hword 63
.zero 6
.xword 11
.xword .LC236
.hword 0
.zero 6
.xword 61
.xword .LC237
.hword 75
.zero 6
.xword 4495
.xword .LC238
.hword 63
.zero 6
.xword 18
.xword .LC239
.hword 63
.zero 6
.xword 40
.xword .LC240
.hword 12
.zero 6
.xword 0
.xword .LC241
.hword 0
.zero 6
.xword 64
.xword .LC242
.hword 0
.zero 6
.xword 80
.xword .LC243
.hword 65
.zero 6
.xword 4160
.xword .LC244
.hword 0
.zero 6
.xword 18
.xword .LC245
.hword 79
.zero 6
.xword 1
.xword .LC246
.hword 63
.zero 6
.xword 17
.xword .LC247
.hword 63
.zero 6
.xword 17
.xword .LC248
.hword 9
.zero 6
.xword 138
.xword .LC249
.hword 9
.zero 6
.xword 138
.xword .LC250
.hword 9
.zero 6
.xword 202
.xword .LC251
.hword 9
.zero 6
.xword 202
.xword .LC252
.hword 4
.zero 6
.xword 26
.xword .LC253
.hword 75
.zero 6
.xword 4234
.xword .LC254
.hword 63
.zero 6
.xword 12
.xword .LC255
.hword 82
.zero 6
.xword 4149
.xword .LC256
.hword 63
.zero 6
.xword 20
.xword .LC257
.hword 63
.zero 6
.xword 20
.xword .LC258
.hword 63
.zero 6
.xword 49
.xword .LC259
.hword 63
.zero 6
.xword 45
.xword .LC260
.hword 14
.zero 6
.xword 52
.xword .LC261
.hword 1
.zero 6
.xword 13314
.xword .LC262
.hword 1
.zero 6
.xword 13316
.xword .LC263
.hword 1
.zero 6
.xword 13318
.xword .LC264
.hword 14
.zero 6
.xword 52
.xword .LC265
.hword 65
.zero 6
.xword 4152
.xword .LC266
.hword 14
.zero 6
.xword 54
.xword .LC267
.hword 65
.zero 6
.xword 4154
.xword .LC268
.hword 1
.zero 6
.xword 13328
.xword .LC269
.hword 1
.zero 6
.xword 13344
.xword .LC270
.hword 63
.zero 6
.xword 13
.xword .LC271
.hword 63
.zero 6
.xword 13
.xword .LC272
.hword 14
.zero 6
.xword 53
.xword .LC273
.hword 1
.zero 6
.xword 13570
.xword .LC274
.hword 1
.zero 6
.xword 13572
.xword .LC275
.hword 1
.zero 6
.xword 13574
.xword .LC276
.hword 14
.zero 6
.xword 53
.xword .LC277
.hword 65
.zero 6
.xword 4153
.xword .LC278
.hword 14
.zero 6
.xword 55
.xword .LC279
.hword 65
.zero 6
.xword 4155
.xword .LC280
.hword 1
.zero 6
.xword 13584
.xword .LC281
.hword 1
.zero 6
.xword 13600
.xword .LC282
.hword 63
.zero 6
.xword 31
.xword .LC283
.hword 63
.zero 6
.xword 22
.xword .LC284
.hword 63
.zero 6
.xword 22
.xword .LC285
.hword 0
.zero 6
.xword 62
.xword .LC286
.hword 63
.zero 6
.xword 0
.xword .LC287
.hword 12
.zero 6
.xword 9
.xword .LC288
.hword 0
.zero 6
.xword 73
.xword .LC289
.hword 0
.zero 6
.xword 89
.xword .LC290
.hword 65
.zero 6
.xword 4169
.xword .LC291
.hword 65
.zero 6
.xword 4185
.xword .LC292
.hword 12
.zero 6
.xword 6
.xword .LC293
.hword 0
.zero 6
.xword 70
.xword .LC294
.hword 0
.zero 6
.xword 86
.xword .LC295
.hword 65
.zero 6
.xword 4166
.xword .LC296
.hword 65
.zero 6
.xword 4182
.xword .LC297
.hword 63
.zero 6
.xword 22
.xword .LC298
.hword 0
.zero 6
.xword 59
.xword .LC299
.hword 0
.zero 6
.xword 57
.xword .LC300
.hword 63
.zero 6
.xword 34
.xword .LC301
.hword 3
.zero 6
.xword 872718560
.xword .LC302
.hword 22
.zero 6
.xword 130
.xword .LC303
.hword 9
.zero 6
.xword 130
.xword .LC304
.hword 9
.zero 6
.xword 194
.xword .LC305
.hword 75
.zero 6
.xword 4226
.xword .LC306
.hword 82
.zero 6
.xword 4147
.xword .LC307
.hword 1
.zero 6
.xword 6657
.xword .LC308
.hword 1
.zero 6
.xword 6720
.xword .LC309
.hword 1
.zero 6
.xword 6672
.xword .LC310
.hword 1
.zero 6
.xword 6736
.xword .LC311
.hword 63
.zero 6
.xword 15
.xword .LC312
.hword 63
.zero 6
.xword 14
.xword .LC313
.hword 63
.zero 6
.xword 24
.xword .LC314
.hword 63
.zero 6
.xword 23
.xword .LC315
.hword 1
.zero 6
.xword 6658
.xword .LC316
.hword 0
.zero 6
.xword 29
.xword .LC317
.hword 64
.zero 6
.xword 20
.xword .LC318
.hword 1
.zero 6
.xword 6660
.xword .LC319
.hword 63
.zero 6
.xword 21
.xword .LC320
.hword 137
.zero 6
.xword 135
.xword .LC321
.hword 137
.zero 6
.xword 135
.xword .LC322
.hword 137
.zero 6
.xword 199
.xword .LC323
.hword 138
.zero 6
.xword 205
.xword .LC324
.hword 137
.zero 6
.xword 199
.xword .LC325
.hword 80
.zero 6
.xword 4407
.xword .LC326
.hword 138
.zero 6
.xword 205
.xword .LC327
.hword 213
.zero 6
.xword 4487
.xword .LC328
.hword 213
.zero 6
.xword 4551
.xword .LC329
.hword 211
.zero 6
.xword 4301
.xword .LC330
.hword 139
.zero 6
.xword 4303
.xword .LC331
.hword 63
.zero 6
.xword 19
.xword .LC332
.hword 138
.zero 6
.xword 207
.xword .LC333
.hword 203
.zero 6
.xword 4231
.xword .LC334
.hword 138
.zero 6
.xword 143
.xword .LC335
.hword 139
.zero 6
.xword 4239
.xword .LC336
.hword 22
.zero 6
.xword 128
.xword .LC337
.hword 9
.zero 6
.xword 128
.xword .LC338
.hword 9
.zero 6
.xword 192
.xword .LC339
.hword 10
.zero 6
.xword 131
.xword .LC340
.hword 85
.zero 6
.xword 4480
.xword .LC341
.hword 85
.zero 6
.xword 4544
.xword .LC342
.hword 75
.zero 6
.xword 4224
.xword .LC343
.hword 82
.zero 6
.xword 4146
.xword .LC344
.hword 0
.zero 6
.xword 63
.xword .LC345
.hword 1
.zero 6
.xword 4159
.xword .LC346
.hword 1
.zero 6
.xword 4415
.xword .LC347
.hword 63
.zero 6
.xword 41
.xword .LC348
.hword 0
.zero 6
.xword 19
.xword .LC349
.hword 2
.zero 6
.xword 2066765
.xword .LC350
.hword 1
.zero 6
.xword 8074
.xword .LC351
.hword 2
.zero 6
.xword 2070605
.xword .LC352
.hword 63
.zero 6
.xword 33
.xword .LC353
.hword 81
.zero 6
.xword 4408
.xword .LC354
.hword 13
.zero 6
.xword 31
.xword .LC355
.hword 79
.zero 6
.xword 11
.xword .LC356
.hword 63
.zero 6
.xword 18
.xword .LC357
.hword 1
.zero 6
.xword 8104
.xword .LC358
.hword 12
.zero 6
.xword 13
.xword .LC359
.hword 0
.zero 6
.xword 77
.xword .LC360
.hword 0
.zero 6
.xword 93
.xword .LC361
.hword 65
.zero 6
.xword 4173
.xword .LC362
.hword 65
.zero 6
.xword 4429
.xword .LC363
.hword 65
.zero 6
.xword 4445
.xword .LC364
.hword 65
.zero 6
.xword 4189
.xword .LC365
.hword 1
.zero 6
.xword 8001
.xword .LC366
.hword 3
.zero 6
.xword 876623136
.xword .LC367
.hword 63
.zero 6
.xword 18
.xword .LC368
.hword 1
.zero 6
.xword 7956
.xword .LC369
.hword 3
.zero 6
.xword 874526016
.xword .LC370
.hword 1
.zero 6
.xword 15615
.xword .LC371
.hword 63
.zero 6
.xword 50
.xword .LC372
.hword 63
.zero 6
.xword 34
.global optable00
.align 3
.type optable00, %object
.size optable00, 4752
optable00:
.xword .LC5
.hword 0
.zero 6
.xword 27
.xword .LC6
.hword 63
.zero 6
.xword 35
.xword .LC9
.hword 22
.zero 6
.xword 137
.xword .LC10
.hword 9
.zero 6
.xword 137
.xword .LC11
.hword 9
.zero 6
.xword 201
.xword .LC14
.hword 22
.zero 6
.xword 139
.xword .LC15
.hword 9
.zero 6
.xword 139
.xword .LC16
.hword 9
.zero 6
.xword 203
.xword .LC23
.hword 22
.zero 6
.xword 132
.xword .LC24
.hword 9
.zero 6
.xword 132
.xword .LC25
.hword 9
.zero 6
.xword 196
.xword .LC29
.hword 24
.zero 6
.xword 8
.xword .LC30
.hword 0
.zero 6
.xword 72
.xword .LC31
.hword 0
.zero 6
.xword 88
.xword .LC32
.hword 1
.zero 6
.xword 22601
.xword .LC34
.hword 24
.zero 6
.xword 7
.xword .LC35
.hword 0
.zero 6
.xword 71
.xword .LC36
.hword 0
.zero 6
.xword 87
.xword .LC37
.hword 1
.zero 6
.xword 18262
.xword .LC40
.hword 6
.zero 6
.xword 36
.xword .LC41
.hword 6
.zero 6
.xword 37
.xword .LC42
.hword 6
.zero 6
.xword 36
.xword .LC44
.hword 6
.zero 6
.xword 39
.xword .LC45
.hword 6
.zero 6
.xword 37
.xword .LC46
.hword 6
.zero 6
.xword 44
.xword .LC47
.hword 6
.zero 6
.xword 46
.xword .LC48
.hword 6
.zero 6
.xword 34
.xword .LC49
.hword 6
.zero 6
.xword 36
.xword .LC52
.hword 63
.zero 6
.xword 44
.xword .LC53
.hword 63
.zero 6
.xword 44
.xword .LC55
.hword 22
.zero 6
.xword 133
.xword .LC56
.hword 9
.zero 6
.xword 133
.xword .LC57
.hword 9
.zero 6
.xword 197
.xword .LC60
.hword 6
.zero 6
.xword 47
.xword .LC61
.hword 6
.zero 6
.xword 37
.xword .LC62
.hword 6
.zero 6
.xword 35
.xword .LC63
.hword 6
.zero 6
.xword 45
.xword .LC64
.hword 6
.zero 6
.xword 43
.xword .LC65
.hword 6
.zero 6
.xword 38
.xword .LC67
.hword 6
.zero 6
.xword 42
.xword .LC68
.hword 6
.zero 6
.xword 32
.xword .LC70
.hword 6
.zero 6
.xword 141
.xword .LC71
.hword 63
.zero 6
.xword 34
.xword .LC72
.hword 6
.zero 6
.xword 40
.xword .LC73
.hword 6
.zero 6
.xword 41
.xword .LC74
.hword 0
.zero 6
.xword 17
.xword .LC75
.hword 0
.zero 6
.xword 12
.xword .LC77
.hword 0
.zero 6
.xword 14
.xword .LC79
.hword 24
.zero 6
.xword 15
.xword .LC80
.hword 0
.zero 6
.xword 79
.xword .LC81
.hword 0
.zero 6
.xword 95
.xword .LC82
.hword 1
.zero 6
.xword 20319
.xword .LC87
.hword 0
.zero 6
.xword 10
.xword .LC89
.hword 22
.zero 6
.xword 129
.xword .LC90
.hword 9
.zero 6
.xword 129
.xword .LC91
.hword 9
.zero 6
.xword 193
.xword .LC101
.hword 24
.zero 6
.xword 3
.xword .LC102
.hword 0
.zero 6
.xword 67
.xword .LC103
.hword 0
.zero 6
.xword 83
.xword .LC110
.hword 10
.zero 6
.xword 140
.xword .LC113
.hword 0
.zero 6
.xword 25
.xword .LC114
.hword 24
.zero 6
.xword 10
.xword .LC115
.hword 0
.zero 6
.xword 74
.xword .LC116
.hword 0
.zero 6
.xword 90
.xword .LC117
.hword 3
.zero 6
.xword 3221324288
.xword .LC122
.hword 63
.zero 6
.xword 36
.xword .LC123
.hword 63
.zero 6
.xword 36
.xword .LC124
.hword 63
.zero 6
.xword 46
.xword .LC125
.hword 0
.zero 6
.xword 52
.xword .LC127
.hword 0
.zero 6
.xword 9
.xword .LC131
.hword 63
.zero 6
.xword 29
.xword .LC133
.hword 63
.zero 6
.xword 1
.xword .LC134
.hword 63
.zero 6
.xword 2
.xword .LC135
.hword 63
.zero 6
.xword 39
.xword .LC136
.hword 63
.zero 6
.xword 30
.xword .LC137
.hword 63
.zero 6
.xword 37
.xword .LC138
.hword 63
.zero 6
.xword 3
.xword .LC139
.hword 63
.zero 6
.xword 4
.xword .LC140
.hword 22
.zero 6
.xword 136
.xword .LC141
.hword 9
.zero 6
.xword 136
.xword .LC142
.hword 9
.zero 6
.xword 200
.xword .LC145
.hword 63
.zero 6
.xword 5
.xword .LC146
.hword 63
.zero 6
.xword 32
.xword .LC148
.hword 63
.zero 6
.xword 25
.xword .LC149
.hword 63
.zero 6
.xword 6
.xword .LC150
.hword 63
.zero 6
.xword 6
.xword .LC151
.hword 63
.zero 6
.xword 7
.xword .LC152
.hword 63
.zero 6
.xword 8
.xword .LC154
.hword 63
.zero 6
.xword 9
.xword .LC155
.hword 63
.zero 6
.xword 9
.xword .LC156
.hword 63
.zero 6
.xword 48
.xword .LC158
.hword 63
.zero 6
.xword 13
.xword .LC159
.hword 63
.zero 6
.xword 10
.xword .LC160
.hword 63
.zero 6
.xword 27
.xword .LC161
.hword 63
.zero 6
.xword 42
.xword .LC162
.hword 63
.zero 6
.xword 26
.xword .LC163
.hword 63
.zero 6
.xword 28
.xword .LC164
.hword 63
.zero 6
.xword 43
.xword .LC165
.hword 24
.zero 6
.xword 12
.xword .LC166
.hword 0
.zero 6
.xword 76
.xword .LC167
.hword 0
.zero 6
.xword 92
.xword .LC168
.hword 3
.zero 6
.xword 3405875456
.xword .LC172
.hword 63
.zero 6
.xword 16
.xword .LC174
.hword 0
.zero 6
.xword 49
.xword .LC176
.hword 0
.zero 6
.xword 8
.xword .LC178
.hword 23
.zero 6
.xword 78
.xword .LC179
.hword 23
.zero 6
.xword 141
.xword .LC202
.hword 22
.zero 6
.xword 134
.xword .LC203
.hword 9
.zero 6
.xword 134
.xword .LC204
.hword 9
.zero 6
.xword 198
.xword .LC206
.hword 9
.zero 6
.xword 198
.xword .LC213
.hword 10
.zero 6
.xword 142
.xword .LC216
.hword 10
.zero 6
.xword 206
.xword .LC222
.hword 63
.zero 6
.xword 16
.xword .LC223
.hword 63
.zero 6
.xword 16
.xword .LC224
.hword 24
.zero 6
.xword 8
.xword .LC225
.hword 0
.zero 6
.xword 72
.xword .LC226
.hword 0
.zero 6
.xword 88
.xword .LC227
.hword 1
.zero 6
.xword 22601
.xword .LC229
.hword 24
.zero 6
.xword 4
.xword .LC230
.hword 0
.zero 6
.xword 68
.xword .LC231
.hword 0
.zero 6
.xword 84
.xword .LC232
.hword 1
.zero 6
.xword 17494
.xword .LC235
.hword 63
.zero 6
.xword 11
.xword .LC238
.hword 63
.zero 6
.xword 18
.xword .LC239
.hword 63
.zero 6
.xword 40
.xword .LC240
.hword 24
.zero 6
.xword 0
.xword .LC241
.hword 0
.zero 6
.xword 64
.xword .LC242
.hword 0
.zero 6
.xword 80
.xword .LC244
.hword 0
.zero 6
.xword 1
.xword .LC246
.hword 63
.zero 6
.xword 17
.xword .LC247
.hword 63
.zero 6
.xword 17
.xword .LC248
.hword 9
.zero 6
.xword 138
.xword .LC249
.hword 9
.zero 6
.xword 138
.xword .LC250
.hword 9
.zero 6
.xword 202
.xword .LC251
.hword 9
.zero 6
.xword 202
.xword .LC254
.hword 63
.zero 6
.xword 12
.xword .LC256
.hword 63
.zero 6
.xword 20
.xword .LC257
.hword 63
.zero 6
.xword 20
.xword .LC258
.hword 63
.zero 6
.xword 49
.xword .LC259
.hword 63
.zero 6
.xword 45
.xword .LC261
.hword 0
.zero 6
.xword 54
.xword .LC262
.hword 0
.zero 6
.xword 55
.xword .LC270
.hword 63
.zero 6
.xword 13
.xword .LC271
.hword 63
.zero 6
.xword 13
.xword .LC273
.hword 0
.zero 6
.xword 50
.xword .LC274
.hword 0
.zero 6
.xword 51
.xword .LC282
.hword 63
.zero 6
.xword 31
.xword .LC283
.hword 63
.zero 6
.xword 22
.xword .LC284
.hword 63
.zero 6
.xword 22
.xword .LC286
.hword 63
.zero 6
.xword 0
.xword .LC287
.hword 24
.zero 6
.xword 9
.xword .LC288
.hword 0
.zero 6
.xword 73
.xword .LC289
.hword 0
.zero 6
.xword 89
.xword .LC292
.hword 24
.zero 6
.xword 6
.xword .LC293
.hword 0
.zero 6
.xword 70
.xword .LC294
.hword 0
.zero 6
.xword 86
.xword .LC297
.hword 63
.zero 6
.xword 22
.xword .LC298
.hword 0
.zero 6
.xword 59
.xword .LC299
.hword 0
.zero 6
.xword 57
.xword .LC300
.hword 63
.zero 6
.xword 34
.xword .LC301
.hword 0
.zero 6
.xword 16
.xword .LC302
.hword 22
.zero 6
.xword 130
.xword .LC303
.hword 9
.zero 6
.xword 130
.xword .LC304
.hword 9
.zero 6
.xword 194
.xword .LC307
.hword 0
.zero 6
.xword 13
.xword .LC309
.hword 0
.zero 6
.xword 15
.xword .LC311
.hword 63
.zero 6
.xword 15
.xword .LC313
.hword 63
.zero 6
.xword 24
.xword .LC314
.hword 63
.zero 6
.xword 23
.xword .LC315
.hword 0
.zero 6
.xword 11
.xword .LC319
.hword 63
.zero 6
.xword 21
.xword .LC320
.hword 150
.zero 6
.xword 135
.xword .LC321
.hword 137
.zero 6
.xword 135
.xword .LC322
.hword 137
.zero 6
.xword 199
.xword .LC330
.hword 138
.zero 6
.xword 143
.xword .LC331
.hword 63
.zero 6
.xword 19
.xword .LC334
.hword 138
.zero 6
.xword 207
.xword .LC336
.hword 22
.zero 6
.xword 128
.xword .LC337
.hword 9
.zero 6
.xword 128
.xword .LC338
.hword 9
.zero 6
.xword 192
.xword .LC344
.hword 0
.zero 6
.xword 63
.xword .LC347
.hword 63
.zero 6
.xword 41
.xword .LC349
.hword 0
.zero 6
.xword 22
.xword .LC350
.hword 0
.zero 6
.xword 6
.xword .LC351
.hword 0
.zero 6
.xword 23
.xword .LC352
.hword 63
.zero 6
.xword 33
.xword .LC356
.hword 63
.zero 6
.xword 18
.xword .LC357
.hword 0
.zero 6
.xword 7
.xword .LC358
.hword 24
.zero 6
.xword 13
.xword .LC359
.hword 0
.zero 6
.xword 77
.xword .LC360
.hword 0
.zero 6
.xword 93
.xword .LC365
.hword 0
.zero 6
.xword 48
.xword .LC367
.hword 63
.zero 6
.xword 18
.xword .LC368
.hword 0
.zero 6
.xword 53
.xword .LC370
.hword 0
.zero 6
.xword 62
.xword .LC371
.hword 63
.zero 6
.xword 50
.xword .LC372
.hword 63
.zero 6
.xword 34
.global optable01
.section .rodata
.align 3
.LC373:
.string "SLP"
.align 3
.LC374:
.string "XGDX"
.section .data.rel.local
.align 3
.type optable01, %object
.size optable01, 5112
optable01:
.xword .LC5
.hword 0
.zero 6
.xword 27
.xword .LC6
.hword 63
.zero 6
.xword 35
.xword .LC7
.hword 0
.zero 6
.xword 58
.xword .LC9
.hword 22
.zero 6
.xword 137
.xword .LC10
.hword 9
.zero 6
.xword 137
.xword .LC11
.hword 9
.zero 6
.xword 201
.xword .LC14
.hword 22
.zero 6
.xword 139
.xword .LC15
.hword 9
.zero 6
.xword 139
.xword .LC16
.hword 9
.zero 6
.xword 203
.xword .LC17
.hword 10
.zero 6
.xword 195
.xword .LC22
.hword 271
.zero 6
.xword 1
.xword .LC23
.hword 22
.zero 6
.xword 132
.xword .LC24
.hword 9
.zero 6
.xword 132
.xword .LC25
.hword 9
.zero 6
.xword 196
.xword .LC29
.hword 24
.zero 6
.xword 8
.xword .LC30
.hword 0
.zero 6
.xword 72
.xword .LC31
.hword 0
.zero 6
.xword 88
.xword .LC32
.hword 0
.zero 6
.xword 5
.xword .LC34
.hword 24
.zero 6
.xword 7
.xword .LC35
.hword 0
.zero 6
.xword 71
.xword .LC36
.hword 0
.zero 6
.xword 87
.xword .LC37
.hword 1
.zero 6
.xword 18262
.xword .LC40
.hword 6
.zero 6
.xword 36
.xword .LC41
.hword 6
.zero 6
.xword 37
.xword .LC42
.hword 6
.zero 6
.xword 36
.xword .LC44
.hword 6
.zero 6
.xword 39
.xword .LC45
.hword 6
.zero 6
.xword 37
.xword .LC46
.hword 6
.zero 6
.xword 44
.xword .LC47
.hword 6
.zero 6
.xword 46
.xword .LC48
.hword 6
.zero 6
.xword 34
.xword .LC49
.hword 6
.zero 6
.xword 36
.xword .LC52
.hword 63
.zero 6
.xword 44
.xword .LC53
.hword 63
.zero 6
.xword 44
.xword .LC55
.hword 22
.zero 6
.xword 133
.xword .LC56
.hword 9
.zero 6
.xword 133
.xword .LC57
.hword 9
.zero 6
.xword 197
.xword .LC60
.hword 6
.zero 6
.xword 47
.xword .LC61
.hword 6
.zero 6
.xword 37
.xword .LC62
.hword 6
.zero 6
.xword 35
.xword .LC63
.hword 6
.zero 6
.xword 45
.xword .LC64
.hword 6
.zero 6
.xword 43
.xword .LC65
.hword 6
.zero 6
.xword 38
.xword .LC67
.hword 6
.zero 6
.xword 42
.xword .LC68
.hword 6
.zero 6
.xword 32
.xword .LC69
.hword 6
.zero 6
.xword 33
.xword .LC70
.hword 6
.zero 6
.xword 141
.xword .LC71
.hword 63
.zero 6
.xword 34
.xword .LC72
.hword 6
.zero 6
.xword 40
.xword .LC73
.hword 6
.zero 6
.xword 41
.xword .LC74
.hword 0
.zero 6
.xword 17
.xword .LC75
.hword 0
.zero 6
.xword 12
.xword .LC77
.hword 0
.zero 6
.xword 14
.xword .LC79
.hword 24
.zero 6
.xword 15
.xword .LC80
.hword 0
.zero 6
.xword 79
.xword .LC81
.hword 0
.zero 6
.xword 95
.xword .LC82
.hword 1
.zero 6
.xword 20319
.xword .LC87
.hword 0
.zero 6
.xword 10
.xword .LC89
.hword 22
.zero 6
.xword 129
.xword .LC90
.hword 9
.zero 6
.xword 129
.xword .LC91
.hword 9
.zero 6
.xword 193
.xword .LC101
.hword 24
.zero 6
.xword 3
.xword .LC102
.hword 0
.zero 6
.xword 67
.xword .LC103
.hword 0
.zero 6
.xword 83
.xword .LC110
.hword 10
.zero 6
.xword 140
.xword .LC113
.hword 0
.zero 6
.xword 25
.xword .LC114
.hword 24
.zero 6
.xword 10
.xword .LC115
.hword 0
.zero 6
.xword 74
.xword .LC116
.hword 0
.zero 6
.xword 90
.xword .LC117
.hword 3
.zero 6
.xword 3221324288
.xword .LC122
.hword 63
.zero 6
.xword 36
.xword .LC123
.hword 63
.zero 6
.xword 36
.xword .LC124
.hword 63
.zero 6
.xword 46
.xword .LC125
.hword 0
.zero 6
.xword 52
.xword .LC127
.hword 0
.zero 6
.xword 9
.xword .LC131
.hword 63
.zero 6
.xword 29
.xword .LC132
.hword 271
.zero 6
.xword 5
.xword .LC133
.hword 63
.zero 6
.xword 1
.xword .LC134
.hword 63
.zero 6
.xword 2
.xword .LC135
.hword 63
.zero 6
.xword 39
.xword .LC136
.hword 63
.zero 6
.xword 30
.xword .LC137
.hword 63
.zero 6
.xword 37
.xword .LC138
.hword 63
.zero 6
.xword 3
.xword .LC139
.hword 63
.zero 6
.xword 4
.xword .LC140
.hword 22
.zero 6
.xword 136
.xword .LC141
.hword 9
.zero 6
.xword 136
.xword .LC142
.hword 9
.zero 6
.xword 200
.xword .LC145
.hword 63
.zero 6
.xword 5
.xword .LC146
.hword 63
.zero 6
.xword 32
.xword .LC148
.hword 63
.zero 6
.xword 25
.xword .LC149
.hword 63
.zero 6
.xword 6
.xword .LC150
.hword 63
.zero 6
.xword 6
.xword .LC151
.hword 63
.zero 6
.xword 7
.xword .LC152
.hword 63
.zero 6
.xword 8
.xword .LC154
.hword 63
.zero 6
.xword 9
.xword .LC155
.hword 63
.zero 6
.xword 9
.xword .LC156
.hword 63
.zero 6
.xword 48
.xword .LC158
.hword 63
.zero 6
.xword 13
.xword .LC159
.hword 63
.zero 6
.xword 10
.xword .LC160
.hword 63
.zero 6
.xword 27
.xword .LC161
.hword 63
.zero 6
.xword 42
.xword .LC162
.hword 63
.zero 6
.xword 26
.xword .LC163
.hword 63
.zero 6
.xword 28
.xword .LC164
.hword 63
.zero 6
.xword 43
.xword .LC165
.hword 24
.zero 6
.xword 12
.xword .LC166
.hword 0
.zero 6
.xword 76
.xword .LC167
.hword 0
.zero 6
.xword 92
.xword .LC168
.hword 3
.zero 6
.xword 3405875456
.xword .LC172
.hword 63
.zero 6
.xword 16
.xword .LC174
.hword 0
.zero 6
.xword 49
.xword .LC176
.hword 0
.zero 6
.xword 8
.xword .LC178
.hword 23
.zero 6
.xword 78
.xword .LC179
.hword 138
.zero 6
.xword 141
.xword .LC202
.hword 22
.zero 6
.xword 134
.xword .LC203
.hword 9
.zero 6
.xword 134
.xword .LC204
.hword 9
.zero 6
.xword 198
.xword .LC206
.hword 9
.zero 6
.xword 198
.xword .LC208
.hword 10
.zero 6
.xword 204
.xword .LC213
.hword 10
.zero 6
.xword 142
.xword .LC216
.hword 10
.zero 6
.xword 206
.xword .LC222
.hword 63
.zero 6
.xword 16
.xword .LC223
.hword 63
.zero 6
.xword 16
.xword .LC224
.hword 24
.zero 6
.xword 8
.xword .LC225
.hword 0
.zero 6
.xword 72
.xword .LC226
.hword 0
.zero 6
.xword 88
.xword .LC227
.hword 1
.zero 6
.xword 5
.xword .LC229
.hword 24
.zero 6
.xword 4
.xword .LC230
.hword 0
.zero 6
.xword 68
.xword .LC231
.hword 0
.zero 6
.xword 84
.xword .LC232
.hword 0
.zero 6
.xword 4
.xword .LC235
.hword 63
.zero 6
.xword 11
.xword .LC236
.hword 0
.zero 6
.xword 61
.xword .LC238
.hword 63
.zero 6
.xword 18
.xword .LC239
.hword 63
.zero 6
.xword 40
.xword .LC240
.hword 24
.zero 6
.xword 0
.xword .LC241
.hword 0
.zero 6
.xword 64
.xword .LC242
.hword 0
.zero 6
.xword 80
.xword .LC244
.hword 0
.zero 6
.xword 1
.xword .LC245
.hword 271
.zero 6
.xword 2
.xword .LC246
.hword 63
.zero 6
.xword 17
.xword .LC247
.hword 63
.zero 6
.xword 17
.xword .LC248
.hword 9
.zero 6
.xword 138
.xword .LC249
.hword 9
.zero 6
.xword 138
.xword .LC250
.hword 9
.zero 6
.xword 202
.xword .LC251
.hword 9
.zero 6
.xword 202
.xword .LC254
.hword 63
.zero 6
.xword 12
.xword .LC256
.hword 63
.zero 6
.xword 20
.xword .LC257
.hword 63
.zero 6
.xword 20
.xword .LC258
.hword 63
.zero 6
.xword 49
.xword .LC259
.hword 63
.zero 6
.xword 45
.xword .LC261
.hword 0
.zero 6
.xword 54
.xword .LC262
.hword 0
.zero 6
.xword 55
.xword .LC268
.hword 0
.zero 6
.xword 60
.xword .LC270
.hword 63
.zero 6
.xword 13
.xword .LC271
.hword 63
.zero 6
.xword 13
.xword .LC273
.hword 0
.zero 6
.xword 50
.xword .LC274
.hword 0
.zero 6
.xword 51
.xword .LC280
.hword 0
.zero 6
.xword 56
.xword .LC282
.hword 63
.zero 6
.xword 31
.xword .LC283
.hword 63
.zero 6
.xword 22
.xword .LC284
.hword 63
.zero 6
.xword 22
.xword .LC286
.hword 63
.zero 6
.xword 0
.xword .LC287
.hword 24
.zero 6
.xword 9
.xword .LC288
.hword 0
.zero 6
.xword 73
.xword .LC289
.hword 0
.zero 6
.xword 89
.xword .LC292
.hword 24
.zero 6
.xword 6
.xword .LC293
.hword 0
.zero 6
.xword 70
.xword .LC294
.hword 0
.zero 6
.xword 86
.xword .LC297
.hword 63
.zero 6
.xword 22
.xword .LC298
.hword 0
.zero 6
.xword 59
.xword .LC299
.hword 0
.zero 6
.xword 57
.xword .LC300
.hword 63
.zero 6
.xword 34
.xword .LC301
.hword 0
.zero 6
.xword 16
.xword .LC302
.hword 22
.zero 6
.xword 130
.xword .LC303
.hword 9
.zero 6
.xword 130
.xword .LC304
.hword 9
.zero 6
.xword 194
.xword .LC307
.hword 0
.zero 6
.xword 13
.xword .LC309
.hword 0
.zero 6
.xword 15
.xword .LC311
.hword 63
.zero 6
.xword 15
.xword .LC313
.hword 63
.zero 6
.xword 24
.xword .LC314
.hword 63
.zero 6
.xword 23
.xword .LC315
.hword 0
.zero 6
.xword 11
.xword .LC373
.hword 256
.zero 6
.xword 26
.xword .LC319
.hword 63
.zero 6
.xword 21
.xword .LC320
.hword 150
.zero 6
.xword 135
.xword .LC321
.hword 137
.zero 6
.xword 135
.xword .LC322
.hword 137
.zero 6
.xword 199
.xword .LC326
.hword 138
.zero 6
.xword 205
.xword .LC330
.hword 138
.zero 6
.xword 143
.xword .LC331
.hword 63
.zero 6
.xword 19
.xword .LC334
.hword 138
.zero 6
.xword 207
.xword .LC336
.hword 22
.zero 6
.xword 128
.xword .LC337
.hword 9
.zero 6
.xword 128
.xword .LC338
.hword 9
.zero 6
.xword 192
.xword .LC339
.hword 10
.zero 6
.xword 131
.xword .LC344
.hword 0
.zero 6
.xword 63
.xword .LC347
.hword 63
.zero 6
.xword 41
.xword .LC349
.hword 0
.zero 6
.xword 22
.xword .LC350
.hword 0
.zero 6
.xword 6
.xword .LC351
.hword 0
.zero 6
.xword 23
.xword .LC352
.hword 63
.zero 6
.xword 33
.xword .LC355
.hword 271
.zero 6
.xword 11
.xword .LC356
.hword 63
.zero 6
.xword 18
.xword .LC357
.hword 0
.zero 6
.xword 7
.xword .LC358
.hword 24
.zero 6
.xword 13
.xword .LC359
.hword 0
.zero 6
.xword 77
.xword .LC360
.hword 0
.zero 6
.xword 93
.xword .LC365
.hword 0
.zero 6
.xword 48
.xword .LC367
.hword 63
.zero 6
.xword 18
.xword .LC368
.hword 0
.zero 6
.xword 53
.xword .LC370
.hword 0
.zero 6
.xword 62
.xword .LC371
.hword 63
.zero 6
.xword 50
.xword .LC374
.hword 256
.zero 6
.xword 24
.xword .LC372
.hword 63
.zero 6
.xword 34
.global optable11
.section .rodata
.align 3
.LC375:
.string "BCLR"
.align 3
.LC376:
.string "BRCLR"
.align 3
.LC377:
.string "BRSET"
.align 3
.LC378:
.string "BSET"
.align 3
.LC379:
.string "FDIV"
.align 3
.LC380:
.string "IDIV"
.align 3
.LC381:
.string "STOP"
.align 3
.LC382:
.string "TEST"
.align 3
.LC383:
.string "XGDY"
.section .data.rel.local
.align 3
.type optable11, %object
.size optable11, 5496
optable11:
.xword .LC5
.hword 0
.zero 6
.xword 27
.xword .LC6
.hword 63
.zero 6
.xword 35
.xword .LC7
.hword 0
.zero 6
.xword 58
.xword .LC8
.hword 1
.zero 6
.xword 6202
.xword .LC9
.hword 22
.zero 6
.xword 137
.xword .LC10
.hword 9
.zero 6
.xword 137
.xword .LC11
.hword 9
.zero 6
.xword 201
.xword .LC14
.hword 22
.zero 6
.xword 139
.xword .LC15
.hword 9
.zero 6
.xword 139
.xword .LC16
.hword 9
.zero 6
.xword 203
.xword .LC17
.hword 10
.zero 6
.xword 195
.xword .LC23
.hword 22
.zero 6
.xword 132
.xword .LC24
.hword 9
.zero 6
.xword 132
.xword .LC25
.hword 9
.zero 6
.xword 196
.xword .LC29
.hword 24
.zero 6
.xword 8
.xword .LC30
.hword 0
.zero 6
.xword 72
.xword .LC31
.hword 0
.zero 6
.xword 88
.xword .LC32
.hword 0
.zero 6
.xword 5
.xword .LC34
.hword 24
.zero 6
.xword 7
.xword .LC35
.hword 0
.zero 6
.xword 71
.xword .LC36
.hword 0
.zero 6
.xword 87
.xword .LC37
.hword 1
.zero 6
.xword 18262
.xword .LC40
.hword 6
.zero 6
.xword 36
.xword .LC375
.hword 25
.zero 6
.xword 21
.xword .LC41
.hword 6
.zero 6
.xword 37
.xword .LC42
.hword 6
.zero 6
.xword 36
.xword .LC44
.hword 6
.zero 6
.xword 39
.xword .LC45
.hword 6
.zero 6
.xword 37
.xword .LC46
.hword 6
.zero 6
.xword 44
.xword .LC47
.hword 6
.zero 6
.xword 46
.xword .LC48
.hword 6
.zero 6
.xword 34
.xword .LC49
.hword 6
.zero 6
.xword 36
.xword .LC52
.hword 63
.zero 6
.xword 44
.xword .LC53
.hword 63
.zero 6
.xword 44
.xword .LC55
.hword 22
.zero 6
.xword 133
.xword .LC56
.hword 9
.zero 6
.xword 133
.xword .LC57
.hword 9
.zero 6
.xword 197
.xword .LC60
.hword 6
.zero 6
.xword 47
.xword .LC61
.hword 6
.zero 6
.xword 37
.xword .LC62
.hword 6
.zero 6
.xword 35
.xword .LC63
.hword 6
.zero 6
.xword 45
.xword .LC64
.hword 6
.zero 6
.xword 43
.xword .LC65
.hword 6
.zero 6
.xword 38
.xword .LC67
.hword 6
.zero 6
.xword 42
.xword .LC68
.hword 6
.zero 6
.xword 32
.xword .LC68
.hword 6
.zero 6
.xword 32
.xword .LC376
.hword 26
.zero 6
.xword 19
.xword .LC69
.hword 6
.zero 6
.xword 33
.xword .LC377
.hword 26
.zero 6
.xword 18
.xword .LC378
.hword 25
.zero 6
.xword 20
.xword .LC70
.hword 6
.zero 6
.xword 141
.xword .LC71
.hword 63
.zero 6
.xword 34
.xword .LC72
.hword 6
.zero 6
.xword 40
.xword .LC73
.hword 6
.zero 6
.xword 41
.xword .LC74
.hword 0
.zero 6
.xword 17
.xword .LC75
.hword 0
.zero 6
.xword 12
.xword .LC77
.hword 0
.zero 6
.xword 14
.xword .LC79
.hword 24
.zero 6
.xword 15
.xword .LC80
.hword 0
.zero 6
.xword 79
.xword .LC81
.hword 0
.zero 6
.xword 95
.xword .LC82
.hword 1
.zero 6
.xword 20319
.xword .LC87
.hword 0
.zero 6
.xword 10
.xword .LC89
.hword 22
.zero 6
.xword 129
.xword .LC90
.hword 9
.zero 6
.xword 129
.xword .LC91
.hword 9
.zero 6
.xword 193
.xword .LC101
.hword 24
.zero 6
.xword 3
.xword .LC102
.hword 0
.zero 6
.xword 67
.xword .LC103
.hword 0
.zero 6
.xword 83
.xword .LC109
.hword 1034
.zero 6
.xword 131
.xword .LC110
.hword 10
.zero 6
.xword 140
.xword .LC111
.hword 522
.zero 6
.xword 140
.xword .LC113
.hword 0
.zero 6
.xword 25
.xword .LC114
.hword 24
.zero 6
.xword 10
.xword .LC115
.hword 0
.zero 6
.xword 74
.xword .LC116
.hword 0
.zero 6
.xword 90
.xword .LC117
.hword 3
.zero 6
.xword 3221324288
.xword .LC122
.hword 63
.zero 6
.xword 36
.xword .LC123
.hword 63
.zero 6
.xword 36
.xword .LC124
.hword 63
.zero 6
.xword 46
.xword .LC125
.hword 0
.zero 6
.xword 52
.xword .LC127
.hword 0
.zero 6
.xword 9
.xword .LC128
.hword 1
.zero 6
.xword 6153
.xword .LC131
.hword 63
.zero 6
.xword 29
.xword .LC133
.hword 63
.zero 6
.xword 1
.xword .LC134
.hword 63
.zero 6
.xword 2
.xword .LC135
.hword 63
.zero 6
.xword 39
.xword .LC136
.hword 63
.zero 6
.xword 30
.xword .LC137
.hword 63
.zero 6
.xword 37
.xword .LC138
.hword 63
.zero 6
.xword 3
.xword .LC139
.hword 63
.zero 6
.xword 4
.xword .LC140
.hword 22
.zero 6
.xword 136
.xword .LC141
.hword 9
.zero 6
.xword 136
.xword .LC142
.hword 9
.zero 6
.xword 200
.xword .LC145
.hword 63
.zero 6
.xword 5
.xword .LC146
.hword 63
.zero 6
.xword 32
.xword .LC148
.hword 63
.zero 6
.xword 25
.xword .LC149
.hword 63
.zero 6
.xword 6
.xword .LC150
.hword 63
.zero 6
.xword 6
.xword .LC151
.hword 63
.zero 6
.xword 7
.xword .LC152
.hword 63
.zero 6
.xword 8
.xword .LC154
.hword 63
.zero 6
.xword 9
.xword .LC155
.hword 63
.zero 6
.xword 9
.xword .LC379
.hword 0
.zero 6
.xword 3
.xword .LC156
.hword 63
.zero 6
.xword 48
.xword .LC158
.hword 63
.zero 6
.xword 13
.xword .LC380
.hword 0
.zero 6
.xword 2
.xword .LC159
.hword 63
.zero 6
.xword 10
.xword .LC160
.hword 63
.zero 6
.xword 27
.xword .LC161
.hword 63
.zero 6
.xword 42
.xword .LC162
.hword 63
.zero 6
.xword 26
.xword .LC163
.hword 63
.zero 6
.xword 28
.xword .LC164
.hword 63
.zero 6
.xword 43
.xword .LC165
.hword 24
.zero 6
.xword 12
.xword .LC166
.hword 0
.zero 6
.xword 76
.xword .LC167
.hword 0
.zero 6
.xword 92
.xword .LC168
.hword 3
.zero 6
.xword 3405875456
.xword .LC172
.hword 63
.zero 6
.xword 16
.xword .LC174
.hword 0
.zero 6
.xword 49
.xword .LC176
.hword 0
.zero 6
.xword 8
.xword .LC177
.hword 1
.zero 6
.xword 6152
.xword .LC178
.hword 23
.zero 6
.xword 78
.xword .LC179
.hword 138
.zero 6
.xword 141
.xword .LC202
.hword 22
.zero 6
.xword 134
.xword .LC203
.hword 9
.zero 6
.xword 134
.xword .LC204
.hword 9
.zero 6
.xword 198
.xword .LC206
.hword 9
.zero 6
.xword 198
.xword .LC208
.hword 10
.zero 6
.xword 204
.xword .LC213
.hword 10
.zero 6
.xword 142
.xword .LC216
.hword 10
.zero 6
.xword 206
.xword .LC217
.hword 522
.zero 6
.xword 206
.xword .LC222
.hword 63
.zero 6
.xword 16
.xword .LC223
.hword 63
.zero 6
.xword 16
.xword .LC224
.hword 24
.zero 6
.xword 8
.xword .LC225
.hword 0
.zero 6
.xword 72
.xword .LC226
.hword 0
.zero 6
.xword 88
.xword .LC227
.hword 0
.zero 6
.xword 5
.xword .LC229
.hword 24
.zero 6
.xword 4
.xword .LC230
.hword 0
.zero 6
.xword 68
.xword .LC231
.hword 0
.zero 6
.xword 84
.xword .LC232
.hword 0
.zero 6
.xword 4
.xword .LC235
.hword 63
.zero 6
.xword 11
.xword .LC236
.hword 0
.zero 6
.xword 61
.xword .LC238
.hword 63
.zero 6
.xword 18
.xword .LC239
.hword 63
.zero 6
.xword 40
.xword .LC240
.hword 24
.zero 6
.xword 0
.xword .LC241
.hword 0
.zero 6
.xword 64
.xword .LC242
.hword 0
.zero 6
.xword 80
.xword .LC244
.hword 0
.zero 6
.xword 1
.xword .LC246
.hword 63
.zero 6
.xword 17
.xword .LC247
.hword 63
.zero 6
.xword 17
.xword .LC248
.hword 9
.zero 6
.xword 138
.xword .LC249
.hword 9
.zero 6
.xword 138
.xword .LC250
.hword 9
.zero 6
.xword 202
.xword .LC251
.hword 9
.zero 6
.xword 202
.xword .LC254
.hword 63
.zero 6
.xword 12
.xword .LC256
.hword 63
.zero 6
.xword 20
.xword .LC257
.hword 63
.zero 6
.xword 20
.xword .LC258
.hword 63
.zero 6
.xword 49
.xword .LC259
.hword 63
.zero 6
.xword 45
.xword .LC261
.hword 0
.zero 6
.xword 54
.xword .LC262
.hword 0
.zero 6
.xword 55
.xword .LC268
.hword 0
.zero 6
.xword 60
.xword .LC269
.hword 1
.zero 6
.xword 6204
.xword .LC270
.hword 63
.zero 6
.xword 13
.xword .LC271
.hword 63
.zero 6
.xword 13
.xword .LC273
.hword 0
.zero 6
.xword 50
.xword .LC274
.hword 0
.zero 6
.xword 51
.xword .LC280
.hword 0
.zero 6
.xword 56
.xword .LC281
.hword 1
.zero 6
.xword 6200
.xword .LC282
.hword 63
.zero 6
.xword 31
.xword .LC283
.hword 63
.zero 6
.xword 22
.xword .LC284
.hword 63
.zero 6
.xword 22
.xword .LC286
.hword 63
.zero 6
.xword 0
.xword .LC287
.hword 24
.zero 6
.xword 9
.xword .LC288
.hword 0
.zero 6
.xword 73
.xword .LC289
.hword 0
.zero 6
.xword 89
.xword .LC292
.hword 24
.zero 6
.xword 6
.xword .LC293
.hword 0
.zero 6
.xword 70
.xword .LC294
.hword 0
.zero 6
.xword 86
.xword .LC297
.hword 63
.zero 6
.xword 22
.xword .LC298
.hword 0
.zero 6
.xword 59
.xword .LC299
.hword 0
.zero 6
.xword 57
.xword .LC300
.hword 63
.zero 6
.xword 34
.xword .LC301
.hword 0
.zero 6
.xword 16
.xword .LC302
.hword 22
.zero 6
.xword 130
.xword .LC303
.hword 9
.zero 6
.xword 130
.xword .LC304
.hword 9
.zero 6
.xword 194
.xword .LC307
.hword 0
.zero 6
.xword 13
.xword .LC309
.hword 0
.zero 6
.xword 15
.xword .LC311
.hword 63
.zero 6
.xword 15
.xword .LC313
.hword 63
.zero 6
.xword 24
.xword .LC314
.hword 63
.zero 6
.xword 23
.xword .LC315
.hword 0
.zero 6
.xword 11
.xword .LC319
.hword 63
.zero 6
.xword 21
.xword .LC320
.hword 150
.zero 6
.xword 135
.xword .LC321
.hword 137
.zero 6
.xword 135
.xword .LC322
.hword 137
.zero 6
.xword 199
.xword .LC326
.hword 138
.zero 6
.xword 205
.xword .LC381
.hword 0
.zero 6
.xword 207
.xword .LC330
.hword 138
.zero 6
.xword 143
.xword .LC331
.hword 63
.zero 6
.xword 19
.xword .LC334
.hword 138
.zero 6
.xword 207
.xword .LC335
.hword 650
.zero 6
.xword 207
.xword .LC336
.hword 22
.zero 6
.xword 128
.xword .LC337
.hword 9
.zero 6
.xword 128
.xword .LC338
.hword 9
.zero 6
.xword 192
.xword .LC339
.hword 10
.zero 6
.xword 131
.xword .LC344
.hword 0
.zero 6
.xword 63
.xword .LC347
.hword 63
.zero 6
.xword 41
.xword .LC349
.hword 0
.zero 6
.xword 22
.xword .LC350
.hword 0
.zero 6
.xword 6
.xword .LC351
.hword 0
.zero 6
.xword 23
.xword .LC382
.hword 0
.zero 6
.xword 0
.xword .LC352
.hword 63
.zero 6
.xword 33
.xword .LC356
.hword 63
.zero 6
.xword 18
.xword .LC357
.hword 0
.zero 6
.xword 7
.xword .LC358
.hword 24
.zero 6
.xword 13
.xword .LC359
.hword 0
.zero 6
.xword 77
.xword .LC360
.hword 0
.zero 6
.xword 93
.xword .LC365
.hword 0
.zero 6
.xword 48
.xword .LC366
.hword 1
.zero 6
.xword 6192
.xword .LC367
.hword 63
.zero 6
.xword 18
.xword .LC368
.hword 0
.zero 6
.xword 53
.xword .LC369
.hword 1
.zero 6
.xword 6197
.xword .LC370
.hword 0
.zero 6
.xword 62
.xword .LC371
.hword 63
.zero 6
.xword 50
.xword .LC374
.hword 0
.zero 6
.xword 143
.xword .LC383
.hword 1
.zero 6
.xword 6287
.xword .LC372
.hword 63
.zero 6
.xword 34
.global symcounter
.bss
.align 3
.type symcounter, %object
.size symcounter, 8
symcounter:
.zero 8
.global symtable
.align 3
.type symtable, %object
.size symtable, 393216
symtable:
.zero 393216
.global lclcounter
.align 3
.type lclcounter, %object
.size lclcounter, 8
lclcounter:
.zero 8
.global lcltable
.align 3
.type lcltable, %object
.size lcltable, 393216
lcltable:
.zero 393216
.global regtable09
.section .rodata
.align 3
.LC384:
.string "D"
.align 3
.LC385:
.string "X"
.align 3
.LC386:
.string "Y"
.align 3
.LC387:
.string "U"
.align 3
.LC388:
.string "S"
.align 3
.LC389:
.string "PC"
.align 3
.LC390:
.string "A"
.align 3
.LC391:
.string "B"
.align 3
.LC392:
.string "CC"
.align 3
.LC393:
.string "CCR"
.align 3
.LC394:
.string "DP"
.align 3
.LC395:
.string "DPR"
.section .data.rel.local
.align 3
.type regtable09, %object
.size regtable09, 208
regtable09:
.xword .LC384
.byte 0
.byte 6
.zero 6
.xword .LC385
.byte 1
.byte 16
.zero 6
.xword .LC386
.byte 2
.byte 32
.zero 6
.xword .LC387
.byte 3
.byte 64
.zero 6
.xword .LC388
.byte 4
.byte 64
.zero 6
.xword .LC389
.byte 5
.byte -128
.zero 6
.xword .LC390
.byte 8
.byte 2
.zero 6
.xword .LC391
.byte 9
.byte 4
.zero 6
.xword .LC392
.byte 10
.byte 1
.zero 6
.xword .LC393
.byte 10
.byte 1
.zero 6
.xword .LC394
.byte 11
.byte 8
.zero 6
.xword .LC395
.byte 11
.byte 8
.zero 6
.xword 0
.byte 0
.byte 0
.zero 6
.global regtable63
.section .rodata
.align 3
.LC396:
.string "W"
.align 3
.LC397:
.string "V"
.align 3
.LC398:
.string "0"
.align 3
.LC399:
.string "E"
.align 3
.LC400:
.string "F"
.section .data.rel.local
.align 3
.type regtable63, %object
.size regtable63, 288
regtable63:
.xword .LC384
.byte 0
.byte 6
.zero 6
.xword .LC385
.byte 1
.byte 16
.zero 6
.xword .LC386
.byte 2
.byte 32
.zero 6
.xword .LC387
.byte 3
.byte 64
.zero 6
.xword .LC388
.byte 4
.byte 64
.zero 6
.xword .LC389
.byte 5
.byte -128
.zero 6
.xword .LC396
.byte 6
.byte 0
.zero 6
.xword .LC397
.byte 7
.byte 0
.zero 6
.xword .LC390
.byte 8
.byte 2
.zero 6
.xword .LC391
.byte 9
.byte 4
.zero 6
.xword .LC392
.byte 10
.byte 1
.zero 6
.xword .LC393
.byte 10
.byte 1
.zero 6
.xword .LC394
.byte 11
.byte 8
.zero 6
.xword .LC395
.byte 11
.byte 8
.zero 6
.xword .LC398
.byte 12
.byte 0
.zero 6
.xword .LC399
.byte 14
.byte 0
.zero 6
.xword .LC400
.byte 15
.byte 0
.zero 6
.xword 0
.byte 0
.byte 0
.zero 6
.global regtable00
.align 3
.type regtable00, %object
.size regtable00, 128
regtable00:
.xword .LC385
.byte 1
.byte 16
.zero 6
.xword .LC388
.byte 4
.byte 64
.zero 6
.xword .LC389
.byte 5
.byte -128
.zero 6
.xword .LC390
.byte 8
.byte 2
.zero 6
.xword .LC391
.byte 9
.byte 4
.zero 6
.xword .LC392
.byte 10
.byte 1
.zero 6
.xword .LC393
.byte 10
.byte 1
.zero 6
.xword 0
.byte 0
.byte 0
.zero 6
.global regtable11
.align 3
.type regtable11, %object
.size regtable11, 144
regtable11:
.xword .LC385
.byte 1
.byte 16
.zero 6
.xword .LC386
.byte 2
.byte 32
.zero 6
.xword .LC388
.byte 4
.byte 64
.zero 6
.xword .LC389
.byte 5
.byte -128
.zero 6
.xword .LC390
.byte 8
.byte 2
.zero 6
.xword .LC391
.byte 9
.byte 4
.zero 6
.xword .LC392
.byte 10
.byte 1
.zero 6
.xword .LC393
.byte 10
.byte 1
.zero 6
.xword 0
.byte 0
.byte 0
.zero 6
.global bitregtable09
.align 3
.type bitregtable09, %object
.size bitregtable09, 48
bitregtable09:
.xword .LC392
.byte 0
.byte 0
.zero 6
.xword .LC390
.byte 1
.byte 1
.zero 6
.xword .LC391
.byte 2
.byte 2
.zero 6
.global bitregtable00
.align 3
.type bitregtable00, %object
.size bitregtable00, 48
bitregtable00:
.xword .LC392
.byte 0
.byte 0
.zero 6
.xword .LC390
.byte 1
.byte 1
.zero 6
.xword .LC391
.byte 2
.byte 2
.zero 6
.global relcounter
.bss
.align 3
.type relcounter, %object
.size relcounter, 8
relcounter:
.zero 8
.global reltable
.align 3
.type reltable, %object
.size reltable, 524288
reltable:
.zero 524288
.global relhdrfoff
.align 3
.type relhdrfoff, %object
.size relhdrfoff, 8
relhdrfoff:
.zero 8
.global Options
.section .rodata
.align 3
.LC401:
.string "CON"
.align 3
.LC402:
.string "NOC"
.align 3
.LC403:
.string "MAC"
.align 3
.LC404:
.string "NOM"
.align 3
.LC405:
.string "EXP"
.align 3
.LC406:
.string "NOE"
.align 3
.LC407:
.string "SYM"
.align 3
.LC408:
.string "NOS"
.align 3
.LC409:
.string "NMU"
.align 3
.LC410:
.string "LP1"
.align 3
.LC411:
.string "NO1"
.align 3
.LC412:
.string "DAT"
.align 3
.LC413:
.string "NOD"
.align 3
.LC414:
.string "NUM"
.align 3
.LC415:
.string "NON"
.align 3
.LC416:
.string "INV"
.align 3
.LC417:
.string "NOI"
.align 3
.LC418:
.string "TSC"
.align 3
.LC419:
.string "NOT"
.align 3
.LC420:
.string "WAR"
.align 3
.LC421:
.string "NOW"
.align 3
.LC422:
.string "CLL"
.align 3
.LC423:
.string "NCL"
.align 3
.LC424:
.string "LFN"
.align 3
.LC425:
.string "NLF"
.align 3
.LC426:
.string "LLL"
.align 3
.LC427:
.string "NLL"
.align 3
.LC428:
.string "GAS"
.align 3
.LC429:
.string "NOG"
.align 3
.LC430:
.string "REL"
.align 3
.LC431:
.string "NOR"
.align 3
.LC432:
.string "H63"
.align 3
.LC433:
.string "H09"
.align 3
.LC434:
.string "M68"
.align 3
.LC435:
.string "M09"
.align 3
.LC436:
.string "M00"
.align 3
.LC437:
.string "M02"
.align 3
.LC438:
.string "M08"
.align 3
.LC439:
.string "M01"
.align 3
.LC440:
.string "M03"
.align 3
.LC441:
.string "H01"
.align 3
.LC442:
.string "H03"
.align 3
.LC443:
.string "H11"
.align 3
.LC444:
.string "TXT"
.align 3
.LC445:
.string "NTX"
.align 3
.LC446:
.string "LIS"
.align 3
.LC447:
.string "NOL"
.align 3
.LC448:
.string "LPA"
.align 3
.LC449:
.string "NLP"
.align 3
.LC450:
.string "DLM"
.align 3
.LC451:
.string "NDL"
.align 3
.LC452:
.string "RED"
.align 3
.LC453:
.string "NRD"
.align 3
.LC454:
.string "FBG"
.align 3
.LC455:
.string "NFB"
.section .data.rel.local
.align 3
.type Options, %object
.size Options, 1392
Options:
.xword .LC256
.xword 32
.xword 0
.xword .LC244
.xword 0
.xword 32
.xword .LC401
.xword 64
.xword 0
.xword .LC402
.xword 0
.xword 64
.xword .LC403
.xword 128
.xword 0
.xword .LC404
.xword 0
.xword 128
.xword .LC405
.xword 256
.xword 0
.xword .LC406
.xword 0
.xword 256
.xword .LC407
.xword 512
.xword 0
.xword .LC408
.xword 0
.xword 512
.xword .LC236
.xword 1024
.xword 0
.xword .LC409
.xword 0
.xword 1024
.xword .LC410
.xword 2048
.xword 0
.xword .LC411
.xword 0
.xword 2048
.xword .LC412
.xword 4096
.xword 0
.xword .LC413
.xword 0
.xword 4096
.xword .LC414
.xword 8192
.xword 0
.xword .LC415
.xword 0
.xword 8192
.xword .LC416
.xword 16384
.xword 0
.xword .LC417
.xword 0
.xword 16384
.xword .LC418
.xword 32768
.xword 0
.xword .LC419
.xword 0
.xword 32768
.xword .LC420
.xword 65536
.xword 0
.xword .LC421
.xword 0
.xword 65536
.xword .LC422
.xword 131072
.xword 0
.xword .LC423
.xword 0
.xword 131072
.xword .LC424
.xword 262144
.xword 0
.xword .LC425
.xword 0
.xword 262144
.xword .LC426
.xword 524288
.xword 0
.xword .LC427
.xword 0
.xword 524288
.xword .LC428
.xword 1048576
.xword 0
.xword .LC429
.xword 0
.xword 1048576
.xword .LC430
.xword 2097152
.xword 0
.xword .LC431
.xword 0
.xword 2097152
.xword .LC432
.xword 2
.xword 67108893
.xword .LC433
.xword 2
.xword 67108893
.xword .LC434
.xword 1
.xword 67108894
.xword .LC435
.xword 1
.xword 67108894
.xword .LC436
.xword 4
.xword 67108891
.xword .LC437
.xword 4
.xword 67108891
.xword .LC438
.xword 4
.xword 67108891
.xword .LC439
.xword 8
.xword 67108887
.xword .LC440
.xword 8
.xword 67108887
.xword .LC441
.xword 16
.xword 67108879
.xword .LC442
.xword 16
.xword 67108879
.xword .LC443
.xword 67108864
.xword 31
.xword .LC444
.xword 4194304
.xword 0
.xword .LC445
.xword 0
.xword 4194304
.xword .LC446
.xword 8388608
.xword 0
.xword .LC447
.xword 0
.xword 8388608
.xword .LC448
.xword 17301760
.xword 139264
.xword .LC449
.xword 0
.xword 16777216
.xword .LC450
.xword 33554432
.xword 0
.xword .LC451
.xword 0
.xword 33554432
.xword .LC452
.xword 134217728
.xword 0
.xword .LC453
.xword 0
.xword 134217728
.xword .LC454
.xword 268435456
.xword 0
.xword .LC455
.xword 0
.xword 268435456
.global dwOptions
.data
.align 3
.type dwOptions, %object
.size dwOptions, 8
dwOptions:
.xword 279647873
.global errormsg
.section .rodata
.align 3
.LC456:
.string "Error in expression"
.align 3
.LC457:
.string "Illegal addressing mode"
.align 3
.LC458:
.string "Undefined label"
.align 3
.LC459:
.string "Multiple definitions of label"
.align 3
.LC460:
.string "Relative branch out of range"
.align 3
.LC461:
.string "Missing label"
.align 3
.LC462:
.string "Unknown option specified"
.align 3
.LC463:
.string "Out of memory"
.align 3
.LC464:
.string "Nesting not allowed"
.align 3
.LC465:
.string "Illegal for current relocation mode"
.align 3
.LC466:
.string ""
.align 3
.LC467:
.string "Illegal mnemonic"
.section .data.rel.local
.align 3
.type errormsg, %object
.size errormsg, 128
errormsg:
.xword .LC456
.xword .LC457
.xword .LC458
.xword .LC459
.xword .LC460
.xword .LC461
.xword .LC462
.xword .LC463
.xword .LC464
.xword .LC465
.xword .LC466
.xword .LC466
.xword .LC466
.xword .LC466
.xword 0
.xword .LC467
.global warningmsg
.section .rodata
.align 3
.LC468:
.string "Long branch within short branch range could be optimized"
.align 3
.LC469:
.string "Symbolic text undefined"
.align 3
.LC470:
.string "Area already in use"
.align 3
.LC471:
.string "Ambiguous 6800 alternate notation"
.align 3
.LC472:
.string "Forced address truncated"
.align 3
.LC473:
.string "Immediate value truncated"
.align 3
.LC474:
.string "Illogical forcing ignored"
.section .data.rel.local
.align 3
.type warningmsg, %object
.size warningmsg, 128
warningmsg:
.xword .LC468
.xword .LC469
.xword .LC470
.xword .LC471
.xword .LC472
.xword .LC473
.xword .LC474
.xword .LC466
.xword .LC466
.xword .LC466
.xword .LC466
.xword .LC466
.xword .LC466
.xword .LC466
.xword 0
.xword .LC466
.global listing
.bss
.type listing, %object
.size listing, 1
listing:
.zero 1
.global listfile
.align 3
.type listfile, %object
.size listfile, 8
listfile:
.zero 8
.global objfile
.align 3
.type objfile, %object
.size objfile, 8
objfile:
.zero 8
.global listname
.align 3
.type listname, %object
.size listname, 257
listname:
.zero 257
.global objname
.align 3
.type objname, %object
.size objname, 257
objname:
.zero 257
.global srcname
.align 3
.type srcname, %object
.size srcname, 257
srcname:
.zero 257
.global optable
.section .data.rel.local
.align 3
.type optable, %object
.size optable, 8
optable:
.xword optable09
.global optablesize
.data
.align 2
.type optablesize, %object
.size optablesize, 4
optablesize:
.word 368
.global regtable
.section .data.rel.local
.align 3
.type regtable, %object
.size regtable, 8
regtable:
.xword regtable09
.global bitregtable
.align 3
.type bitregtable, %object
.size bitregtable, 8
bitregtable:
.xword bitregtable09
.global bitregtablesize
.data
.align 2
.type bitregtablesize, %object
.size bitregtablesize, 4
bitregtablesize:
.word 3
.global scanoperands
.section .data.rel.local
.align 3
.type scanoperands, %object
.size scanoperands, 8
scanoperands:
.xword scanoperands09
.global pass
.bss
.type pass, %object
.size pass, 1
pass:
.zero 1
.global relocatable
.type relocatable, %object
.size relocatable, 1
relocatable:
.zero 1
.global absmode
.data
.type absmode, %object
.size absmode, 1
absmode:
.byte 1
.global global
.bss
.align 3
.type global, %object
.size global, 8
global:
.zero 8
.global common
.align 3
.type common, %object
.size common, 8
common:
.zero 8
.global rmbfillchr
.type rmbfillchr, %object
.size rmbfillchr, 1
rmbfillchr:
.zero 1
.global commonsym
.align 3
.type commonsym, %object
.size commonsym, 8
commonsym:
.zero 8
.global terminate
.type terminate, %object
.size terminate, 1
terminate:
.zero 1
.global generating
.type generating, %object
.size generating, 1
generating:
.zero 1
.global loccounter
.align 1
.type loccounter, %object
.size loccounter, 2
loccounter:
.zero 2
.global oldlc
.align 1
.type oldlc, %object
.size oldlc, 2
oldlc:
.zero 2
.global phase
.align 2
.type phase, %object
.size phase, 4
phase:
.zero 4
.global inpline
.align 3
.type inpline, %object
.size inpline, 1024
inpline:
.zero 1024
.global srcline
.align 3
.type srcline, %object
.size srcline, 1024
srcline:
.zero 1024
.global srcptr
.align 3
.type srcptr, %object
.size srcptr, 8
srcptr:
.zero 8
.global unknown
.type unknown, %object
.size unknown, 1
unknown:
.zero 1
.global certain
.type certain, %object
.size certain, 1
certain:
.zero 1
.global error
.align 3
.type error, %object
.size error, 8
error:
.zero 8
.global errors
.align 3
.type errors, %object
.size errors, 8
errors:
.zero 8
.global warning
.align 3
.type warning, %object
.size warning, 8
warning:
.zero 8
.global warnings
.align 3
.type warnings, %object
.size warnings, 8
warnings:
.zero 8
.global nTotErrors
.align 3
.type nTotErrors, %object
.size nTotErrors, 8
nTotErrors:
.zero 8
.global nTotWarnings
.align 3
.type nTotWarnings, %object
.size nTotWarnings, 8
nTotWarnings:
.zero 8
.global exprcat
.type exprcat, %object
.size exprcat, 1
exprcat:
.zero 1
.global maxidlen
.data
.align 2
.type maxidlen, %object
.size maxidlen, 4
maxidlen:
.word 32
.global modulename
.bss
.align 3
.type modulename, %object
.size modulename, 33
modulename:
.zero 33
.global namebuf
.align 3
.type namebuf, %object
.size namebuf, 33
namebuf:
.zero 33
.global unamebuf
.align 3
.type unamebuf, %object
.size unamebuf, 33
unamebuf:
.zero 33
.global mode
.type mode, %object
.size mode, 1
mode:
.zero 1
.global opsize
.type opsize, %object
.size opsize, 1
opsize:
.zero 1
.global operand
.align 3
.type operand, %object
.size operand, 8
operand:
.zero 8
.global postbyte
.type postbyte, %object
.size postbyte, 1
postbyte:
.zero 1
.global dpsetting
.align 3
.type dpsetting, %object
.size dpsetting, 8
dpsetting:
.zero 8
.global codebuf
.align 3
.type codebuf, %object
.size codebuf, 256
codebuf:
.zero 256
.global codeptr
.align 2
.type codeptr, %object
.size codeptr, 4
codeptr:
.zero 4
.global suppress
.align 2
.type suppress, %object
.size suppress, 4
suppress:
.zero 4
.global condline
.type condline, %object
.size condline, 1
condline:
.zero 1
.global ifcount
.align 2
.type ifcount, %object
.size ifcount, 4
ifcount:
.zero 4
.global outmode
.align 2
.type outmode, %object
.size outmode, 4
outmode:
.zero 4
.global hexaddr
.align 1
.type hexaddr, %object
.size hexaddr, 2
hexaddr:
.zero 2
.global hexcount
.align 2
.type hexcount, %object
.size hexcount, 4
hexcount:
.zero 4
.global hexbuffer
.align 3
.type hexbuffer, %object
.size hexbuffer, 256
hexbuffer:
.zero 256
.global chksum
.align 2
.type chksum, %object
.size chksum, 4
chksum:
.zero 4
.global nRepNext
.align 2
.type nRepNext, %object
.size nRepNext, 4
nRepNext:
.zero 4
.global nSkipCount
.align 2
.type nSkipCount, %object
.size nSkipCount, 4
nSkipCount:
.zero 4
.global tfradr
.align 1
.type tfradr, %object
.size tfradr, 2
tfradr:
.zero 2
.global tfradrset
.align 2
.type tfradrset, %object
.size tfradrset, 4
tfradrset:
.zero 4
.global nCurLine
.align 2
.type nCurLine, %object
.size nCurLine, 4
nCurLine:
.zero 4
.global nCurCol
.align 2
.type nCurCol, %object
.size nCurCol, 4
nCurCol:
.zero 4
.global nCurPage
.align 2
.type nCurPage, %object
.size nCurPage, 4
nCurPage:
.zero 4
.global nLinesPerPage
.data
.align 2
.type nLinesPerPage, %object
.size nLinesPerPage, 4
nLinesPerPage:
.word 66
.global nColsPerLine
.align 2
.type nColsPerLine, %object
.size nColsPerLine, 4
nColsPerLine:
.word 80
.global szTitle
.bss
.align 3
.type szTitle, %object
.size szTitle, 128
szTitle:
.zero 128
.global szSubtitle
.align 3
.type szSubtitle, %object
.size szSubtitle, 128
szSubtitle:
.zero 128
.global szBuf1
.align 3
.type szBuf1, %object
.size szBuf1, 1024
szBuf1:
.zero 1024
.global szBuf2
.align 3
.type szBuf2, %object
.size szBuf2, 1024
szBuf2:
.zero 1024
.global macros
.align 3
.type macros, %object
.size macros, 8192
macros:
.zero 8192
.global nMacros
.align 2
.type nMacros, %object
.size nMacros, 4
nMacros:
.zero 4
.global inMacro
.align 2
.type inMacro, %object
.size inMacro, 4
inMacro:
.zero 4
.global lvlMacro
.align 2
.type lvlMacro, %object
.size lvlMacro, 4
lvlMacro:
.zero 4
.global texts
.align 3
.type texts, %object
.size texts, 8192
texts:
.zero 8192
.global nPredefinedTexts
.align 2
.type nPredefinedTexts, %object
.size nPredefinedTexts, 4
nPredefinedTexts:
.zero 4
.global nTexts
.align 2
.type nTexts, %object
.size nTexts, 4
nTexts:
.zero 4
.global bUsedBytes
.align 3
.type bUsedBytes, %object
.size bUsedBytes, 8192
bUsedBytes:
.zero 8192
.text
.align 2
.global allocline
.type allocline, %function
allocline:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
strb w3, [sp, 27]
str x4, [sp, 16]
ldr x0, [sp, 16]
bl strlen
add x0, x0, 40
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L2
mov x0, 0
b .L3
.L2:
ldr x0, [sp, 40]
cmp x0, 0
beq .L4
ldr x0, [sp, 40]
ldr x0, [x0]
b .L5
.L4:
mov x0, 0
.L5:
ldr x1, [sp, 56]
str x0, [x1]
ldr x0, [sp, 56]
ldr x1, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
cmp x0, 0
beq .L6
ldr x0, [sp, 40]
ldr x1, [sp, 56]
str x1, [x0]
.L6:
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
beq .L7
ldr x0, [sp, 56]
ldr x0, [x0]
ldr x1, [sp, 56]
str x1, [x0, 8]
.L7:
ldr x0, [sp, 56]
ldrb w1, [sp, 27]
strb w1, [x0, 32]
ldr x0, [sp, 56]
ldr x1, [sp, 32]
str x1, [x0, 16]
ldrsw x1, [sp, 28]
ldr x0, [sp, 56]
str x1, [x0, 24]
ldr x0, [sp, 56]
mov w1, 32
strb w1, [x0, 33]
ldr x0, [sp, 56]
add x0, x0, 34
ldr x1, [sp, 16]
bl strcpy
ldr x0, [sp, 56]
.L3:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size allocline, .-allocline
.align 2
.global expandfn
.type expandfn, %function
expandfn:
.LFB7:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size expandfn, .-expandfn
.section .rodata
.align 3
.LC475:
.string "\n\n%-32.32s "
.align 3
.LC476:
.string "%04d-%02d-%02d "
.align 3
.LC477:
.string "A09 %d Assembler V1.50 Page %d\n"
.align 3
.LC478:
.string "%-.79s\n\n"
.text
.align 2
.global PageFeed
.type PageFeed, %function
PageFeed:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 24
bl time
add x0, sp, 24
bl localtime
str x0, [sp, 32]
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x0, [x0]
mov x1, x0
mov w0, 12
bl fputc
adrp x0, nCurPage
add x0, x0, :lo12:nCurPage
ldr w0, [x0]
add w1, w0, 1
adrp x0, nCurPage
add x0, x0, :lo12:nCurPage
str w1, [x0]
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x3, [x0]
adrp x0, szTitle
add x2, x0, :lo12:szTitle
adrp x0, .LC475
add x1, x0, :lo12:.LC475
mov x0, x3
bl fprintf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 4096
cmp x0, 0
beq .L11
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x5, [x0]
ldr x0, [sp, 32]
ldr w0, [x0, 20]
add w1, w0, 1900
ldr x0, [sp, 32]
ldr w0, [x0, 16]
add w2, w0, 1
ldr x0, [sp, 32]
ldr w0, [x0, 12]
mov w4, w0
mov w3, w2
mov w2, w1
adrp x0, .LC476
add x1, x0, :lo12:.LC476
mov x0, x5
bl fprintf
.L11:
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x4, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2
cmp x0, 0
bne .L12
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 4
cmp x0, 0
bne .L13
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 8
cmp x0, 0
bne .L14
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16
cmp x0, 0
beq .L15
mov w0, 6301
b .L19
.L15:
mov w0, 6809
b .L19
.L14:
mov w0, 6801
b .L19
.L13:
mov w0, 6800
b .L19
.L12:
mov w0, 6309
.L19:
adrp x1, nCurPage
add x1, x1, :lo12:nCurPage
ldr w1, [x1]
mov w3, w1
mov w2, w0
adrp x0, .LC477
add x1, x0, :lo12:.LC477
mov x0, x4
bl fprintf
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x3, [x0]
adrp x0, szSubtitle
add x2, x0, :lo12:szSubtitle
adrp x0, .LC478
add x1, x0, :lo12:.LC478
mov x0, x3
bl fprintf
adrp x0, nCurLine
add x0, x0, :lo12:nCurLine
mov w1, 5
str w1, [x0]
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
str wzr, [x0]
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L20
bl __stack_chk_fail
.L20:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size PageFeed, .-PageFeed
.section .rodata
.align 3
.LC479:
.string "\n"
.text
.align 2
.global putlist
.type putlist, %function
putlist:
.LFB9:
.cfi_startproc
sub sp, sp, #1344
.cfi_def_cfa_offset 1344
stp x29, x30, [sp]
.cfi_offset 29, -1344
.cfi_offset 30, -1336
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 1288]
str x2, [sp, 1296]
str x3, [sp, 1304]
str x4, [sp, 1312]
str x5, [sp, 1320]
str x6, [sp, 1328]
str x7, [sp, 1336]
add x0, sp, 1024
str q0, [x0, 128]
add x0, sp, 1024
str q1, [x0, 144]
add x0, sp, 1024
str q2, [x0, 160]
add x0, sp, 1024
str q3, [x0, 176]
add x0, sp, 1024
str q4, [x0, 192]
add x0, sp, 1024
str q5, [x0, 208]
add x0, sp, 1024
str q6, [x0, 224]
add x0, sp, 1024
str q7, [x0, 240]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1144]
mov x1, 0
add x0, sp, 1344
str x0, [sp, 88]
add x0, sp, 1344
str x0, [sp, 96]
add x0, sp, 1280
str x0, [sp, 104]
mov w0, -56
str w0, [sp, 112]
mov w0, -128
str w0, [sp, 116]
add x0, sp, 16
add x1, sp, 88
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x1, sp, 16
add x0, sp, 120
mov x2, x1
ldr x1, [sp, 56]
bl vsprintf
add x0, sp, 120
str x0, [sp, 80]
b .L22
.L29:
ldr x0, [sp, 80]
ldrb w0, [x0]
mov w2, w0
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
ldr x0, [sp, 80]
ldrb w0, [x0]
cmp w0, 10
bne .L23
adrp x0, nCurLine
add x0, x0, :lo12:nCurLine
ldr w0, [x0]
add w1, w0, 1
adrp x0, nCurLine
add x0, x0, :lo12:nCurLine
str w1, [x0]
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
str wzr, [x0]
adrp x0, nCurLine
add x0, x0, :lo12:nCurLine
ldr w1, [x0]
adrp x0, nLinesPerPage
add x0, x0, :lo12:nLinesPerPage
ldr w0, [x0]
cmp w1, w0
blt .L24
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32
cmp x0, 0
beq .L24
bl PageFeed
b .L24
.L23:
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
ldr w0, [x0]
add w1, w0, 1
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
str w1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 131072
cmp x0, 0
beq .L24
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
ldr w1, [x0]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w1, w0, 3
cmp w0, 0
csel w0, w1, w0, lt
asr w0, w0, 2
mov w1, w0
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
ldr w0, [x0]
cmp w1, w0
bgt .L25
ldr x0, [sp, 80]
ldrb w0, [x0]
cmp w0, 32
bne .L25
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
ldr w0, [x0]
add w0, w0, 1
str w0, [sp, 76]
b .L26
.L28:
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
ldr w0, [x0]
ldr w1, [sp, 76]
sub w0, w1, w0
sxtw x0, w0
ldr x1, [sp, 80]
add x0, x1, x0
ldrb w0, [x0]
strb w0, [sp, 75]
ldrb w0, [sp, 75]
cmp w0, 9
beq .L27
ldrb w0, [sp, 75]
cmp w0, 32
beq .L27
ldrb w0, [sp, 75]
cmp w0, 0
beq .L27
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L26:
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
ldr w0, [x0]
ldr w1, [sp, 76]
cmp w1, w0
blt .L28
.L27:
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
ldr w0, [x0]
ldr w1, [sp, 76]
cmp w1, w0
blt .L25
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
ldr w1, [x0]
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
str w1, [x0]
.L25:
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
ldr w1, [x0]
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
ldr w0, [x0]
cmp w1, w0
blt .L24
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
adrp x0, nCurCol
add x0, x0, :lo12:nCurCol
str wzr, [x0]
.L24:
ldr x0, [sp, 80]
add x0, x0, 1
str x0, [sp, 80]
.L22:
ldr x0, [sp, 80]
ldrb w0, [x0]
cmp w0, 0
bne .L29
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1144]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L30
bl __stack_chk_fail
.L30:
ldp x29, x30, [sp]
add sp, sp, 1344
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size putlist, .-putlist
.align 2
.global findop
.type findop, %function
findop:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str wzr, [sp, 32]
adrp x0, optablesize
add x0, x0, :lo12:optablesize
ldr w0, [x0]
sub w0, w0, #1
str w0, [sp, 36]
.L36:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
add w0, w1, w0
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 40]
adrp x0, optable
add x0, x0, :lo12:optable
ldr x2, [x0]
ldrsw x1, [sp, 40]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x0, [x0]
ldr x1, [sp, 24]
bl strcmp
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bge .L32
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 32]
b .L33
.L32:
ldr w0, [sp, 44]
cmp w0, 0
ble .L39
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 36]
.L33:
ldr w1, [sp, 36]
ldr w0, [sp, 32]
cmp w1, w0
bge .L36
b .L35
.L39:
nop
.L35:
ldr w0, [sp, 44]
cmp w0, 0
beq .L37
mov x0, 0
b .L38
.L37:
adrp x0, optable
add x0, x0, :lo12:optable
ldr x2, [x0]
ldrsw x1, [sp, 40]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
.L38:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size findop, .-findop
.section .rodata
.align 3
.LC480:
.string "%s(%ld): error 25: out of local symbol storage\n"
.align 3
.LC481:
.string "*** Error 25: out of local symbol storage\n"
.text
.align 2
.global findlocal
.type findlocal, %function
findlocal:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
strb w1, [sp, 23]
str w2, [sp, 16]
ldr x0, [sp, 24]
cmp x0, 0
beq .L41
ldr w0, [sp, 16]
cmp w0, 0
bne .L42
ldr x0, [sp, 24]
ldrb w0, [x0, 33]
cmp w0, 38
bne .L42
.L41:
ldr x0, [sp, 24]
b .L43
.L42:
str wzr, [sp, 44]
adrp x0, lclcounter
add x0, x0, :lo12:lclcounter
ldr x0, [x0]
sub w0, w0, #1
str w0, [sp, 48]
mov w0, 1
str w0, [sp, 60]
str wzr, [sp, 52]
b .L44
.L58:
ldr w1, [sp, 44]
ldr w0, [sp, 48]
add w0, w1, w0
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 52]
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
sub w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L45
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 44]
b .L44
.L45:
ldr w0, [sp, 60]
cmp w0, 0
ble .L47
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 48]
b .L44
.L49:
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 52]
.L47:
ldr w0, [sp, 52]
cmp w0, 0
beq .L50
ldr w0, [sp, 52]
sub w1, w0, #1
adrp x0, lcltable
add x2, x0, :lo12:lcltable
sxtw x1, w1
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w1, [x0, 34]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
cmp w1, w0
beq .L49
b .L50
.L54:
ldr x2, [sp, 24]
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, lcltable
add x1, x1, :lo12:lcltable
add x0, x0, x1
mov x1, x0
mov x0, x2
bl strcmp
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bgt .L51
ldr w0, [sp, 60]
cmp w0, 0
beq .L81
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 52]
b .L81
.L51:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L50:
ldrsw x1, [sp, 52]
adrp x0, lclcounter
add x0, x0, :lo12:lclcounter
ldr x0, [x0]
cmp x1, x0
bge .L53
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w1, [x0, 34]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
cmp w1, w0
beq .L54
b .L53
.L81:
nop
.L53:
ldr w0, [sp, 60]
cmp w0, 0
beq .L82
ldrsw x1, [sp, 52]
adrp x0, lclcounter
add x0, x0, :lo12:lclcounter
ldr x0, [x0]
cmp x1, x0
blt .L56
mov w0, 1
str w0, [sp, 60]
b .L82
.L56:
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
sub w0, w1, w0
str w0, [sp, 60]
b .L82
.L44:
ldr w1, [sp, 48]
ldr w0, [sp, 44]
cmp w1, w0
bge .L58
b .L57
.L82:
nop
.L57:
ldr w0, [sp, 16]
cmp w0, 0
beq .L59
ldr w0, [sp, 60]
cmp w0, 0
bne .L60
ldr x2, [sp, 24]
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, lcltable
add x1, x1, :lo12:lcltable
add x0, x0, x1
mov x1, x0
mov x0, x2
bl strcmp
cmp w0, 0
beq .L61
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L61:
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x1, x0
adrp x0, lcltable
add x0, x0, :lo12:lcltable
add x0, x1, x0
b .L43
.L60:
ldr w0, [sp, 60]
cmp w0, 0
bge .L62
ldr w0, [sp, 52]
add w0, w0, 1
b .L63
.L62:
ldr w0, [sp, 52]
.L63:
str w0, [sp, 52]
adrp x0, lclcounter
add x0, x0, :lo12:lclcounter
ldr x0, [x0]
cmp x0, 8192
bne .L64
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0, 16]
bl expandfn
mov x1, x0
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0, 24]
mov x2, x0
adrp x0, .LC480
add x0, x0, :lo12:.LC480
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L65
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L66
.L65:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L66
adrp x0, .LC481
add x0, x0, :lo12:.LC481
bl putlist
.L66:
mov w0, 4
bl exit
.L64:
ldr x0, [sp, 24]
mov w1, 34
strb w1, [x0, 33]
adrp x0, lclcounter
add x0, x0, :lo12:lclcounter
ldr x0, [x0]
str w0, [sp, 56]
b .L67
.L68:
ldr w0, [sp, 56]
sub w4, w0, #1
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x3, x2, x0
adrp x0, lcltable
add x2, x0, :lo12:lcltable
sxtw x1, w4
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x1, x2, x0
mov x0, x3
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 32]
str q0, [x0, 32]
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 56]
.L67:
ldr w1, [sp, 56]
ldr w0, [sp, 52]
cmp w1, w0
bgt .L68
adrp x0, lclcounter
add x0, x0, :lo12:lclcounter
ldr x0, [x0]
add x1, x0, 1
adrp x0, lclcounter
add x0, x0, :lo12:lclcounter
str x1, [x0]
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, lcltable
add x1, x1, :lo12:lcltable
add x0, x0, x1
ldr x1, [sp, 24]
bl strcpy
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
mov w1, 34
strb w1, [x0, 33]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w3, [x0]
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
mov w1, w3
strh w1, [x0, 34]
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
str xzr, [x0, 40]
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x1, x0
adrp x0, lcltable
add x0, x0, :lo12:lcltable
add x0, x1, x0
b .L43
.L59:
ldrb w0, [sp, 23]
cmp w0, 0
beq .L69
ldr w0, [sp, 60]
cmp w0, 0
bge .L70
ldr w0, [sp, 52]
sub w0, w0, #1
b .L71
.L70:
ldr w0, [sp, 52]
.L71:
str w0, [sp, 52]
b .L72
.L74:
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, lcltable
add x1, x1, :lo12:lcltable
add x0, x0, x1
ldr x1, [sp, 24]
bl strcmp
cmp w0, 0
bne .L73
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w1, [x0, 34]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
cmp w1, w0
bls .L73
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x1, x0
adrp x0, lcltable
add x0, x0, :lo12:lcltable
add x0, x1, x0
b .L43
.L73:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L72:
ldrsw x1, [sp, 52]
adrp x0, lclcounter
add x0, x0, :lo12:lclcounter
ldr x0, [x0]
cmp x1, x0
blt .L74
b .L75
.L69:
ldr w0, [sp, 60]
cmp w0, 0
ble .L76
ldr w0, [sp, 52]
add w0, w0, 1
b .L77
.L76:
ldr w0, [sp, 52]
.L77:
str w0, [sp, 52]
b .L78
.L80:
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, lcltable
add x1, x1, :lo12:lcltable
add x0, x0, x1
ldr x1, [sp, 24]
bl strcmp
cmp w0, 0
bne .L79
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w1, [x0, 34]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
cmp w1, w0
bhi .L79
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x1, x0
adrp x0, lcltable
add x0, x0, :lo12:lcltable
add x0, x1, x0
b .L43
.L79:
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 52]
.L78:
ldr w0, [sp, 52]
cmp w0, 0
bge .L80
.L75:
adrp x0, empty.2
add x0, x0, :lo12:empty.2
.L43:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size findlocal, .-findlocal
.section .rodata
.align 3
.LC482:
.string "%s(%ld): error 23: out of symbol storage\n"
.align 3
.LC483:
.string "*** Error 23: out of symbol storage\n"
.text
.align 2
.global findsym
.type findsym, %function
findsym:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
strb wzr, [sp, 42]
strb wzr, [sp, 43]
stp xzr, xzr, [sp, 64]
stp xzr, xzr, [sp, 80]
strb wzr, [sp, 96]
ldr x0, [sp, 24]
cmp x0, 0
beq .L84
ldr x0, [sp, 24]
b .L85
.L84:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L85:
add x3, sp, 64
mov x2, 32
mov x1, x0
mov x0, x3
bl strncpy
str wzr, [sp, 52]
b .L86
.L88:
ldrsw x0, [sp, 52]
add x1, sp, 64
ldrb w0, [x1, x0]
cmp w0, 47
bls .L87
ldrsw x0, [sp, 52]
add x1, sp, 64
ldrb w0, [x1, x0]
cmp w0, 57
bhi .L87
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L86:
ldrsw x0, [sp, 52]
add x1, sp, 64
ldrb w0, [x1, x0]
cmp w0, 0
bne .L88
.L87:
ldr w0, [sp, 52]
cmp w0, 0
beq .L89
ldrsw x0, [sp, 52]
add x1, sp, 64
ldrb w0, [x1, x0]
cmp w0, 0
bne .L90
mov w0, 1
strb w0, [sp, 42]
b .L89
.L90:
ldrsw x0, [sp, 52]
add x1, sp, 64
ldrb w0, [x1, x0]
bl toupper
cmp w0, 66
beq .L91
cmp w0, 70
beq .L92
b .L93
.L91:
mov w0, 2
strb w0, [sp, 42]
strb wzr, [sp, 43]
b .L93
.L92:
mov w0, 2
strb w0, [sp, 42]
mov w0, 1
strb w0, [sp, 43]
nop
.L93:
ldrb w0, [sp, 42]
cmp w0, 0
beq .L94
ldr w0, [sp, 52]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 64
ldrb w0, [x1, x0]
cmp w0, 0
beq .L94
strb wzr, [sp, 42]
b .L89
.L94:
ldrsw x0, [sp, 52]
add x1, sp, 64
strb wzr, [x1, x0]
.L89:
str wzr, [sp, 44]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
sub w0, w0, #1
str w0, [sp, 48]
mov w0, 1
str w0, [sp, 60]
str wzr, [sp, 52]
b .L95
.L99:
ldr w1, [sp, 44]
ldr w0, [sp, 48]
add w0, w1, w0
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 52]
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, symtable
add x1, x1, :lo12:symtable
add x0, x0, x1
add x1, sp, 64
bl strcmp
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L96
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 44]
b .L95
.L96:
ldr w0, [sp, 60]
cmp w0, 0
ble .L119
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 48]
.L95:
ldr w1, [sp, 48]
ldr w0, [sp, 44]
cmp w1, w0
bge .L99
b .L98
.L119:
nop
.L98:
ldr w0, [sp, 60]
cmp w0, 0
beq .L100
ldr w0, [sp, 20]
cmp w0, 0
bne .L101
mov x0, 0
b .L117
.L101:
ldr w0, [sp, 60]
cmp w0, 0
bge .L103
ldr w0, [sp, 52]
add w0, w0, 1
b .L104
.L103:
ldr w0, [sp, 52]
.L104:
str w0, [sp, 52]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
cmp x0, 8192
bne .L105
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0, 16]
bl expandfn
mov x1, x0
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0, 24]
mov x2, x0
adrp x0, .LC482
add x0, x0, :lo12:.LC482
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L106
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L107
.L106:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L107
adrp x0, .LC483
add x0, x0, :lo12:.LC483
bl putlist
.L107:
mov w0, 4
bl exit
.L105:
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x1, x0
adrp x0, symtable
add x0, x0, :lo12:symtable
add x1, x1, x0
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x0, [x0]
cmp x1, x0
bhi .L108
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x0, [x0]
add x1, x0, 48
adrp x0, commonsym
add x0, x0, :lo12:commonsym
str x1, [x0]
.L108:
str wzr, [sp, 56]
b .L109
.L111:
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldr x2, [x0, 40]
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x1, x0
adrp x0, symtable
add x0, x0, :lo12:symtable
add x0, x1, x0
cmp x2, x0
bcc .L110
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldr x0, [x0, 40]
add x2, x0, 48
adrp x0, symtable
add x3, x0, :lo12:symtable
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x3, x0
str x2, [x0, 40]
.L110:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L109:
ldrsw x1, [sp, 56]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
cmp x1, x0
blt .L111
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
str w0, [sp, 56]
b .L112
.L113:
ldr w0, [sp, 56]
sub w4, w0, #1
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x3, x2, x0
adrp x0, symtable
add x2, x0, :lo12:symtable
sxtw x1, w4
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x1, x2, x0
mov x0, x3
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 32]
str q0, [x0, 32]
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 56]
.L112:
ldr w1, [sp, 56]
ldr w0, [sp, 52]
cmp w1, w0
bgt .L113
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
add x1, x0, 1
adrp x0, symcounter
add x0, x0, :lo12:symcounter
str x1, [x0]
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, symtable
add x1, x1, :lo12:symtable
add x0, x0, x1
add x1, sp, 64
bl strcpy
ldrb w0, [sp, 42]
cmp w0, 0
beq .L114
mov w1, 38
b .L115
.L114:
mov w1, 13
.L115:
adrp x0, symtable
add x3, x0, :lo12:symtable
ldrsw x2, [sp, 52]
mov x0, x2
lsl x0, x0, 1
add x0, x0, x2
lsl x0, x0, 4
add x0, x3, x0
strb w1, [x0, 33]
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
strh wzr, [x0, 34]
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
str xzr, [x0, 40]
.L100:
ldrb w0, [sp, 42]
cmp w0, 0
beq .L116
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x1, x0
adrp x0, symtable
add x0, x0, :lo12:symtable
add x3, x1, x0
ldrb w0, [sp, 42]
cmp w0, 1
cset w0, ls
and w0, w0, 255
mov w2, w0
ldrb w1, [sp, 43]
mov x0, x3
bl findlocal
b .L117
.L116:
ldrsw x1, [sp, 52]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x1, x0
adrp x0, symtable
add x0, x0, :lo12:symtable
add x0, x1, x0
.L117:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 104]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L118
bl __stack_chk_fail
.L118:
mov x0, x1
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size findsym, .-findsym
.align 2
.global findsymat
.type findsymat, %function
findsymat:
.LFB13:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
strh w0, [sp, 14]
str wzr, [sp, 28]
b .L121
.L125:
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 13
beq .L122
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 15
beq .L126
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
ldrh w1, [sp, 14]
cmp w1, w0
bne .L122
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, symtable
add x1, x1, :lo12:symtable
add x0, x0, x1
b .L124
.L126:
nop
.L122:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L121:
ldrsw x1, [sp, 28]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
cmp x1, x0
blt .L125
mov x0, 0
.L124:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size findsymat, .-findsymat
.align 2
.global isValidNameChar
.type isValidNameChar, %function
isValidNameChar:
.LFB14:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, 15]
strb w1, [sp, 14]
ldrb w0, [sp, 14]
cmp w0, 0
beq .L128
ldrb w0, [sp, 15]
cmp w0, 64
bls .L129
ldrb w0, [sp, 15]
cmp w0, 90
bls .L130
.L129:
ldrb w0, [sp, 15]
cmp w0, 96
bls .L131
ldrb w0, [sp, 15]
cmp w0, 122
bls .L130
.L131:
ldrb w0, [sp, 15]
cmp w0, 47
bls .L132
ldrb w0, [sp, 15]
cmp w0, 57
bhi .L132
.L130:
mov w0, 1
b .L133
.L132:
ldrb w0, [sp, 14]
cmp w0, 1
bne .L134
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
beq .L134
mov w0, 0
b .L133
.L134:
ldrb w0, [sp, 15]
cmp w0, 46
beq .L135
ldrb w0, [sp, 15]
cmp w0, 95
bne .L136
.L135:
mov w0, 1
b .L133
.L136:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 1048576
cmp x0, 0
beq .L137
ldrb w0, [sp, 15]
cmp w0, 36
bne .L137
mov w0, 1
b .L133
.L137:
ldrb w0, [sp, 14]
cmp w0, 1
bne .L128
mov w0, 0
b .L133
.L128:
ldrb w0, [sp, 15]
cmp w0, 47
bls .L138
ldrb w0, [sp, 15]
cmp w0, 57
bls .L139
.L138:
ldrb w0, [sp, 15]
cmp w0, 64
bls .L140
ldrb w0, [sp, 15]
cmp w0, 90
bls .L139
.L140:
ldrb w0, [sp, 15]
cmp w0, 96
bls .L141
ldrb w0, [sp, 15]
cmp w0, 122
bls .L139
.L141:
ldrb w0, [sp, 15]
cmp w0, 95
bne .L142
.L139:
mov w0, 1
b .L133
.L142:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 1048576
cmp x0, 0
beq .L143
ldrb w0, [sp, 15]
cmp w0, 36
bne .L143
mov w0, 1
b .L133
.L143:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L144
ldrb w0, [sp, 15]
cmp w0, 46
beq .L145
ldrb w0, [sp, 15]
cmp w0, 95
beq .L145
ldrb w0, [sp, 15]
cmp w0, 36
bne .L144
.L145:
mov w0, 1
b .L133
.L144:
mov w0, 0
.L133:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size isValidNameChar, .-isValidNameChar
.align 2
.global parsename
.type parsename, %function
parsename:
.LFB15:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
str wzr, [sp, 44]
mov w0, 2
strb w0, [sp, 42]
.L151:
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldrb w0, [x0]
strb w0, [sp, 41]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L147
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 1048576
cmp x0, 0
bne .L147
ldrb w0, [sp, 41]
cmp w0, 96
bls .L147
ldrb w0, [sp, 41]
cmp w0, 122
bhi .L147
ldrb w0, [sp, 41]
sub w0, w0, #32
strb w0, [sp, 41]
.L147:
ldrb w1, [sp, 42]
ldrb w0, [sp, 41]
bl isValidNameChar
strb w0, [sp, 43]
ldrb w0, [sp, 43]
cmp w0, 0
beq .L154
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
bge .L150
adrp x0, namebuf
add x1, x0, :lo12:namebuf
ldrsw x0, [sp, 44]
ldrb w2, [sp, 41]
strb w2, [x1, x0]
ldrb w0, [sp, 41]
bl toupper
and w2, w0, 255
adrp x0, unamebuf
add x1, x0, :lo12:unamebuf
ldrsw x0, [sp, 44]
strb w2, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L150:
strb wzr, [sp, 42]
b .L151
.L154:
nop
adrp x0, namebuf
add x1, x0, :lo12:namebuf
ldrsw x0, [sp, 44]
strb wzr, [x1, x0]
adrp x0, unamebuf
add x1, x0, :lo12:unamebuf
ldrsw x0, [sp, 44]
strb wzr, [x1, x0]
ldr x0, [sp, 16]
cmp x0, 0
beq .L155
ldr x0, [sp, 24]
sub x0, x0, #1
str x0, [sp, 24]
ldr x0, [sp, 16]
ldr x1, [sp, 24]
str x1, [x0]
.L155:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size parsename, .-parsename
.align 2
.global parsedecimal
.type parsedecimal, %function
parsedecimal:
.LFB16:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldrb w0, [x0]
strb w0, [sp, 39]
str xzr, [sp, 40]
b .L157
.L158:
ldr x1, [sp, 40]
mov x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 1
mov x1, x0
ldrb w0, [sp, 39]
add x0, x1, x0
sub x0, x0, #48
str x0, [sp, 40]
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldrb w0, [x0]
strb w0, [sp, 39]
.L157:
bl __ctype_b_loc
ldr x1, [x0]
ldrb w0, [sp, 39]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 2048
cmp w0, 0
bne .L158
ldr x0, [sp, 16]
cmp x0, 0
beq .L159
ldr x0, [sp, 24]
sub x0, x0, #1
str x0, [sp, 24]
ldr x0, [sp, 16]
ldr x1, [sp, 24]
str x1, [x0]
.L159:
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size parsedecimal, .-parsedecimal
.align 2
.global parsehex
.type parsehex, %function
parsehex:
.LFB17:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
str xzr, [sp, 32]
str xzr, [sp, 40]
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
add x1, sp, 24
bl parsename
b .L162
.L165:
ldr x0, [sp, 32]
lsl x1, x0, 4
adrp x0, unamebuf
add x2, x0, :lo12:unamebuf
ldr x0, [sp, 40]
add x0, x2, x0
ldrb w0, [x0]
and x0, x0, 255
add x0, x1, x0
sub x0, x0, #48
str x0, [sp, 32]
adrp x0, unamebuf
add x1, x0, :lo12:unamebuf
ldr x0, [sp, 40]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 57
bls .L163
ldr x0, [sp, 32]
sub x0, x0, #7
str x0, [sp, 32]
.L163:
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L162:
adrp x0, unamebuf
add x1, x0, :lo12:unamebuf
ldr x0, [sp, 40]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bls .L164
adrp x0, unamebuf
add x1, x0, :lo12:unamebuf
ldr x0, [sp, 40]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 70
bls .L165
.L164:
ldr x0, [sp, 40]
cmp x0, 0
bne .L166
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L166:
ldr x0, [sp, 16]
cmp x0, 0
beq .L167
ldr x1, [sp, 24]
ldr x0, [sp, 16]
str x1, [x0]
.L167:
ldr x0, [sp, 32]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size parsehex, .-parsehex
.align 2
.global parsechar
.type parsechar, %function
parsechar:
.LFB18:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
add x0, x0, 1
str x0, [sp, 8]
ldr x0, [sp, 8]
ldrb w0, [x0]
and x0, x0, 255
str x0, [sp, 24]
ldr x0, [sp]
cmp x0, 0
beq .L170
ldr x0, [sp, 24]
cmp x0, 0
beq .L170
ldr x0, [sp, 8]
add x0, x0, 1
str x0, [sp, 8]
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 39
bne .L171
ldr x0, [sp, 8]
add x0, x0, 1
str x0, [sp, 8]
.L171:
ldr x0, [sp]
ldr x1, [sp, 8]
str x1, [x0]
.L170:
ldr x0, [sp, 24]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size parsechar, .-parsechar
.align 2
.global parsebin
.type parsebin, %function
parsebin:
.LFB19:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
strh wzr, [sp, 30]
ldr x0, [sp, 8]
add x0, x0, 1
str x0, [sp, 8]
ldr x0, [sp, 8]
add x1, x0, 1
str x1, [sp, 8]
ldrb w0, [x0]
strb w0, [sp, 29]
b .L174
.L175:
ldrh w0, [sp, 30]
ubfiz w0, w0, 1, 15
and w1, w0, 65535
ldrb w0, [sp, 29]
and w0, w0, 65535
add w0, w1, w0
and w0, w0, 65535
sub w0, w0, #48
and w0, w0, 65535
strh w0, [sp, 30]
ldr x0, [sp, 8]
add x1, x0, 1
str x1, [sp, 8]
ldrb w0, [x0]
strb w0, [sp, 29]
.L174:
ldrb w0, [sp, 29]
cmp w0, 48
beq .L175
ldrb w0, [sp, 29]
cmp w0, 49
beq .L175
ldr x0, [sp]
cmp x0, 0
beq .L176
ldr x0, [sp, 8]
sub x0, x0, #1
str x0, [sp, 8]
ldr x0, [sp]
ldr x1, [sp, 8]
str x1, [x0]
.L176:
ldrsh x0, [sp, 30]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size parsebin, .-parsebin
.align 2
.global parseoct
.type parseoct, %function
parseoct:
.LFB20:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
str xzr, [sp, 24]
ldr x0, [sp, 8]
add x0, x0, 1
str x0, [sp, 8]
ldr x0, [sp, 8]
add x1, x0, 1
str x1, [sp, 8]
ldrb w0, [x0]
strb w0, [sp, 23]
b .L179
.L181:
ldr x0, [sp, 24]
lsl x1, x0, 3
ldrb w0, [sp, 23]
add x0, x1, x0
sub x0, x0, #48
str x0, [sp, 24]
ldr x0, [sp, 8]
add x1, x0, 1
str x1, [sp, 8]
ldrb w0, [x0]
strb w0, [sp, 23]
.L179:
ldrb w0, [sp, 23]
cmp w0, 47
bls .L180
ldrb w0, [sp, 23]
cmp w0, 55
bls .L181
.L180:
ldr x0, [sp]
cmp x0, 0
beq .L182
ldr x0, [sp, 8]
sub x0, x0, #1
str x0, [sp, 8]
ldr x0, [sp]
ldr x1, [sp, 8]
str x1, [x0]
.L182:
ldr x0, [sp, 24]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size parseoct, .-parseoct
.align 2
.global parsestring
.type parsestring, %function
parsestring:
.LFB21:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, 24]
str x1, [sp, 16]
str w2, [sp, 12]
str x3, [sp]
ldr x0, [sp, 24]
str x0, [sp, 56]
ldr x0, [sp, 16]
str x0, [sp, 48]
str wzr, [sp, 44]
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 39
beq .L185
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 34
bne .L187
.L185:
mov w0, 1
str w0, [sp, 44]
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
b .L187
.L192:
ldr w0, [sp, 44]
cmp w0, 0
bne .L188
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 32
beq .L189
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 44
beq .L189
.L188:
ldr w0, [sp, 44]
cmp w0, 0
beq .L190
ldr x0, [sp, 56]
ldrb w1, [x0]
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w1, w0
bne .L190
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
b .L189
.L190:
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldrb w0, [x0]
strb w0, [sp, 43]
ldr w0, [sp, 44]
cmp w0, 0
bne .L191
ldrb w0, [sp, 43]
cmp w0, 96
bls .L191
ldrb w0, [sp, 43]
cmp w0, 122
bhi .L191
ldrb w0, [sp, 43]
sub w0, w0, #32
strb w0, [sp, 43]
.L191:
ldr x0, [sp, 48]
add x1, x0, 1
str x1, [sp, 48]
ldrb w1, [sp, 43]
strb w1, [x0]
.L187:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 0
bne .L192
.L189:
ldr x0, [sp, 48]
strb wzr, [x0]
ldr x0, [sp]
cmp x0, 0
beq .L193
ldr x0, [sp]
ldr x1, [sp, 24]
str x1, [x0]
.L193:
ldr x0, [sp, 16]
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size parsestring, .-parsestring
.section .rodata
.align 3
.LC484:
.string "FILCHR"
.text
.align 2
.global settext
.type settext, %function
settext:
.LFB22:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 40]
str x1, [sp, 32]
mov w1, 1
ldr x0, [sp, 40]
bl findsym
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L196
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
mov w0, -1
b .L197
.L196:
ldr x0, [sp, 56]
ldrb w0, [x0, 33]
cmp w0, 13
beq .L198
ldr x0, [sp, 56]
ldrb w0, [x0, 33]
cmp w0, 15
beq .L198
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
mov w0, -1
b .L197
.L198:
ldr x0, [sp, 56]
ldrb w0, [x0, 33]
cmp w0, 13
beq .L199
ldr x0, [sp, 56]
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, texts
add x0, x0, :lo12:texts
sxtw x1, w1
ldr x0, [x0, x1, lsl 3]
bl free
b .L200
.L199:
adrp x0, nTexts
add x0, x0, :lo12:nTexts
ldr w0, [x0]
cmp w0, 1023
ble .L201
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 128
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
mov w0, -1
b .L197
.L201:
ldr x0, [sp, 56]
mov w1, 15
strb w1, [x0, 33]
adrp x0, nTexts
add x0, x0, :lo12:nTexts
ldr w0, [x0]
add w2, w0, 1
adrp x1, nTexts
add x1, x1, :lo12:nTexts
str w2, [x1]
and w1, w0, 65535
ldr x0, [sp, 56]
strh w1, [x0, 34]
.L200:
ldr x0, [sp, 32]
cmp x0, 0
bne .L202
adrp x0, .LC466
add x0, x0, :lo12:.LC466
str x0, [sp, 32]
.L202:
ldr x0, [sp, 32]
bl strlen
add x1, x0, 1
ldr x0, [sp, 56]
ldrh w0, [x0, 34]
mov w19, w0
mov x0, x1
bl malloc
mov x2, x0
adrp x0, texts
add x0, x0, :lo12:texts
sxtw x1, w19
str x2, [x0, x1, lsl 3]
ldr x0, [sp, 56]
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, texts
add x0, x0, :lo12:texts
sxtw x1, w1
ldr x0, [x0, x1, lsl 3]
cmp x0, 0
beq .L203
ldr x0, [sp, 56]
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, texts
add x0, x0, :lo12:texts
sxtw x1, w1
ldr x0, [x0, x1, lsl 3]
ldr x1, [sp, 32]
bl strcpy
.L203:
adrp x0, .LC484
add x1, x0, :lo12:.LC484
ldr x0, [sp, 40]
bl strcmp
cmp w0, 0
bne .L204
ldr x0, [sp, 32]
ldrb w0, [x0]
cmp w0, 64
beq .L205
cmp w0, 64
bgt .L206
cmp w0, 39
beq .L207
cmp w0, 39
bgt .L206
cmp w0, 36
beq .L208
cmp w0, 37
beq .L209
b .L206
.L208:
mov x1, 0
ldr x0, [sp, 32]
bl parsehex
and w1, w0, 255
adrp x0, rmbfillchr
add x0, x0, :lo12:rmbfillchr
strb w1, [x0]
b .L204
.L209:
mov x1, 0
ldr x0, [sp, 32]
bl parsebin
and w1, w0, 255
adrp x0, rmbfillchr
add x0, x0, :lo12:rmbfillchr
strb w1, [x0]
b .L204
.L205:
mov x1, 0
ldr x0, [sp, 32]
bl parseoct
and w1, w0, 255
adrp x0, rmbfillchr
add x0, x0, :lo12:rmbfillchr
strb w1, [x0]
b .L204
.L207:
mov x1, 0
ldr x0, [sp, 32]
bl parsechar
and w1, w0, 255
adrp x0, rmbfillchr
add x0, x0, :lo12:rmbfillchr
strb w1, [x0]
b .L204
.L206:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
nop
.L204:
ldr x0, [sp, 56]
ldrh w0, [x0, 34]
.L197:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size settext, .-settext
.section .rodata
.align 3
.LC485:
.string "* "
.align 3
.LC486:
.string "%sSYMBOL TABLE"
.align 3
.LC487:
.string "\n%s"
.align 3
.LC488:
.string " %9s %02d %04X"
.align 3
.LC489:
.string "\n%s%d SYMBOLS\n"
.text
.align 2
.global outsymtable
.type outsymtable, %function
outsymtable:
.LFB23:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 24]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32
cmp x0, 0
beq .L211
adrp x0, nCurLine
add x0, x0, :lo12:nCurLine
ldr w0, [x0]
cmp w0, 5
ble .L212
bl PageFeed
b .L212
.L211:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
.L212:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L213
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L214
.L213:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L214:
mov x1, x0
adrp x0, .LC486
add x0, x0, :lo12:.LC486
bl putlist
str wzr, [sp, 20]
b .L215
.L228:
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 13
beq .L216
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 15
bne .L217
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, nPredefinedTexts
add x0, x0, :lo12:nPredefinedTexts
ldr w0, [x0]
cmp w1, w0
blt .L231
.L217:
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 34
bne .L218
str wzr, [sp, 28]
b .L219
.L224:
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, lcltable
add x1, x1, :lo12:lcltable
add x2, x0, x1
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, symtable
add x1, x1, :lo12:symtable
add x0, x0, x1
mov x1, x0
mov x0, x2
bl strcmp
cmp w0, 0
bne .L220
ldr w0, [sp, 24]
and w0, w0, 3
cmp w0, 0
bne .L221
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L222
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L223
.L222:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L223:
mov x1, x0
adrp x0, .LC487
add x0, x0, :lo12:.LC487
bl putlist
.L221:
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, lcltable
add x1, x1, :lo12:lcltable
add x4, x0, x1
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
mov w5, w0
adrp x0, lcltable
add x2, x0, :lo12:lcltable
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
mov w3, w0
mov w2, w5
mov x1, x4
adrp x0, .LC488
add x0, x0, :lo12:.LC488
bl putlist
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L220:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L219:
ldrsw x1, [sp, 28]
adrp x0, lclcounter
add x0, x0, :lo12:lclcounter
ldr x0, [x0]
cmp x1, x0
blt .L224
b .L216
.L218:
ldr w0, [sp, 24]
and w0, w0, 3
cmp w0, 0
bne .L225
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L226
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L227
.L226:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L227:
mov x1, x0
adrp x0, .LC487
add x0, x0, :lo12:.LC487
bl putlist
.L225:
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, symtable
add x1, x1, :lo12:symtable
add x4, x0, x1
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
mov w5, w0
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
mov w3, w0
mov w2, w5
mov x1, x4
adrp x0, .LC488
add x0, x0, :lo12:.LC488
bl putlist
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
b .L216
.L231:
nop
.L216:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L215:
ldrsw x1, [sp, 20]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
cmp x1, x0
blt .L228
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L229
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L230
.L229:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L230:
ldr w2, [sp, 24]
mov x1, x0
adrp x0, .LC489
add x0, x0, :lo12:.LC489
bl putlist
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size outsymtable, .-outsymtable
.section .rodata
.align 3
.LC490:
.string "%sRELOCATION TABLE"
.align 3
.LC491:
.string "%c%-.8s"
.align 3
.LC492:
.string "\n%s%d RELOCATIONS\n"
.text
.align 2
.global outreltable
.type outreltable, %function
outreltable:
.LFB24:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 20]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32
cmp x0, 0
beq .L233
adrp x0, nCurLine
add x0, x0, :lo12:nCurLine
ldr w0, [x0]
cmp w0, 5
ble .L234
bl PageFeed
b .L234
.L233:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
.L234:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L235
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L236
.L235:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L236:
mov x1, x0
adrp x0, .LC490
add x0, x0, :lo12:.LC490
bl putlist
str wzr, [sp, 16]
b .L237
.L243:
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 16]
lsl x0, x0, 4
add x0, x1, x0
ldrb w0, [x0, 2]
and w0, w0, 32
cmp w0, 0
beq .L238
mov w0, 45
b .L239
.L238:
mov w0, 32
.L239:
adrp x1, reltable
add x2, x1, :lo12:reltable
ldrsw x1, [sp, 16]
lsl x1, x1, 4
add x1, x2, x1
ldr x1, [x1, 8]
add x4, sp, 24
mov x3, x1
mov w2, w0
adrp x0, .LC491
add x1, x0, :lo12:.LC491
mov x0, x4
bl sprintf
ldr w0, [sp, 20]
and w0, w0, 3
cmp w0, 0
bne .L240
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L241
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L242
.L241:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L242:
mov x1, x0
adrp x0, .LC487
add x0, x0, :lo12:.LC487
bl putlist
.L240:
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 16]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
ldrb w0, [x0, 33]
mov w2, w0
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 16]
lsl x0, x0, 4
add x0, x1, x0
ldrh w0, [x0]
mov w1, w0
add x0, sp, 24
mov w3, w1
mov x1, x0
adrp x0, .LC488
add x0, x0, :lo12:.LC488
bl putlist
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L237:
ldrsw x1, [sp, 16]
adrp x0, relcounter
add x0, x0, :lo12:relcounter
ldr x0, [x0]
cmp x1, x0
blt .L243
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L244
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L245
.L244:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L245:
ldr w2, [sp, 20]
mov x1, x0
adrp x0, .LC492
add x0, x0, :lo12:.LC492
bl putlist
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L246
bl __stack_chk_fail
.L246:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size outreltable, .-outreltable
.section .rodata
.align 3
.LC493:
.string "%sTEXT TABLE"
.align 3
.LC494:
.string "\n%s %9s %s"
.align 3
.LC495:
.string "\n%s%d TEXTS\n"
.text
.align 2
.global outtexttable
.type outtexttable, %function
outtexttable:
.LFB25:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 28]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32
cmp x0, 0
beq .L248
adrp x0, nCurLine
add x0, x0, :lo12:nCurLine
ldr w0, [x0]
cmp w0, 5
ble .L249
bl PageFeed
b .L249
.L248:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
.L249:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L250
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L251
.L250:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L251:
mov x1, x0
adrp x0, .LC493
add x0, x0, :lo12:.LC493
bl putlist
str wzr, [sp, 24]
b .L252
.L257:
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 24]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 15
bne .L253
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 24]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, nPredefinedTexts
add x0, x0, :lo12:nPredefinedTexts
ldr w0, [x0]
cmp w1, w0
blt .L260
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L255
adrp x0, .LC485
add x1, x0, :lo12:.LC485
b .L256
.L255:
adrp x0, .LC466
add x1, x0, :lo12:.LC466
.L256:
ldrsw x2, [sp, 24]
mov x0, x2
lsl x0, x0, 1
add x0, x0, x2
lsl x0, x0, 4
adrp x2, symtable
add x2, x2, :lo12:symtable
add x4, x0, x2
adrp x0, symtable
add x3, x0, :lo12:symtable
ldrsw x2, [sp, 24]
mov x0, x2
lsl x0, x0, 1
add x0, x0, x2
lsl x0, x0, 4
add x0, x3, x0
ldrh w0, [x0, 34]
mov w2, w0
adrp x0, texts
add x0, x0, :lo12:texts
sxtw x2, w2
ldr x0, [x0, x2, lsl 3]
mov x3, x0
mov x2, x4
adrp x0, .LC494
add x0, x0, :lo12:.LC494
bl putlist
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
b .L253
.L260:
nop
.L253:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L252:
ldrsw x1, [sp, 24]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
cmp x1, x0
blt .L257
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L258
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L259
.L258:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L259:
ldr w2, [sp, 28]
mov x1, x0
adrp x0, .LC495
add x0, x0, :lo12:.LC495
bl putlist
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size outtexttable, .-outtexttable
.align 2
.global findreg
.type findreg, %function
findreg:
.LFB26:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str wzr, [sp, 44]
b .L262
.L265:
adrp x0, regtable
add x0, x0, :lo12:regtable
ldr x1, [x0]
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0]
ldr x1, [sp, 24]
bl strcmp
cmp w0, 0
bne .L263
adrp x0, regtable
add x0, x0, :lo12:regtable
ldr x1, [x0]
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
b .L264
.L263:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L262:
adrp x0, regtable
add x0, x0, :lo12:regtable
ldr x1, [x0]
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
bne .L265
mov x0, 0
.L264:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size findreg, .-findreg
.align 2
.global findreg63
.type findreg63, %function
findreg63:
.LFB27:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str wzr, [sp, 44]
b .L267
.L270:
adrp x0, regtable63
add x1, x0, :lo12:regtable63
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0]
ldr x1, [sp, 24]
bl strcmp
cmp w0, 0
bne .L268
ldrsw x0, [sp, 44]
lsl x1, x0, 4
adrp x0, regtable63
add x0, x0, :lo12:regtable63
add x0, x1, x0
b .L269
.L268:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L267:
ldr w0, [sp, 44]
cmp w0, 17
bls .L270
mov x0, 0
.L269:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE27:
.size findreg63, .-findreg63
.align 2
.global findbitreg
.type findbitreg, %function
findbitreg:
.LFB28:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str wzr, [sp, 44]
b .L272
.L275:
adrp x0, bitregtable
add x0, x0, :lo12:bitregtable
ldr x1, [x0]
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0]
ldr x1, [sp, 24]
bl strcmp
cmp w0, 0
bne .L273
adrp x0, bitregtable
add x0, x0, :lo12:bitregtable
ldr x1, [x0]
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
b .L274
.L273:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L272:
adrp x0, bitregtablesize
add x0, x0, :lo12:bitregtablesize
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
blt .L275
mov x0, 0
.L274:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE28:
.size findbitreg, .-findbitreg
.align 2
.global strupr
.type strupr, %function
strupr:
.LFB29:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
cmp x0, 0
bne .L277
ldr x0, [sp, 8]
b .L278
.L277:
str wzr, [sp, 28]
b .L279
.L281:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 96
bls .L280
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 122
bhi .L280
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w1, [x0]
ldrsw x0, [sp, 28]
ldr x2, [sp, 8]
add x0, x2, x0
sub w1, w1, #32
and w1, w1, 255
strb w1, [x0]
.L280:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L279:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L281
ldr x0, [sp, 8]
.L278:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE29:
.size strupr, .-strupr
.align 2
.global addreloc
.type addreloc, %function
addreloc:
.LFB30:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
stp xzr, xzr, [sp, 16]
ldr x0, [sp, 8]
cmp x0, 0
beq .L283
ldr x0, [sp, 8]
ldp x0, x1, [x0]
stp x0, x1, [sp, 16]
.L283:
adrp x0, relocatable
add x0, x0, :lo12:relocatable
ldrb w0, [x0]
cmp w0, 0
beq .L300
ldr x0, [sp, 24]
cmp x0, 0
beq .L300
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 1
beq .L300
ldr x0, [sp, 24]
ldrb w0, [x0, 33]
cmp w0, 18
beq .L287
cmp w0, 18
bgt .L301
cmp w0, 8
beq .L302
cmp w0, 8
bgt .L301
cmp w0, 2
beq .L302
cmp w0, 4
bne .L301
b .L302
.L287:
ldr x0, [sp, 24]
ldr x0, [x0, 40]
str x0, [sp, 24]
b .L290
.L302:
nop
.L290:
adrp x0, relcounter
add x0, x0, :lo12:relcounter
ldr x1, [x0]
mov x0, 32767
cmp x1, x0
ble .L291
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 128
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L282
.L291:
adrp x0, relcounter
add x0, x0, :lo12:relcounter
ldr x0, [x0]
add x2, x0, 1
adrp x1, relcounter
add x1, x1, :lo12:relcounter
str x2, [x1]
adrp x1, reltable
add x1, x1, :lo12:reltable
lsl x0, x0, 4
add x2, x1, x0
ldp x0, x1, [sp, 16]
stp x0, x1, [x2]
ldr x0, [sp, 8]
ldr x0, [x0, 8]
ldrb w0, [x0, 33]
cmp w0, 18
beq .L292
cmp w0, 18
bgt .L282
cmp w0, 8
beq .L292
cmp w0, 8
bgt .L282
cmp w0, 2
beq .L292
cmp w0, 4
beq .L294
b .L282
.L292:
ldr x0, [sp, 8]
ldrb w0, [x0, 2]
and w0, w0, 32
cmp w0, 0
beq .L295
mov w0, 45
b .L296
.L295:
mov w0, 43
.L296:
adrp x1, curline
add x1, x1, :lo12:curline
ldr x1, [x1]
strb w0, [x1, 33]
b .L282
.L294:
ldr x0, [sp, 8]
ldrb w0, [x0, 2]
and w0, w0, 32
cmp w0, 0
beq .L297
mov w0, 120
b .L298
.L297:
mov w0, 88
.L298:
adrp x1, curline
add x1, x1, :lo12:curline
ldr x1, [x1]
strb w0, [x1, 33]
b .L282
.L300:
nop
b .L282
.L301:
nop
.L282:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE30:
.size addreloc, .-addreloc
.align 2
.global scanname
.type scanname, %function
scanname:
.LFB31:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x2, [x0]
adrp x0, srcptr
add x1, x0, :lo12:srcptr
mov x0, x2
bl parsename
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE31:
.size scanname, .-scanname
.align 2
.global skipspace
.type skipspace, %function
skipspace:
.LFB32:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb wzr, [sp, 14]
b .L305
.L307:
ldrb w0, [sp, 14]
cmp w0, 126
bhi .L306
ldrb w0, [sp, 14]
add w0, w0, 1
strb w0, [sp, 14]
.L306:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L305:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 15]
ldrb w0, [sp, 15]
cmp w0, 32
beq .L307
ldrb w0, [sp, 15]
cmp w0, 9
beq .L307
ldrb w0, [sp, 14]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE32:
.size skipspace, .-skipspace
.align 2
.global scandecimal
.type scandecimal, %function
scandecimal:
.LFB33:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x2, [x0]
adrp x0, srcptr
add x1, x0, :lo12:srcptr
mov x0, x2
bl parsedecimal
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE33:
.size scandecimal, .-scandecimal
.align 2
.global scanhex
.type scanhex, %function
scanhex:
.LFB34:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x2, [x0]
adrp x0, srcptr
add x1, x0, :lo12:srcptr
mov x0, x2
bl parsehex
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size scanhex, .-scanhex
.align 2
.global scanchar
.type scanchar, %function
scanchar:
.LFB35:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x2, [x0]
adrp x0, srcptr
add x1, x0, :lo12:srcptr
mov x0, x2
bl parsechar
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size scanchar, .-scanchar
.align 2
.global scanbin
.type scanbin, %function
scanbin:
.LFB36:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x2, [x0]
adrp x0, srcptr
add x1, x0, :lo12:srcptr
mov x0, x2
bl parsebin
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size scanbin, .-scanbin
.align 2
.global scanoct
.type scanoct, %function
scanoct:
.LFB37:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x2, [x0]
adrp x0, srcptr
add x1, x0, :lo12:srcptr
mov x0, x2
bl parseoct
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE37:
.size scanoct, .-scanoct
.align 2
.global scanstring
.type scanstring, %function
scanstring:
.LFB38:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x4, [x0]
adrp x0, srcptr
add x3, x0, :lo12:srcptr
ldr w2, [sp, 20]
ldr x1, [sp, 24]
mov x0, x4
bl parsestring
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size scanstring, .-scanstring
.align 2
.global scanlabel
.type scanlabel, %function
scanlabel:
.LFB39:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
bl scanname
mov w1, 1
adrp x0, namebuf
add x0, x0, :lo12:namebuf
bl findsym
str x0, [sp, 40]
ldr x0, [sp, 40]
ldrb w0, [x0, 33]
cmp w0, 13
bne .L322
ldr x0, [sp, 40]
mov w1, 6
strb w1, [x0, 33]
ldr x0, [sp, 40]
strh wzr, [x0, 34]
ldr x0, [sp, 40]
ldr x0, [x0, 40]
orr x1, x0, 1
ldr x0, [sp, 40]
str x1, [x0, 40]
.L322:
ldr x0, [sp, 40]
ldrb w0, [x0, 33]
cmp w0, 9
beq .L323
ldr x0, [sp, 40]
ldrb w0, [x0, 33]
cmp w0, 11
beq .L323
ldr x0, [sp, 40]
ldrb w0, [x0, 33]
cmp w0, 15
bne .L324
.L323:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L324:
ldr x0, [sp, 40]
ldrb w0, [x0, 33]
and w0, w0, 14
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 6
beq .L325
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 10
bne .L326
.L325:
adrp x0, unknown
add x0, x0, :lo12:unknown
mov w1, 1
strb w1, [x0]
.L326:
ldr x0, [sp, 40]
ldr x0, [x0, 40]
and x0, x0, 3
cmp x0, 1
bne .L327
adrp x0, certain
add x0, x0, :lo12:certain
strb wzr, [x0]
.L327:
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
bne .L328
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 0
beq .L328
adrp x0, certain
add x0, x0, :lo12:certain
strb wzr, [x0]
.L328:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 8
beq .L329
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 6
beq .L329
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 10
bne .L330
.L329:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
mov w1, 2
strb w1, [x0]
.L330:
ldr x0, [sp, 24]
cmp x0, 0
beq .L331
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldr x0, [sp, 24]
strb w1, [x0, 2]
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0, 8]
.L331:
ldr x0, [sp, 40]
ldrh w0, [x0, 34]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size scanlabel, .-scanlabel
.align 2
.global isfactorstart
.type isfactorstart, %function
isfactorstart:
.LFB40:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
strb w0, [sp, 31]
bl __ctype_b_loc
ldr x1, [x0]
ldrb w0, [sp, 31]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 1024
cmp w0, 0
beq .L334
mov w0, 1
b .L335
.L334:
bl __ctype_b_loc
ldr x1, [x0]
ldrb w0, [sp, 31]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 2048
cmp w0, 0
beq .L336
mov w0, 1
b .L335
.L336:
ldrb w0, [sp, 31]
cmp w0, 126
beq .L337
cmp w0, 126
bgt .L338
cmp w0, 45
bgt .L339
cmp w0, 33
blt .L338
mov w1, w0
mov x0, 50242527428608
lsr x0, x0, x1
and x0, x0, 1
cmp x0, 0
cset w0, ne
and w0, w0, 255
cmp w0, 0
bne .L337
b .L338
.L339:
cmp w0, 64
bne .L338
.L337:
mov w0, 1
b .L335
.L338:
mov w0, 0
.L335:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size isfactorstart, .-isfactorstart
.align 2
.global scanfactor
.type scanfactor, %function
scanfactor:
.LFB41:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L341
bl skipspace
.L341:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 46]
mov w1, 1
ldrb w0, [sp, 46]
bl isValidNameChar
and w0, w0, 255
cmp w0, 0
beq .L342
bl __ctype_b_loc
ldr x1, [x0]
ldrb w0, [sp, 46]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 2048
cmp w0, 0
bne .L342
ldr x0, [sp, 24]
bl scanlabel
and w0, w0, 65535
and x0, x0, 65535
b .L343
.L342:
bl __ctype_b_loc
ldr x1, [x0]
ldrb w0, [sp, 46]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 2048
cmp w0, 0
beq .L344
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 48]
b .L345
.L347:
ldr x0, [sp, 48]
add x0, x0, 1
str x0, [sp, 48]
.L345:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 47
bls .L346
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 57
bls .L347
.L346:
ldr x0, [sp, 48]
ldrb w0, [x0]
bl toupper
strb w0, [sp, 47]
ldrb w0, [sp, 47]
cmp w0, 66
beq .L348
ldrb w0, [sp, 47]
cmp w0, 70
bne .L349
.L348:
ldr x0, [sp, 24]
bl scanlabel
and w0, w0, 65535
sxth w0, w0
sxth x0, w0
b .L343
.L349:
ldrb w0, [sp, 46]
cmp w0, 48
bne .L350
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 1048576
cmp x0, 0
beq .L350
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 98
bne .L351
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
bl scanbin
b .L343
.L351:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 120
bne .L352
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
bl scanhex
b .L343
.L352:
bl scanoct
b .L343
.L350:
bl scandecimal
b .L343
.L344:
ldrb w0, [sp, 46]
cmp w0, 126
beq .L353
cmp w0, 126
bgt .L354
cmp w0, 64
beq .L355
cmp w0, 64
bgt .L354
cmp w0, 45
beq .L356
cmp w0, 45
bgt .L354
cmp w0, 43
beq .L357
cmp w0, 43
bgt .L354
cmp w0, 42
beq .L358
cmp w0, 42
bgt .L354
cmp w0, 40
beq .L359
cmp w0, 40
bgt .L354
cmp w0, 39
beq .L360
cmp w0, 39
bgt .L354
cmp w0, 37
beq .L361
cmp w0, 37
bgt .L354
cmp w0, 33
beq .L362
cmp w0, 36
beq .L363
b .L354
.L358:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
orr w0, w0, 2
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
mov w1, w0
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
add w0, w1, w0
sxtw x0, w0
b .L343
.L363:
bl scanhex
b .L343
.L361:
bl scanbin
b .L343
.L355:
bl scanoct
b .L343
.L360:
bl scanchar
b .L343
.L359:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
ldr x1, [sp, 24]
mov w0, 0
bl scanexpr
str x0, [sp, 56]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L364
bl skipspace
.L364:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 41
bne .L365
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L366
.L365:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L366:
ldr x0, [sp, 56]
b .L343
.L356:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
ldr x0, [sp, 24]
bl scanfactor
str x0, [sp, 56]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
eor w0, w0, 32
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
ldr x0, [sp, 24]
cmp x0, 0
beq .L367
ldr x0, [sp, 24]
ldrb w0, [x0, 2]
eor w0, w0, 32
and w1, w0, 255
ldr x0, [sp, 24]
strb w1, [x0, 2]
.L367:
ldr x0, [sp, 56]
neg x0, x0
b .L343
.L357:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
ldr x0, [sp, 24]
bl scanfactor
b .L343
.L362:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
ldr x0, [sp, 24]
bl scanfactor
cmp x0, 0
cset w0, eq
and w0, w0, 255
and x0, x0, 255
b .L343
.L353:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
ldr x0, [sp, 24]
bl scanfactor
mvn x0, x0
b .L343
.L354:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
mov x0, 0
.L343:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE41:
.size scanfactor, .-scanfactor
.align 2
.global scanexpr
.type scanexpr, %function
scanexpr:
.LFB42:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
mov w0, 1
strb w0, [sp, 36]
stp xzr, xzr, [sp, 56]
stp xzr, xzr, [sp, 72]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb wzr, [x0]
ldr w0, [sp, 28]
cmp w0, 10
bne .L369
ldr x0, [sp, 16]
bl scanfactor
b .L427
.L369:
ldr w0, [sp, 28]
add w0, w0, 1
add x1, sp, 56
bl scanexpr
str x0, [sp, 40]
b .L371
.L426:
str xzr, [sp, 80]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L372
bl skipspace
.L372:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
ldrb w0, [x0]
strb w0, [sp, 37]
ldrb w0, [sp, 37]
cmp w0, 124
beq .L373
cmp w0, 124
bgt .L374
cmp w0, 94
beq .L375
cmp w0, 94
bgt .L374
cmp w0, 62
beq .L376
cmp w0, 62
bgt .L374
cmp w0, 61
beq .L377
cmp w0, 61
bgt .L374
cmp w0, 60
beq .L378
cmp w0, 60
bgt .L374
cmp w0, 47
beq .L379
cmp w0, 47
bgt .L374
cmp w0, 45
beq .L380
cmp w0, 45
bgt .L374
cmp w0, 43
beq .L381
cmp w0, 43
bgt .L374
cmp w0, 42
beq .L382
cmp w0, 42
bgt .L374
cmp w0, 38
beq .L383
cmp w0, 38
bgt .L374
cmp w0, 33
beq .L384
cmp w0, 37
beq .L385
b .L374
.L382:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 10
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
mul x0, x0, x1
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L379:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 10
bl scanexpr
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L387
ldr x1, [sp, 40]
ldr x0, [sp, 48]
sdiv x0, x1, x0
str x0, [sp, 40]
b .L388
.L387:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L388:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L385:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 10
bl scanexpr
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L389
ldr x0, [sp, 40]
ldr x1, [sp, 48]
sdiv x2, x0, x1
ldr x1, [sp, 48]
mul x1, x2, x1
sub x0, x0, x1
str x0, [sp, 40]
b .L390
.L389:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L390:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L381:
ldr w0, [sp, 28]
cmp w0, 9
bne .L391
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L391:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 9
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
add x0, x0, x1
str x0, [sp, 40]
ldrb w0, [sp, 35]
and w0, w0, 15
cmp w0, 0
bne .L392
strb wzr, [sp, 35]
.L392:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
and w0, w0, 15
cmp w0, 0
bne .L393
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb wzr, [x0]
.L393:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 2
bne .L394
ldrb w0, [sp, 35]
cmp w0, 34
beq .L395
.L394:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 34
bne .L396
ldrb w0, [sp, 35]
cmp w0, 2
bne .L396
.L395:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb wzr, [x0]
strb wzr, [sp, 35]
.L396:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L380:
ldr w0, [sp, 28]
cmp w0, 9
bne .L397
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L397:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 9
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
sub x0, x0, x1
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
eor w0, w0, 32
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
ldrb w0, [sp, 35]
and w0, w0, 15
cmp w0, 0
bne .L398
strb wzr, [sp, 35]
.L398:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
and w0, w0, 15
cmp w0, 0
bne .L399
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb wzr, [x0]
.L399:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 2
bne .L400
ldrb w0, [sp, 35]
cmp w0, 34
beq .L401
.L400:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 34
bne .L402
ldrb w0, [sp, 35]
cmp w0, 2
bne .L402
.L401:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb wzr, [x0]
strb wzr, [sp, 35]
.L402:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L378:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 60
bne .L403
ldr w0, [sp, 28]
cmp w0, 7
ble .L404
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L404:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 8
bl scanexpr
mov w1, w0
ldr x0, [sp, 40]
lsl x0, x0, x1
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L403:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 61
bne .L406
ldr w0, [sp, 28]
cmp w0, 6
ble .L407
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L407:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 7
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
cmp x0, x1
cset w0, le
and w0, w0, 255
and x0, x0, 255
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L406:
ldr w0, [sp, 28]
cmp w0, 6
ble .L408
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L408:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 7
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
cmp x0, x1
cset w0, lt
and w0, w0, 255
and x0, x0, 255
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L376:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 62
bne .L409
ldr w0, [sp, 28]
cmp w0, 7
ble .L410
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L410:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 8
bl scanexpr
mov w1, w0
ldr x0, [sp, 40]
asr x0, x0, x1
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L409:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 61
bne .L412
ldr w0, [sp, 28]
cmp w0, 6
ble .L413
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L413:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 7
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
cmp x0, x1
cset w0, ge
and w0, w0, 255
and x0, x0, 255
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L412:
ldr w0, [sp, 28]
cmp w0, 6
ble .L414
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L414:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 7
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
cmp x0, x1
cset w0, gt
and w0, w0, 255
and x0, x0, 255
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L384:
ldr w0, [sp, 28]
cmp w0, 5
bgt .L415
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 61
beq .L416
.L415:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L416:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 6
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
cmp x0, x1
cset w0, ne
and w0, w0, 255
and x0, x0, 255
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L377:
ldr w0, [sp, 28]
cmp w0, 5
ble .L417
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L417:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 61
bne .L418
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L418:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 6
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
cmp x0, x1
cset w0, eq
and w0, w0, 255
and x0, x0, 255
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L383:
ldr w0, [sp, 28]
cmp w0, 4
ble .L419
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L419:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 5
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
and x0, x0, x1
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L375:
ldr w0, [sp, 28]
cmp w0, 3
ble .L420
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L420:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 4
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
eor x0, x0, x1
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L373:
ldr w0, [sp, 28]
cmp w0, 2
ble .L421
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
b .L386
.L421:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 35]
add x0, sp, 72
mov x1, x0
mov w0, 3
bl scanexpr
mov x1, x0
ldr x0, [sp, 40]
orr x0, x0, x1
str x0, [sp, 40]
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w1, [x0]
ldrb w0, [sp, 35]
orr w0, w1, w0
and w0, w0, 255
orr w0, w0, 16
and w1, w0, 255
adrp x0, exprcat
add x0, x0, :lo12:exprcat
strb w1, [x0]
b .L386
.L374:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x1, x0, #1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
strb wzr, [sp, 36]
.L386:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
strb w0, [sp, 74]
ldr x0, [sp, 80]
cmp x0, 0
beq .L371
ldr x0, [sp, 64]
cmp x0, 0
beq .L422
ldr x0, [sp, 64]
ldrb w0, [x0, 33]
strb w0, [sp, 38]
ldr x0, [sp, 80]
ldrb w0, [x0, 33]
strb w0, [sp, 39]
ldrb w0, [sp, 38]
cmp w0, 4
beq .L423
ldrb w0, [sp, 39]
cmp w0, 4
bne .L424
.L423:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L371
.L424:
str xzr, [sp, 64]
b .L371
.L422:
ldp x0, x1, [sp, 72]
stp x0, x1, [sp, 56]
.L371:
ldrb w0, [sp, 36]
cmp w0, 0
bne .L426
ldr x2, [sp, 16]
ldp x0, x1, [sp, 56]
stp x0, x1, [x2]
ldr x0, [sp, 40]
.L427:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L428
bl __stack_chk_fail
.L428:
mov x0, x1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE42:
.size scanexpr, .-scanexpr
.align 2
.global isindexreg
.type isindexreg, %function
isindexreg:
.LFB43:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
cmp w0, 89
bgt .L430
cmp w0, 88
bge .L431
cmp w0, 87
beq .L432
cmp w0, 87
bgt .L430
cmp w0, 83
beq .L431
cmp w0, 85
bne .L430
.L431:
mov w0, 1
b .L433
.L432:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2
cmp x0, 0
beq .L435
mov w0, 1
b .L433
.L435:
nop
.L430:
mov w0, 0
.L433:
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE43:
.size isindexreg, .-isindexreg
.align 2
.global scanindexreg
.type scanindexreg, %function
scanindexreg:
.LFB44:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
cmp w0, 89
beq .L437
cmp w0, 89
bgt .L438
cmp w0, 88
beq .L439
cmp w0, 88
bgt .L438
cmp w0, 83
beq .L440
cmp w0, 85
beq .L441
b .L438
.L439:
mov w0, 1
b .L442
.L437:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
orr w0, w0, 32
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
mov w0, 1
b .L442
.L441:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
orr w0, w0, 64
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
mov w0, 1
b .L442
.L440:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
orr w0, w0, 96
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
mov w0, 1
b .L442
.L438:
mov w0, 0
.L442:
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE44:
.size scanindexreg, .-scanindexreg
.align 2
.global set3
.type set3, %function
set3:
.LFB45:
.cfi_startproc
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 3
bhi .L445
adrp x0, mode
add x0, x0, :lo12:mode
mov w1, 4
strb w1, [x0]
.L445:
nop
ret
.cfi_endproc
.LFE45:
.size set3, .-set3
.align 2
.global scanspecial
.type scanspecial, %function
scanspecial:
.LFB46:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl set3
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L447
bl skipspace
.L447:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
bne .L448
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
bne .L449
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
mov w1, -125
strb w1, [x0]
b .L450
.L449:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
mov w1, -126
strb w1, [x0]
.L450:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2
cmp x0, 0
beq .L451
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
cmp w0, 131
bne .L451
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
cmp w0, 87
bne .L451
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 6
bne .L452
mov w0, 144
b .L453
.L452:
mov w0, 143
.L453:
adrp x1, postbyte
add x1, x1, :lo12:postbyte
strb w0, [x1]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L456
.L451:
bl scanindexreg
cmp w0, 0
bne .L455
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L468
.L455:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L468
.L448:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
mov w1, -128
strb w1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2
cmp x0, 0
beq .L457
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
cmp w0, 87
bne .L457
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 43
bne .L458
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 43
bne .L459
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 6
bne .L460
mov w0, 176
b .L461
.L460:
mov w0, 175
.L461:
adrp x1, postbyte
add x1, x1, :lo12:postbyte
strb w0, [x1]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L456
.L459:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L456
.L458:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 6
bne .L463
mov w0, 144
b .L464
.L463:
mov w0, 143
.L464:
adrp x1, postbyte
add x1, x1, :lo12:postbyte
strb w0, [x1]
b .L456
.L457:
bl scanindexreg
cmp w0, 0
bne .L465
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L466
.L465:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L466:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 43
bne .L467
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 43
bne .L468
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
add w0, w0, 1
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
b .L468
.L467:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
add w0, w0, 4
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
b .L468
.L456:
.L468:
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE46:
.size scanspecial, .-scanspecial
.align 2
.global scanindexed
.type scanindexed, %function
scanindexed:
.LFB47:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl set3
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb wzr, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2
cmp x0, 0
beq .L470
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
cmp w0, 87
bne .L470
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 6
bne .L471
mov w0, 176
b .L472
.L471:
mov w0, 175
.L472:
adrp x1, postbyte
add x1, x1, :lo12:postbyte
strb w0, [x1]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
b .L473
.L470:
bl scanindexreg
cmp w0, 0
beq .L474
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 0
bne .L475
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
bne .L476
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
cmp w0, 0
bne .L477
.L476:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
b .L475
.L477:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmn x0, #16
blt .L478
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 15
bgt .L478
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 4
bne .L478
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 1
strb w1, [x0]
b .L475
.L478:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmn x0, #128
blt .L479
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 127
bgt .L479
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
b .L475
.L479:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
.L475:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 3
beq .L480
cmp w0, 3
bgt .L487
cmp w0, 1
beq .L482
cmp w0, 2
beq .L483
b .L487
.L482:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 255
and w0, w0, 31
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
add w0, w1, w0
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
strb wzr, [x0]
b .L473
.L483:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
sub w0, w0, #120
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
b .L473
.L480:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
sub w0, w0, #119
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
b .L473
.L474:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
cmp w0, 80
beq .L484
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L485
.L484:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
cmp w0, 67
beq .L486
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L485
.L486:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
cmp w0, 82
bne .L485
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L485:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
add w0, w0, 1
and w1, w0, 255
adrp x0, mode
add x0, x0, :lo12:mode
strb w1, [x0]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
sub w0, w0, #116
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 1
bne .L487
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
b .L487
.L473:
.L487:
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE47:
.size scanindexed, .-scanindexed
.align 2
.global scanoperands09
.type scanoperands09, %function
scanoperands09:
.LFB48:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
strb wzr, [sp, 39]
adrp x0, unknown
add x0, x0, :lo12:unknown
strb wzr, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
strb wzr, [x0]
adrp x0, certain
add x0, x0, :lo12:certain
mov w1, 1
strb w1, [x0]
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 37]
adrp x0, mode
add x0, x0, :lo12:mode
strb wzr, [x0]
ldrb w0, [sp, 37]
cmp w0, 91
bne .L489
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 37]
adrp x0, mode
add x0, x0, :lo12:mode
mov w1, 6
strb w1, [x0]
.L489:
ldrb w0, [sp, 37]
bl toupper
cmp w0, 87
beq .L490
cmp w0, 87
bgt .L491
cmp w0, 70
beq .L492
cmp w0, 70
bgt .L491
cmp w0, 69
beq .L493
cmp w0, 69
bgt .L491
cmp w0, 68
beq .L494
cmp w0, 68
bgt .L491
cmp w0, 66
beq .L495
cmp w0, 66
bgt .L491
cmp w0, 65
beq .L496
cmp w0, 65
bgt .L491
cmp w0, 62
beq .L497
cmp w0, 62
bgt .L491
cmp w0, 60
beq .L498
cmp w0, 60
bgt .L491
cmp w0, 35
beq .L499
cmp w0, 44
beq .L500
b .L491
.L494:
mov w0, -117
strb w0, [sp, 38]
.L501:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 40]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L502
bl skipspace
.L502:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L503
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 40]
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 37]
b .L491
.L503:
ldrb w0, [sp, 39]
cmp w0, 0
beq .L504
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2
cmp x0, 0
bne .L504
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L504:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w1, [sp, 38]
strb w1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
bl scanindexreg
cmp w0, 0
bne .L505
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 40]
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 37]
b .L491
.L505:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
bl set3
b .L506
.L496:
mov w0, -122
strb w0, [sp, 38]
b .L501
.L495:
mov w0, -123
strb w0, [sp, 38]
b .L501
.L493:
mov w0, -121
strb w0, [sp, 38]
mov w0, 1
strb w0, [sp, 39]
b .L501
.L492:
mov w0, -118
strb w0, [sp, 38]
mov w0, 1
strb w0, [sp, 39]
b .L501
.L490:
mov w0, -114
strb w0, [sp, 38]
mov w0, 1
strb w0, [sp, 39]
b .L501
.L500:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
bl scanspecial
b .L506
.L499:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 6
bne .L507
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L508
.L507:
adrp x0, mode
add x0, x0, :lo12:mode
strb wzr, [x0]
.L508:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
ldr x1, [sp, 24]
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
b .L506
.L498:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 60
bne .L509
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 1
strb w1, [x0]
b .L491
.L509:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
b .L491
.L497:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
.L491:
ldr x1, [sp, 24]
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L511
bl skipspace
.L511:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L512
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L513
bl skipspace
.L513:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
bne .L514
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
bne .L514
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
cmp w0, 0
beq .L514
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 1
bhi .L514
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
beq .L515
bl isindexreg
cmp w0, 0
beq .L514
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 43
bne .L514
.L515:
bl scanspecial
b .L506
.L514:
bl scanindexed
b .L506
.L512:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 0
bne .L517
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
bne .L518
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
cmp w0, 0
beq .L518
adrp x0, dpsetting
add x0, x0, :lo12:dpsetting
ldr x0, [x0]
cmn x0, #1
beq .L518
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w1, w0, 65535
adrp x0, dpsetting
add x0, x0, :lo12:dpsetting
ldr x0, [x0]
and w0, w0, 65535
ubfiz w0, w0, 8, 8
and w0, w0, 65535
sub w0, w1, w0
and w0, w0, 65535
cmp w0, 255
bls .L519
.L518:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
b .L517
.L519:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
.L517:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 1
bne .L520
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
.L520:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 6
bne .L521
adrp x0, postbyte
add x0, x0, :lo12:postbyte
mov w1, -113
strb w1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
b .L506
.L521:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
sub w0, w0, #1
and w1, w0, 255
adrp x0, mode
add x0, x0, :lo12:mode
strb w1, [x0]
.L506:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 5
bls .L522
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L523
bl skipspace
.L523:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
orr w0, w0, 16
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 93
beq .L524
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L522
.L524:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L522:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L526
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L526
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L526:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE48:
.size scanoperands09, .-scanoperands09
.align 2
.global scanoperands00
.type scanoperands00, %function
scanoperands00:
.LFB49:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 40]
adrp x0, unknown
add x0, x0, :lo12:unknown
strb wzr, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
strb wzr, [x0]
adrp x0, certain
add x0, x0, :lo12:certain
mov w1, 1
strb w1, [x0]
adrp x0, operand
add x0, x0, :lo12:operand
str xzr, [x0]
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 39]
adrp x0, mode
add x0, x0, :lo12:mode
strb wzr, [x0]
ldrb w0, [sp, 39]
bl toupper
cmp w0, 88
beq .L528
cmp w0, 88
bgt .L529
cmp w0, 62
beq .L530
cmp w0, 62
bgt .L529
cmp w0, 60
beq .L531
cmp w0, 60
bgt .L529
cmp w0, 35
beq .L532
cmp w0, 44
beq .L533
b .L529
.L528:
bl scanname
adrp x0, .LC385
add x1, x0, :lo12:.LC385
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L549
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 40]
str x1, [x0]
b .L529
.L551:
nop
.L533:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L536
bl skipspace
.L536:
bl scanname
adrp x0, .LC385
add x1, x0, :lo12:.LC385
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L550
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L537
.L549:
nop
b .L535
.L550:
nop
.L535:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp w0, 255
bhi .L538
adrp x0, mode
add x0, x0, :lo12:mode
mov w1, 3
strb w1, [x0]
b .L537
.L538:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L537
.L532:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
ldr x1, [sp, 24]
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
b .L537
.L531:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 60
bne .L540
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 1
strb w1, [x0]
b .L529
.L540:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
b .L529
.L530:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
.L529:
ldr x1, [sp, 24]
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L542
bl skipspace
.L542:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L551
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 0
bne .L544
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
bne .L545
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
cmp w0, 0
beq .L545
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
cmp w0, 255
bls .L546
.L545:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
b .L544
.L546:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
.L544:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 1
bne .L547
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
.L547:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
sub w0, w0, #1
and w1, w0, 255
adrp x0, mode
add x0, x0, :lo12:mode
strb w1, [x0]
.L537:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L552
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L552
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L552:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE49:
.size scanoperands00, .-scanoperands00
.align 2
.global scanoperands11
.type scanoperands11, %function
scanoperands11:
.LFB50:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 40]
adrp x0, unknown
add x0, x0, :lo12:unknown
strb wzr, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
strb wzr, [x0]
adrp x0, certain
add x0, x0, :lo12:certain
mov w1, 1
strb w1, [x0]
adrp x0, operand
add x0, x0, :lo12:operand
str xzr, [x0]
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 35]
adrp x0, mode
add x0, x0, :lo12:mode
strb wzr, [x0]
ldrb w0, [sp, 35]
bl toupper
cmp w0, 89
bgt .L554
cmp w0, 88
bge .L555
cmp w0, 62
beq .L556
cmp w0, 62
bgt .L554
cmp w0, 60
beq .L557
cmp w0, 60
bgt .L554
cmp w0, 35
beq .L558
cmp w0, 44
beq .L559
b .L554
.L555:
bl scanname
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
ldrb w0, [x0, 1]
cmp w0, 0
beq .L580
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 40]
str x1, [x0]
b .L554
.L582:
nop
.L559:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L562
bl skipspace
.L562:
bl scanname
adrp x0, .LC385
add x1, x0, :lo12:.LC385
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L581
adrp x0, .LC386
add x1, x0, :lo12:.LC386
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L581
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L563
.L580:
nop
b .L561
.L581:
nop
.L561:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp w0, 255
bhi .L564
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
ldrb w0, [x0]
cmp w0, 88
bne .L565
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 0
beq .L566
adrp x0, codebuf
add x0, x0, :lo12:codebuf
ldrb w0, [x0]
cmp w0, 24
bne .L566
adrp x0, codebuf
add x0, x0, :lo12:codebuf
mov w1, 26
strb w1, [x0]
b .L566
.L565:
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
ldrb w0, [x0]
cmp w0, 89
bne .L566
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 0
bne .L567
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
add w2, w0, 1
adrp x1, codeptr
add x1, x1, :lo12:codeptr
str w2, [x1]
str w0, [sp, 36]
b .L568
.L569:
ldr w0, [sp, 36]
sub w2, w0, #1
adrp x0, codebuf
add x1, x0, :lo12:codebuf
sxtw x0, w2
ldrb w2, [x1, x0]
adrp x0, codebuf
add x1, x0, :lo12:codebuf
ldrsw x0, [sp, 36]
strb w2, [x1, x0]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L568:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L569
adrp x0, codebuf
add x0, x0, :lo12:codebuf
mov w1, 24
strb w1, [x0]
b .L566
.L567:
adrp x0, codebuf
add x0, x0, :lo12:codebuf
ldrb w0, [x0]
cmp w0, 26
bne .L566
adrp x0, codebuf
add x0, x0, :lo12:codebuf
mov w1, -51
strb w1, [x0]
.L566:
adrp x0, mode
add x0, x0, :lo12:mode
mov w1, 3
strb w1, [x0]
b .L563
.L564:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L563
.L558:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
ldr x1, [sp, 24]
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
b .L563
.L557:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 60
bne .L571
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 1
strb w1, [x0]
b .L554
.L571:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
b .L554
.L556:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
.L554:
ldr x1, [sp, 24]
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L573
bl skipspace
.L573:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L582
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 0
bne .L575
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
bne .L576
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
cmp w0, 0
beq .L576
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
cmp w0, 255
bls .L577
.L576:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
b .L575
.L577:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
.L575:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 1
bne .L578
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
.L578:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
sub w0, w0, #1
and w1, w0, 255
adrp x0, mode
add x0, x0, :lo12:mode
strb w1, [x0]
.L563:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L583
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L583
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L583:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE50:
.size scanoperands11, .-scanoperands11
.section .rodata
.align 3
.LC497:
.string "%-.8s"
.text
.align 2
.global writerelhdr
.type writerelhdr, %function
writerelhdr:
.LFB51:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
strb w0, [sp, 31]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 3
bl fputc
ldrb w0, [sp, 31]
cmp w0, 0
beq .L585
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 24
bl fputc
b .L586
.L585:
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
bne .L587
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 16
bl fputc
b .L586
.L587:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 18
bl fputc
.L586:
ldrb w0, [sp, 31]
cmp w0, 0
beq .L588
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x0, [x0]
ldrh w0, [x0, 34]
lsr w0, w0, 8
and w0, w0, 65535
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x0, [x0]
ldrh w0, [x0, 34]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
b .L589
.L588:
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
lsr w0, w0, 8
and w0, w0, 65535
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
.L589:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
ldrb w0, [sp, 31]
cmp w0, 0
beq .L590
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
b .L591
.L590:
str wzr, [sp, 48]
str wzr, [sp, 44]
b .L592
.L595:
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
ldrb w0, [x0, 33]
cmp w0, 4
beq .L593
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 44]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
ldrb w0, [x0, 33]
cmp w0, 20
bne .L594
.L593:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L594:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L592:
ldrsw x1, [sp, 44]
adrp x0, relcounter
add x0, x0, :lo12:relcounter
ldr x0, [x0]
cmp x1, x0
blt .L595
ldr w0, [sp, 48]
lsl w0, w0, 3
mov w2, w0
adrp x0, relcounter
add x0, x0, :lo12:relcounter
ldr x0, [x0]
mov w1, w0
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
add w0, w2, w0
str w0, [sp, 48]
ldr w0, [sp, 48]
asr w0, w0, 8
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
ldr w0, [sp, 48]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
.L591:
ldrb w0, [sp, 31]
cmp w0, 0
bne .L596
adrp x0, tfradrset
add x0, x0, :lo12:tfradrset
ldr w0, [x0]
cmp w0, 0
bne .L597
.L596:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
b .L598
.L597:
adrp x0, tfradr
add x0, x0, :lo12:tfradr
ldrh w0, [x0]
lsr w0, w0, 8
and w0, w0, 65535
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, tfradr
add x0, x0, :lo12:tfradr
ldrh w0, [x0]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
.L598:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
ldrb w0, [sp, 31]
cmp w0, 0
beq .L599
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 12
bl fputc
b .L600
.L599:
str wzr, [sp, 52]
str wzr, [sp, 44]
b .L601
.L603:
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 8
bne .L602
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L602:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L601:
ldrsw x1, [sp, 44]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
cmp x1, x0
blt .L603
ldr w1, [sp, 52]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 2
str w0, [sp, 52]
ldr w0, [sp, 52]
asr w0, w0, 8
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
ldr w0, [sp, 52]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
.L600:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
ldrb w0, [sp, 31]
cmp w0, 0
beq .L604
adrp x0, .LC496
add x0, x0, :lo12:.LC496
ldrb w0, [x0]
strb w0, [sp, 72]
str xzr, [sp, 73]
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x0, [x0]
add x3, sp, 72
mov x2, x0
adrp x0, .LC497
add x1, x0, :lo12:.LC497
mov x0, x3
bl sprintf
add x0, sp, 72
bl strupr
add x0, sp, 72
bl strlen
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L605
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
.L605:
ldr x0, [sp, 56]
lsr x0, x0, 8
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
ldr x0, [sp, 56]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
b .L606
.L604:
adrp x0, modulename
add x0, x0, :lo12:modulename
bl strlen
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
beq .L607
ldr x0, [sp, 64]
add x0, x0, 1
str x0, [sp, 64]
.L607:
ldr x0, [sp, 64]
lsr x0, x0, 8
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
ldr x0, [sp, 64]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
.L606:
ldrb w0, [sp, 31]
cmp w0, 0
bne .L608
adrp x0, tfradrset
add x0, x0, :lo12:tfradrset
ldr w0, [x0]
cmp w0, 0
beq .L608
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 128
bl fputc
b .L609
.L608:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
.L609:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 88]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L610
bl __stack_chk_fail
.L610:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE51:
.size writerelhdr, .-writerelhdr
.section .rodata
.align 3
.LC496:
.string ""
.zero 8
.text
.section .rodata
.align 3
.LC498:
.string "%-8.8s"
.text
.align 2
.global writerelcommon
.type writerelcommon, %function
writerelcommon:
.LFB52:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 16]
b .L612
.L618:
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 16]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 20
bne .L613
ldrsw x1, [sp, 16]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
mov x1, x0
adrp x0, symtable
add x0, x0, :lo12:symtable
add x1, x1, x0
adrp x0, commonsym
add x0, x0, :lo12:commonsym
str x1, [x0]
mov w0, 1
bl writerelhdr
ldrsw x1, [sp, 16]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, symtable
add x1, x1, :lo12:symtable
add x0, x0, x1
add x3, sp, 24
mov x2, x0
adrp x0, .LC498
add x1, x0, :lo12:.LC498
mov x0, x3
bl sprintf
add x0, sp, 24
bl strupr
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x1, [x0]
add x0, sp, 24
mov x3, x1
mov x2, 8
mov x1, 1
bl fwrite
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 1
bl fputc
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 16]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
lsr w0, w0, 8
and w0, w0, 65535
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 16]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 19
bl fputc
ldrsw x1, [sp, 16]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, symtable
add x1, x1, :lo12:symtable
add x0, x0, x1
add x3, sp, 24
mov x2, x0
adrp x0, .LC497
add x1, x0, :lo12:.LC497
mov x0, x3
bl sprintf
add x0, sp, 24
bl strupr
str wzr, [sp, 20]
b .L614
.L615:
ldrsw x0, [sp, 20]
add x1, sp, 24
ldrb w0, [x1, x0]
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L614:
ldrsw x0, [sp, 20]
add x1, sp, 24
ldrb w0, [x1, x0]
cmp w0, 0
bne .L615
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 4
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
bl ftell
str w0, [sp, 20]
b .L616
.L617:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L616:
ldr w1, [sp, 20]
mov w0, 8323
movk w0, 0x8208, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
add w0, w1, w0
asr w2, w0, 7
asr w0, w1, 31
sub w2, w2, w0
mov w0, w2
lsl w0, w0, 6
sub w0, w0, w2
lsl w0, w0, 2
sub w2, w1, w0
cmp w2, 0
bne .L617
.L613:
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L612:
ldrsw x1, [sp, 16]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
cmp x1, x0
blt .L618
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L619
bl __stack_chk_fail
.L619:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE52:
.size writerelcommon, .-writerelcommon
.align 2
.global writerelext
.type writerelext, %function
writerelext:
.LFB53:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 20]
b .L621
.L626:
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 20]
lsl x0, x0, 4
add x0, x1, x0
ldrh w0, [x0]
lsr w0, w0, 8
and w0, w0, 65535
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 20]
lsl x0, x0, 4
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
strb wzr, [sp, 19]
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 20]
lsl x0, x0, 4
add x0, x1, x0
ldrb w0, [x0, 2]
and w0, w0, 32
cmp w0, 0
beq .L622
ldrb w0, [sp, 19]
orr w0, w0, 32
strb w0, [sp, 19]
.L622:
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 20]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
ldrb w0, [x0, 33]
cmp w0, 4
beq .L623
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 20]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
ldrb w0, [x0, 33]
cmp w0, 20
bne .L624
.L623:
ldrb w0, [sp, 19]
orr w0, w0, -128
strb w0, [sp, 19]
.L624:
ldrb w2, [sp, 19]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
ldrsb w0, [sp, 19]
cmp w0, 0
bge .L625
adrp x0, reltable
add x1, x0, :lo12:reltable
ldrsw x0, [sp, 20]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
add x3, sp, 24
mov x2, x0
adrp x0, .LC498
add x1, x0, :lo12:.LC498
mov x0, x3
bl sprintf
add x0, sp, 24
bl strupr
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x1, [x0]
add x0, sp, 24
mov x3, x1
mov x2, 8
mov x1, 1
bl fwrite
.L625:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L621:
ldrsw x1, [sp, 20]
adrp x0, relcounter
add x0, x0, :lo12:relcounter
ldr x0, [x0]
cmp x1, x0
blt .L626
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L627
bl __stack_chk_fail
.L627:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE53:
.size writerelext, .-writerelext
.align 2
.global writerelglobal
.type writerelglobal, %function
writerelglobal:
.LFB54:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 20]
b .L629
.L631:
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 8
bne .L630
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
adrp x1, symtable
add x1, x1, :lo12:symtable
add x0, x0, x1
add x3, sp, 24
mov x2, x0
adrp x0, .LC498
add x1, x0, :lo12:.LC498
mov x0, x3
bl sprintf
add x0, sp, 24
bl strupr
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x1, [x0]
add x0, sp, 24
mov x3, x1
mov x2, 8
mov x1, 1
bl fwrite
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
lsr w0, w0, 8
and w0, w0, 65535
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 20]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrh w0, [x0, 34]
and w0, w0, 255
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 2
bl fputc
.L630:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L629:
ldrsw x1, [sp, 20]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
cmp x1, x0
blt .L631
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L632
bl __stack_chk_fail
.L632:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE54:
.size writerelglobal, .-writerelglobal
.align 2
.global writerelmodname
.type writerelmodname, %function
writerelmodname:
.LFB55:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, modulename
add x0, x0, :lo12:modulename
ldrb w0, [x0]
cmp w0, 0
beq .L638
adrp x0, modulename
add x0, x0, :lo12:modulename
bl strupr
str wzr, [sp, 28]
b .L636
.L637:
adrp x0, modulename
add x1, x0, :lo12:modulename
ldrsw x0, [sp, 28]
ldrb w0, [x1, x0]
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L636:
adrp x0, modulename
add x1, x0, :lo12:modulename
ldrsw x0, [sp, 28]
ldrb w0, [x1, x0]
cmp w0, 0
bne .L637
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 4
bl fputc
b .L633
.L638:
nop
.L633:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE55:
.size writerelmodname, .-writerelmodname
.section .rodata
.align 3
.LC499:
.string "S1%02X%04X"
.align 3
.LC500:
.string "%02X"
.align 3
.LC501:
.string "%02X\n"
.text
.align 2
.global flushhex
.type flushhex, %function
flushhex:
.LFB56:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
cmp w0, 0
beq .L644
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
cmp x0, 0
beq .L641
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x4, [x0]
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
add w0, w0, 3
and w1, w0, 255
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
mov w3, w0
mov w2, w1
adrp x0, .LC499
add x1, x0, :lo12:.LC499
mov x0, x4
bl fprintf
str wzr, [sp, 28]
b .L642
.L643:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x3, [x0]
adrp x0, hexbuffer
add x1, x0, :lo12:hexbuffer
ldrsw x0, [sp, 28]
ldrb w0, [x1, x0]
mov w2, w0
adrp x0, .LC500
add x1, x0, :lo12:.LC500
mov x0, x3
bl fprintf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L642:
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L643
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
and w1, w0, 255
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
lsr w0, w0, 8
and w0, w0, 65535
and w0, w0, 255
add w1, w1, w0
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
add w0, w1, w0
mov w1, w0
adrp x0, chksum
add x0, x0, :lo12:chksum
ldr w0, [x0]
add w0, w1, w0
add w1, w0, 3
adrp x0, chksum
add x0, x0, :lo12:chksum
str w1, [x0]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x3, [x0]
adrp x0, chksum
add x0, x0, :lo12:chksum
ldr w0, [x0]
mvn w0, w0
and w0, w0, 255
mov w2, w0
adrp x0, .LC501
add x1, x0, :lo12:.LC501
mov x0, x3
bl fprintf
.L641:
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
and w1, w0, 65535
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
add w0, w1, w0
and w1, w0, 65535
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
strh w1, [x0]
adrp x0, hexcount
add x0, x0, :lo12:hexcount
str wzr, [x0]
adrp x0, chksum
add x0, x0, :lo12:chksum
str wzr, [x0]
.L644:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE56:
.size flushhex, .-flushhex
.section .rodata
.align 3
.LC502:
.string ":%02X%04X00"
.text
.align 2
.global flushihex
.type flushihex, %function
flushihex:
.LFB57:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
cmp w0, 0
beq .L650
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
cmp x0, 0
beq .L647
adrp x0, hexbuffer
add x0, x0, :lo12:hexbuffer
str x0, [sp, 24]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x4, [x0]
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w1, [x0]
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
mov w3, w0
mov w2, w1
adrp x0, .LC502
add x1, x0, :lo12:.LC502
mov x0, x4
bl fprintf
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
lsr w0, w0, 8
and w0, w0, 65535
and w1, w0, 255
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
add w1, w1, w0
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
and w0, w0, 255
add w0, w1, w0
mov w1, w0
adrp x0, chksum
add x0, x0, :lo12:chksum
str w1, [x0]
str wzr, [sp, 20]
b .L648
.L649:
ldr x0, [sp, 24]
ldrb w0, [x0]
mov w1, w0
adrp x0, chksum
add x0, x0, :lo12:chksum
ldr w0, [x0]
add w1, w1, w0
adrp x0, chksum
add x0, x0, :lo12:chksum
str w1, [x0]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x3, [x0]
ldr x0, [sp, 24]
ldrb w0, [x0]
mov w2, w0
adrp x0, .LC500
add x1, x0, :lo12:.LC500
mov x0, x3
bl fprintf
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
.L648:
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L649
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x3, [x0]
adrp x0, chksum
add x0, x0, :lo12:chksum
ldr w0, [x0]
neg w0, w0
and w0, w0, 255
mov w2, w0
adrp x0, .LC501
add x1, x0, :lo12:.LC501
mov x0, x3
bl fprintf
.L647:
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
and w1, w0, 65535
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
add w0, w1, w0
and w1, w0, 65535
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
strh w1, [x0]
adrp x0, hexcount
add x0, x0, :lo12:hexcount
str wzr, [x0]
adrp x0, chksum
add x0, x0, :lo12:chksum
str wzr, [x0]
.L650:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE57:
.size flushihex, .-flushihex
.align 2
.global flushflex
.type flushflex, %function
flushflex:
.LFB58:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
cmp w0, 0
beq .L656
adrp x0, hexbuffer
add x0, x0, :lo12:hexbuffer
str x0, [sp, 24]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
cmp x0, 0
beq .L653
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 2
bl fputc
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
lsr w0, w0, 8
and w0, w0, 65535
and w2, w0, 255
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
and w2, w0, 255
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
and w2, w0, 255
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
str wzr, [sp, 20]
b .L654
.L655:
ldr x0, [sp, 24]
ldrb w0, [x0]
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
.L654:
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
blt .L655
.L653:
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
and w1, w0, 65535
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
ldrh w0, [x0]
add w0, w1, w0
and w1, w0, 65535
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
strh w1, [x0]
adrp x0, hexcount
add x0, x0, :lo12:hexcount
str wzr, [x0]
.L656:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE58:
.size flushflex, .-flushflex
.align 2
.global outhex
.type outhex, %function
outhex:
.LFB59:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
strb w0, [sp, 31]
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
cmp w0, 16
bne .L658
bl flushhex
.L658:
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
add w2, w0, 1
adrp x1, hexcount
add x1, x1, :lo12:hexcount
str w2, [x1]
adrp x1, hexbuffer
add x1, x1, :lo12:hexbuffer
sxtw x0, w0
ldrb w2, [sp, 31]
strb w2, [x1, x0]
ldrb w1, [sp, 31]
adrp x0, chksum
add x0, x0, :lo12:chksum
ldr w0, [x0]
add w1, w1, w0
adrp x0, chksum
add x0, x0, :lo12:chksum
str w1, [x0]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE59:
.size outhex, .-outhex
.align 2
.global outihex
.type outihex, %function
outihex:
.LFB60:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
strb w0, [sp, 31]
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
cmp w0, 32
bne .L660
bl flushihex
.L660:
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
add w2, w0, 1
adrp x1, hexcount
add x1, x1, :lo12:hexcount
str w2, [x1]
adrp x1, hexbuffer
add x1, x1, :lo12:hexbuffer
sxtw x0, w0
ldrb w2, [sp, 31]
strb w2, [x1, x0]
ldrb w1, [sp, 31]
adrp x0, chksum
add x0, x0, :lo12:chksum
ldr w0, [x0]
add w1, w1, w0
adrp x0, chksum
add x0, x0, :lo12:chksum
str w1, [x0]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE60:
.size outihex, .-outihex
.align 2
.global outflex
.type outflex, %function
outflex:
.LFB61:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
strb w0, [sp, 31]
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
cmp w0, 255
bne .L662
bl flushflex
.L662:
adrp x0, hexcount
add x0, x0, :lo12:hexcount
ldr w0, [x0]
add w2, w0, 1
adrp x1, hexcount
add x1, x1, :lo12:hexcount
str w2, [x1]
adrp x1, hexbuffer
add x1, x1, :lo12:hexbuffer
sxtw x0, w0
ldrb w2, [sp, 31]
strb w2, [x1, x0]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE61:
.size outflex, .-outflex
.align 2
.global outbyte
.type outbyte, %function
outbyte:
.LFB62:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
strb w0, [sp, 31]
str w1, [sp, 24]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
mov w1, w0
ldr w0, [sp, 24]
add w0, w1, w0
add w1, w0, 7
cmp w0, 0
csel w0, w1, w0, lt
asr w0, w0, 3
str w0, [sp, 44]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
mov w1, w0
ldr w0, [sp, 24]
add w0, w1, w0
and w0, w0, 7
mov w1, 1
lsl w0, w1, w0
strb w0, [sp, 43]
adrp x0, bUsedBytes
add x1, x0, :lo12:bUsedBytes
ldrsw x0, [sp, 44]
ldrb w1, [x1, x0]
ldrb w0, [sp, 43]
and w0, w1, w0
and w0, w0, 255
cmp w0, 0
beq .L664
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
orr x1, x0, 4
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
b .L665
.L664:
adrp x0, bUsedBytes
add x1, x0, :lo12:bUsedBytes
ldrsw x0, [sp, 44]
ldrb w1, [x1, x0]
ldrb w0, [sp, 43]
orr w0, w1, w0
and w2, w0, 255
adrp x0, bUsedBytes
add x1, x0, :lo12:bUsedBytes
ldrsw x0, [sp, 44]
strb w2, [x1, x0]
.L665:
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 5
beq .L666
cmp w0, 5
bgt .L671
cmp w0, 3
beq .L668
cmp w0, 3
bgt .L671
cmp w0, 2
beq .L669
cmp w0, 2
bgt .L671
cmp w0, 0
beq .L666
cmp w0, 1
beq .L670
b .L671
.L666:
ldrb w2, [sp, 31]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
b .L667
.L670:
ldrb w0, [sp, 31]
bl outhex
b .L667
.L669:
ldrb w0, [sp, 31]
bl outihex
b .L667
.L668:
ldrb w0, [sp, 31]
bl outflex
nop
.L667:
.L671:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE62:
.size outbyte, .-outbyte
.align 2
.global outbuffer
.type outbuffer, %function
outbuffer:
.LFB63:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 28]
b .L673
.L674:
adrp x0, codebuf
add x1, x0, :lo12:codebuf
ldrsw x0, [sp, 28]
ldrb w0, [x1, x0]
ldr w1, [sp, 28]
bl outbyte
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L673:
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
ldr w1, [sp, 28]
cmp w1, w0
blt .L674
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE63:
.size outbuffer, .-outbuffer
.section .rodata
.align 3
.LC503:
.string "%s(%ld) : error %d: %s in \"%s\"\n"
.align 3
.LC504:
.string "*** Error %d: %s\n"
.align 3
.LC505:
.string "%s(%ld) : warning %d: %s in \"%s\"\n"
.align 3
.LC506:
.string "*** warning %d: %s\n"
.text
.align 2
.global report
.type report, %function
report:
.LFB64:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 28]
b .L676
.L680:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
and x0, x0, 1
cmp x0, 0
beq .L677
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0, 16]
bl expandfn
mov x6, x0
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x2, [x0, 24]
ldr w0, [sp, 28]
add w3, w0, 1
adrp x0, errormsg
add x0, x0, :lo12:errormsg
ldrsw x1, [sp, 28]
ldr x1, [x0, x1, lsl 3]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
add x0, x0, 34
mov x5, x0
mov x4, x1
mov x1, x6
adrp x0, .LC503
add x0, x0, :lo12:.LC503
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L678
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L679
.L678:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L679
ldr w0, [sp, 28]
add w3, w0, 1
adrp x0, errormsg
add x0, x0, :lo12:errormsg
ldrsw x1, [sp, 28]
ldr x0, [x0, x1, lsl 3]
mov x2, x0
mov w1, w3
adrp x0, .LC504
add x0, x0, :lo12:.LC504
bl putlist
.L679:
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
add x1, x0, 1
adrp x0, errors
add x0, x0, :lo12:errors
str x1, [x0]
.L677:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
asr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L676:
ldr w0, [sp, 28]
cmp w0, 15
ble .L680
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
beq .L681
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
and x1, x0, -2
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
.L681:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 65536
cmp x0, 0
bne .L682
adrp x0, warning
add x0, x0, :lo12:warning
str xzr, [x0]
.L682:
str wzr, [sp, 28]
b .L683
.L687:
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
and x0, x0, 1
cmp x0, 0
beq .L684
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0, 16]
bl expandfn
mov x6, x0
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x2, [x0, 24]
ldr w0, [sp, 28]
add w3, w0, 1
adrp x0, warningmsg
add x0, x0, :lo12:warningmsg
ldrsw x1, [sp, 28]
ldr x1, [x0, x1, lsl 3]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
add x0, x0, 34
mov x5, x0
mov x4, x1
mov x1, x6
adrp x0, .LC505
add x0, x0, :lo12:.LC505
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L685
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L686
.L685:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L686
ldr w0, [sp, 28]
add w3, w0, 1
adrp x0, warningmsg
add x0, x0, :lo12:warningmsg
ldrsw x1, [sp, 28]
ldr x0, [x0, x1, lsl 3]
mov x2, x0
mov w1, w3
adrp x0, .LC506
add x0, x0, :lo12:.LC506
bl putlist
.L686:
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x0, [x0]
add x1, x0, 1
adrp x0, warnings
add x0, x0, :lo12:warnings
str x1, [x0]
.L684:
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
asr x1, x0, 1
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L683:
ldr w0, [sp, 28]
cmp w0, 15
ble .L687
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE64:
.size report, .-report
.align 2
.global pemt_expr
.type pemt_expr, %function
pemt_expr:
.LFB65:
.cfi_startproc
sub sp, sp, #1184
.cfi_def_cfa_offset 1184
stp x29, x30, [sp]
.cfi_offset 29, -1184
.cfi_offset 30, -1176
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1176]
mov x1, 0
strb wzr, [sp, 57]
strb wzr, [sp, 58]
mov w0, 1
str w0, [sp, 64]
str wzr, [sp, 68]
adrp x0, .LC507
add x0, x0, :lo12:.LC507
add x2, sp, 104
mov x3, x0
ldp x0, x1, [x3]
stp x0, x1, [x2]
ldr x0, [x3, 16]
str x0, [x2, 16]
ldr w0, [sp, 44]
add w0, w0, 2
str w0, [sp, 60]
b .L689
.L708:
ldr w2, [sp, 60]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 42
bne .L690
ldrb w0, [sp, 57]
cmp w0, 0
bne .L690
strb wzr, [sp, 59]
adrp x0, .LC508
add x0, x0, :lo12:.LC508
add x2, sp, 128
mov x3, x0
ldp x0, x1, [x3]
stp x0, x1, [x2]
ldr x0, [x3, 16]
str x0, [x2, 16]
ldr w0, [sp, 60]
add w2, w0, 1
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 44
bne .L691
ldr w0, [sp, 60]
add w2, w0, 2
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 100
beq .L692
ldr w0, [sp, 60]
add w2, w0, 2
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 120
bne .L691
.L692:
ldr w0, [sp, 60]
add w2, w0, 2
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 120
bne .L693
mov w0, 2
b .L694
.L693:
mov w0, 1
.L694:
strb w0, [sp, 59]
ldr w0, [sp, 60]
add w0, w0, 2
str w0, [sp, 60]
.L691:
ldrsw x0, [sp, 68]
add x1, sp, 152
add x3, x1, x0
ldrb w0, [sp, 59]
sxtw x0, w0
lsl x0, x0, 3
add x1, sp, 128
ldr x1, [x1, x0]
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w2, w0
mov x0, x3
bl sprintf
mov w1, w0
ldr w0, [sp, 68]
add w0, w0, w1
str w0, [sp, 68]
b .L695
.L690:
ldr w2, [sp, 60]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 64
bne .L696
ldr w0, [sp, 60]
add w2, w0, 1
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 40
bne .L696
ldrb w0, [sp, 57]
cmp w0, 0
bne .L696
ldr w3, [sp, 60]
ldrsw x0, [sp, 68]
add x1, sp, 152
add x0, x1, x0
add x1, sp, 60
mov x2, x1
mov x1, x0
mov w0, w3
bl pemt_expr
mov w1, w0
ldr w0, [sp, 68]
add w0, w0, w1
str w0, [sp, 68]
b .L695
.L696:
ldr w2, [sp, 60]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 40
bne .L697
ldrb w0, [sp, 57]
cmp w0, 0
bne .L698
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L698:
ldr w3, [sp, 60]
ldr w0, [sp, 68]
add w1, w0, 1
str w1, [sp, 68]
adrp x1, szBuf1
add x2, x1, :lo12:szBuf1
sxtw x1, w3
ldrb w2, [x2, x1]
sxtw x0, w0
add x1, sp, 152
strb w2, [x1, x0]
ldrsw x0, [sp, 68]
add x1, sp, 152
strb wzr, [x1, x0]
b .L695
.L697:
ldr w2, [sp, 60]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 41
bne .L699
ldrb w0, [sp, 57]
cmp w0, 0
bne .L700
ldr w0, [sp, 64]
sub w0, w0, #1
str w0, [sp, 64]
.L700:
ldr w0, [sp, 64]
cmp w0, 0
bne .L701
ldr w0, [sp, 60]
add w2, w0, 1
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 44
bne .L713
ldr w0, [sp, 60]
add w2, w0, 2
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 100
beq .L703
ldr w0, [sp, 60]
add w2, w0, 2
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 120
bne .L713
.L703:
ldr w0, [sp, 60]
add w2, w0, 2
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 120
bne .L704
mov w0, 2
b .L705
.L704:
mov w0, 1
.L705:
strb w0, [sp, 58]
ldr w0, [sp, 60]
add w0, w0, 2
str w0, [sp, 60]
b .L713
.L701:
ldr w3, [sp, 60]
ldr w0, [sp, 68]
add w1, w0, 1
str w1, [sp, 68]
adrp x1, szBuf1
add x2, x1, :lo12:szBuf1
sxtw x1, w3
ldrb w2, [x2, x1]
sxtw x0, w0
add x1, sp, 152
strb w2, [x1, x0]
ldrsw x0, [sp, 68]
add x1, sp, 152
strb wzr, [x1, x0]
b .L695
.L699:
ldr w2, [sp, 60]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 92
bne .L707
ldrb w0, [sp, 57]
cmp w0, 0
beq .L695
.L707:
ldr w3, [sp, 60]
ldr w0, [sp, 68]
add w1, w0, 1
str w1, [sp, 68]
adrp x1, szBuf1
add x2, x1, :lo12:szBuf1
sxtw x1, w3
ldrb w2, [x2, x1]
sxtw x0, w0
add x1, sp, 152
strb w2, [x1, x0]
ldrsw x0, [sp, 68]
add x1, sp, 152
strb wzr, [x1, x0]
.L695:
ldr w2, [sp, 60]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 92
cset w0, eq
and w0, w0, 255
strb w0, [sp, 57]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L689:
ldr w2, [sp, 60]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 0
bne .L708
b .L706
.L713:
nop
.L706:
ldr w1, [sp, 60]
ldr x0, [sp, 24]
str w1, [x0]
ldr w0, [sp, 44]
add w1, w0, 2
ldr w0, [sp, 60]
cmp w1, w0
bge .L709
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 72]
stp xzr, xzr, [sp, 88]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
add x1, sp, 152
str x1, [x0]
add x0, sp, 88
mov x1, x0
mov w0, 0
bl scanexpr
str x0, [sp, 80]
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L710
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L710
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L710:
ldrb w0, [sp, 58]
sxtw x0, w0
lsl x0, x0, 3
add x1, sp, 104
ldr x0, [x1, x0]
ldr x2, [sp, 80]
mov x1, x0
ldr x0, [sp, 32]
bl sprintf
str w0, [sp, 68]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 72]
str x1, [x0]
.L709:
ldr w0, [sp, 68]
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1176]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L712
bl __stack_chk_fail
.L712:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 1184
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE65:
.size pemt_expr, .-pemt_expr
.section .rodata
.align 3
.LC0:
.string "%04lX"
.align 3
.LC1:
.string "%ld"
.data
.align 3
.LC507:
.xword .LC0
.xword .LC1
.xword .LC0
.section .rodata
.align 3
.LC3:
.string "$%04lX"
.data
.align 3
.LC508:
.xword .LC3
.xword .LC1
.xword .LC3
.text
.section .rodata
.align 3
.LC509:
.string "%4d "
.align 3
.LC510:
.string "%c"
.align 3
.LC511:
.string "setdp %04X %02X\n"
.align 3
.LC512:
.string "data %04X"
.align 3
.LC513:
.string "-%04X"
.align 3
.LC514:
.string "word %04x"
.align 3
.LC515:
.string "dword %04x"
.align 3
.LC516:
.string "%04X"
.align 3
.LC517:
.string "%s"
.align 3
.LC518:
.string "label %04X %s\n"
.align 3
.LC519:
.string "patch "
.align 3
.LC520:
.string " "
.align 3
.LC521:
.string ">"
.align 3
.LC522:
.string "#"
.align 3
.LC523:
.string "+"
.align 3
.LC524:
.string "&"
.align 3
.LC525:
.string "-"
.align 3
.LC526:
.string " "
.align 3
.LC527:
.string "%04X "
.align 3
.LC528:
.string " "
.align 3
.LC529:
.string "%02X "
.align 3
.LC530:
.string " "
.align 3
.LC531:
.string " "
.align 3
.LC532:
.string "lcomment %04X "
.align 3
.LC533:
.string "insert %04X "
.align 3
.LC534:
.string "comment %04X "
.align 3
.LC535:
.string "\\"
.align 3
.LC536:
.string "patch"
.align 3
.LC537:
.string " %04X "
.align 3
.LC538:
.string "+ ( %s )\n"
.text
.align 2
.global outlist
.type outlist, %function
outlist:
.LFB66:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
sxtb w0, w0
cmp w0, 0
bge .L715
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16384
cmp x0, 0
beq .L805
.L715:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 96
cmp w0, 96
bne .L717
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 128
cmp x0, 0
beq .L806
.L717:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 96
cmp w0, 64
bne .L718
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 256
cmp x0, 0
beq .L807
.L718:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 31
cmp w0, 0
beq .L719
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 524288
cmp x0, 0
beq .L808
.L719:
adrp x0, suppress
add x0, x0, :lo12:suppress
ldr w0, [x0]
cmp w0, 0
bne .L720
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
ldr w0, [x0]
cmp w0, 0
beq .L721
.L720:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 64
cmp x0, 0
beq .L809
.L721:
adrp x0, condline
add x0, x0, :lo12:condline
ldrb w0, [x0]
cmp w0, 0
beq .L722
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 64
cmp x0, 0
beq .L810
.L722:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 8192
cmp x0, 0
beq .L723
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0, 24]
mov x1, x0
adrp x0, .LC509
add x0, x0, :lo12:.LC509
bl putlist
.L723:
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
bne .L724
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
bne .L724
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 33]
mov w1, w0
adrp x0, .LC510
add x0, x0, :lo12:.LC510
bl putlist
.L724:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L725
ldr x0, [sp, 24]
cmp x0, 0
beq .L726
ldr x0, [sp, 24]
ldrh w0, [x0, 8]
cmp w0, 63
bne .L726
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 49
beq .L727
cmp x0, 49
bhi .L726
cmp x0, 48
beq .L728
cmp x0, 48
bhi .L726
cmp x0, 47
beq .L729
cmp x0, 47
bhi .L726
cmp x0, 34
beq .L728
cmp x0, 34
bhi .L726
cmp x0, 14
beq .L730
cmp x0, 14
bhi .L726
cmp x0, 12
beq .L811
cmp x0, 12
bhi .L726
cmp x0, 8
bhi .L732
cmp x0, 7
bcs .L728
b .L726
.L732:
cmp x0, 9
beq .L733
b .L726
.L730:
adrp x0, dpsetting
add x0, x0, :lo12:dpsetting
ldr x0, [x0]
cmp x0, 0
blt .L812
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
mov w1, w0
adrp x0, dpsetting
add x0, x0, :lo12:dpsetting
ldr x0, [x0]
mov x2, x0
adrp x0, .LC511
add x0, x0, :lo12:.LC511
bl putlist
b .L812
.L728:
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, .LC512
add x0, x0, :lo12:.LC512
bl putlist
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 1
ble .L735
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
add w0, w1, w0
sub w0, w0, #1
mov w1, w0
adrp x0, .LC513
add x0, x0, :lo12:.LC513
bl putlist
.L735:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
b .L726
.L733:
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, .LC514
add x0, x0, :lo12:.LC514
bl putlist
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 2
ble .L736
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
add w0, w1, w0
sub w0, w0, #1
mov w1, w0
adrp x0, .LC513
add x0, x0, :lo12:.LC513
bl putlist
.L736:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
b .L726
.L729:
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, .LC515
add x0, x0, :lo12:.LC515
bl putlist
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 2
ble .L737
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
add w0, w1, w0
sub w0, w0, #1
mov w1, w0
adrp x0, .LC513
add x0, x0, :lo12:.LC513
bl putlist
.L737:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
b .L726
.L727:
strb wzr, [sp, 32]
str wzr, [sp, 36]
b .L738
.L742:
ldr w2, [sp, 36]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 42
bne .L739
ldrb w0, [sp, 32]
cmp w0, 0
bne .L739
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, .LC516
add x0, x0, :lo12:.LC516
bl putlist
b .L740
.L739:
ldr w2, [sp, 36]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 64
bne .L741
ldr w0, [sp, 36]
add w2, w0, 1
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 40
bne .L741
ldrb w0, [sp, 32]
cmp w0, 0
bne .L741
ldr w0, [sp, 36]
add x2, sp, 36
add x1, sp, 56
bl pemt_expr
add x0, sp, 56
mov x1, x0
adrp x0, .LC517
add x0, x0, :lo12:.LC517
bl putlist
b .L740
.L741:
ldr w2, [sp, 36]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
mov w1, w0
adrp x0, .LC510
add x0, x0, :lo12:.LC510
bl putlist
.L740:
ldr w2, [sp, 36]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 92
cset w0, eq
and w0, w0, 255
strb w0, [sp, 32]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L738:
ldr w2, [sp, 36]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
sxtw x0, w2
ldrb w0, [x1, x0]
cmp w0, 0
bne .L742
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
b .L726
.L811:
nop
b .L726
.L812:
nop
.L726:
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 0
ble .L743
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
bl findsymat
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L744
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
ldr x2, [sp, 48]
mov w1, w0
adrp x0, .LC518
add x0, x0, :lo12:.LC518
bl putlist
.L744:
adrp x0, .LC519
add x0, x0, :lo12:.LC519
bl putlist
b .L745
.L743:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 34]
cmp w0, 0
beq .L745
adrp x0, .LC520
add x0, x0, :lo12:.LC520
bl putlist
b .L745
.L725:
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
and x0, x0, 1
cmp x0, 0
beq .L746
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
beq .L746
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 65536
cmp x0, 0
beq .L746
adrp x0, .LC521
add x0, x0, :lo12:.LC521
bl putlist
b .L745
.L746:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 96
cmp w0, 32
bne .L747
adrp x0, .LC522
add x0, x0, :lo12:.LC522
bl putlist
b .L745
.L747:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 96
cmp w0, 64
bne .L748
adrp x0, .LC523
add x0, x0, :lo12:.LC523
bl putlist
b .L745
.L748:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 96
cmp w0, 96
bne .L749
adrp x0, .LC524
add x0, x0, :lo12:.LC524
bl putlist
b .L745
.L749:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
sxtb w0, w0
cmp w0, 0
bge .L750
adrp x0, .LC525
add x0, x0, :lo12:.LC525
bl putlist
b .L745
.L750:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 34]
cmp w0, 0
beq .L745
adrp x0, .LC526
add x0, x0, :lo12:.LC526
bl putlist
.L745:
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 0
ble .L751
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
bne .L752
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
and w0, w0, 65535
b .L753
.L752:
mov w0, 0
.L753:
adrp x1, oldlc
add x1, x1, :lo12:oldlc
ldrh w1, [x1]
add w0, w0, w1
and w0, w0, 65535
mov w1, w0
adrp x0, .LC527
add x0, x0, :lo12:.LC527
bl putlist
b .L754
.L751:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 34]
cmp w0, 0
beq .L755
adrp x0, .LC528
add x0, x0, :lo12:.LC528
bl putlist
b .L754
.L755:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
b .L714
.L754:
str wzr, [sp, 36]
b .L756
.L760:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L757
ldr w2, [sp, 36]
adrp x0, codebuf
add x1, x0, :lo12:codebuf
sxtw x0, w2
ldrb w0, [x1, x0]
mov w1, w0
adrp x0, .LC529
add x0, x0, :lo12:.LC529
bl putlist
b .L758
.L757:
ldr w2, [sp, 36]
adrp x0, codebuf
add x1, x0, :lo12:codebuf
sxtw x0, w2
ldrb w0, [x1, x0]
mov w1, w0
adrp x0, .LC500
add x0, x0, :lo12:.LC500
bl putlist
.L758:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L756:
ldr w1, [sp, 36]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w1, w0
bge .L761
ldr w0, [sp, 36]
cmp w0, 6
ble .L760
b .L761
.L764:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L762
adrp x0, .LC530
add x0, x0, :lo12:.LC530
bl putlist
b .L763
.L762:
adrp x0, .LC531
add x0, x0, :lo12:.LC531
bl putlist
.L763:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L761:
ldr w0, [sp, 36]
cmp w0, 7
ble .L764
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L765
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 34]
cmp w0, 0
beq .L765
adrp x0, .LC485
add x0, x0, :lo12:.LC485
bl putlist
.L765:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
add x2, x0, 34
adrp x0, srcline
add x1, x0, :lo12:srcline
mov x0, x2
bl strcmp
cmp w0, 0
beq .L766
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 256
cmp x0, 0
beq .L766
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
add x0, x0, 34
mov x1, x0
adrp x0, .LC517
add x0, x0, :lo12:.LC517
bl putlist
b .L767
.L766:
adrp x0, srcline
add x1, x0, :lo12:srcline
adrp x0, .LC517
add x0, x0, :lo12:.LC517
bl putlist
.L767:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L768
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 34]
cmp w0, 0
beq .L768
strb wzr, [sp, 33]
str wzr, [sp, 40]
mov w0, -1
str w0, [sp, 44]
str wzr, [sp, 36]
b .L769
.L778:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
ldr w0, [sp, 36]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 34]
strb w0, [sp, 34]
ldrb w0, [sp, 34]
cmp w0, 42
beq .L770
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 1048576
cmp x0, 0
beq .L771
ldrb w0, [sp, 34]
cmp w0, 124
beq .L770
.L771:
ldrb w0, [sp, 34]
cmp w0, 59
bne .L772
.L770:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 34]
ldrb w1, [sp, 34]
cmp w1, w0
beq .L773
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 34]
cmp w0, 64
bne .L772
ldrb w0, [sp, 33]
cmp w0, 0
bne .L772
.L773:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldr w0, [sp, 36]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 34]
strb w0, [sp, 34]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldr w0, [sp, 36]
str w0, [sp, 44]
bl __ctype_b_loc
ldr x1, [x0]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x2, [x0]
ldrsw x0, [sp, 44]
add x0, x2, x0
ldrb w0, [x0, 34]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
beq .L813
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
b .L813
.L772:
bl __ctype_b_loc
ldr x1, [x0]
ldrb w0, [sp, 34]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
beq .L776
ldrb w0, [sp, 33]
cmp w0, 0
bne .L777
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
b .L777
.L776:
mov w0, 1
strb w0, [sp, 33]
.L777:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L769:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
ldr w0, [sp, 36]
sxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 34]
cmp w0, 0
bne .L778
b .L775
.L813:
nop
.L775:
ldr w0, [sp, 44]
cmp w0, 0
ble .L768
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
ldrsw x0, [sp, 44]
add x0, x1, x0
ldrb w0, [x0, 34]
cmp w0, 0
bne .L779
ldrb w0, [sp, 33]
cmp w0, 0
bne .L768
ldr w0, [sp, 40]
cmp w0, 2
bgt .L768
.L779:
ldrb w0, [sp, 33]
cmp w0, 0
bne .L780
ldr w0, [sp, 40]
cmp w0, 2
ble .L781
.L780:
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, .LC532
add x0, x0, :lo12:.LC532
bl putlist
b .L782
.L781:
ldrb w0, [sp, 34]
cmp w0, 64
bne .L783
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, .LC533
add x0, x0, :lo12:.LC533
bl putlist
b .L782
.L783:
adrp x0, oldlc
add x0, x0, :lo12:oldlc
ldrh w0, [x0]
mov w1, w0
adrp x0, .LC534
add x0, x0, :lo12:.LC534
bl putlist
.L782:
bl __ctype_b_loc
ldr x1, [x0]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x2, [x0]
ldrsw x0, [sp, 44]
add x0, x2, x0
ldrb w0, [x0, 34]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
beq .L785
adrp x0, .LC535
add x0, x0, :lo12:.LC535
bl putlist
b .L785
.L787:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
ldrsw x0, [sp, 44]
add x0, x1, x0
ldrb w0, [x0, 34]
strb w0, [sp, 35]
ldrb w0, [sp, 35]
cmp w0, 42
bne .L786
adrp x0, .LC535
add x0, x0, :lo12:.LC535
bl putlist
.L786:
ldrb w0, [sp, 35]
mov w1, w0
adrp x0, .LC510
add x0, x0, :lo12:.LC510
bl putlist
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L785:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
ldrsw x0, [sp, 44]
add x0, x1, x0
ldrb w0, [x0, 34]
cmp w0, 0
bne .L787
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
.L768:
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 7
ble .L788
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x1, [x0]
mov x0, 1024
movk x0, 0x100, lsl 16
and x0, x1, x0
cmp x0, 0
beq .L788
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L789
adrp x0, .LC536
add x0, x0, :lo12:.LC536
bl putlist
.L789:
mov w0, 7
str w0, [sp, 36]
b .L790
.L799:
ldr w0, [sp, 36]
mov w1, 9363
movk w1, 0x9249, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
add w1, w0, w1
asr w2, w1, 2
asr w1, w0, 31
sub w2, w2, w1
mov w1, w2
lsl w1, w1, 3
sub w1, w1, w2
sub w2, w0, w1
cmp w2, 0
bne .L791
ldr w0, [sp, 36]
cmp w0, 7
beq .L792
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L792
ldr w1, [sp, 36]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w1, w0
bge .L792
adrp x0, .LC536
add x0, x0, :lo12:.LC536
bl putlist
.L792:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 8192
cmp x0, 0
beq .L793
adrp x0, .LC528
add x0, x0, :lo12:.LC528
bl putlist
.L793:
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
bne .L794
adrp x0, .LC526
add x0, x0, :lo12:.LC526
bl putlist
.L794:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
bne .L795
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
and w0, w0, 65535
b .L796
.L795:
mov w0, 0
.L796:
adrp x1, oldlc
add x1, x1, :lo12:oldlc
ldrh w1, [x1]
add w0, w0, w1
and w1, w0, 65535
ldr w0, [sp, 36]
and w0, w0, 65535
add w0, w1, w0
and w0, w0, 65535
mov w1, w0
adrp x0, .LC537
add x0, x0, :lo12:.LC537
bl putlist
.L791:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L797
ldr w2, [sp, 36]
adrp x0, codebuf
add x1, x0, :lo12:codebuf
sxtw x0, w2
ldrb w0, [x1, x0]
mov w1, w0
adrp x0, .LC529
add x0, x0, :lo12:.LC529
bl putlist
b .L798
.L797:
ldr w2, [sp, 36]
adrp x0, codebuf
add x1, x0, :lo12:codebuf
sxtw x0, w2
ldrb w0, [x1, x0]
mov w1, w0
adrp x0, .LC500
add x0, x0, :lo12:.LC500
bl putlist
.L798:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L790:
ldr w1, [sp, 36]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w1, w0
blt .L799
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
.L788:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
add x2, x0, 34
adrp x0, srcline
add x1, x0, :lo12:srcline
mov x0, x2
bl strcmp
cmp w0, 0
beq .L714
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 256
cmp x0, 0
beq .L714
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 8192
cmp x0, 0
beq .L801
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0, 24]
mov x1, x0
adrp x0, .LC509
add x0, x0, :lo12:.LC509
bl putlist
.L801:
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
bne .L802
adrp x0, .LC526
add x0, x0, :lo12:.LC526
bl putlist
.L802:
adrp x0, srcline
add x1, x0, :lo12:srcline
adrp x0, .LC538
add x0, x0, :lo12:.LC538
bl putlist
b .L714
.L805:
nop
b .L714
.L806:
nop
b .L714
.L807:
nop
b .L714
.L808:
nop
b .L714
.L809:
nop
b .L714
.L810:
nop
.L714:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 72]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L804
bl __stack_chk_fail
.L804:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE66:
.size outlist, .-outlist
.align 2
.global setlabel
.type setlabel, %function
setlabel:
.LFB67:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
cmp x0, 0
beq .L827
ldr x0, [sp, 8]
ldrb w0, [x0, 33]
cmp w0, 10
bne .L816
ldr x0, [sp, 8]
mov w1, 8
strb w1, [x0, 33]
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
and w1, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 8]
strh w1, [x0, 34]
b .L827
.L816:
ldr x0, [sp, 8]
ldrb w0, [x0, 33]
cmp w0, 38
bne .L817
ldr x0, [sp, 8]
mov w1, 34
strb w1, [x0, 33]
b .L827
.L817:
ldr x0, [sp, 8]
ldrb w0, [x0, 33]
cmp w0, 34
beq .L827
ldr x0, [sp, 8]
ldrb w0, [x0, 33]
cmp w0, 13
beq .L818
ldr x0, [sp, 8]
ldrb w0, [x0, 33]
cmp w0, 6
beq .L818
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 134217728
cmp x0, 0
beq .L819
ldr x0, [sp, 8]
ldrb w0, [x0, 33]
cmp w0, 0
bne .L819
ldr x0, [sp, 8]
ldrh w1, [x0, 34]
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
and w2, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
add w0, w2, w0
and w0, w0, 65535
cmp w1, w0
bne .L819
adrp x0, global
add x0, x0, :lo12:global
ldr x0, [x0]
cmp x0, 0
beq .L820
mov w0, 8
b .L821
.L820:
mov w0, 2
.L821:
ldr x1, [sp, 8]
strb w0, [x1, 33]
.L819:
ldr x0, [sp, 8]
ldrb w0, [x0, 33]
cmp w0, 2
beq .L822
ldr x0, [sp, 8]
ldrb w0, [x0, 33]
cmp w0, 8
bne .L823
.L822:
ldr x0, [sp, 8]
ldrh w1, [x0, 34]
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
and w2, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
add w0, w2, w0
and w0, w0, 65535
cmp w1, w0
beq .L828
.L823:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L828
.L818:
adrp x0, global
add x0, x0, :lo12:global
ldr x0, [x0]
cmp x0, 0
beq .L825
mov w0, 8
b .L826
.L825:
mov w0, 2
.L826:
ldr x1, [sp, 8]
strb w0, [x1, 33]
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
and w1, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 8]
strh w1, [x0, 34]
b .L827
.L828:
nop
.L827:
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE67:
.size setlabel, .-setlabel
.align 2
.global putbyte
.type putbyte, %function
putbyte:
.LFB68:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, 15]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 255
bhi .L830
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w2, [x0]
adrp x0, codebuf
add x1, x0, :lo12:codebuf
sxtw x0, w2
ldrb w2, [sp, 15]
strb w2, [x1, x0]
.L830:
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
add w1, w0, 1
adrp x0, codeptr
add x0, x0, :lo12:codeptr
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE68:
.size putbyte, .-putbyte
.align 2
.global putword
.type putword, %function
putword:
.LFB69:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
strh w0, [sp, 30]
ldrh w0, [sp, 30]
lsr w0, w0, 8
and w0, w0, 65535
and w0, w0, 255
bl putbyte
ldrh w0, [sp, 30]
and w0, w0, 255
bl putbyte
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE69:
.size putword, .-putword
.align 2
.global putdword
.type putdword, %function
putdword:
.LFB70:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
lsr x0, x0, 24
and w0, w0, 255
bl putbyte
ldr x0, [sp, 24]
lsr x0, x0, 16
and w0, w0, 255
bl putbyte
ldr x0, [sp, 24]
lsr x0, x0, 8
and w0, w0, 255
bl putbyte
ldr x0, [sp, 24]
and w0, w0, 255
bl putbyte
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE70:
.size putdword, .-putdword
.align 2
.global doaddress
.type doaddress, %function
doaddress:
.LFB71:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str wzr, [sp, 40]
ldr x0, [sp, 24]
cmp x0, 0
beq .L834
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
and w1, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
strh w1, [x0]
.L834:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 7
beq .L835
cmp w0, 7
bgt .L836
cmp w0, 6
beq .L837
cmp w0, 6
bgt .L836
cmp w0, 5
beq .L835
cmp w0, 5
bgt .L836
cmp w0, 4
beq .L837
cmp w0, 4
bgt .L836
cmp w0, 3
beq .L838
cmp w0, 3
bgt .L836
cmp w0, 2
beq .L839
cmp w0, 2
bgt .L836
cmp w0, 0
beq .L840
cmp w0, 1
beq .L841
b .L836
.L840:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 2
bne .L842
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 255
bl putbyte
b .L836
.L842:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 5
bne .L844
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
bl putdword
b .L836
.L844:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
bl putword
mov w0, 1
str w0, [sp, 40]
b .L836
.L841:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 255
bl putbyte
b .L836
.L839:
adrp x0, codebuf
add x0, x0, :lo12:codebuf
ldrb w0, [x0]
cmp w0, 126
beq .L845
adrp x0, codebuf
add x0, x0, :lo12:codebuf
ldrb w0, [x0]
cmp w0, 189
bne .L846
.L845:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 1
bls .L846
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
sxth w0, w0
mov w2, w0
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
and w1, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
add w0, w1, w0
and w0, w0, 65535
sxth w0, w0
sub w0, w2, w0
sub w0, w0, #3
str w0, [sp, 44]
ldr w0, [sp, 44]
and w0, w0, 65408
cmp w0, 0
beq .L847
ldr w0, [sp, 44]
and w1, w0, 65408
mov w0, 65408
cmp w1, w0
bne .L846
.L847:
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
cmp w0, 0
beq .L848
mov x0, 1
b .L849
.L848:
mov x0, 0
.L849:
adrp x1, warning
add x1, x1, :lo12:warning
ldr x1, [x1]
orr x1, x0, x1
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
.L846:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
bl putword
mov w0, 1
str w0, [sp, 40]
b .L836
.L838:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 255
bl putbyte
b .L836
.L837:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
bl putbyte
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 2
beq .L850
cmp w0, 3
beq .L851
b .L836
.L850:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 255
bl putbyte
nop
b .L836
.L851:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
bl putword
mov w0, 1
str w0, [sp, 40]
b .L836
.L835:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
mov w1, w0
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
mov w2, w0
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
add w0, w2, w0
sub w1, w1, w0
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
sub w0, w1, w0
sub w0, w0, #2
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #128
blt .L853
ldr w0, [sp, 36]
cmp w0, 127
bgt .L853
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 3
beq .L853
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
bne .L853
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
cmp w0, 0
bne .L854
.L853:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 0
beq .L855
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 3
bne .L856
.L855:
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
add w0, w0, 1
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
.L856:
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
bne .L854
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 2
bne .L857
ldr w0, [sp, 36]
cmn w0, #128
blt .L858
ldr w0, [sp, 36]
cmp w0, 127
bgt .L858
.L857:
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 3
bne .L854
ldr w0, [sp, 36]
cmn w0, #32768
blt .L858
ldr w1, [sp, 36]
mov w0, 32767
cmp w1, w0
ble .L854
.L858:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 16
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L854:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
bl putbyte
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
cmp w0, 3
bne .L859
ldr w0, [sp, 36]
and w0, w0, 65535
bl putword
mov w0, 1
str w0, [sp, 40]
b .L836
.L859:
ldr w0, [sp, 36]
and w0, w0, 255
bl putbyte
.L836:
ldr w0, [sp, 40]
cmp w0, 0
beq .L861
ldr x0, [sp, 24]
bl addreloc
.L861:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE71:
.size doaddress, .-doaddress
.align 2
.global onebyte
.type onebyte, %function
onebyte:
.LFB72:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE72:
.size onebyte, .-onebyte
.align 2
.global twobyte
.type twobyte, %function
twobyte:
.LFB73:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
and w0, w0, 65535
bl putword
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE73:
.size twobyte, .-twobyte
.align 2
.global threebyte
.type threebyte, %function
threebyte:
.LFB74:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
lsr x0, x0, 16
and w0, w0, 255
bl putbyte
ldr x0, [sp, 24]
lsr x0, x0, 8
and w0, w0, 255
bl putbyte
ldr x0, [sp, 24]
and w0, w0, 255
bl putbyte
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE74:
.size threebyte, .-threebyte
.align 2
.global fourbyte
.type fourbyte, %function
fourbyte:
.LFB75:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
lsr x0, x0, 24
and w0, w0, 255
bl putbyte
ldr x0, [sp, 24]
lsr x0, x0, 16
and w0, w0, 255
bl putbyte
ldr x0, [sp, 24]
lsr x0, x0, 8
and w0, w0, 255
bl putbyte
ldr x0, [sp, 24]
and w0, w0, 255
bl putbyte
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE75:
.size fourbyte, .-fourbyte
.align 2
.global oneimm
.type oneimm, %function
oneimm:
.LFB76:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 3
bls .L867
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L867:
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 255
bl putbyte
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L868
bl __stack_chk_fail
.L868:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE76:
.size oneimm, .-oneimm
.align 2
.global lea
.type lea, %function
lea:
.LFB77:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
ldr w0, [sp, 28]
and w0, w0, 255
bl onebyte
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 0
bne .L870
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L870:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 3
bhi .L871
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
mov w1, -113
strb w1, [x0]
adrp x0, mode
add x0, x0, :lo12:mode
mov w1, 4
strb w1, [x0]
.L871:
add x0, sp, 40
bl doaddress
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L872
bl __stack_chk_fail
.L872:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE77:
.size lea, .-lea
.align 2
.global sbranch
.type sbranch, %function
sbranch:
.LFB78:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 1
beq .L874
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L874
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L874:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
mov w1, w0
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
mov w2, w0
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
add w0, w2, w0
sub w0, w1, w0
sub w0, w0, #2
str w0, [sp, 36]
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
bne .L875
ldr w0, [sp, 36]
cmn w0, #128
blt .L876
ldr w0, [sp, 36]
cmp w0, 127
ble .L875
.L876:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 16
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L875:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L877
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L877
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L877:
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
ldr w0, [sp, 36]
and w0, w0, 255
bl putbyte
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L878
bl __stack_chk_fail
.L878:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE78:
.size sbranch, .-sbranch
.align 2
.global lbra
.type lbra, %function
lbra:
.LFB79:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 1
beq .L880
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L880
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L880:
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
mov w1, w0
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
mov w2, w0
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
add w0, w2, w0
sub w0, w1, w0
sub w0, w0, #3
str w0, [sp, 36]
ldr w0, [sp, 36]
and w0, w0, 65535
bl putword
ldr w0, [sp, 36]
and w0, w0, 65408
cmp w0, 0
beq .L881
ldr w0, [sp, 36]
and w1, w0, 65408
mov w0, 65408
cmp w1, w0
bne .L886
.L881:
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
cmp w0, 0
beq .L883
mov x0, 1
b .L884
.L883:
mov x0, 0
.L884:
adrp x1, warning
add x1, x1, :lo12:warning
ldr x1, [x1]
orr x1, x0, x1
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
.L886:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L885
bl __stack_chk_fail
.L885:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE79:
.size lbra, .-lbra
.align 2
.global lbranch
.type lbranch, %function
lbranch:
.LFB80:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 1
beq .L888
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L888
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L888:
ldr w0, [sp, 28]
and w0, w0, 65535
bl putword
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
mov w1, w0
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
mov w2, w0
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
add w0, w2, w0
sub w0, w1, w0
sub w0, w0, #4
str w0, [sp, 36]
ldr w0, [sp, 36]
and w0, w0, 65535
bl putword
ldr w0, [sp, 36]
and w0, w0, 65408
cmp w0, 0
beq .L889
ldr w0, [sp, 36]
and w1, w0, 65408
mov w0, 65408
cmp w1, w0
bne .L894
.L889:
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
cmp w0, 0
beq .L891
mov x0, 1
b .L892
.L891:
mov x0, 0
.L892:
adrp x1, warning
add x1, x1, :lo12:warning
ldr x1, [x1]
orr x1, x0, x1
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
.L894:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L893
bl __stack_chk_fail
.L893:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE80:
.size lbranch, .-lbranch
.align 2
.global arith
.type arith, %function
arith:
.LFB81:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
strb w1, [sp, 27]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L896
cmp w0, 2
bgt .L897
cmp w0, 0
beq .L898
cmp w0, 1
beq .L899
b .L897
.L898:
ldrb w0, [sp, 27]
cmp w0, 0
beq .L900
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L900:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 2
strb w1, [x0]
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
b .L901
.L899:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 16
and w0, w0, 255
bl putbyte
b .L901
.L896:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
bl putbyte
b .L901
.L897:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 32
and w0, w0, 255
bl putbyte
.L901:
add x0, sp, 40
bl doaddress
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L902
bl __stack_chk_fail
.L902:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE81:
.size arith, .-arith
.align 2
.global accarith
.type accarith, %function
accarith:
.LFB82:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
strb w1, [sp, 27]
strb w2, [sp, 26]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 40]
mov w0, 1
strb w0, [sp, 39]
bl skipspace
bl scanname
adrp x0, .LC390
add x1, x0, :lo12:.LC390
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L904
adrp x0, .LC391
add x1, x0, :lo12:.LC391
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L904
strb wzr, [sp, 39]
.L904:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L905
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L905:
ldrb w0, [sp, 39]
cmp w0, 0
bne .L906
ldrb w0, [sp, 26]
cmp w0, 0
beq .L907
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 40]
str x1, [x0]
b .L908
.L907:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L908
.L906:
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
ldrb w0, [x0]
cmp w0, 66
bne .L908
ldr w0, [sp, 28]
orr w0, w0, 64
str w0, [sp, 28]
.L908:
ldrb w1, [sp, 27]
ldr w0, [sp, 28]
bl arith
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE82:
.size accarith, .-accarith
.align 2
.global idxextarith
.type idxextarith, %function
idxextarith:
.LFB83:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L910
cmp w0, 2
bgt .L911
cmp w0, 0
beq .L912
cmp w0, 1
beq .L913
b .L911
.L912:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
b .L914
.L913:
adrp x0, mode
add x0, x0, :lo12:mode
mov w1, 2
strb w1, [x0]
.L910:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
bl putbyte
b .L914
.L911:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 32
and w0, w0, 255
bl putbyte
nop
.L914:
add x0, sp, 40
bl doaddress
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L915
bl __stack_chk_fail
.L915:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE83:
.size idxextarith, .-idxextarith
.align 2
.global darith
.type darith, %function
darith:
.LFB84:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
strb w1, [sp, 27]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L917
cmp w0, 2
bgt .L918
cmp w0, 0
beq .L919
cmp w0, 1
beq .L920
b .L918
.L919:
ldrb w0, [sp, 27]
cmp w0, 0
beq .L921
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L921:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
b .L922
.L920:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 16
and w0, w0, 255
bl putbyte
b .L922
.L917:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 48
and w0, w0, 255
bl putbyte
b .L922
.L918:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 32
and w0, w0, 255
bl putbyte
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 67108864
cmp x0, 0
beq .L926
adrp x0, codebuf
add x0, x0, :lo12:codebuf
ldrb w0, [x0]
cmp w0, 24
bne .L926
ldr w0, [sp, 28]
cmp w0, 140
beq .L924
ldr w0, [sp, 28]
cmp w0, 206
beq .L924
ldr w0, [sp, 28]
cmp w0, 207
bne .L926
.L924:
adrp x0, codebuf
add x0, x0, :lo12:codebuf
mov w1, -51
strb w1, [x0]
.L926:
nop
.L922:
add x0, sp, 40
bl doaddress
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L925
bl __stack_chk_fail
.L925:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE84:
.size darith, .-darith
.align 2
.global darith18
.type darith18, %function
darith18:
.LFB85:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
strb w1, [sp, 27]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
add w2, w0, 1
adrp x1, codeptr
add x1, x1, :lo12:codeptr
str w2, [x1]
adrp x1, codebuf
add x1, x1, :lo12:codebuf
sxtw x0, w0
mov w2, 24
strb w2, [x1, x0]
ldrb w1, [sp, 27]
ldr w0, [sp, 28]
bl darith
adrp x0, codebuf
add x0, x0, :lo12:codebuf
ldrb w0, [x0]
cmp w0, 205
bne .L929
adrp x0, codebuf
add x0, x0, :lo12:codebuf
mov w1, 24
strb w1, [x0]
.L929:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE85:
.size darith18, .-darith18
.align 2
.global darith1a
.type darith1a, %function
darith1a:
.LFB86:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
strb w1, [sp, 27]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
add w2, w0, 1
adrp x1, codeptr
add x1, x1, :lo12:codeptr
str w2, [x1]
adrp x1, codebuf
add x1, x1, :lo12:codebuf
sxtw x0, w0
mov w2, 26
strb w2, [x1, x0]
ldrb w1, [sp, 27]
ldr w0, [sp, 28]
bl darith
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE86:
.size darith1a, .-darith1a
.align 2
.global d2arith
.type d2arith, %function
d2arith:
.LFB87:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
strb w1, [sp, 27]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L932
cmp w0, 2
bgt .L933
cmp w0, 0
beq .L934
cmp w0, 1
beq .L935
b .L933
.L934:
ldrb w0, [sp, 27]
cmp w0, 0
beq .L936
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L936:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 3
strb w1, [x0]
ldr w0, [sp, 28]
and w0, w0, 65535
bl putword
b .L937
.L935:
ldr w0, [sp, 28]
and w0, w0, 65535
add w0, w0, 16
and w0, w0, 65535
bl putword
b .L937
.L932:
ldr w0, [sp, 28]
and w0, w0, 65535
add w0, w0, 48
and w0, w0, 65535
bl putword
b .L937
.L933:
ldr w0, [sp, 28]
and w0, w0, 65535
add w0, w0, 32
and w0, w0, 65535
bl putword
.L937:
add x0, sp, 40
bl doaddress
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L938
bl __stack_chk_fail
.L938:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE87:
.size d2arith, .-d2arith
.align 2
.global qarith
.type qarith, %function
qarith:
.LFB88:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
strb w1, [sp, 27]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L940
cmp w0, 2
bgt .L941
cmp w0, 0
beq .L942
cmp w0, 1
beq .L943
b .L941
.L942:
ldrb w0, [sp, 27]
cmp w0, 0
beq .L944
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L944:
adrp x0, opsize
add x0, x0, :lo12:opsize
mov w1, 5
strb w1, [x0]
mov w0, -51
bl putbyte
b .L945
.L943:
ldr w0, [sp, 28]
and w0, w0, 65535
add w0, w0, 16
and w0, w0, 65535
bl putword
b .L945
.L940:
ldr w0, [sp, 28]
and w0, w0, 65535
add w0, w0, 48
and w0, w0, 65535
bl putword
b .L945
.L941:
ldr w0, [sp, 28]
and w0, w0, 65535
add w0, w0, 32
and w0, w0, 65535
bl putword
nop
.L945:
add x0, sp, 40
bl doaddress
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L946
bl __stack_chk_fail
.L946:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE88:
.size qarith, .-qarith
.align 2
.global oneaddr
.type oneaddr, %function
oneaddr:
.LFB89:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
bl skipspace
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
beq .L948
ldr w0, [sp, 28]
cmp w0, 14
beq .L948
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 32]
bl scanname
adrp x0, .LC390
add x1, x0, :lo12:.LC390
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L949
adrp x0, .LC391
add x1, x0, :lo12:.LC391
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
bne .L950
.L949:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L950
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
orr x1, x0, 8
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
ldrb w0, [x0]
cmp w0, 65
bne .L951
mov w0, 64
b .L952
.L951:
mov w0, 80
.L952:
ldr w1, [sp, 28]
orr w0, w0, w1
bl onebyte
b .L947
.L950:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 32]
str x1, [x0]
.L948:
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L954
cmp w0, 2
bgt .L955
cmp w0, 0
beq .L956
cmp w0, 1
beq .L957
b .L955
.L956:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L958
.L957:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 4
cmp x0, 0
beq .L959
ldr w0, [sp, 28]
cmp w0, 14
bne .L959
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L958
.L959:
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
b .L958
.L954:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 112
and w0, w0, 255
bl putbyte
b .L958
.L955:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 96
and w0, w0, 255
bl putbyte
nop
.L958:
add x0, sp, 40
bl doaddress
.L947:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L961
bl __stack_chk_fail
.L961:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE89:
.size oneaddr, .-oneaddr
.align 2
.global accaddr
.type accaddr, %function
accaddr:
.LFB90:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
bl skipspace
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
beq .L963
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 32]
bl scanname
adrp x0, .LC390
add x1, x0, :lo12:.LC390
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L964
adrp x0, .LC391
add x1, x0, :lo12:.LC391
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
bne .L965
.L964:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L965
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
ldrb w0, [x0]
cmp w0, 65
bne .L966
mov w0, 64
b .L967
.L966:
mov w0, 80
.L967:
ldr w1, [sp, 28]
orr w0, w0, w1
bl onebyte
b .L962
.L965:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 32]
str x1, [x0]
.L963:
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L969
cmp w0, 2
bgt .L970
cmp w0, 0
beq .L971
cmp w0, 1
beq .L972
b .L970
.L971:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L973
.L972:
adrp x0, mode
add x0, x0, :lo12:mode
mov w1, 2
strb w1, [x0]
.L969:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 112
and w0, w0, 255
bl putbyte
b .L973
.L970:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 96
and w0, w0, 255
bl putbyte
nop
.L973:
add x0, sp, 40
bl doaddress
.L962:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L974
bl __stack_chk_fail
.L974:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE90:
.size accaddr, .-accaddr
.align 2
.global tfrexg
.type tfrexg, %function
tfrexg:
.LFB91:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
bl skipspace
bl scanname
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2
cmp x0, 0
beq .L976
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl findreg63
str x0, [sp, 40]
b .L977
.L976:
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl findreg
str x0, [sp, 40]
.L977:
ldr x0, [sp, 40]
cmp x0, 0
bne .L978
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L979
.L978:
ldr x0, [sp, 40]
ldrb w0, [x0, 8]
ubfiz w0, w0, 4, 4
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
.L979:
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L980
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L981
.L980:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L981:
bl skipspace
bl scanname
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl findreg
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L982
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L983
.L982:
ldr x0, [sp, 40]
ldrb w1, [x0, 8]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
orr w0, w1, w0
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
.L983:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
bl putbyte
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE91:
.size tfrexg, .-tfrexg
.align 2
.global pshpul
.type pshpul, %function
pshpul:
.LFB92:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb wzr, [x0]
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 35
bne .L985
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L986
bl skipspace
.L986:
add x0, sp, 40
mov x1, x0
mov w0, 0
bl scanexpr
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
b .L987
.L985:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L988
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L988:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L989
bl skipspace
.L989:
bl scanname
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl findreg
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L990
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L991
.L990:
ldr x0, [sp, 32]
ldrb w1, [x0, 9]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
orr w0, w1, w0
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
.L991:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L992
bl skipspace
.L992:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L985
.L987:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
bl putbyte
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L993
bl __stack_chk_fail
.L993:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE92:
.size pshpul, .-pshpul
.align 2
.global bitdirect
.type bitdirect, %function
bitdirect:
.LFB93:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
ldrb w0, [x0]
cmp w0, 35
beq .L995
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L995:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L996
bl skipspace
.L996:
add x0, sp, 40
mov x1, x0
mov w0, 0
bl scanexpr
strh w0, [sp, 38]
ldrh w0, [sp, 38]
cmp w0, 255
bls .L997
ldrh w1, [sp, 38]
mov w0, 65279
cmp w1, w0
bhi .L997
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
orr x1, x0, 32
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
.L997:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L998
bl skipspace
.L998:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
ldrb w0, [x0]
cmp w0, 44
beq .L999
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L999:
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 4
bgt .L1000
cmp w0, 3
bge .L1001
cmp w0, 1
beq .L1002
cmp w0, 2
beq .L1003
b .L1000
.L1002:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16
cmp x0, 0
beq .L1004
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 112
and w0, w0, 255
bl putbyte
b .L1006
.L1004:
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
b .L1006
.L1003:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16
cmp x0, 0
beq .L1007
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1006
.L1007:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 112
and w0, w0, 255
bl putbyte
b .L1006
.L1001:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 96
and w0, w0, 255
bl putbyte
b .L1006
.L1000:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
nop
.L1006:
ldrh w0, [sp, 38]
and w0, w0, 255
bl putbyte
add x0, sp, 40
bl doaddress
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1009
bl __stack_chk_fail
.L1009:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE93:
.size bitdirect, .-bitdirect
.align 2
.global bittrans
.type bittrans, %function
bittrans:
.LFB94:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
stp xzr, xzr, [sp, 56]
ldr w0, [sp, 28]
and w0, w0, 65535
bl putword
bl skipspace
bl scanname
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl findbitreg
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L1011
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1012
.L1011:
ldr x0, [sp, 40]
ldrb w0, [x0, 8]
ubfiz w0, w0, 6, 2
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
.L1012:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1013
bl skipspace
.L1013:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1014
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1015
.L1014:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1015:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1016
bl skipspace
.L1016:
add x0, sp, 56
bl scanfactor
str x0, [sp, 48]
ldr x0, [sp, 48]
and x0, x0, 65528
cmp x0, 0
beq .L1017
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1018
.L1017:
ldr x0, [sp, 48]
lsl x0, x0, 3
sxtb w1, w0
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
sxtb w0, w0
orr w0, w1, w0
sxtb w0, w0
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
.L1018:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1019
bl skipspace
.L1019:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1020
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1021
.L1020:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1021:
add x0, sp, 56
bl scanfactor
str x0, [sp, 48]
ldr x0, [sp, 48]
and x0, x0, 65528
cmp x0, 0
beq .L1022
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1023
.L1022:
ldr x0, [sp, 48]
sxtb w1, w0
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
sxtb w0, w0
orr w0, w1, w0
sxtb w0, w0
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
.L1023:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
bl putbyte
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1024
bl skipspace
.L1024:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1025
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1026
.L1025:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1026:
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 56
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 1
bne .L1027
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 255
bl putbyte
b .L1028
.L1027:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1028:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 72]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1029
bl __stack_chk_fail
.L1029:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE94:
.size bittrans, .-bittrans
.align 2
.global blocktrans
.type blocktrans, %function
blocktrans:
.LFB95:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
adrp x0, .LC539
add x0, x0, :lo12:.LC539
ldrb w0, [x0]
strb w0, [sp, 48]
strh wzr, [sp, 49]
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
strb w0, [sp, 42]
str wzr, [sp, 44]
b .L1031
.L1034:
adrp x0, regnames.1
add x1, x0, :lo12:regnames.1
ldrsw x0, [sp, 44]
ldrb w0, [x1, x0]
ldrb w1, [sp, 42]
cmp w1, w0
beq .L1060
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1031:
adrp x0, regnames.1
add x1, x0, :lo12:regnames.1
ldrsw x0, [sp, 44]
ldrb w0, [x1, x0]
cmp w0, 0
bne .L1034
b .L1033
.L1060:
nop
.L1033:
adrp x0, regnames.1
add x1, x0, :lo12:regnames.1
ldrsw x0, [sp, 44]
ldrb w0, [x1, x0]
cmp w0, 0
bne .L1035
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1036
.L1035:
ldr w0, [sp, 44]
strb w0, [sp, 42]
.L1036:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 48]
ldrb w0, [sp, 48]
cmp w0, 43
beq .L1037
ldrb w0, [sp, 48]
cmp w0, 45
beq .L1037
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1038
bl skipspace
.L1038:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 48]
b .L1039
.L1037:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1039:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1040
bl skipspace
.L1040:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1041
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1041:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl toupper
strb w0, [sp, 43]
str wzr, [sp, 44]
b .L1042
.L1045:
adrp x0, regnames.1
add x1, x0, :lo12:regnames.1
ldrsw x0, [sp, 44]
ldrb w0, [x1, x0]
ldrb w1, [sp, 43]
cmp w1, w0
beq .L1061
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1042:
adrp x0, regnames.1
add x1, x0, :lo12:regnames.1
ldrsw x0, [sp, 44]
ldrb w0, [x1, x0]
cmp w0, 0
bne .L1045
b .L1044
.L1061:
nop
.L1044:
adrp x0, regnames.1
add x1, x0, :lo12:regnames.1
ldrsw x0, [sp, 44]
ldrb w0, [x1, x0]
cmp w0, 0
bne .L1046
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1047
.L1046:
ldr w0, [sp, 44]
strb w0, [sp, 43]
.L1047:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 49]
ldrb w0, [sp, 49]
cmp w0, 43
beq .L1048
ldrb w0, [sp, 49]
cmp w0, 45
beq .L1048
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1049
bl skipspace
.L1049:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 49]
b .L1050
.L1048:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1050:
ldrb w0, [sp, 49]
cmp w0, 59
beq .L1051
ldrb w0, [sp, 49]
cmp w0, 42
beq .L1051
ldrb w0, [sp, 49]
cmp w0, 32
beq .L1051
ldrb w0, [sp, 49]
cmp w0, 9
bne .L1052
.L1051:
strb wzr, [sp, 49]
.L1052:
str wzr, [sp, 44]
b .L1053
.L1056:
adrp x0, modes.0
add x0, x0, :lo12:modes.0
ldrsw x1, [sp, 44]
ldr x1, [x0, x1, lsl 3]
add x0, sp, 48
bl strcmp
cmp w0, 0
beq .L1062
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1053:
ldr w0, [sp, 44]
cmp w0, 3
bls .L1056
b .L1055
.L1062:
nop
.L1055:
ldr w0, [sp, 44]
cmp w0, 3
bls .L1057
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1058
.L1057:
ldr w1, [sp, 28]
ldr w0, [sp, 44]
orr w0, w1, w0
str w0, [sp, 28]
.L1058:
ldr w0, [sp, 28]
and w0, w0, 65535
bl putword
ldrb w0, [sp, 42]
lsl w0, w0, 4
sxtb w1, w0
ldrsb w0, [sp, 43]
orr w0, w1, w0
sxtb w0, w0
and w0, w0, 255
bl putbyte
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1059
bl __stack_chk_fail
.L1059:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE95:
.size blocktrans, .-blocktrans
.section .rodata
.align 3
.LC539:
.string ""
.zero 2
.text
.align 2
.global setmask
.type setmask, %function
setmask:
.LFB96:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
stp xzr, xzr, [sp, 40]
mov x0, -1
str x0, [sp, 32]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 40
blr x1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1064
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
bne .L1065
.L1064:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1065:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1066
bl skipspace
.L1066:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 35
bne .L1067
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1067:
add x0, sp, 40
mov x1, x0
mov w0, 0
bl scanexpr
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
blt .L1068
ldr x0, [sp, 32]
cmp x0, 255
ble .L1069
.L1068:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1069:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L1070
cmp w0, 2
bgt .L1071
cmp w0, 0
beq .L1070
cmp w0, 1
beq .L1072
b .L1071
.L1070:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1073
.L1072:
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
b .L1073
.L1071:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 8
and w0, w0, 255
bl putbyte
nop
.L1073:
add x0, sp, 40
bl doaddress
ldr x0, [sp, 32]
and w0, w0, 255
bl putbyte
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1074
bl __stack_chk_fail
.L1074:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE96:
.size setmask, .-setmask
.align 2
.global brmask
.type brmask, %function
brmask:
.LFB97:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
stp xzr, xzr, [sp, 72]
stp xzr, xzr, [sp, 88]
mov x0, -1
str x0, [sp, 56]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 72
blr x1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1076
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
bne .L1077
.L1076:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1077:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1078
bl skipspace
.L1078:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 35
bne .L1079
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1079:
add x0, sp, 72
mov x1, x0
mov w0, 0
bl scanexpr
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
blt .L1080
ldr x0, [sp, 56]
cmp x0, 255
ble .L1081
.L1080:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1081:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1082
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
bne .L1083
.L1082:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1083:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1084
bl skipspace
.L1084:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
strb w0, [sp, 47]
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w0, [x0]
strb w0, [sp, 48]
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
str x0, [sp, 64]
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
strb w0, [sp, 49]
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w0, [x0]
strb w0, [sp, 50]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
strb w0, [sp, 51]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
ldr x1, [x0]
add x0, sp, 88
blr x1
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 1
beq .L1085
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L1085
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1085:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
mov w1, w0
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
mov w2, w0
adrp x0, phase
add x0, x0, :lo12:phase
ldr w0, [x0]
add w0, w2, w0
sub w0, w1, w0
sub w0, w0, #4
str w0, [sp, 52]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
cmp w0, 0
beq .L1086
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 52]
.L1086:
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
bne .L1087
ldr w0, [sp, 52]
cmn w0, #128
blt .L1088
ldr w0, [sp, 52]
cmp w0, 127
ble .L1087
.L1088:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 16
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1087:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1089
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1089
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1089:
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w1, [sp, 47]
strb w1, [x0]
adrp x0, opsize
add x0, x0, :lo12:opsize
ldrb w1, [sp, 48]
strb w1, [x0]
adrp x0, operand
add x0, x0, :lo12:operand
ldr x1, [sp, 64]
str x1, [x0]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w1, [sp, 51]
strb w1, [x0]
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w1, [sp, 49]
strb w1, [x0]
adrp x0, certain
add x0, x0, :lo12:certain
ldrb w1, [sp, 50]
strb w1, [x0]
adrp x0, mode
add x0, x0, :lo12:mode
ldrb w0, [x0]
cmp w0, 2
beq .L1090
cmp w0, 2
bgt .L1091
cmp w0, 0
beq .L1090
cmp w0, 1
beq .L1092
b .L1091
.L1090:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1093
.L1092:
ldr w0, [sp, 28]
and w0, w0, 255
bl putbyte
b .L1093
.L1091:
ldr w0, [sp, 28]
and w0, w0, 255
add w0, w0, 12
and w0, w0, 255
bl putbyte
nop
.L1093:
add x0, sp, 72
bl doaddress
ldr x0, [sp, 56]
and w0, w0, 255
bl putbyte
ldr w0, [sp, 52]
and w0, w0, 255
bl putbyte
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 104]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1094
bl __stack_chk_fail
.L1094:
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE97:
.size brmask, .-brmask
.align 2
.global expandline
.type expandline, %function
expandline:
.LFB98:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 4]
str wzr, [sp]
b .L1096
.L1104:
adrp x0, inpline
add x1, x0, :lo12:inpline
ldrsw x0, [sp]
ldrb w0, [x1, x0]
cmp w0, 10
bne .L1097
adrp x0, srcline
add x1, x0, :lo12:srcline
ldrsw x0, [sp, 4]
strb wzr, [x1, x0]
b .L1098
.L1097:
adrp x0, inpline
add x1, x0, :lo12:inpline
ldrsw x0, [sp]
ldrb w0, [x1, x0]
cmp w0, 9
bne .L1099
ldr w0, [sp, 4]
str w0, [sp, 12]
str wzr, [sp, 8]
b .L1100
.L1102:
ldr w0, [sp, 4]
add w1, w0, 1
str w1, [sp, 4]
adrp x1, srcline
add x1, x1, :lo12:srcline
sxtw x0, w0
mov w2, 32
strb w2, [x1, x0]
ldr w0, [sp, 8]
add w0, w0, 1
str w0, [sp, 8]
.L1100:
ldr w0, [sp, 12]
negs w1, w0
and w0, w0, 7
and w1, w1, 7
csneg w0, w0, w1, mi
mov w1, 8
sub w0, w1, w0
ldr w1, [sp, 8]
cmp w1, w0
bge .L1101
ldr w0, [sp, 4]
cmp w0, 1023
ble .L1102
b .L1101
.L1099:
adrp x0, inpline
add x1, x0, :lo12:inpline
ldrsw x0, [sp]
ldrb w0, [x1, x0]
cmp w0, 13
beq .L1105
ldr w0, [sp, 4]
add w1, w0, 1
str w1, [sp, 4]
adrp x1, inpline
add x2, x1, :lo12:inpline
ldrsw x1, [sp]
ldrb w2, [x2, x1]
adrp x1, srcline
add x1, x1, :lo12:srcline
sxtw x0, w0
strb w2, [x1, x0]
b .L1101
.L1105:
nop
.L1101:
ldr w0, [sp]
add w0, w0, 1
str w0, [sp]
.L1096:
ldr w0, [sp]
cmp w0, 1023
bgt .L1098
ldr w0, [sp, 4]
cmp w0, 1023
ble .L1104
.L1098:
adrp x0, srcline
add x0, x0, :lo12:srcline
strb wzr, [x0, 1023]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE98:
.size expandline, .-expandline
.align 2
.global expandtext
.type expandtext, %function
expandtext:
.LFB99:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str wzr, [sp, 20]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
add x0, x0, 34
str x0, [sp, 24]
b .L1107
.L1117:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 92
bne .L1108
ldr x0, [sp, 24]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 38
bne .L1108
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
ldr w0, [sp, 20]
add w1, w0, 1
str w1, [sp, 20]
ldr x1, [sp, 24]
ldrb w2, [x1]
adrp x1, srcline
add x1, x1, :lo12:srcline
sxtw x0, w0
strb w2, [x1, x0]
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
b .L1107
.L1108:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 38
bne .L1109
ldr x0, [sp, 24]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 47
bls .L1110
ldr x0, [sp, 24]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 57
bls .L1109
.L1110:
ldr x0, [sp, 24]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
bl scanname
mov w1, 0
adrp x0, namebuf
add x0, x0, :lo12:namebuf
bl findsym
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
beq .L1111
adrp x0, namebuf
add x0, x0, :lo12:namebuf
ldrb w0, [x0]
cmp w0, 0
beq .L1111
ldr x0, [sp, 32]
ldrb w0, [x0, 33]
cmp w0, 15
bne .L1111
ldr x0, [sp, 32]
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, texts
add x0, x0, :lo12:texts
sxtw x1, w1
ldr x0, [x0, x1, lsl 3]
str x0, [sp, 40]
str wzr, [sp, 16]
b .L1112
.L1114:
ldrsw x0, [sp, 16]
ldr x1, [sp, 40]
add x1, x1, x0
ldr w0, [sp, 20]
add w2, w0, 1
str w2, [sp, 20]
ldrb w2, [x1]
adrp x1, srcline
add x1, x1, :lo12:srcline
sxtw x0, w0
strb w2, [x1, x0]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L1112:
ldr w0, [sp, 20]
cmp w0, 1023
bgt .L1113
ldrsw x0, [sp, 16]
ldr x1, [sp, 40]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L1114
.L1113:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 24]
b .L1115
.L1111:
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldr w1, [sp, 20]
add w2, w1, 1
str w2, [sp, 20]
ldrb w3, [x0]
adrp x0, srcline
add x2, x0, :lo12:srcline
sxtw x0, w1
mov w1, w3
strb w1, [x2, x0]
.L1115:
b .L1107
.L1109:
ldr x0, [sp, 24]
add x1, x0, 1
str x1, [sp, 24]
ldr w1, [sp, 20]
add w2, w1, 1
str w2, [sp, 20]
ldrb w3, [x0]
adrp x0, srcline
add x2, x0, :lo12:srcline
sxtw x0, w1
mov w1, w3
strb w1, [x2, x0]
.L1107:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 0
beq .L1116
ldr w0, [sp, 20]
cmp w0, 1023
ble .L1117
.L1116:
ldr w2, [sp, 20]
ldr w1, [sp, 20]
mov w0, 1023
cmp w2, 1023
csel w2, w1, w0, le
adrp x0, srcline
add x1, x0, :lo12:srcline
sxtw x0, w2
strb wzr, [x1, x0]
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE99:
.size expandtext, .-expandtext
.section .rodata
.align 3
.LC540:
.string "%s(0) : error 21: nesting level too deep\n"
.align 3
.LC541:
.string "*** Error 21: nesting level too deep\n"
.align 3
.LC542:
.string "r"
.align 3
.LC543:
.string "%s(0) : error 17: cannot open source file\n"
.align 3
.LC544:
.string "*** Error 17: cannot open source file\n"
.align 3
.LC545:
.string "%s(%d) : error 22: memory allocation error\n"
.align 3
.LC546:
.string "*** Error 22: memory allocation error\n"
.text
.align 2
.global readfile
.type readfile, %function
readfile:
.LFB100:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
strb w1, [sp, 39]
str x2, [sp, 24]
str wzr, [sp, 52]
mov w0, -1
str w0, [sp, 60]
str wzr, [sp, 56]
b .L1119
.L1122:
adrp x0, fnms
add x0, x0, :lo12:fnms
ldrsw x1, [sp, 56]
ldr x0, [x0, x1, lsl 3]
mov x1, x0
ldr x0, [sp, 40]
bl strcmp
cmp w0, 0
bne .L1120
ldr w0, [sp, 56]
str w0, [sp, 60]
b .L1121
.L1120:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L1119:
adrp x0, nfnms
add x0, x0, :lo12:nfnms
ldrsh w0, [x0]
mov w1, w0
ldr w0, [sp, 56]
cmp w0, w1
blt .L1122
.L1121:
ldr w0, [sp, 60]
cmp w0, 0
bge .L1123
adrp x0, nfnms
add x0, x0, :lo12:nfnms
ldrsh w0, [x0]
and w0, w0, 65535
cmp w0, 127
bls .L1124
ldr x1, [sp, 40]
adrp x0, .LC540
add x0, x0, :lo12:.LC540
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1125
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1126
.L1125:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1126
adrp x0, .LC541
add x0, x0, :lo12:.LC541
bl putlist
.L1126:
mov w0, 4
bl exit
.L1124:
adrp x0, nfnms
add x0, x0, :lo12:nfnms
ldrsh w0, [x0]
and w1, w0, 65535
add w1, w1, 1
and w1, w1, 65535
sxth w2, w1
adrp x1, nfnms
add x1, x1, :lo12:nfnms
strh w2, [x1]
str w0, [sp, 60]
.L1123:
adrp x0, .LC542
add x1, x0, :lo12:.LC542
ldr x0, [sp, 40]
bl fopen
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L1127
ldr x1, [sp, 40]
adrp x0, .LC543
add x0, x0, :lo12:.LC543
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1128
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1129
.L1128:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1129
adrp x0, .LC544
add x0, x0, :lo12:.LC544
bl putlist
.L1129:
mov w0, 4
bl exit
.L1127:
adrp x0, fnms
add x0, x0, :lo12:fnms
ldrsw x1, [sp, 60]
ldr x0, [x0, x1, lsl 3]
cmp x0, 0
bne .L1131
ldr x0, [sp, 40]
bl strdup
mov x2, x0
adrp x0, fnms
add x0, x0, :lo12:fnms
ldrsw x1, [sp, 60]
str x2, [x0, x1, lsl 3]
b .L1131
.L1136:
bl expandline
adrp x0, fnms
add x0, x0, :lo12:fnms
ldrsw x1, [sp, 60]
ldr x1, [x0, x1, lsl 3]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
adrp x0, srcline
add x4, x0, :lo12:srcline
ldrb w3, [sp, 39]
ldr w2, [sp, 52]
ldr x0, [sp, 24]
bl allocline
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L1132
ldr w2, [sp, 52]
ldr x1, [sp, 40]
adrp x0, .LC545
add x0, x0, :lo12:.LC545
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1133
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1134
.L1133:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1134
adrp x0, .LC546
add x0, x0, :lo12:.LC546
bl putlist
.L1134:
mov w0, 4
bl exit
.L1132:
ldr x0, [sp, 24]
cmp x0, 0
bne .L1135
adrp x0, rootline
add x0, x0, :lo12:rootline
ldr x1, [sp, 72]
str x1, [x0]
.L1135:
ldr x0, [sp, 72]
str x0, [sp, 24]
.L1131:
ldr x2, [sp, 64]
mov w1, 1024
adrp x0, inpline
add x0, x0, :lo12:inpline
bl fgets
cmp x0, 0
bne .L1136
ldr x0, [sp, 64]
bl fclose
ldr x0, [sp, 24]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE100:
.size readfile, .-readfile
.section .rodata
.align 3
.LC547:
.string "rb"
.align 3
.LC548:
.string "\tFCW\t"
.align 3
.LC549:
.string ","
.align 3
.LC550:
.string "%s$%02X%02X"
.align 3
.LC551:
.string "\tFCB\t"
.align 3
.LC552:
.string "%s$%02X"
.text
.align 2
.global readbinary
.type readbinary, %function
readbinary:
.LFB101:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 40]
strb w1, [sp, 39]
str x2, [sp, 24]
str x3, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
str wzr, [sp, 52]
mov w0, -1
str w0, [sp, 60]
str wzr, [sp, 56]
b .L1139
.L1142:
adrp x0, fnms
add x0, x0, :lo12:fnms
ldrsw x1, [sp, 56]
ldr x0, [x0, x1, lsl 3]
mov x1, x0
ldr x0, [sp, 40]
bl strcmp
cmp w0, 0
bne .L1140
ldr w0, [sp, 56]
str w0, [sp, 60]
b .L1141
.L1140:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L1139:
adrp x0, nfnms
add x0, x0, :lo12:nfnms
ldrsh w0, [x0]
mov w1, w0
ldr w0, [sp, 56]
cmp w0, w1
blt .L1142
.L1141:
ldr w0, [sp, 60]
cmp w0, 0
bge .L1143
adrp x0, nfnms
add x0, x0, :lo12:nfnms
ldrsh w0, [x0]
and w0, w0, 65535
cmp w0, 127
bls .L1144
ldr x1, [sp, 40]
adrp x0, .LC540
add x0, x0, :lo12:.LC540
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1145
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1146
.L1145:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1146
adrp x0, .LC541
add x0, x0, :lo12:.LC541
bl putlist
.L1146:
mov w0, 4
bl exit
.L1144:
adrp x0, nfnms
add x0, x0, :lo12:nfnms
ldrsh w0, [x0]
and w1, w0, 65535
add w1, w1, 1
and w1, w1, 65535
sxth w2, w1
adrp x1, nfnms
add x1, x1, :lo12:nfnms
strh w2, [x1]
str w0, [sp, 60]
.L1143:
adrp x0, .LC547
add x1, x0, :lo12:.LC547
ldr x0, [sp, 40]
bl fopen
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L1147
ldr x1, [sp, 40]
adrp x0, .LC543
add x0, x0, :lo12:.LC543
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1148
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1149
.L1148:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1149
adrp x0, .LC544
add x0, x0, :lo12:.LC544
bl putlist
.L1149:
mov w0, 4
bl exit
.L1147:
adrp x0, fnms
add x0, x0, :lo12:fnms
ldrsw x1, [sp, 60]
ldr x0, [x0, x1, lsl 3]
cmp x0, 0
bne .L1151
ldr x0, [sp, 40]
bl strdup
mov x2, x0
adrp x0, fnms
add x0, x0, :lo12:fnms
ldrsw x1, [sp, 60]
str x2, [x0, x1, lsl 3]
b .L1151
.L1172:
ldr w0, [sp, 52]
cmp w0, 0
bne .L1152
ldr x0, [sp, 16]
cmp x0, 0
beq .L1152
ldr x0, [sp, 16]
b .L1153
.L1152:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L1153:
mov x2, x0
adrp x0, .LC517
add x1, x0, :lo12:.LC517
adrp x0, inpline
add x0, x0, :lo12:inpline
bl sprintf
str wzr, [sp, 56]
ldr w0, [sp, 64]
and w0, w0, -2
cmp w0, 0
beq .L1154
ldr w0, [sp, 64]
cmp w0, 7
ble .L1154
adrp x0, inpline
add x0, x0, :lo12:inpline
bl strlen
mov x1, x0
adrp x0, inpline
add x0, x0, :lo12:inpline
add x2, x1, x0
adrp x0, .LC548
add x1, x0, :lo12:.LC548
mov x0, x2
bl sprintf
b .L1155
.L1158:
adrp x0, inpline
add x0, x0, :lo12:inpline
bl strlen
mov x1, x0
adrp x0, inpline
add x0, x0, :lo12:inpline
add x5, x1, x0
ldr w0, [sp, 56]
cmp w0, 0
beq .L1156
adrp x0, .LC549
add x0, x0, :lo12:.LC549
b .L1157
.L1156:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L1157:
ldrsw x1, [sp, 56]
add x2, sp, 88
ldrb w1, [x2, x1]
mov w3, w1
ldr w1, [sp, 56]
add w1, w1, 1
sxtw x1, w1
add x2, sp, 88
ldrb w1, [x2, x1]
mov w4, w1
mov x2, x0
adrp x0, .LC550
add x1, x0, :lo12:.LC550
mov x0, x5
bl sprintf
ldr w0, [sp, 56]
add w0, w0, 2
str w0, [sp, 56]
.L1155:
ldr w0, [sp, 64]
and w0, w0, -2
ldr w1, [sp, 56]
cmp w1, w0
blt .L1158
bl expandline
adrp x0, fnms
add x0, x0, :lo12:fnms
ldrsw x1, [sp, 60]
ldr x1, [x0, x1, lsl 3]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
adrp x0, srcline
add x4, x0, :lo12:srcline
ldrb w3, [sp, 39]
ldr w2, [sp, 52]
ldr x0, [sp, 24]
bl allocline
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L1159
ldr w2, [sp, 52]
ldr x1, [sp, 40]
adrp x0, .LC545
add x0, x0, :lo12:.LC545
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1160
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1161
.L1160:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1161
adrp x0, .LC546
add x0, x0, :lo12:.LC546
bl putlist
.L1161:
mov w0, 4
bl exit
.L1159:
ldr x0, [sp, 24]
cmp x0, 0
bne .L1162
adrp x0, rootline
add x0, x0, :lo12:rootline
ldr x1, [sp, 80]
str x1, [x0]
.L1162:
ldr x0, [sp, 80]
str x0, [sp, 24]
adrp x0, inpline
add x0, x0, :lo12:inpline
strb wzr, [x0]
.L1154:
ldr w0, [sp, 64]
and w0, w0, 1
cmp w0, 0
bne .L1163
ldr w0, [sp, 64]
cmp w0, 7
bgt .L1151
.L1163:
ldr w0, [sp, 56]
str w0, [sp, 68]
adrp x0, inpline
add x0, x0, :lo12:inpline
bl strlen
mov x1, x0
adrp x0, inpline
add x0, x0, :lo12:inpline
add x2, x1, x0
adrp x0, .LC551
add x1, x0, :lo12:.LC551
mov x0, x2
bl sprintf
b .L1164
.L1167:
adrp x0, inpline
add x0, x0, :lo12:inpline
bl strlen
mov x1, x0
adrp x0, inpline
add x0, x0, :lo12:inpline
add x4, x1, x0
ldr w1, [sp, 56]
ldr w0, [sp, 68]
cmp w1, w0
ble .L1165
adrp x0, .LC549
add x0, x0, :lo12:.LC549
b .L1166
.L1165:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L1166:
ldrsw x1, [sp, 56]
add x2, sp, 88
ldrb w1, [x2, x1]
mov w3, w1
mov x2, x0
adrp x0, .LC552
add x1, x0, :lo12:.LC552
mov x0, x4
bl sprintf
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L1164:
ldr w1, [sp, 56]
ldr w0, [sp, 64]
cmp w1, w0
blt .L1167
bl expandline
adrp x0, fnms
add x0, x0, :lo12:fnms
ldrsw x1, [sp, 60]
ldr x1, [x0, x1, lsl 3]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
adrp x0, srcline
add x4, x0, :lo12:srcline
ldrb w3, [sp, 39]
ldr w2, [sp, 52]
ldr x0, [sp, 24]
bl allocline
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L1168
ldr w2, [sp, 52]
ldr x1, [sp, 40]
adrp x0, .LC545
add x0, x0, :lo12:.LC545
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1169
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1170
.L1169:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1170
adrp x0, .LC546
add x0, x0, :lo12:.LC546
bl putlist
.L1170:
mov w0, 4
bl exit
.L1168:
ldr x0, [sp, 24]
cmp x0, 0
bne .L1171
adrp x0, rootline
add x0, x0, :lo12:rootline
ldr x1, [sp, 80]
str x1, [x0]
.L1171:
ldr x0, [sp, 80]
str x0, [sp, 24]
.L1151:
add x0, sp, 88
ldr x3, [sp, 72]
mov x2, 16
mov x1, 1
bl fread
str w0, [sp, 64]
ldr w0, [sp, 64]
cmp w0, 0
bgt .L1172
ldr x0, [sp, 72]
bl fclose
ldr x0, [sp, 24]
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 104]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1174
bl __stack_chk_fail
.L1174:
mov x0, x1
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE101:
.size readbinary, .-readbinary
.section .rodata
.align 3
.LC553:
.string "1"
.text
.align 2
.global setoptiontexts
.type setoptiontexts, %function
setoptiontexts:
.LFB102:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str wzr, [sp, 28]
b .L1176
.L1180:
adrp x0, Options
add x2, x0, :lo12:Options
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x1, [x0, 8]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x1, x0
cmp x0, 0
bne .L1177
adrp x0, Options
add x2, x0, :lo12:Options
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x0, [x0, 16]
mvn x1, x0
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x1, x0
cmp x0, 0
bne .L1178
.L1177:
adrp x0, Options
add x2, x0, :lo12:Options
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x2, [x0]
adrp x0, .LC553
add x1, x0, :lo12:.LC553
mov x0, x2
bl settext
b .L1179
.L1178:
adrp x0, Options
add x2, x0, :lo12:Options
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x2, [x0]
adrp x0, .LC398
add x1, x0, :lo12:.LC398
mov x0, x2
bl settext
.L1179:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L1176:
ldr w0, [sp, 28]
cmp w0, 57
bls .L1180
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE102:
.size setoptiontexts, .-setoptiontexts
.align 2
.global setoption
.type setoption, %function
setoption:
.LFB103:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
str wzr, [sp, 44]
b .L1182
.L1184:
ldrsw x0, [sp, 44]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
bl toupper
and w2, w0, 255
ldrsw x0, [sp, 44]
add x1, sp, 48
strb w2, [x1, x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1182:
ldrsw x0, [sp, 44]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
beq .L1183
ldr w0, [sp, 44]
cmp w0, 3
bls .L1184
.L1183:
ldr w0, [sp, 44]
cmp w0, 3
bls .L1185
ldr w0, [sp, 44]
sub w0, w0, #1
str w0, [sp, 44]
.L1185:
ldrsw x0, [sp, 44]
add x1, sp, 48
strb wzr, [x1, x0]
str wzr, [sp, 44]
b .L1186
.L1196:
adrp x0, Options
add x2, x0, :lo12:Options
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x1, [x0]
add x0, sp, 48
bl strcmp
cmp w0, 0
bne .L1187
adrp x0, Options
add x2, x0, :lo12:Options
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x1, [x0, 8]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
orr x1, x1, x0
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
str x1, [x0]
adrp x0, Options
add x2, x0, :lo12:Options
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x0, [x0, 16]
mvn x1, x0
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x1, x1, x0
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
str x1, [x0]
adrp x0, Options
add x2, x0, :lo12:Options
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 3
add x0, x2, x0
ldr x0, [x0, 8]
mov x1, 67108864
cmp x0, x1
beq .L1188
mov x1, 67108864
cmp x0, x1
bhi .L1189
cmp x0, 16
beq .L1190
cmp x0, 16
bhi .L1189
cmp x0, 8
beq .L1191
cmp x0, 8
bhi .L1189
cmp x0, 4
beq .L1192
cmp x0, 4
bhi .L1189
cmp x0, 1
beq .L1193
cmp x0, 2
beq .L1194
b .L1189
.L1193:
adrp x0, optable
add x0, x0, :lo12:optable
adrp x1, optable09
add x1, x1, :lo12:optable09
str x1, [x0]
adrp x0, optablesize
add x0, x0, :lo12:optablesize
mov w1, 368
str w1, [x0]
adrp x0, regtable
add x0, x0, :lo12:regtable
adrp x1, regtable09
add x1, x1, :lo12:regtable09
str x1, [x0]
adrp x0, bitregtable
add x0, x0, :lo12:bitregtable
adrp x1, bitregtable09
add x1, x1, :lo12:bitregtable09
str x1, [x0]
adrp x0, bitregtablesize
add x0, x0, :lo12:bitregtablesize
mov w1, 3
str w1, [x0]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
adrp x1, scanoperands09
add x1, x1, :lo12:scanoperands09
str x1, [x0]
b .L1189
.L1194:
adrp x0, optable
add x0, x0, :lo12:optable
adrp x1, optable09
add x1, x1, :lo12:optable09
str x1, [x0]
adrp x0, optablesize
add x0, x0, :lo12:optablesize
mov w1, 368
str w1, [x0]
adrp x0, regtable
add x0, x0, :lo12:regtable
adrp x1, regtable63
add x1, x1, :lo12:regtable63
str x1, [x0]
adrp x0, bitregtable
add x0, x0, :lo12:bitregtable
adrp x1, bitregtable09
add x1, x1, :lo12:bitregtable09
str x1, [x0]
adrp x0, bitregtablesize
add x0, x0, :lo12:bitregtablesize
mov w1, 3
str w1, [x0]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
adrp x1, scanoperands09
add x1, x1, :lo12:scanoperands09
str x1, [x0]
b .L1189
.L1192:
adrp x0, optable
add x0, x0, :lo12:optable
adrp x1, optable00
add x1, x1, :lo12:optable00
str x1, [x0]
adrp x0, optablesize
add x0, x0, :lo12:optablesize
mov w1, 198
str w1, [x0]
adrp x0, regtable
add x0, x0, :lo12:regtable
adrp x1, regtable00
add x1, x1, :lo12:regtable00
str x1, [x0]
adrp x0, bitregtable
add x0, x0, :lo12:bitregtable
adrp x1, bitregtable00
add x1, x1, :lo12:bitregtable00
str x1, [x0]
adrp x0, bitregtablesize
add x0, x0, :lo12:bitregtablesize
mov w1, 3
str w1, [x0]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
adrp x1, scanoperands00
add x1, x1, :lo12:scanoperands00
str x1, [x0]
b .L1189
.L1191:
adrp x0, optable
add x0, x0, :lo12:optable
adrp x1, optable01
add x1, x1, :lo12:optable01
str x1, [x0]
adrp x0, optablesize
add x0, x0, :lo12:optablesize
mov w1, 213
str w1, [x0]
adrp x0, regtable
add x0, x0, :lo12:regtable
adrp x1, regtable00
add x1, x1, :lo12:regtable00
str x1, [x0]
adrp x0, bitregtable
add x0, x0, :lo12:bitregtable
adrp x1, bitregtable00
add x1, x1, :lo12:bitregtable00
str x1, [x0]
adrp x0, bitregtablesize
add x0, x0, :lo12:bitregtablesize
mov w1, 3
str w1, [x0]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
adrp x1, scanoperands00
add x1, x1, :lo12:scanoperands00
str x1, [x0]
b .L1189
.L1190:
adrp x0, optable
add x0, x0, :lo12:optable
adrp x1, optable01
add x1, x1, :lo12:optable01
str x1, [x0]
adrp x0, optablesize
add x0, x0, :lo12:optablesize
mov w1, 213
str w1, [x0]
adrp x0, regtable
add x0, x0, :lo12:regtable
adrp x1, regtable00
add x1, x1, :lo12:regtable00
str x1, [x0]
adrp x0, bitregtable
add x0, x0, :lo12:bitregtable
adrp x1, bitregtable00
add x1, x1, :lo12:bitregtable00
str x1, [x0]
adrp x0, bitregtablesize
add x0, x0, :lo12:bitregtablesize
mov w1, 3
str w1, [x0]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
adrp x1, scanoperands00
add x1, x1, :lo12:scanoperands00
str x1, [x0]
b .L1189
.L1188:
adrp x0, optable
add x0, x0, :lo12:optable
adrp x1, optable11
add x1, x1, :lo12:optable11
str x1, [x0]
adrp x0, optablesize
add x0, x0, :lo12:optablesize
mov w1, 229
str w1, [x0]
adrp x0, regtable
add x0, x0, :lo12:regtable
adrp x1, regtable11
add x1, x1, :lo12:regtable11
str x1, [x0]
adrp x0, bitregtable
add x0, x0, :lo12:bitregtable
adrp x1, bitregtable00
add x1, x1, :lo12:bitregtable00
str x1, [x0]
adrp x0, bitregtablesize
add x0, x0, :lo12:bitregtablesize
mov w1, 3
str w1, [x0]
adrp x0, scanoperands
add x0, x0, :lo12:scanoperands
adrp x1, scanoperands11
add x1, x1, :lo12:scanoperands11
str x1, [x0]
nop
.L1189:
bl setoptiontexts
mov w0, 0
b .L1197
.L1187:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1186:
ldr w0, [sp, 44]
cmp w0, 57
bls .L1196
mov w0, 1
.L1197:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1198
bl __stack_chk_fail
.L1198:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE103:
.size setoption, .-setoption
.section .rodata
.align 3
.LC554:
.string "%.*s"
.text
.align 2
.global pseudoop
.type pseudoop, %function
pseudoop:
.LFB104:
.cfi_startproc
stp x29, x30, [sp, -432]!
.cfi_def_cfa_offset 432
.cfi_offset 29, -432
.cfi_offset 30, -424
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 424]
mov x1, 0
stp xzr, xzr, [sp, 144]
adrp x0, common
add x0, x0, :lo12:common
ldr x0, [x0]
cmp x0, 0
beq .L1200
ldr w0, [sp, 28]
cmp w0, 39
beq .L1200
ldr w0, [sp, 28]
cmp w0, 0
beq .L1200
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1200:
ldr w0, [sp, 28]
cmp w0, 50
bhi .L1490
adrp x1, .L1203
add x1, x1, :lo12:.L1203
ldr w0, [x1,w0,uxtw #2]
adr x1, .Lrtx1203
add x0, x1, w0, sxtw #2
br x0
.Lrtx1203:
.section .rodata
.align 0
.align 2
.L1203:
.word (.L1218 - .Lrtx1203) / 4
.word (.L1245 - .Lrtx1203) / 4
.word (.L1244 - .Lrtx1203) / 4
.word (.L1243 - .Lrtx1203) / 4
.word (.L1242 - .Lrtx1203) / 4
.word (.L1241 - .Lrtx1203) / 4
.word (.L1235 - .Lrtx1203) / 4
.word (.L1240 - .Lrtx1203) / 4
.word (.L1239 - .Lrtx1203) / 4
.word (.L1238 - .Lrtx1203) / 4
.word (.L1223 - .Lrtx1203) / 4
.word (.L1237 - .Lrtx1203) / 4
.word (.L1236 - .Lrtx1203) / 4
.word (.L1235 - .Lrtx1203) / 4
.word (.L1234 - .Lrtx1203) / 4
.word (.L1233 - .Lrtx1203) / 4
.word (.L1232 - .Lrtx1203) / 4
.word (.L1231 - .Lrtx1203) / 4
.word (.L1230 - .Lrtx1203) / 4
.word (.L1230 - .Lrtx1203) / 4
.word (.L1229 - .Lrtx1203) / 4
.word (.L1228 - .Lrtx1203) / 4
.word (.L1227 - .Lrtx1203) / 4
.word (.L1226 - .Lrtx1203) / 4
.word (.L1225 - .Lrtx1203) / 4
.word (.L1224 - .Lrtx1203) / 4
.word (.L1223 - .Lrtx1203) / 4
.word (.L1222 - .Lrtx1203) / 4
.word (.L1222 - .Lrtx1203) / 4
.word (.L1490 - .Lrtx1203) / 4
.word (.L1490 - .Lrtx1203) / 4
.word (.L1221 - .Lrtx1203) / 4
.word (.L1220 - .Lrtx1203) / 4
.word (.L1219 - .Lrtx1203) / 4
.word (.L1218 - .Lrtx1203) / 4
.word (.L1217 - .Lrtx1203) / 4
.word (.L1216 - .Lrtx1203) / 4
.word (.L1215 - .Lrtx1203) / 4
.word (.L1214 - .Lrtx1203) / 4
.word (.L1213 - .Lrtx1203) / 4
.word (.L1212 - .Lrtx1203) / 4
.word (.L1211 - .Lrtx1203) / 4
.word (.L1210 - .Lrtx1203) / 4
.word (.L1210 - .Lrtx1203) / 4
.word (.L1209 - .Lrtx1203) / 4
.word (.L1208 - .Lrtx1203) / 4
.word (.L1207 - .Lrtx1203) / 4
.word (.L1206 - .Lrtx1203) / 4
.word (.L1205 - .Lrtx1203) / 4
.word (.L1204 - .Lrtx1203) / 4
.word (.L1202 - .Lrtx1203) / 4
.text
.L1217:
adrp x0, absmode
add x0, x0, :lo12:absmode
mov w1, 1
strb w1, [x0]
b .L1201
.L1216:
adrp x0, global
add x0, x0, :lo12:global
ldr x0, [x0]
add x1, x0, 1
adrp x0, global
add x0, x0, :lo12:global
str x1, [x0]
b .L1201
.L1215:
adrp x0, global
add x0, x0, :lo12:global
ldr x0, [x0]
cmp x0, 0
beq .L1246
adrp x0, global
add x0, x0, :lo12:global
ldr x0, [x0]
sub x1, x0, #1
adrp x0, global
add x0, x0, :lo12:global
str x1, [x0]
b .L1201
.L1246:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1214:
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
beq .L1248
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 512
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1248:
ldr x0, [sp, 16]
cmp x0, 0
bne .L1249
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 32
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1250
.L1249:
ldr x0, [sp, 16]
mov w1, 20
strb w1, [x0, 33]
.L1250:
adrp x0, common
add x0, x0, :lo12:common
ldr x0, [x0]
add x1, x0, 1
adrp x0, common
add x0, x0, :lo12:common
str x1, [x0]
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x1, [sp, 16]
str x1, [x0]
b .L1201
.L1213:
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
beq .L1251
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 512
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1251:
adrp x0, common
add x0, x0, :lo12:common
ldr x0, [x0]
cmp x0, 0
beq .L1252
adrp x0, common
add x0, x0, :lo12:common
ldr x0, [x0]
sub x1, x0, #1
adrp x0, common
add x0, x0, :lo12:common
str x1, [x0]
b .L1201
.L1252:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1205:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1254
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1254:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1255
bl skipspace
.L1255:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1256
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
strb w0, [sp, 34]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1491
bl skipspace
b .L1491
.L1256:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1218:
ldr w0, [sp, 28]
cmp w0, 34
beq .L1259
adrp x0, rmbfillchr
add x0, x0, :lo12:rmbfillchr
ldrb w0, [x0]
b .L1260
.L1259:
mov w0, 0
.L1260:
strb w0, [sp, 34]
b .L1258
.L1491:
nop
.L1258:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1261
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1261:
adrp x0, common
add x0, x0, :lo12:common
ldr x0, [x0]
cmp x0, 0
beq .L1262
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 13
beq .L1263
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 6
beq .L1263
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 18
beq .L1263
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1263:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 18
beq .L1492
ldr x0, [sp, 16]
mov w1, 18
strb w1, [x0, 33]
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x1, [x0]
ldr x0, [sp, 16]
str x1, [x0, 40]
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x0, [x0]
ldrh w1, [x0, 34]
ldr x0, [sp, 16]
strh w1, [x0, 34]
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x0, [x0]
ldrh w2, [x0, 34]
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w1, w0, 65535
adrp x0, commonsym
add x0, x0, :lo12:commonsym
ldr x0, [x0]
add w1, w2, w1
and w1, w1, 65535
strh w1, [x0, 34]
b .L1492
.L1262:
ldr x0, [sp, 16]
bl setlabel
adrp x0, generating
add x0, x0, :lo12:generating
ldrb w0, [x0]
cmp w0, 0
beq .L1265
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1265
ldr w0, [sp, 28]
cmp w0, 0
bne .L1266
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 0
bne .L1267
.L1266:
ldr w0, [sp, 28]
cmp w0, 0
beq .L1268
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1269
adrp x0, generating
add x0, x0, :lo12:generating
mov w1, 1
strb w1, [x0]
.L1269:
str wzr, [sp, 36]
b .L1270
.L1272:
ldrb w0, [sp, 34]
bl putbyte
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1270:
ldrsw x1, [sp, 36]
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x1, x0
bge .L1271
ldr w0, [sp, 36]
cmp w0, 255
bls .L1272
.L1271:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x1, [x0]
ldrsw x0, [sp, 36]
sub x1, x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
.L1268:
str wzr, [sp, 36]
b .L1273
.L1274:
ldr w1, [sp, 36]
ldrb w0, [sp, 34]
bl outbyte
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1273:
ldrsw x1, [sp, 36]
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x1, x0
blt .L1274
b .L1265
.L1267:
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 3
beq .L1275
cmp w0, 3
bgt .L1265
cmp w0, 1
beq .L1276
cmp w0, 2
beq .L1277
b .L1265
.L1276:
bl flushhex
b .L1265
.L1277:
bl flushihex
b .L1265
.L1275:
bl flushflex
nop
.L1265:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w1, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
add w0, w1, w0
and w1, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
strh w1, [x0]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w1, [x0]
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
strh w1, [x0]
b .L1201
.L1241:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
ldr x0, [sp, 16]
cmp x0, 0
bne .L1278
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 32
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1278:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 13
beq .L1280
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 6
beq .L1280
ldr x0, [sp, 16]
ldrh w1, [x0, 34]
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
cmp w1, w0
bne .L1281
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1281
.L1280:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 2
bne .L1282
ldr x0, [sp, 16]
mov w1, 2
strb w1, [x0, 33]
b .L1283
.L1282:
ldr x0, [sp, 16]
strb wzr, [x0, 33]
.L1283:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w1, w0, 65535
ldr x0, [sp, 16]
strh w1, [x0, 34]
b .L1201
.L1281:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1235:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
bl skipspace
b .L1284
.L1296:
bl scanname
mov w1, 1
adrp x0, namebuf
add x0, x0, :lo12:namebuf
bl findsym
str x0, [sp, 16]
ldr w0, [sp, 28]
cmp w0, 6
beq .L1285
ldr w0, [sp, 28]
cmp w0, 13
bne .L1286
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 13
beq .L1287
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 6
bne .L1288
.L1287:
ldr x0, [sp, 16]
mov w1, 10
strb w1, [x0, 33]
b .L1493
.L1288:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 2
bne .L1290
ldr x0, [sp, 16]
mov w1, 8
strb w1, [x0, 33]
b .L1493
.L1290:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 10
bne .L1291
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1493
.L1291:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 8
beq .L1493
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1493
.L1285:
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
beq .L1292
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 512
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1292:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 13
beq .L1293
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 6
bne .L1294
.L1293:
ldr x0, [sp, 16]
mov w1, 4
strb w1, [x0, 33]
b .L1494
.L1294:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 4
beq .L1494
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1494
.L1493:
nop
b .L1286
.L1494:
nop
.L1286:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1284
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1284
bl skipspace
.L1284:
bl __ctype_b_loc
ldr x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8
cmp w0, 0
bne .L1296
b .L1201
.L1240:
ldr x0, [sp, 16]
bl setlabel
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1306
adrp x0, generating
add x0, x0, :lo12:generating
mov w1, 1
strb w1, [x0]
.L1306:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1298
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1298:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1299
bl skipspace
.L1299:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 34
bne .L1300
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1301
.L1303:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
ldrb w0, [x0]
bl putbyte
.L1301:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 34
beq .L1302
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
bne .L1303
.L1302:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 34
bne .L1304
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1304
.L1300:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
and w0, w0, 255
bl putbyte
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1304
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1304
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1304:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1305
bl skipspace
.L1305:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1306
b .L1201
.L1239:
ldr x0, [sp, 16]
bl setlabel
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1307
adrp x0, generating
add x0, x0, :lo12:generating
mov w1, 1
strb w1, [x0]
.L1307:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1308
bl skipspace
.L1308:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1309
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
ldrb w0, [x0]
strb w0, [sp, 35]
b .L1310
.L1312:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
ldrb w0, [x0]
bl putbyte
.L1310:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
ldrb w1, [sp, 35]
cmp w1, w0
beq .L1311
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
bne .L1312
.L1311:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
ldrb w1, [sp, 35]
cmp w1, w0
bne .L1495
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1495
.L1309:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1314
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1314:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1315
bl skipspace
.L1315:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 35]
ldrb w0, [sp, 35]
cmp w0, 36
beq .L1316
bl __ctype_b_loc
ldr x1, [x0]
ldrb w0, [sp, 35]
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8
cmp w0, 0
beq .L1317
.L1316:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
and w0, w0, 255
bl putbyte
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1496
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1496
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1496
.L1317:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1320
.L1322:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
ldrb w0, [x0]
bl putbyte
.L1320:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
ldrb w1, [sp, 35]
cmp w1, w0
beq .L1321
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
bne .L1322
.L1321:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
ldrb w1, [sp, 35]
cmp w1, w0
bne .L1319
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1319
.L1496:
nop
.L1319:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1323
bl skipspace
.L1323:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1309
b .L1495
.L1238:
ldr x0, [sp, 16]
bl setlabel
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1329
adrp x0, generating
add x0, x0, :lo12:generating
mov w1, 1
strb w1, [x0]
.L1329:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1325
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1325:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1326
bl skipspace
.L1326:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
and w0, w0, 65535
bl putword
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1327
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1327
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1327:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1328
bl skipspace
.L1328:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1329
b .L1201
.L1206:
ldr x0, [sp, 16]
bl setlabel
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1335
adrp x0, generating
add x0, x0, :lo12:generating
mov w1, 1
strb w1, [x0]
.L1335:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1331
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1331:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1332
bl skipspace
.L1332:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
bl putdword
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1333
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1333
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1333:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1334
bl skipspace
.L1334:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1335
b .L1201
.L1245:
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1497
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
adrp x0, suppress
add x0, x0, :lo12:suppress
mov w1, 1
str w1, [x0]
adrp x0, condline
add x0, x0, :lo12:condline
mov w1, 1
strb w1, [x0]
b .L1201
.L1243:
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1498
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
adrp x0, condline
add x0, x0, :lo12:condline
mov w1, 1
strb w1, [x0]
b .L1201
.L1223:
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1499
adrp x0, condline
add x0, x0, :lo12:condline
mov w1, 1
strb w1, [x0]
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1339
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1339:
ldr w0, [sp, 28]
cmp w0, 26
bne .L1340
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
cset w0, eq
and w0, w0, 255
and x1, x0, 255
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
.L1340:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1341
bl skipspace
.L1341:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1342
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1343
bl skipspace
.L1343:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov w1, w0
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
str w1, [x0]
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
bne .L1500
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
str wzr, [x0]
b .L1500
.L1342:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
bne .L1500
adrp x0, suppress
add x0, x0, :lo12:suppress
mov w1, 2
str w1, [x0]
b .L1500
.L1222:
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1501
adrp x0, condline
add x0, x0, :lo12:condline
mov w1, 1
strb w1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1346
bl skipspace
.L1346:
mov w1, 1024
adrp x0, szBuf1
add x0, x0, :lo12:szBuf1
bl scanstring
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1347
bl skipspace
.L1347:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1348
adrp x0, szBuf2
add x0, x0, :lo12:szBuf2
strb wzr, [x0]
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1349
.L1348:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1350
bl skipspace
.L1350:
mov w1, 1024
adrp x0, szBuf2
add x0, x0, :lo12:szBuf2
bl scanstring
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1349
bl skipspace
.L1349:
adrp x0, szBuf2
add x1, x0, :lo12:szBuf2
adrp x0, szBuf1
add x0, x0, :lo12:szBuf1
bl strcmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
and x1, x0, 255
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
ldr w0, [sp, 28]
cmp w0, 28
bne .L1351
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
cset w0, eq
and w0, w0, 255
and x1, x0, 255
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
.L1351:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1352
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1353
bl skipspace
.L1353:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov w1, w0
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
str w1, [x0]
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
bne .L1502
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
str wzr, [x0]
b .L1502
.L1352:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
bne .L1502
adrp x0, suppress
add x0, x0, :lo12:suppress
mov w1, 2
str w1, [x0]
b .L1502
.L1210:
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1503
bl skipspace
bl scanname
mov w1, 0
adrp x0, namebuf
add x0, x0, :lo12:namebuf
bl findsym
str x0, [sp, 16]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1356
bl skipspace
.L1356:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1357
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1358
bl skipspace
.L1358:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov w1, w0
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
str w1, [x0]
ldr x0, [sp, 16]
cmp x0, 0
cset w0, eq
and w1, w0, 255
ldr w0, [sp, 28]
cmp w0, 43
cset w0, eq
and w0, w0, 255
eor w0, w1, w0
and w0, w0, 255
cmp w0, 0
beq .L1359
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
str wzr, [x0]
b .L1359
.L1357:
ldr x0, [sp, 16]
cmp x0, 0
cset w0, eq
and w1, w0, 255
ldr w0, [sp, 28]
cmp w0, 43
cset w0, eq
and w0, w0, 255
eor w0, w1, w0
and w0, w0, 255
cmp w0, 0
beq .L1359
adrp x0, suppress
add x0, x0, :lo12:suppress
mov w1, 2
str w1, [x0]
.L1359:
adrp x0, condline
add x0, x0, :lo12:condline
mov w1, 1
strb w1, [x0]
b .L1201
.L1236:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1360
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1360:
adrp x0, relocatable
add x0, x0, :lo12:relocatable
ldrb w0, [x0]
cmp w0, 0
beq .L1361
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
bne .L1361
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 512
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1361:
adrp x0, generating
add x0, x0, :lo12:generating
ldrb w0, [x0]
cmp w0, 0
beq .L1362
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1362
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 3
beq .L1363
cmp w0, 3
bgt .L1362
cmp w0, 2
beq .L1364
cmp w0, 2
bgt .L1362
cmp w0, 0
beq .L1365
cmp w0, 1
beq .L1366
b .L1362
.L1365:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
mov w1, w0
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
sub w0, w1, w0
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
ble .L1367
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
bl ftell
str x0, [sp, 128]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov w2, 2
mov x1, 0
bl fseek
sxtw x1, w0
ldr x0, [sp, 128]
sub x0, x1, x0
str x0, [sp, 136]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov w2, 0
ldr x1, [sp, 128]
bl fseek
str wzr, [sp, 36]
b .L1368
.L1371:
ldrsw x0, [sp, 36]
ldr x1, [sp, 136]
cmp x1, x0
ble .L1369
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov w2, 1
mov x1, 1
bl fseek
b .L1370
.L1369:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 268435456
cmp x0, 0
beq .L1370
adrp x0, rmbfillchr
add x0, x0, :lo12:rmbfillchr
ldrb w0, [x0]
mov w2, w0
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
.L1370:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1368:
ldr w1, [sp, 36]
ldr w0, [sp, 68]
cmp w1, w0
blt .L1371
b .L1504
.L1367:
ldr w0, [sp, 68]
neg w0, w0
str w0, [sp, 68]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 268435456
cmp x0, 0
beq .L1504
str wzr, [sp, 36]
b .L1373
.L1374:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov w2, 1
mov x1, -1
bl fseek
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1373:
ldr w1, [sp, 36]
ldr w0, [sp, 68]
cmp w1, w0
blt .L1374
b .L1504
.L1366:
bl flushhex
b .L1362
.L1364:
bl flushihex
b .L1362
.L1363:
bl flushflex
b .L1362
.L1504:
nop
.L1362:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w1, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
strh w1, [x0]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w1, [x0]
adrp x0, hexaddr
add x0, x0, :lo12:hexaddr
strh w1, [x0]
b .L1201
.L1234:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
beq .L1375
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 42
beq .L1375
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 59
bne .L1376
.L1375:
adrp x0, operand
add x0, x0, :lo12:operand
mov x1, -1
str x1, [x0]
b .L1377
.L1376:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
.L1377:
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1378
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1378:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and x0, x0, 255
cmp x0, 0
bne .L1379
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w0, w0, 65535
lsr w0, w0, 8
and w0, w0, 65535
and x1, x0, 65535
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
.L1379:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp w0, 255
bls .L1380
adrp x0, operand
add x0, x0, :lo12:operand
mov x1, -1
str x1, [x0]
.L1380:
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
beq .L1381
adrp x0, operand
add x0, x0, :lo12:operand
ldr x1, [x0]
adrp x0, dpsetting
add x0, x0, :lo12:dpsetting
str x1, [x0]
b .L1201
.L1381:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 512
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1233:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
ldr x0, [sp, 16]
cmp x0, 0
bne .L1383
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 32
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1383:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
and w0, w0, 1
cmp w0, 0
bne .L1385
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 6
bne .L1386
.L1385:
adrp x0, exprcat
add x0, x0, :lo12:exprcat
ldrb w0, [x0]
cmp w0, 2
bne .L1387
ldr x0, [sp, 16]
mov w1, 3
strb w1, [x0, 33]
b .L1388
.L1387:
ldr x0, [sp, 16]
mov w1, 1
strb w1, [x0, 33]
.L1388:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
and w1, w0, 65535
ldr x0, [sp, 16]
strh w1, [x0, 34]
b .L1201
.L1386:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1244:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 15
cmp w0, 0
bne .L1505
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl isfactorstart
cmp w0, 0
beq .L1390
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
and w1, w0, 65535
adrp x0, tfradr
add x0, x0, :lo12:tfradr
strh w1, [x0]
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
cmp x0, 0
beq .L1391
adrp x0, tfradr
add x0, x0, :lo12:tfradr
strh wzr, [x0]
b .L1390
.L1391:
adrp x0, tfradrset
add x0, x0, :lo12:tfradrset
mov w1, 1
str w1, [x0]
.L1390:
adrp x0, terminate
add x0, x0, :lo12:terminate
mov w1, 1
strb w1, [x0]
b .L1505
.L1232:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1392
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 64
cmp w0, 0
beq .L1393
.L1392:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1506
.L1393:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 1
bne .L1506
str wzr, [sp, 40]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 120]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 15
cmp w0, 15
bne .L1395
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 128
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1490
.L1395:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1396
bl skipspace
.L1396:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 34
bne .L1397
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
mov w0, 1
str w0, [sp, 40]
.L1397:
str wzr, [sp, 36]
b .L1398
.L1401:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
beq .L1399
ldr w0, [sp, 40]
cmp w0, 0
bne .L1400
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
beq .L1399
.L1400:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 34
beq .L1399
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
ldrb w2, [x0]
ldrsw x0, [sp, 36]
add x1, sp, 160
strb w2, [x1, x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1398:
ldr w0, [sp, 36]
cmp w0, 255
ble .L1401
.L1399:
ldrsw x0, [sp, 36]
add x1, sp, 160
strb wzr, [x1, x0]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 15
and w0, w0, 255
add w0, w0, 1
and w3, w0, 255
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
add x0, sp, 160
mov x2, x1
mov w1, w3
bl readfile
bl expandtext
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 120]
str x1, [x0]
b .L1506
.L1231:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
bl skipspace
b .L1402
.L1404:
bl scanname
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl setoption
cmp w0, 0
beq .L1403
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 64
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1403:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1402
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1402
bl skipspace
.L1402:
bl __ctype_b_loc
ldr x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8
cmp w0, 0
bne .L1404
b .L1201
.L1230:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1405
bl skipspace
.L1405:
bl __ctype_b_loc
ldr x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8
cmp w0, 0
beq .L1507
ldr w0, [sp, 28]
cmp w0, 18
bne .L1407
adrp x0, szTitle
add x0, x0, :lo12:szTitle
b .L1408
.L1407:
adrp x0, szSubtitle
add x0, x0, :lo12:szSubtitle
.L1408:
str x0, [sp, 72]
ldr x0, [sp, 72]
str x0, [sp, 80]
str wzr, [sp, 44]
b .L1409
.L1412:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
beq .L1410
ldr x0, [sp, 72]
str x0, [sp, 80]
.L1410:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [x0]
add x2, x1, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x2, [x0]
ldr x0, [sp, 72]
add x2, x0, 1
str x2, [sp, 72]
ldrb w1, [x1]
strb w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L1409:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
beq .L1411
ldr w0, [sp, 44]
cmp w0, 126
bls .L1412
.L1411:
ldr x0, [sp, 80]
add x0, x0, 1
strb wzr, [x0]
b .L1413
.L1414:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1413:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
bne .L1414
b .L1507
.L1229:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1415
bl skipspace
.L1415:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl isfactorstart
cmp w0, 0
beq .L1416
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
str w0, [sp, 64]
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
cmp x0, 0
bne .L1490
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x0, [x0]
cmp x0, 0
beq .L1490
ldr w0, [sp, 64]
sub w1, w0, #1
adrp x0, nCurPage
add x0, x0, :lo12:nCurPage
str w1, [x0]
.L1416:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0, 32]
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1508
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x0, [x0]
cmp x0, 0
beq .L1508
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32
cmp x0, 0
beq .L1508
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 31
cmp w0, 0
beq .L1418
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 524288
cmp x0, 0
beq .L1508
.L1418:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 1
bhi .L1419
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
beq .L1508
.L1419:
bl PageFeed
b .L1508
.L1228:
mov w0, 1
str w0, [sp, 48]
str wzr, [sp, 52]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1420
bl skipspace
.L1420:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
bl isfactorstart
cmp w0, 0
beq .L1421
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
str w0, [sp, 48]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1422
bl skipspace
.L1422:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1423
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1424
bl skipspace
.L1424:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
str w0, [sp, 52]
.L1423:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
cmp x0, 0
bne .L1509
.L1421:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0, 32]
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1510
ldr w0, [sp, 48]
cmp w0, 0
ble .L1426
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32
cmp x0, 0
beq .L1429
adrp x0, nCurLine
add x0, x0, :lo12:nCurLine
ldr w1, [x0]
ldr w0, [sp, 48]
add w1, w1, w0
ldr w0, [sp, 52]
add w1, w1, w0
adrp x0, nLinesPerPage
add x0, x0, :lo12:nLinesPerPage
ldr w0, [x0]
cmp w1, w0
blt .L1429
bl PageFeed
b .L1510
.L1430:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
ldr w0, [sp, 48]
sub w0, w0, #1
str w0, [sp, 48]
.L1429:
ldr w0, [sp, 48]
cmp w0, 0
bne .L1430
b .L1510
.L1426:
ldr w0, [sp, 52]
cmp w0, 0
beq .L1510
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32
cmp x0, 0
beq .L1510
adrp x0, nCurLine
add x0, x0, :lo12:nCurLine
ldr w1, [x0]
ldr w0, [sp, 52]
add w1, w1, w0
adrp x0, nLinesPerPage
add x0, x0, :lo12:nLinesPerPage
ldr w0, [x0]
cmp w1, w0
blt .L1510
bl PageFeed
b .L1510
.L1227:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1431
bl skipspace
.L1431:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov w1, w0
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str w1, [x0]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0, 32]
b .L1201
.L1226:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1432
bl skipspace
.L1432:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov w1, w0
adrp x0, nLinesPerPage
add x0, x0, :lo12:nLinesPerPage
str w1, [x0]
adrp x0, nLinesPerPage
add x0, x0, :lo12:nLinesPerPage
ldr w0, [x0]
cmp w0, 9
bgt .L1433
adrp x0, nLinesPerPage
add x0, x0, :lo12:nLinesPerPage
mov w1, 10
str w1, [x0]
b .L1434
.L1433:
adrp x0, nLinesPerPage
add x0, x0, :lo12:nLinesPerPage
ldr w0, [x0]
cmp w0, 1000
ble .L1434
adrp x0, nLinesPerPage
add x0, x0, :lo12:nLinesPerPage
mov w1, 1000
str w1, [x0]
.L1434:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0, 32]
b .L1201
.L1225:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1435
bl skipspace
.L1435:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov w1, w0
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
str w1, [x0]
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
ldr w0, [x0]
cmp w0, 39
bgt .L1436
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
mov w1, 40
str w1, [x0]
b .L1437
.L1436:
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
ldr w0, [x0]
cmp w0, 2000
ble .L1437
adrp x0, nColsPerLine
add x0, x0, :lo12:nColsPerLine
mov w1, 2000
str w1, [x0]
.L1437:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0, 32]
b .L1201
.L1211:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1438
bl skipspace
.L1438:
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov w1, w0
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
str w1, [x0]
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
ldr w0, [x0]
cmp w0, 5
bgt .L1439
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
mov w1, 6
str w1, [x0]
b .L1440
.L1439:
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 5
bne .L1441
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
ldr w0, [x0]
cmp w0, 8
ble .L1441
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
mov w1, 8
str w1, [x0]
b .L1440
.L1441:
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
ldr w0, [x0]
cmp w0, 32
ble .L1440
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
mov w1, 32
str w1, [x0]
.L1440:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0, 32]
b .L1201
.L1237:
ldr x0, [sp, 16]
cmp x0, 0
bne .L1442
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 32
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1442:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 13
bne .L1443
adrp x0, nMacros
add x0, x0, :lo12:nMacros
ldr w0, [x0]
cmp w0, 1023
bgt .L1444
ldr x0, [sp, 16]
mov w1, 9
strb w1, [x0, 33]
adrp x0, nMacros
add x0, x0, :lo12:nMacros
ldr w1, [x0]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x2, [x0]
adrp x0, macros
add x0, x0, :lo12:macros
sxtw x1, w1
str x2, [x0, x1, lsl 3]
adrp x0, nMacros
add x0, x0, :lo12:nMacros
ldr w0, [x0]
add w2, w0, 1
adrp x1, nMacros
add x1, x1, :lo12:nMacros
str w2, [x1]
and w1, w0, 65535
ldr x0, [sp, 16]
strh w1, [x0, 34]
b .L1445
.L1444:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 128
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1445
.L1443:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 9
bne .L1446
ldr x0, [sp, 16]
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, macros
add x0, x0, :lo12:macros
sxtw x1, w1
ldr x1, [x0, x1, lsl 3]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
cmp x1, x0
beq .L1445
.L1446:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1445:
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
add w1, w0, 1
adrp x0, inMacro
add x0, x0, :lo12:inMacro
str w1, [x0]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, 32
and w1, w1, 255
strb w1, [x0, 32]
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 1
ble .L1511
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 256
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1511
.L1242:
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
beq .L1448
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
sub w1, w0, #1
adrp x0, inMacro
add x0, x0, :lo12:inMacro
str w1, [x0]
b .L1512
.L1448:
adrp x0, lvlMacro
add x0, x0, :lo12:lvlMacro
ldr w0, [x0]
cmp w0, 0
beq .L1450
adrp x0, lvlMacro
add x0, x0, :lo12:lvlMacro
ldr w0, [x0]
sub w1, w0, #1
adrp x0, lvlMacro
add x0, x0, :lo12:lvlMacro
str w1, [x0]
.L1450:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 64
cmp w0, 0
bne .L1512
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1512
.L1224:
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1513
adrp x0, lvlMacro
add x0, x0, :lo12:lvlMacro
ldr w0, [x0]
cmp w0, 0
beq .L1452
adrp x0, lvlMacro
add x0, x0, :lo12:lvlMacro
ldr w0, [x0]
sub w1, w0, #1
adrp x0, lvlMacro
add x0, x0, :lo12:lvlMacro
str w1, [x0]
.L1452:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 64
cmp w0, 0
bne .L1513
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1513
.L1221:
ldr x0, [sp, 16]
cmp x0, 0
bne .L1453
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 32
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1453:
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb wzr, [x0]
.L1459:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1454
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1454:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1455
bl skipspace
.L1455:
bl scanname
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl findreg
str x0, [sp, 112]
ldr x0, [sp, 112]
cmp x0, 0
bne .L1456
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1457
.L1456:
ldr x0, [sp, 112]
ldrb w1, [x0, 9]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
orr w0, w1, w0
and w1, w0, 255
adrp x0, postbyte
add x0, x0, :lo12:postbyte
strb w1, [x0]
.L1457:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1458
bl skipspace
.L1458:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1459
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 13
bne .L1460
ldr x0, [sp, 16]
mov w1, 14
strb w1, [x0, 33]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
and w1, w0, 65535
ldr x0, [sp, 16]
strh w1, [x0, 34]
b .L1514
.L1460:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 14
bne .L1462
ldr x0, [sp, 16]
ldrh w1, [x0, 34]
adrp x0, postbyte
add x0, x0, :lo12:postbyte
ldrb w0, [x0]
and w0, w0, 65535
cmp w1, w0
beq .L1514
.L1462:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1514
.L1220:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1463
bl skipspace
.L1463:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 1
beq .L1515
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [x0]
adrp x0, errormsg
add x0, x0, :lo12:errormsg
str x1, [x0, 112]
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 16384
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1515
.L1202:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1465
bl skipspace
.L1465:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 1
beq .L1516
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [x0]
adrp x0, warningmsg
add x0, x0, :lo12:warningmsg
str x1, [x0, 112]
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
orr x1, x0, 16384
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
b .L1516
.L1219:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1467
bl skipspace
.L1467:
ldr x0, [sp, 16]
cmp x0, 0
bne .L1468
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 32
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1468:
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 13
beq .L1470
ldr x0, [sp, 16]
ldrb w0, [x0, 33]
cmp w0, 15
beq .L1470
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 8
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1470:
mov w1, 1024
adrp x0, szBuf1
add x0, x0, :lo12:szBuf1
bl scanstring
ldr x2, [sp, 16]
adrp x0, szBuf1
add x1, x0, :lo12:szBuf1
mov x0, x2
bl settext
b .L1201
.L1212:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1471
bl skipspace
.L1471:
bl scanname
adrp x0, namebuf
add x0, x0, :lo12:namebuf
ldrb w0, [x0]
cmp w0, 0
bne .L1472
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1472:
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
ldr w1, [x0]
adrp x0, namebuf
add x3, x0, :lo12:namebuf
mov w2, w1
adrp x0, .LC554
add x1, x0, :lo12:.LC554
adrp x0, modulename
add x0, x0, :lo12:modulename
bl sprintf
b .L1201
.L1209:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 1
bne .L1517
str wzr, [sp, 56]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 104]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1474
bl skipspace
.L1474:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 34
bne .L1475
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
mov w0, 1
str w0, [sp, 56]
.L1475:
str wzr, [sp, 36]
b .L1476
.L1479:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
beq .L1477
ldr w0, [sp, 56]
cmp w0, 0
bne .L1478
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
beq .L1477
.L1478:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 34
beq .L1477
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
ldrb w2, [x0]
ldrsw x0, [sp, 36]
add x1, sp, 160
strb w2, [x1, x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1476:
ldr w0, [sp, 36]
cmp w0, 255
ble .L1479
.L1477:
ldrsw x0, [sp, 36]
add x1, sp, 160
strb wzr, [x1, x0]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 15
and w0, w0, 255
add w0, w0, 1
and w4, w0, 255
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [x0]
add x0, sp, 160
ldr x3, [sp, 16]
mov x2, x1
mov w1, w4
bl readbinary
bl expandtext
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 104]
str x1, [x0]
b .L1517
.L1208:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
add x0, sp, 144
mov x1, x0
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1480
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1480:
adrp x0, relocatable
add x0, x0, :lo12:relocatable
ldrb w0, [x0]
cmp w0, 0
beq .L1481
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
bne .L1481
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 512
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1201
.L1481:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
mov w1, w0
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
sub w1, w1, w0
adrp x0, phase
add x0, x0, :lo12:phase
str w1, [x0]
b .L1201
.L1207:
adrp x0, phase
add x0, x0, :lo12:phase
str wzr, [x0]
b .L1201
.L1204:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
bl skipspace
bl __ctype_b_loc
ldr x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8
cmp w0, 0
beq .L1518
adrp x0, szBuf1
add x0, x0, :lo12:szBuf1
str x0, [sp, 88]
ldr x0, [sp, 88]
str x0, [sp, 96]
str wzr, [sp, 60]
b .L1483
.L1486:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
beq .L1484
ldr x0, [sp, 88]
str x0, [sp, 96]
.L1484:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [x0]
add x2, x1, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x2, [x0]
ldr x0, [sp, 88]
add x2, x0, 1
str x2, [sp, 88]
ldrb w1, [x1]
strb w1, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1483:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
beq .L1485
ldr w0, [sp, 60]
cmp w0, 1022
bls .L1486
.L1485:
ldr x0, [sp, 96]
add x0, x0, 1
strb wzr, [x0]
b .L1487
.L1488:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1487:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
bne .L1488
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
bne .L1518
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0, 32]
b .L1518
.L1492:
nop
b .L1490
.L1495:
nop
b .L1490
.L1497:
nop
b .L1490
.L1498:
nop
b .L1490
.L1499:
nop
b .L1490
.L1500:
nop
b .L1490
.L1501:
nop
b .L1490
.L1502:
nop
b .L1490
.L1503:
nop
b .L1490
.L1505:
nop
b .L1490
.L1506:
nop
b .L1490
.L1507:
nop
b .L1490
.L1508:
nop
b .L1490
.L1509:
nop
b .L1490
.L1510:
nop
b .L1490
.L1511:
nop
b .L1490
.L1512:
nop
b .L1490
.L1513:
nop
b .L1490
.L1514:
nop
b .L1490
.L1515:
nop
b .L1490
.L1516:
nop
b .L1490
.L1517:
nop
b .L1490
.L1518:
nop
.L1201:
.L1490:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 424]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1489
bl __stack_chk_fail
.L1489:
ldp x29, x30, [sp], 432
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE104:
.size pseudoop, .-pseudoop
.align 2
.global macskip
.type macskip, %function
macskip:
.LFB105:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr w0, [sp, 4]
cmp w0, 0
bge .L1522
ldr w0, [sp, 4]
sub w0, w0, #1
str w0, [sp, 4]
b .L1522
.L1527:
ldr w0, [sp, 4]
cmp w0, 0
bge .L1523
ldr x0, [sp, 8]
ldr x0, [x0, 8]
cmp x0, 0
beq .L1529
ldr x0, [sp, 8]
ldr x0, [x0, 8]
str x0, [sp, 8]
ldr w0, [sp, 4]
add w0, w0, 1
str w0, [sp, 4]
b .L1522
.L1523:
ldr x0, [sp, 8]
ldr x0, [x0]
cmp x0, 0
beq .L1530
ldr x0, [sp, 8]
ldr x0, [x0]
str x0, [sp, 8]
ldr w0, [sp, 4]
sub w0, w0, #1
str w0, [sp, 4]
.L1522:
ldr w0, [sp, 4]
cmp w0, 0
bne .L1527
b .L1525
.L1529:
nop
b .L1525
.L1530:
nop
.L1525:
ldr x0, [sp, 8]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE105:
.size macskip, .-macskip
.align 2
.global expandmacro
.type expandmacro, %function
expandmacro:
.LFB106:
.cfi_startproc
sub sp, sp, #2592
.cfi_def_cfa_offset 2592
stp x29, x30, [sp]
.cfi_offset 29, -2592
.cfi_offset 30, -2584
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 2584]
mov x1, 0
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
str x0, [sp, 144]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
str x0, [sp, 152]
mov w0, 1
str w0, [sp, 36]
str wzr, [sp, 40]
ldr x0, [sp, 16]
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, macros
add x0, x0, :lo12:macros
sxtw x1, w1
ldr x0, [x0, x1, lsl 3]
ldr x0, [x0]
str x0, [sp, 120]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
str x0, [sp, 128]
str xzr, [sp, 136]
str wzr, [sp, 44]
str wzr, [sp, 48]
str wzr, [sp, 52]
add x0, sp, 280
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
stp q0, q0, [x0, 64]
stp q0, q0, [x0, 96]
stp q0, q0, [x0, 128]
stp q0, q0, [x0, 160]
stp q0, q0, [x0, 192]
stp q0, q0, [x0, 224]
str wzr, [sp, 56]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 31
str w0, [sp, 76]
stp xzr, xzr, [sp, 184]
bl skipspace
ldr x0, [sp, 24]
cmp x0, 0
bne .L1532
adrp x0, .LC466
add x0, x0, :lo12:.LC466
str x0, [sp, 200]
b .L1533
.L1532:
ldr x0, [sp, 24]
str x0, [sp, 200]
.L1533:
mov w0, 1
str w0, [sp, 36]
b .L1534
.L1535:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
add x1, sp, 200
adrp x2, .LC466
add x2, x2, :lo12:.LC466
str x2, [x1, x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1534:
ldr w0, [sp, 36]
cmp w0, 9
ble .L1535
mov w0, 1
str w0, [sp, 36]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [x0]
add x0, sp, 536
bl strcpy
adrp x0, srcptr
add x0, x0, :lo12:srcptr
add x1, sp, 536
str x1, [x0]
b .L1536
.L1550:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1537
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
strb wzr, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1538
bl skipspace
.L1538:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 9
ble .L1536
b .L1539
.L1537:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x2, [x0]
ldrsw x0, [sp, 36]
lsl x0, x0, 3
add x1, sp, 200
str x2, [x1, x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 39
beq .L1540
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 34
bne .L1542
.L1540:
mov w0, 1
str w0, [sp, 40]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1542
.L1546:
ldr w0, [sp, 40]
cmp w0, 0
bne .L1543
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
beq .L1544
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1544
.L1543:
ldr w0, [sp, 40]
cmp w0, 0
beq .L1545
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w1, [x0]
ldrsw x0, [sp, 36]
lsl x0, x0, 3
add x2, sp, 200
ldr x0, [x2, x0]
ldrb w0, [x0]
cmp w1, w0
bne .L1545
ldrsw x0, [sp, 36]
lsl x0, x0, 3
add x1, sp, 200
ldr x0, [x1, x0]
add x2, x0, 1
ldrsw x0, [sp, 36]
lsl x0, x0, 3
add x1, sp, 200
str x2, [x1, x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
strb wzr, [x0]
b .L1544
.L1545:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1542:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
bne .L1546
.L1544:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
bne .L1547
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
beq .L1548
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
strb wzr, [x0]
b .L1539
.L1548:
bl skipspace
b .L1536
.L1547:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1536
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x2, x0, 1
adrp x1, srcptr
add x1, x1, :lo12:srcptr
str x2, [x1]
strb wzr, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 9
bgt .L1619
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1536
bl skipspace
.L1536:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
bne .L1550
b .L1551
.L1619:
nop
.L1539:
b .L1551
.L1617:
ldr x0, [sp, 120]
add x0, x0, 34
str x0, [sp, 104]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 104]
str x1, [x0]
add x0, sp, 1560
str x0, [sp, 112]
str xzr, [sp, 96]
str wzr, [sp, 52]
b .L1552
.L1565:
ldr x0, [sp, 104]
ldrb w0, [x0]
cmp w0, 92
bne .L1553
ldr x0, [sp, 104]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 38
bne .L1553
ldr x0, [sp, 104]
add x0, x0, 1
str x0, [sp, 104]
ldr x1, [sp, 104]
add x0, x1, 1
str x0, [sp, 104]
ldr x0, [sp, 112]
add x2, x0, 1
str x2, [sp, 112]
ldrb w1, [x1]
strb w1, [x0]
b .L1552
.L1553:
ldr x0, [sp, 104]
ldrb w0, [x0]
cmp w0, 38
bne .L1554
ldr x0, [sp, 104]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 47
bls .L1555
ldr x0, [sp, 104]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 57
bhi .L1555
ldr x0, [sp, 104]
add x0, x0, 1
ldrb w0, [x0]
sub w0, w0, #48
sxtw x0, w0
lsl x0, x0, 3
add x1, sp, 200
ldr x0, [x1, x0]
str x0, [sp, 160]
str wzr, [sp, 60]
add x0, sp, 1560
ldr x1, [sp, 112]
sub x0, x1, x0
str w0, [sp, 64]
b .L1556
.L1558:
ldrsw x0, [sp, 60]
ldr x1, [sp, 160]
add x1, x1, x0
ldr x0, [sp, 112]
add x2, x0, 1
str x2, [sp, 112]
ldrb w1, [x1]
strb w1, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L1556:
ldr w0, [sp, 64]
cmp w0, 1023
bgt .L1557
ldrsw x0, [sp, 60]
ldr x1, [sp, 160]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L1558
.L1557:
ldr x0, [sp, 104]
add x0, x0, 2
str x0, [sp, 104]
b .L1552
.L1555:
ldr x0, [sp, 104]
add x0, x0, 1
add x1, sp, 88
bl parsename
mov w1, 0
adrp x0, namebuf
add x0, x0, :lo12:namebuf
bl findsym
str x0, [sp, 168]
ldr x0, [sp, 168]
cmp x0, 0
beq .L1560
adrp x0, namebuf
add x0, x0, :lo12:namebuf
ldrb w0, [x0]
cmp w0, 0
beq .L1560
ldr x0, [sp, 168]
ldrb w0, [x0, 33]
cmp w0, 15
bne .L1560
str wzr, [sp, 68]
add x0, sp, 1560
ldr x1, [sp, 112]
sub x0, x1, x0
str w0, [sp, 72]
ldr x0, [sp, 168]
ldrh w0, [x0, 34]
mov w1, w0
adrp x0, texts
add x0, x0, :lo12:texts
sxtw x1, w1
ldr x0, [x0, x1, lsl 3]
str x0, [sp, 176]
b .L1561
.L1563:
ldrsw x0, [sp, 68]
ldr x1, [sp, 176]
add x1, x1, x0
ldr x0, [sp, 112]
add x2, x0, 1
str x2, [sp, 112]
ldrb w1, [x1]
strb w1, [x0]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L1561:
ldr w0, [sp, 72]
cmp w0, 1023
bgt .L1562
ldrsw x0, [sp, 68]
ldr x1, [sp, 176]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L1563
.L1562:
ldr x0, [sp, 88]
str x0, [sp, 104]
b .L1552
.L1560:
ldr x1, [sp, 104]
add x0, x1, 1
str x0, [sp, 104]
ldr x0, [sp, 112]
add x2, x0, 1
str x2, [sp, 112]
ldrb w1, [x1]
strb w1, [x0]
b .L1552
.L1554:
ldr x1, [sp, 104]
add x0, x1, 1
str x0, [sp, 104]
ldr x0, [sp, 112]
add x2, x0, 1
str x2, [sp, 112]
ldrb w1, [x1]
strb w1, [x0]
.L1552:
ldr x0, [sp, 104]
ldrb w0, [x0]
cmp w0, 0
bne .L1565
ldr x0, [sp, 112]
strb wzr, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
add x1, sp, 1560
str x1, [x0]
bl __ctype_b_loc
ldr x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8
cmp w0, 0
beq .L1566
bl scanname
mov w1, 1
adrp x0, namebuf
add x0, x0, :lo12:namebuf
bl findsym
str x0, [sp, 24]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 58
bne .L1566
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1566:
bl skipspace
bl __ctype_b_loc
ldr x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8
cmp w0, 0
beq .L1567
bl scanname
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl findop
str x0, [sp, 96]
.L1567:
bl skipspace
ldr x0, [sp, 96]
cmp x0, 0
beq .L1568
ldr x0, [sp, 96]
ldrh w0, [x0, 8]
cmp w0, 63
bne .L1568
ldr x0, [sp, 96]
ldr x0, [x0, 16]
cmp x0, 30
beq .L1569
cmp x0, 30
bhi .L1568
cmp x0, 29
beq .L1570
cmp x0, 29
bhi .L1568
cmp x0, 28
bhi .L1568
cmp x0, 27
bcs .L1571
cmp x0, 26
beq .L1572
cmp x0, 26
bhi .L1568
cmp x0, 25
beq .L1573
cmp x0, 25
bhi .L1568
cmp x0, 10
beq .L1572
cmp x0, 10
bhi .L1568
cmp x0, 4
beq .L1574
cmp x0, 4
bhi .L1568
cmp x0, 1
beq .L1575
cmp x0, 3
beq .L1576
b .L1568
.L1574:
mov w0, 1
str w0, [sp, 48]
b .L1568
.L1573:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
cmp w0, 0
bne .L1620
mov w0, 1
str w0, [sp, 48]
b .L1620
.L1570:
ldr x0, [sp, 136]
cmp x0, 0
beq .L1578
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 256
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1568
.L1578:
add x0, sp, 184
mov x1, x0
mov w0, 0
bl scanexpr
str w0, [sp, 44]
ldr x0, [sp, 120]
str x0, [sp, 136]
ldr w0, [sp, 44]
cmp w0, 0
ble .L1580
ldr w0, [sp, 44]
cmp w0, 255
ble .L1581
.L1580:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
mov w0, 1
str w0, [sp, 44]
b .L1568
.L1581:
mov w0, 1
str w0, [sp, 52]
b .L1568
.L1569:
ldr x0, [sp, 136]
cmp x0, 0
bne .L1582
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1568
.L1582:
ldr w0, [sp, 44]
sub w0, w0, #1
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bne .L1584
str xzr, [sp, 136]
b .L1585
.L1584:
ldr x0, [sp, 136]
str x0, [sp, 120]
.L1585:
mov w0, 1
str w0, [sp, 52]
b .L1568
.L1572:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
ldr w0, [sp, 56]
sub w0, w0, #1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 280
ldr w2, [x1, x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
str w2, [x1, x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
cmp w0, 0
beq .L1586
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
add w2, w0, 1
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
str w2, [x1, x0]
b .L1587
.L1586:
add x0, sp, 184
mov x1, x0
mov w0, 0
bl scanexpr
mov x1, x0
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
adrp x0, unknown
add x0, x0, :lo12:unknown
ldrb w0, [x0]
cmp w0, 0
beq .L1588
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 4
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1588:
ldr x0, [sp, 96]
ldr x0, [x0, 16]
cmp x0, 26
bne .L1589
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
cset w0, eq
and w0, w0, 255
and x1, x0, 255
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
.L1589:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
bne .L1590
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
add w2, w0, 1
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
str w2, [x1, x0]
.L1590:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1591
bl skipspace
.L1591:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1587
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1592
bl skipspace
.L1592:
add x0, sp, 184
mov x1, x0
mov w0, 0
bl scanexpr
str w0, [sp, 84]
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 56]
ldr w0, [sp, 84]
cmn w0, #255
blt .L1593
ldr w0, [sp, 84]
cmp w0, 255
bgt .L1593
ldr w0, [sp, 84]
cmp w0, 0
bne .L1594
.L1593:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1568
.L1594:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
beq .L1587
ldr w1, [sp, 84]
ldr x0, [sp, 120]
bl macskip
str x0, [sp, 120]
.L1587:
mov w0, 1
str w0, [sp, 52]
b .L1568
.L1571:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
ldr w0, [sp, 56]
sub w0, w0, #1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 280
ldr w2, [x1, x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
str w2, [x1, x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
cmp w0, 0
beq .L1595
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
add w2, w0, 1
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
str w2, [x1, x0]
b .L1596
.L1595:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1597
bl skipspace
.L1597:
mov w1, 1024
adrp x0, szBuf1
add x0, x0, :lo12:szBuf1
bl scanstring
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1598
bl skipspace
.L1598:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
beq .L1599
adrp x0, szBuf2
add x0, x0, :lo12:szBuf2
strb wzr, [x0]
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1600
.L1599:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1601
bl skipspace
.L1601:
mov w1, 1024
adrp x0, szBuf2
add x0, x0, :lo12:szBuf2
bl scanstring
.L1600:
adrp x0, szBuf2
add x1, x0, :lo12:szBuf2
adrp x0, szBuf1
add x0, x0, :lo12:szBuf1
bl strcmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
and x1, x0, 255
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
ldr x0, [sp, 96]
ldr x0, [x0, 16]
cmp x0, 28
bne .L1602
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
cset w0, eq
and w0, w0, 255
and x1, x0, 255
adrp x0, operand
add x0, x0, :lo12:operand
str x1, [x0]
.L1602:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
bne .L1603
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
add w2, w0, 1
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
str w2, [x1, x0]
.L1603:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1604
bl skipspace
.L1604:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 44
bne .L1596
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
bne .L1605
bl skipspace
.L1605:
add x0, sp, 184
mov x1, x0
mov w0, 0
bl scanexpr
str w0, [sp, 80]
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 56]
ldr w0, [sp, 80]
cmn w0, #255
blt .L1606
ldr w0, [sp, 80]
cmp w0, 255
bgt .L1606
ldr w0, [sp, 80]
cmp w0, 0
bne .L1607
.L1606:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1568
.L1607:
adrp x0, operand
add x0, x0, :lo12:operand
ldr x0, [x0]
cmp x0, 0
beq .L1596
ldr w1, [sp, 80]
ldr x0, [sp, 120]
bl macskip
str x0, [sp, 120]
.L1596:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
cmp x0, 0
bne .L1621
mov w0, 1
str w0, [sp, 52]
b .L1621
.L1575:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
cmp w0, 0
bne .L1609
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
add w2, w0, 1
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
str w2, [x1, x0]
b .L1610
.L1609:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
sub w2, w0, #1
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
str w2, [x1, x0]
.L1610:
mov w0, 1
str w0, [sp, 52]
b .L1568
.L1576:
ldr w0, [sp, 56]
cmp w0, 0
beq .L1611
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 56]
.L1611:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
cmp w0, 0
beq .L1612
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
sub w2, w0, #1
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
str w2, [x1, x0]
.L1612:
mov w0, 1
str w0, [sp, 52]
b .L1568
.L1620:
nop
b .L1568
.L1621:
nop
.L1568:
ldr w0, [sp, 52]
cmp w0, 0
bne .L1613
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 280
ldr w0, [x1, x0]
cmp w0, 0
bne .L1613
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x1, [x0, 16]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0, 24]
mov w5, w0
ldr w0, [sp, 76]
sxtb w0, w0
orr w0, w0, 64
sxtb w0, w0
and w2, w0, 255
add x0, sp, 1560
mov x4, x0
mov w3, w2
mov w2, w5
ldr x0, [sp, 128]
bl allocline
str x0, [sp, 128]
ldr x0, [sp, 128]
cmp x0, 0
bne .L1614
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 128
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1615
.L1614:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [sp, 128]
str x1, [x0]
adrp x0, error
add x0, x0, :lo12:error
str xzr, [x0]
adrp x0, warning
add x0, x0, :lo12:warning
str xzr, [x0]
bl expandtext
.L1613:
ldr w0, [sp, 48]
cmp w0, 0
bne .L1622
ldr x0, [sp, 120]
ldr x0, [x0]
str x0, [sp, 120]
.L1551:
ldr x0, [sp, 120]
cmp x0, 0
bne .L1617
b .L1615
.L1622:
nop
.L1615:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [sp, 152]
str x1, [x0]
bl expandtext
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x1, [sp, 144]
str x1, [x0]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
str wzr, [x0]
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 2584]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L1618
bl __stack_chk_fail
.L1618:
ldp x29, x30, [sp]
add sp, sp, 2592
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE106:
.size expandmacro, .-expandmacro
.section .rodata
.align 3
.LC555:
.string "63"
.text
.align 2
.global processline
.type processline, %function
processline:
.LFB107:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str xzr, [sp, 48]
str xzr, [sp, 56]
strb wzr, [sp, 30]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
adrp x1, srcline
add x1, x1, :lo12:srcline
str x1, [x0]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w1, [x0]
adrp x0, oldlc
add x0, x0, :lo12:oldlc
strh w1, [x0]
adrp x0, unknown
add x0, x0, :lo12:unknown
strb wzr, [x0]
adrp x0, certain
add x0, x0, :lo12:certain
mov w1, 1
strb w1, [x0]
str xzr, [sp, 40]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
str wzr, [x0]
adrp x0, condline
add x0, x0, :lo12:condline
strb wzr, [x0]
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
beq .L1624
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, 32
and w1, w1, 255
strb w1, [x0, 32]
.L1624:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
mov w1, 1
bl isValidNameChar
and w0, w0, 255
cmp w0, 0
beq .L1625
bl scanname
mov w1, 1
adrp x0, namebuf
add x0, x0, :lo12:namebuf
bl findsym
str x0, [sp, 40]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 58
bne .L1626
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1626:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1625
ldr x0, [sp, 40]
ldrb w0, [x0, 33]
cmp w0, 18
beq .L1625
ldr x0, [sp, 40]
ldr x0, [x0, 40]
and x0, x0, 1
cmp x0, 0
beq .L1625
ldr x0, [sp, 40]
ldr x0, [x0, 40]
orr x1, x0, 2
ldr x0, [sp, 40]
str x1, [x0, 40]
.L1625:
bl skipspace
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 92
bne .L1627
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
mov w0, 1
strb w0, [sp, 30]
.L1627:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
mov w1, 1
bl isValidNameChar
and w0, w0, 255
cmp w0, 0
beq .L1628
bl scanname
ldrb w0, [sp, 30]
cmp w0, 0
bne .L1629
mov w1, 0
adrp x0, namebuf
add x0, x0, :lo12:namebuf
bl findsym
str x0, [sp, 48]
.L1629:
ldr x0, [sp, 48]
cmp x0, 0
beq .L1630
ldr x0, [sp, 48]
ldrb w0, [x0, 33]
cmp w0, 9
bne .L1630
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 1
bne .L1693
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 96
cmp w0, 32
beq .L1693
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 96
cmp w0, 64
beq .L1632
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w1, [x0, 32]
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
orr w1, w1, 96
and w1, w1, 255
strb w1, [x0, 32]
.L1632:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 33554432
cmp x0, 0
beq .L1633
ldr x0, [sp, 40]
bl setlabel
.L1633:
adrp x0, lvlMacro
add x0, x0, :lo12:lvlMacro
ldr w0, [x0]
add w1, w0, 1
adrp x0, lvlMacro
add x0, x0, :lo12:lvlMacro
str w1, [x0]
adrp x0, lvlMacro
add x0, x0, :lo12:lvlMacro
ldr w0, [x0]
cmp w0, 31
bgt .L1634
ldr x1, [sp, 48]
ldr x0, [sp, 40]
bl expandmacro
b .L1693
.L1634:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 256
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1693
.L1630:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2
cmp x0, 0
beq .L1636
adrp x0, .LC32
add x1, x0, :lo12:.LC32
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L1637
adrp x0, .LC37
add x1, x0, :lo12:.LC37
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L1637
adrp x0, .LC227
add x1, x0, :lo12:.LC227
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L1637
adrp x0, .LC232
add x1, x0, :lo12:.LC232
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L1637
adrp x0, .LC117
add x1, x0, :lo12:.LC117
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L1637
adrp x0, .LC168
add x1, x0, :lo12:.LC168
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
beq .L1637
adrp x0, .LC82
add x1, x0, :lo12:.LC82
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strcmp
cmp w0, 0
bne .L1636
.L1637:
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl strlen
mov x1, x0
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
add x2, x1, x0
adrp x0, .LC555
add x1, x0, :lo12:.LC555
mov x0, x2
ldrh w2, [x1]
strh w2, [x0]
ldrb w1, [x1, 2]
strb w1, [x0, 2]
.L1636:
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl findop
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L1638
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
beq .L1639
bl skipspace
.L1639:
ldr x0, [sp, 56]
ldrh w0, [x0, 8]
cmp w0, 63
beq .L1640
ldr x0, [sp, 40]
bl setlabel
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
bne .L1640
adrp x0, generating
add x0, x0, :lo12:generating
mov w1, 1
strb w1, [x0]
.L1640:
ldr x0, [sp, 56]
ldr x0, [x0, 16]
str w0, [sp, 36]
ldr x0, [sp, 56]
ldrh w0, [x0, 8]
strh w0, [sp, 32]
adrp x0, common
add x0, x0, :lo12:common
ldr x0, [x0]
cmp x0, 0
beq .L1641
ldrh w0, [sp, 32]
cmp w0, 63
beq .L1641
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
.L1641:
ldrh w0, [sp, 32]
and w0, w0, 255
and w0, w0, -128
strb w0, [sp, 31]
ldrh w0, [sp, 32]
and w0, w0, -129
strh w0, [sp, 32]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 67108864
cmp x0, 0
beq .L1642
ldrh w0, [sp, 32]
and w0, w0, 1536
strh w0, [sp, 34]
ldrh w0, [sp, 32]
and w0, w0, -1537
strh w0, [sp, 32]
.L1642:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2
cmp x0, 0
beq .L1643
ldrh w0, [sp, 32]
and w0, w0, -65
strh w0, [sp, 32]
.L1643:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16
cmp x0, 0
beq .L1644
ldrh w0, [sp, 32]
and w0, w0, -257
strh w0, [sp, 32]
.L1644:
ldrh w0, [sp, 32]
cmp w0, 63
bhi .L1645
adrp x1, .L1647
add x1, x1, :lo12:.L1647
ldr w0, [x1,w0,uxtw #2]
adr x1, .Lrtx1647
add x0, x1, w0, sxtw #2
br x0
.Lrtx1647:
.section .rodata
.align 0
.align 2
.L1647:
.word (.L1674 - .Lrtx1647) / 4
.word (.L1673 - .Lrtx1647) / 4
.word (.L1672 - .Lrtx1647) / 4
.word (.L1671 - .Lrtx1647) / 4
.word (.L1670 - .Lrtx1647) / 4
.word (.L1669 - .Lrtx1647) / 4
.word (.L1668 - .Lrtx1647) / 4
.word (.L1667 - .Lrtx1647) / 4
.word (.L1666 - .Lrtx1647) / 4
.word (.L1665 - .Lrtx1647) / 4
.word (.L1664 - .Lrtx1647) / 4
.word (.L1663 - .Lrtx1647) / 4
.word (.L1662 - .Lrtx1647) / 4
.word (.L1661 - .Lrtx1647) / 4
.word (.L1660 - .Lrtx1647) / 4
.word (.L1659 - .Lrtx1647) / 4
.word (.L1658 - .Lrtx1647) / 4
.word (.L1657 - .Lrtx1647) / 4
.word (.L1656 - .Lrtx1647) / 4
.word (.L1655 - .Lrtx1647) / 4
.word (.L1654 - .Lrtx1647) / 4
.word (.L1653 - .Lrtx1647) / 4
.word (.L1652 - .Lrtx1647) / 4
.word (.L1651 - .Lrtx1647) / 4
.word (.L1650 - .Lrtx1647) / 4
.word (.L1649 - .Lrtx1647) / 4
.word (.L1648 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1645 - .Lrtx1647) / 4
.word (.L1646 - .Lrtx1647) / 4
.text
.L1674:
ldr w0, [sp, 36]
bl onebyte
b .L1675
.L1673:
ldr w0, [sp, 36]
bl twobyte
b .L1675
.L1672:
ldrsw x0, [sp, 36]
bl threebyte
b .L1675
.L1671:
ldrsw x0, [sp, 36]
bl fourbyte
b .L1675
.L1654:
ldr w0, [sp, 36]
asr w0, w0, 8
and w0, w0, 255
bl putbyte
.L1670:
ldr w0, [sp, 36]
bl oneimm
b .L1675
.L1669:
ldr w0, [sp, 36]
bl lea
b .L1675
.L1668:
ldr w0, [sp, 36]
bl sbranch
b .L1675
.L1667:
ldr w0, [sp, 36]
bl lbranch
b .L1675
.L1666:
ldr w0, [sp, 36]
bl lbra
b .L1675
.L1653:
ldr w0, [sp, 36]
asr w0, w0, 8
and w0, w0, 255
bl putbyte
.L1665:
ldrb w1, [sp, 31]
ldr w0, [sp, 36]
bl arith
b .L1675
.L1652:
mov w2, 0
ldrb w1, [sp, 31]
ldr w0, [sp, 36]
bl accarith
b .L1675
.L1664:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 67108864
cmp x0, 0
beq .L1676
ldrh w0, [sp, 34]
and w0, w0, 512
cmp w0, 0
beq .L1676
ldrb w1, [sp, 31]
ldr w0, [sp, 36]
bl darith18
b .L1677
.L1676:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 67108864
cmp x0, 0
beq .L1678
ldrh w0, [sp, 34]
and w0, w0, 1024
cmp w0, 0
beq .L1678
ldrb w1, [sp, 31]
ldr w0, [sp, 36]
bl darith1a
b .L1677
.L1678:
ldrb w1, [sp, 31]
ldr w0, [sp, 36]
bl darith
b .L1675
.L1677:
b .L1675
.L1663:
ldrb w1, [sp, 31]
ldr w0, [sp, 36]
bl d2arith
b .L1675
.L1662:
ldr w0, [sp, 36]
bl oneaddr
b .L1675
.L1656:
ldr w0, [sp, 36]
asr w0, w0, 8
and w0, w0, 255
bl putbyte
.L1661:
ldr w0, [sp, 36]
bl tfrexg
b .L1675
.L1660:
ldr w0, [sp, 36]
bl pshpul
b .L1675
.L1659:
ldr w0, [sp, 36]
bl bitdirect
b .L1675
.L1658:
ldr w0, [sp, 36]
bl bittrans
b .L1675
.L1657:
ldr w0, [sp, 36]
bl blocktrans
b .L1675
.L1655:
ldrb w1, [sp, 31]
ldr w0, [sp, 36]
bl qarith
b .L1675
.L1651:
ldr w0, [sp, 36]
bl idxextarith
b .L1675
.L1650:
ldr w0, [sp, 36]
bl accaddr
b .L1675
.L1649:
ldr w0, [sp, 36]
bl setmask
b .L1675
.L1648:
ldr w0, [sp, 36]
bl brmask
b .L1675
.L1646:
ldr x1, [sp, 40]
ldr w0, [sp, 36]
bl pseudoop
b .L1675
.L1645:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 32768
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
nop
.L1675:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 29]
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32768
cmp x0, 0
beq .L1679
ldrb w0, [sp, 29]
cmp w0, 42
beq .L1680
.L1679:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 1048576
cmp x0, 0
beq .L1681
ldrb w0, [sp, 29]
cmp w0, 124
beq .L1680
.L1681:
ldrb w0, [sp, 29]
cmp w0, 59
bne .L1682
.L1680:
strb wzr, [sp, 29]
.L1682:
ldrb w0, [sp, 29]
cmp w0, 32
beq .L1683
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
sub x0, x0, #1
ldrb w0, [x0]
cmp w0, 32
beq .L1683
ldrb w0, [sp, 29]
cmp w0, 0
beq .L1683
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 2
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1683
.L1638:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 32768
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1683
.L1628:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
ldr x0, [sp, 40]
bl setlabel
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
strb w0, [sp, 29]
ldrb w0, [sp, 29]
cmp w0, 42
beq .L1684
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 1048576
cmp x0, 0
beq .L1685
ldrb w0, [sp, 29]
cmp w0, 124
beq .L1684
.L1685:
ldrb w0, [sp, 29]
cmp w0, 59
bne .L1686
.L1684:
strb wzr, [sp, 29]
.L1686:
ldrb w0, [sp, 29]
cmp w0, 0
beq .L1683
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
orr x1, x0, 1
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
b .L1683
.L1693:
nop
.L1683:
adrp x0, inMacro
add x0, x0, :lo12:inMacro
ldr w0, [x0]
cmp w0, 0
beq .L1687
adrp x0, codeptr
add x0, x0, :lo12:codeptr
str wzr, [x0]
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
and x1, x0, 384
adrp x0, error
add x0, x0, :lo12:error
str x1, [x0]
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
and x1, x0, 2
adrp x0, warning
add x0, x0, :lo12:warning
str x1, [x0]
.L1687:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1688
bl outbuffer
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1689
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 8388608
cmp x0, 0
beq .L1689
ldr x0, [sp, 56]
bl outlist
b .L1689
.L1688:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1689
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 8388608
cmp x0, 0
beq .L1689
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
beq .L1689
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 64
cmp w0, 0
bne .L1690
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0]
cmp x0, 0
beq .L1690
adrp x0, curline
add x0, x0, :lo12:curline
ldr x0, [x0]
ldr x0, [x0]
ldrb w0, [x0, 32]
and w0, w0, 64
cmp w0, 0
bne .L1689
.L1690:
ldr x0, [sp, 56]
bl outlist
.L1689:
adrp x0, error
add x0, x0, :lo12:error
ldr x0, [x0]
cmp x0, 0
bne .L1691
adrp x0, warning
add x0, x0, :lo12:warning
ldr x0, [x0]
cmp x0, 0
beq .L1692
.L1691:
bl report
.L1692:
adrp x0, codeptr
add x0, x0, :lo12:codeptr
ldr w0, [x0]
and w1, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
add w0, w1, w0
and w1, w0, 65535
adrp x0, loccounter
add x0, x0, :lo12:loccounter
strh w1, [x0]
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE107:
.size processline, .-processline
.align 2
.global suppressline
.type suppressline, %function
suppressline:
.LFB108:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str xzr, [sp, 24]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
adrp x1, srcline
add x1, x1, :lo12:srcline
str x1, [x0]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w1, [x0]
adrp x0, oldlc
add x0, x0, :lo12:oldlc
strh w1, [x0]
adrp x0, codeptr
add x0, x0, :lo12:codeptr
str wzr, [x0]
adrp x0, condline
add x0, x0, :lo12:condline
strb wzr, [x0]
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
ldr w0, [x0]
cmp w0, 0
ble .L1699
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
ldr w0, [x0]
sub w1, w0, #1
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
str w1, [x0]
adrp x0, condline
add x0, x0, :lo12:condline
mov w1, 1
strb w1, [x0]
b .L1700
.L1699:
bl __ctype_b_loc
ldr x1, [x0]
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8
cmp w0, 0
beq .L1701
bl scanname
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 58
bne .L1701
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1701:
bl skipspace
bl scanname
adrp x0, unamebuf
add x0, x0, :lo12:unamebuf
bl findop
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1700
ldr x0, [sp, 24]
ldrh w0, [x0, 8]
cmp w0, 63
bne .L1700
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 10
beq .L1702
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 26
beq .L1702
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 27
beq .L1702
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 28
beq .L1702
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 42
beq .L1702
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 43
bne .L1703
.L1702:
adrp x0, ifcount
add x0, x0, :lo12:ifcount
ldr w0, [x0]
add w1, w0, 1
adrp x0, ifcount
add x0, x0, :lo12:ifcount
str w1, [x0]
adrp x0, condline
add x0, x0, :lo12:condline
mov w1, 1
strb w1, [x0]
b .L1700
.L1703:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 3
bne .L1704
adrp x0, ifcount
add x0, x0, :lo12:ifcount
ldr w0, [x0]
cmp w0, 0
ble .L1705
adrp x0, ifcount
add x0, x0, :lo12:ifcount
ldr w0, [x0]
sub w1, w0, #1
adrp x0, ifcount
add x0, x0, :lo12:ifcount
str w1, [x0]
b .L1706
.L1705:
adrp x0, suppress
add x0, x0, :lo12:suppress
ldr w0, [x0]
cmp w0, 1
beq .L1707
adrp x0, suppress
add x0, x0, :lo12:suppress
ldr w0, [x0]
cmp w0, 2
bne .L1706
.L1707:
adrp x0, suppress
add x0, x0, :lo12:suppress
str wzr, [x0]
.L1706:
adrp x0, condline
add x0, x0, :lo12:condline
mov w1, 1
strb w1, [x0]
b .L1700
.L1704:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 1
bne .L1700
adrp x0, ifcount
add x0, x0, :lo12:ifcount
ldr w0, [x0]
cmp w0, 0
bne .L1708
adrp x0, suppress
add x0, x0, :lo12:suppress
ldr w0, [x0]
cmp w0, 2
bne .L1708
adrp x0, suppress
add x0, x0, :lo12:suppress
str wzr, [x0]
.L1708:
adrp x0, condline
add x0, x0, :lo12:condline
mov w1, 1
strb w1, [x0]
.L1700:
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
beq .L1709
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
beq .L1711
.L1709:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1711
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 8388608
cmp x0, 0
beq .L1711
ldr x0, [sp, 24]
bl outlist
.L1711:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE108:
.size suppressline, .-suppressline
.section .rodata
.align 3
.LC556:
.string "a09"
.align 3
.LC557:
.string "Usage: %s [-option*] srcname*\n"
.align 3
.LC558:
.string "Available options are:"
.align 3
.LC559:
.string "-B[objname] ........ output to binary file (default)"
.align 3
.LC560:
.string "-F[objname] ........ output to FLEX binary file"
.align 3
.LC561:
.string "-R[objname] ........ output to FLEX relocatable object file"
.align 3
.LC562:
.string "-S[objname] ........ output to Motorola S51-09 file"
.align 3
.LC563:
.string "-X[objname] ........ output to Intel Hex file"
.align 3
.LC564:
.string "-L[listname] ....... create listing file "
.align 3
.LC565:
.string "-C ................. suppress code output"
.align 3
.LC566:
.string "-Dsymbol[=value] ... predefines a symbol"
.align 3
.LC567:
.string " for TSC 6809 Assembler compatibility,"
.align 3
.LC568:
.string " you should only use symbols A through C"
.align 3
.LC569:
.string "-Ooption ........... sets an option (as in OPT pseudoop)"
.align 3
.LC570:
.string "-W ................. suppress warnings"
.align 3
.LC571:
.string "srcname ............ source file name(s)"
.text
.align 2
.global usage
.type usage, %function
usage:
.LFB109:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1713
ldr x0, [sp, 24]
b .L1714
.L1713:
adrp x0, .LC556
add x0, x0, :lo12:.LC556
.L1714:
mov x1, x0
adrp x0, .LC557
add x0, x0, :lo12:.LC557
bl printf
adrp x0, .LC558
add x0, x0, :lo12:.LC558
bl puts
adrp x0, .LC559
add x0, x0, :lo12:.LC559
bl puts
adrp x0, .LC560
add x0, x0, :lo12:.LC560
bl puts
adrp x0, .LC561
add x0, x0, :lo12:.LC561
bl puts
adrp x0, .LC562
add x0, x0, :lo12:.LC562
bl puts
adrp x0, .LC563
add x0, x0, :lo12:.LC563
bl puts
adrp x0, .LC564
add x0, x0, :lo12:.LC564
bl puts
adrp x0, .LC565
add x0, x0, :lo12:.LC565
bl puts
adrp x0, .LC566
add x0, x0, :lo12:.LC566
bl puts
adrp x0, .LC567
add x0, x0, :lo12:.LC567
bl puts
adrp x0, .LC568
add x0, x0, :lo12:.LC568
bl puts
adrp x0, .LC569
add x0, x0, :lo12:.LC569
bl puts
adrp x0, .LC570
add x0, x0, :lo12:.LC570
bl puts
adrp x0, .LC571
add x0, x0, :lo12:.LC571
bl puts
mov w0, 2
bl exit
.cfi_endproc
.LFE109:
.size usage, .-usage
.section .rodata
.align 3
.LC572:
.string ".b"
.align 3
.LC573:
.string ".s09"
.align 3
.LC574:
.string ".hex"
.align 3
.LC575:
.string ".bin"
.align 3
.LC576:
.string ".o"
.align 3
.LC577:
.string ".rel"
.align 3
.LC578:
.string ".lst"
.text
.align 2
.global getoptions
.type getoptions, %function
getoptions:
.LFB110:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -48
str w0, [sp, 44]
str x1, [sp, 32]
mov w0, 1
str w0, [sp, 48]
b .L1716
.L1737:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 45
bne .L1717
mov w0, 1
str w0, [sp, 52]
b .L1718
.L1734:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
add x0, x1, x0
ldrb w0, [x0]
bl tolower
cmp w0, 120
beq .L1719
cmp w0, 120
bgt .L1720
cmp w0, 115
bgt .L1720
cmp w0, 114
bge .L1719
cmp w0, 111
beq .L1721
cmp w0, 111
bgt .L1720
cmp w0, 108
beq .L1722
cmp w0, 108
bgt .L1720
cmp w0, 102
beq .L1719
cmp w0, 102
bgt .L1720
cmp w0, 100
beq .L1723
cmp w0, 100
bgt .L1720
cmp w0, 98
beq .L1719
cmp w0, 99
bne .L1720
adrp x0, outmode
add x0, x0, :lo12:outmode
mov w1, -1
str w1, [x0]
b .L1720
.L1719:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
add x0, x0, 1
add x0, x1, x0
mov x1, x0
adrp x0, objname
add x0, x0, :lo12:objname
bl strcpy
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
add x0, x1, x0
ldrb w0, [x0]
bl tolower
cmp w0, 120
beq .L1724
cmp w0, 120
bgt .L1725
cmp w0, 115
beq .L1726
cmp w0, 115
bgt .L1725
cmp w0, 114
beq .L1727
cmp w0, 114
bgt .L1725
cmp w0, 98
beq .L1728
cmp w0, 102
beq .L1729
b .L1725
.L1728:
adrp x0, outmode
add x0, x0, :lo12:outmode
str wzr, [x0]
b .L1725
.L1726:
adrp x0, outmode
add x0, x0, :lo12:outmode
mov w1, 1
str w1, [x0]
b .L1725
.L1724:
adrp x0, outmode
add x0, x0, :lo12:outmode
mov w1, 2
str w1, [x0]
b .L1725
.L1729:
adrp x0, outmode
add x0, x0, :lo12:outmode
mov w1, 3
str w1, [x0]
b .L1725
.L1727:
adrp x0, outmode
add x0, x0, :lo12:outmode
mov w1, 5
str w1, [x0]
adrp x0, maxidlen
add x0, x0, :lo12:maxidlen
mov w1, 8
str w1, [x0]
adrp x0, relocatable
add x0, x0, :lo12:relocatable
mov w1, 1
strb w1, [x0]
adrp x0, absmode
add x0, x0, :lo12:absmode
strb wzr, [x0]
nop
.L1725:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
bl strlen
str w0, [sp, 52]
b .L1720
.L1722:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
add x0, x0, 1
add x0, x1, x0
mov x1, x0
adrp x0, listname
add x0, x0, :lo12:listname
bl strcpy
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
bl strlen
str w0, [sp, 52]
adrp x0, listing
add x0, x0, :lo12:listing
mov w1, 1
strb w1, [x0]
b .L1720
.L1723:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
add x0, x0, 1
add x1, x1, x0
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
bl scanname
adrp x0, namebuf
add x0, x0, :lo12:namebuf
ldrb w0, [x0]
cmp w0, 0
bne .L1730
ldr x0, [sp, 32]
ldr x0, [x0]
bl usage
.L1730:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 61
bne .L1731
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
add x1, x0, 1
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
b .L1732
.L1731:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x19, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
bl strlen
add x1, x19, x0
adrp x0, srcptr
add x0, x0, :lo12:srcptr
str x1, [x0]
.L1732:
adrp x0, srcptr
add x0, x0, :lo12:srcptr
ldr x0, [x0]
mov x1, x0
adrp x0, namebuf
add x0, x0, :lo12:namebuf
bl settext
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
bl strlen
str w0, [sp, 52]
b .L1720
.L1721:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
add x0, x0, 1
add x0, x1, x0
bl setoption
cmp w0, 0
beq .L1733
ldr x0, [sp, 32]
ldr x0, [x0]
bl usage
.L1733:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
bl strlen
str w0, [sp, 52]
nop
.L1720:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1718:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
bl strlen
mov w1, w0
ldr w0, [sp, 52]
cmp w0, w1
blt .L1734
ldr w0, [sp, 48]
str w0, [sp, 52]
b .L1735
.L1736:
ldrsw x0, [sp, 52]
add x0, x0, 1
lsl x0, x0, 3
ldr x1, [sp, 32]
add x1, x1, x0
ldrsw x0, [sp, 52]
lsl x0, x0, 3
ldr x2, [sp, 32]
add x0, x2, x0
ldr x1, [x1]
str x1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L1735:
ldr w1, [sp, 52]
ldr w0, [sp, 44]
cmp w1, w0
blt .L1736
ldr w0, [sp, 44]
sub w0, w0, #1
str w0, [sp, 44]
ldr w0, [sp, 48]
sub w0, w0, #1
str w0, [sp, 48]
.L1717:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1716:
ldr w1, [sp, 48]
ldr w0, [sp, 44]
cmp w1, w0
blt .L1737
ldr w0, [sp, 44]
cmp w0, 1
bgt .L1738
ldr x0, [sp, 32]
ldr x0, [x0]
bl usage
.L1738:
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
mov x1, x0
adrp x0, srcname
add x0, x0, :lo12:srcname
bl strcpy
adrp x0, objname
add x0, x0, :lo12:objname
ldrb w0, [x0]
cmp w0, 0
bne .L1739
adrp x0, srcname
add x1, x0, :lo12:srcname
adrp x0, objname
add x0, x0, :lo12:objname
bl strcpy
mov w1, 46
adrp x0, objname
add x0, x0, :lo12:objname
bl strrchr
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L1740
adrp x0, objname
add x0, x0, :lo12:objname
bl strlen
mov x1, x0
adrp x0, objname
add x0, x0, :lo12:objname
add x0, x1, x0
str x0, [sp, 56]
.L1740:
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 5
beq .L1741
cmp w0, 5
bgt .L1739
cmp w0, 4
beq .L1742
cmp w0, 4
bgt .L1739
cmp w0, 3
beq .L1743
cmp w0, 3
bgt .L1739
cmp w0, 2
beq .L1744
cmp w0, 2
bgt .L1739
cmp w0, 0
beq .L1745
cmp w0, 1
beq .L1746
b .L1739
.L1745:
ldr x2, [sp, 56]
adrp x0, .LC572
add x1, x0, :lo12:.LC572
mov x0, x2
ldrh w2, [x1]
strh w2, [x0]
ldrb w1, [x1, 2]
strb w1, [x0, 2]
b .L1739
.L1746:
ldr x2, [sp, 56]
adrp x0, .LC573
add x1, x0, :lo12:.LC573
mov x0, x2
ldr w2, [x1]
str w2, [x0]
ldrb w1, [x1, 4]
strb w1, [x0, 4]
b .L1739
.L1744:
ldr x2, [sp, 56]
adrp x0, .LC574
add x1, x0, :lo12:.LC574
mov x0, x2
ldr w2, [x1]
str w2, [x0]
ldrb w1, [x1, 4]
strb w1, [x0, 4]
b .L1739
.L1743:
ldr x2, [sp, 56]
adrp x0, .LC575
add x1, x0, :lo12:.LC575
mov x0, x2
ldr w2, [x1]
str w2, [x0]
ldrb w1, [x1, 4]
strb w1, [x0, 4]
b .L1739
.L1742:
ldr x2, [sp, 56]
adrp x0, .LC576
add x1, x0, :lo12:.LC576
mov x0, x2
ldrh w2, [x1]
strh w2, [x0]
ldrb w1, [x1, 2]
strb w1, [x0, 2]
b .L1739
.L1741:
ldr x2, [sp, 56]
adrp x0, .LC577
add x1, x0, :lo12:.LC577
mov x0, x2
ldr w2, [x1]
str w2, [x0]
ldrb w1, [x1, 4]
strb w1, [x0, 4]
nop
.L1739:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1749
adrp x0, listname
add x0, x0, :lo12:listname
ldrb w0, [x0]
cmp w0, 0
bne .L1749
adrp x0, srcname
add x1, x0, :lo12:srcname
adrp x0, listname
add x0, x0, :lo12:listname
bl strcpy
mov w1, 46
adrp x0, listname
add x0, x0, :lo12:listname
bl strrchr
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L1748
adrp x0, listname
add x0, x0, :lo12:listname
bl strlen
mov x1, x0
adrp x0, listname
add x0, x0, :lo12:listname
add x0, x1, x0
str x0, [sp, 56]
.L1748:
ldr x2, [sp, 56]
adrp x0, .LC578
add x1, x0, :lo12:.LC578
mov x0, x2
ldr w2, [x1]
str w2, [x0]
ldrb w1, [x1, 4]
strb w1, [x0, 4]
.L1749:
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE110:
.size getoptions, .-getoptions
.section .rodata
.align 3
.LC579:
.string "%s(%ld) : error 18: improperly nested IF statements\n"
.align 3
.LC580:
.string "*** Error 18: improperly nested IF statements\n"
.align 3
.LC581:
.string "%s(%ld) : error 24: improperly nested COMMON statements\n"
.align 3
.LC582:
.string "*** Error 24: improperly nested COMMON statements\n"
.text
.align 2
.global processfile
.type processfile, %function
processfile:
.LFB111:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
str x0, [sp, 40]
b .L1751
.L1759:
adrp x0, curline
add x0, x0, :lo12:curline
ldr x1, [sp, 24]
str x1, [x0]
adrp x0, error
add x0, x0, :lo12:error
str xzr, [x0]
adrp x0, warning
add x0, x0, :lo12:warning
str xzr, [x0]
bl expandtext
adrp x0, srcptr
add x0, x0, :lo12:srcptr
adrp x1, srcline
add x1, x1, :lo12:srcline
str x1, [x0]
adrp x0, suppress
add x0, x0, :lo12:suppress
ldr w0, [x0]
cmp w0, 0
bne .L1752
adrp x0, nSkipCount
add x0, x0, :lo12:nSkipCount
ldr w0, [x0]
cmp w0, 0
beq .L1753
.L1752:
bl suppressline
b .L1754
.L1753:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
ldr w0, [x0]
cmp w0, 0
beq .L1755
b .L1756
.L1757:
bl processline
adrp x0, error
add x0, x0, :lo12:error
str xzr, [x0]
adrp x0, warning
add x0, x0, :lo12:warning
str xzr, [x0]
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
ldr w0, [x0]
sub w1, w0, #1
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str w1, [x0]
.L1756:
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
ldr w0, [x0]
cmp w0, 0
bgt .L1757
adrp x0, nRepNext
add x0, x0, :lo12:nRepNext
str wzr, [x0]
b .L1754
.L1755:
bl processline
adrp x0, error
add x0, x0, :lo12:error
str xzr, [x0]
adrp x0, warning
add x0, x0, :lo12:warning
str xzr, [x0]
.L1754:
ldr x0, [sp, 24]
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr x0, [x0]
str x0, [sp, 24]
.L1751:
adrp x0, terminate
add x0, x0, :lo12:terminate
ldrb w0, [x0]
cmp w0, 0
bne .L1758
ldr x0, [sp, 24]
cmp x0, 0
bne .L1759
.L1758:
adrp x0, suppress
add x0, x0, :lo12:suppress
ldr w0, [x0]
cmp w0, 0
beq .L1760
ldr x0, [sp, 40]
ldr x0, [x0, 16]
bl expandfn
mov x1, x0
ldr x0, [sp, 40]
ldr x0, [x0, 24]
mov x2, x0
adrp x0, .LC579
add x0, x0, :lo12:.LC579
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1761
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1762
.L1761:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1762
adrp x0, .LC580
add x0, x0, :lo12:.LC580
bl putlist
.L1762:
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
add x1, x0, 1
adrp x0, errors
add x0, x0, :lo12:errors
str x1, [x0]
adrp x0, suppress
add x0, x0, :lo12:suppress
str wzr, [x0]
.L1760:
adrp x0, common
add x0, x0, :lo12:common
ldr x0, [x0]
cmp x0, 0
beq .L1766
ldr x0, [sp, 40]
ldr x0, [x0, 16]
bl expandfn
mov x1, x0
ldr x0, [sp, 40]
ldr x0, [x0, 24]
mov x2, x0
adrp x0, .LC581
add x0, x0, :lo12:.LC581
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1764
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1765
.L1764:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1765
adrp x0, .LC582
add x0, x0, :lo12:.LC582
bl putlist
.L1765:
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
add x1, x0, 1
adrp x0, errors
add x0, x0, :lo12:errors
str x1, [x0]
adrp x0, common
add x0, x0, :lo12:common
str xzr, [x0]
.L1766:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE111:
.size processfile, .-processfile
.section .rodata
.align 3
.LC583:
.string "A09"
.align 3
.LC584:
.string "ASM"
.align 3
.LC585:
.string "$0132"
.align 3
.LC586:
.string "VERSION"
.align 3
.LC587:
.string "PASS"
.align 3
.LC588:
.string "$00"
.align 3
.LC589:
.string "A09 Assembler V1.50"
.align 3
.LC590:
.string "w"
.align 3
.LC591:
.string "%s(0) : error 19: Cannot open list file %s\n"
.align 3
.LC592:
.string "%s(0) : error 23: no source lines in file\n"
.align 3
.LC593:
.string "*** Error 23: no source lines in file\n"
.align 3
.LC594:
.string "*** Pass 1 ***\n\n"
.align 3
.LC595:
.string "%ld error(s) in pass 1\n"
.align 3
.LC596:
.string "%s%ld error(s) in pass 1.\n"
.align 3
.LC597:
.string "%ld warning(s) in pass 1\n"
.align 3
.LC598:
.string "%s%ld warning(s) in pass 1.\n"
.align 3
.LC599:
.string "2"
.align 3
.LC600:
.string "*** Pass 2 ***\n\n"
.align 3
.LC601:
.string "%s%ld error(s), %ld warning(s) unlisted in pass 1\n"
.align 3
.LC602:
.string "wb"
.align 3
.LC603:
.string "%s(0) : error 20: cannot write object file %s\n"
.align 3
.LC604:
.string "*** Error 20: cannot write object file %s\n"
.align 3
.LC605:
.string "%ld error(s) in pass 2\n"
.align 3
.LC606:
.string "%ld warning(s) in pass 2\n"
.align 3
.LC607:
.string "%s%ld error(s) in pass 2.\n"
.align 3
.LC608:
.string "%s%ld warning(s) in pass 2.\n"
.align 3
.LC609:
.string "\n%s%ld error(s), %ld warning(s)\n"
.align 3
.LC610:
.string "Last assembled address: %04X\n"
.align 3
.LC611:
.string "S903%04X%02X\n"
.align 3
.LC612:
.string ":00000001FF\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB112:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
str xzr, [sp, 40]
adrp x0, .LC583
add x1, x0, :lo12:.LC583
adrp x0, .LC584
add x0, x0, :lo12:.LC584
bl settext
adrp x0, .LC585
add x1, x0, :lo12:.LC585
adrp x0, .LC586
add x0, x0, :lo12:.LC586
bl settext
adrp x0, .LC553
add x1, x0, :lo12:.LC553
adrp x0, .LC587
add x0, x0, :lo12:.LC587
bl settext
adrp x0, .LC588
add x1, x0, :lo12:.LC588
adrp x0, .LC484
add x0, x0, :lo12:.LC484
bl settext
bl setoptiontexts
adrp x0, nTexts
add x0, x0, :lo12:nTexts
ldr w1, [x0]
adrp x0, nPredefinedTexts
add x0, x0, :lo12:nPredefinedTexts
str w1, [x0]
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl getoptions
adrp x0, pass
add x0, x0, :lo12:pass
mov w1, 1
strb w1, [x0]
adrp x0, loccounter
add x0, x0, :lo12:loccounter
strh wzr, [x0]
adrp x0, phase
add x0, x0, :lo12:phase
str wzr, [x0]
adrp x0, error
add x0, x0, :lo12:error
str xzr, [x0]
adrp x0, warning
add x0, x0, :lo12:warning
str xzr, [x0]
adrp x0, errors
add x0, x0, :lo12:errors
str xzr, [x0]
adrp x0, errors
add x0, x0, :lo12:errors
ldr x1, [x0]
adrp x0, nTotErrors
add x0, x0, :lo12:nTotErrors
str x1, [x0]
adrp x0, warnings
add x0, x0, :lo12:warnings
str xzr, [x0]
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x1, [x0]
adrp x0, nTotWarnings
add x0, x0, :lo12:nTotWarnings
str x1, [x0]
adrp x0, generating
add x0, x0, :lo12:generating
strb wzr, [x0]
adrp x0, common
add x0, x0, :lo12:common
str xzr, [x0]
adrp x0, terminate
add x0, x0, :lo12:terminate
strb wzr, [x0]
adrp x0, absmode
add x0, x0, :lo12:absmode
ldrb w0, [x0]
cmp w0, 0
bne .L1768
adrp x0, dpsetting
add x0, x0, :lo12:dpsetting
mov x1, -1
str x1, [x0]
.L1768:
adrp x0, .LC589
add x0, x0, :lo12:.LC589
bl puts
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1769
adrp x0, .LC590
add x1, x0, :lo12:.LC590
adrp x0, listname
add x0, x0, :lo12:listname
bl fopen
mov x1, x0
adrp x0, listfile
add x0, x0, :lo12:listfile
str x1, [x0]
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x0, [x0]
cmp x0, 0
bne .L1769
adrp x0, listname
add x2, x0, :lo12:listname
adrp x0, srcname
add x1, x0, :lo12:srcname
adrp x0, .LC591
add x0, x0, :lo12:.LC591
bl printf
mov w0, 4
bl exit
.L1769:
mov w0, 1
str w0, [sp, 36]
b .L1770
.L1771:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
ldr x2, [sp, 40]
mov w1, 0
bl readfile
str x0, [sp, 40]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1770:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
bne .L1771
adrp x0, rootline
add x0, x0, :lo12:rootline
ldr x0, [x0]
cmp x0, 0
bne .L1772
adrp x0, srcname
add x1, x0, :lo12:srcname
adrp x0, .LC592
add x0, x0, :lo12:.LC592
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1773
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1774
.L1773:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1774
adrp x0, .LC593
add x0, x0, :lo12:.LC593
bl putlist
.L1774:
mov w0, 4
bl exit
.L1772:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1775
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
beq .L1775
adrp x0, .LC594
add x0, x0, :lo12:.LC594
bl putlist
.L1775:
adrp x0, rootline
add x0, x0, :lo12:rootline
ldr x0, [x0]
bl processfile
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
cmp x0, 0
beq .L1776
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
mov x1, x0
adrp x0, .LC595
add x0, x0, :lo12:.LC595
bl printf
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1777
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
beq .L1777
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L1778
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L1779
.L1778:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L1779:
adrp x1, errors
add x1, x1, :lo12:errors
ldr x1, [x1]
mov x2, x1
mov x1, x0
adrp x0, .LC596
add x0, x0, :lo12:.LC596
bl putlist
.L1777:
adrp x0, errors
add x0, x0, :lo12:errors
ldr x1, [x0]
adrp x0, nTotErrors
add x0, x0, :lo12:nTotErrors
str x1, [x0]
.L1776:
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x0, [x0]
cmp x0, 0
beq .L1780
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x0, [x0]
mov x1, x0
adrp x0, .LC597
add x0, x0, :lo12:.LC597
bl printf
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1781
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
beq .L1781
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L1782
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L1783
.L1782:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L1783:
adrp x1, warnings
add x1, x1, :lo12:warnings
ldr x1, [x1]
mov x2, x1
mov x1, x0
adrp x0, .LC598
add x0, x0, :lo12:.LC598
bl putlist
.L1781:
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x1, [x0]
adrp x0, nTotWarnings
add x0, x0, :lo12:nTotWarnings
str x1, [x0]
.L1780:
adrp x0, pass
add x0, x0, :lo12:pass
mov w1, 2
strb w1, [x0]
adrp x0, .LC599
add x1, x0, :lo12:.LC599
adrp x0, .LC587
add x0, x0, :lo12:.LC587
bl settext
adrp x0, loccounter
add x0, x0, :lo12:loccounter
strh wzr, [x0]
adrp x0, phase
add x0, x0, :lo12:phase
str wzr, [x0]
adrp x0, errors
add x0, x0, :lo12:errors
str xzr, [x0]
adrp x0, warnings
add x0, x0, :lo12:warnings
str xzr, [x0]
adrp x0, generating
add x0, x0, :lo12:generating
strb wzr, [x0]
adrp x0, terminate
add x0, x0, :lo12:terminate
strb wzr, [x0]
mov x2, 8192
mov w1, 0
adrp x0, bUsedBytes
add x0, x0, :lo12:bUsedBytes
bl memset
str wzr, [sp, 36]
b .L1784
.L1786:
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldrb w0, [x0, 33]
cmp w0, 18
beq .L1785
adrp x0, symtable
add x2, x0, :lo12:symtable
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x2, x0
ldr x0, [x0, 40]
and x2, x0, -3
adrp x0, symtable
add x3, x0, :lo12:symtable
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x0, x3, x0
str x2, [x0, 40]
.L1785:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1784:
ldrsw x1, [sp, 36]
adrp x0, symcounter
add x0, x0, :lo12:symcounter
ldr x0, [x0]
cmp x1, x0
blt .L1786
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1787
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
beq .L1788
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 32
cmp x0, 0
beq .L1789
bl PageFeed
b .L1790
.L1789:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
.L1790:
adrp x0, .LC600
add x0, x0, :lo12:.LC600
bl putlist
b .L1787
.L1788:
adrp x0, nTotErrors
add x0, x0, :lo12:nTotErrors
ldr x0, [x0]
cmp x0, 0
bne .L1791
adrp x0, nTotWarnings
add x0, x0, :lo12:nTotWarnings
ldr x0, [x0]
cmp x0, 0
beq .L1787
.L1791:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L1792
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L1793
.L1792:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L1793:
adrp x1, nTotErrors
add x1, x1, :lo12:nTotErrors
ldr x2, [x1]
adrp x1, nTotWarnings
add x1, x1, :lo12:nTotWarnings
ldr x1, [x1]
mov x3, x1
mov x1, x0
adrp x0, .LC601
add x0, x0, :lo12:.LC601
bl putlist
.L1787:
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 0
blt .L1794
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 1
beq .L1795
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 2
beq .L1795
adrp x0, .LC602
add x0, x0, :lo12:.LC602
b .L1796
.L1795:
adrp x0, .LC590
add x0, x0, :lo12:.LC590
.L1796:
mov x1, x0
adrp x0, objname
add x0, x0, :lo12:objname
bl fopen
mov x1, x0
adrp x0, objfile
add x0, x0, :lo12:objfile
str x1, [x0]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
cmp x0, 0
bne .L1794
adrp x0, objname
add x2, x0, :lo12:objname
adrp x0, srcname
add x1, x0, :lo12:srcname
adrp x0, .LC603
add x0, x0, :lo12:.LC603
bl printf
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2048
cmp x0, 0
bne .L1797
adrp x0, pass
add x0, x0, :lo12:pass
ldrb w0, [x0]
cmp w0, 2
bne .L1798
.L1797:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1798
adrp x0, objname
add x1, x0, :lo12:objname
adrp x0, .LC604
add x0, x0, :lo12:.LC604
bl putlist
.L1798:
mov w0, 4
bl exit
.L1794:
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 5
bne .L1799
bl writerelcommon
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
bl ftell
mov x1, x0
adrp x0, relhdrfoff
add x0, x0, :lo12:relhdrfoff
str x1, [x0]
mov w0, 0
bl writerelhdr
.L1799:
adrp x0, rootline
add x0, x0, :lo12:rootline
ldr x0, [x0]
bl processfile
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
cmp x0, 0
beq .L1800
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
mov x1, x0
adrp x0, .LC605
add x0, x0, :lo12:.LC605
bl printf
adrp x0, nTotErrors
add x0, x0, :lo12:nTotErrors
ldr x1, [x0]
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
add x1, x1, x0
adrp x0, nTotErrors
add x0, x0, :lo12:nTotErrors
str x1, [x0]
.L1800:
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x0, [x0]
cmp x0, 0
beq .L1801
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x0, [x0]
mov x1, x0
adrp x0, .LC606
add x0, x0, :lo12:.LC606
bl printf
adrp x0, nTotWarnings
add x0, x0, :lo12:nTotWarnings
ldr x1, [x0]
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x0, [x0]
add x1, x1, x0
adrp x0, nTotWarnings
add x0, x0, :lo12:nTotWarnings
str x1, [x0]
.L1801:
adrp x0, listing
add x0, x0, :lo12:listing
ldrb w0, [x0]
and w0, w0, 1
cmp w0, 0
beq .L1802
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
cmp x0, 0
bne .L1803
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x0, [x0]
cmp x0, 0
beq .L1804
.L1803:
adrp x0, .LC479
add x0, x0, :lo12:.LC479
bl putlist
.L1804:
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
cmp x0, 0
beq .L1805
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L1806
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L1807
.L1806:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L1807:
adrp x1, errors
add x1, x1, :lo12:errors
ldr x1, [x1]
mov x2, x1
mov x1, x0
adrp x0, .LC607
add x0, x0, :lo12:.LC607
bl putlist
.L1805:
adrp x0, warnings
add x0, x0, :lo12:warnings
ldr x0, [x0]
cmp x0, 0
beq .L1808
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L1809
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L1810
.L1809:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L1810:
adrp x1, warnings
add x1, x1, :lo12:warnings
ldr x1, [x1]
mov x2, x1
mov x1, x0
adrp x0, .LC608
add x0, x0, :lo12:.LC608
bl putlist
.L1808:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 512
cmp x0, 0
beq .L1811
bl outsymtable
.L1811:
adrp x0, relocatable
add x0, x0, :lo12:relocatable
ldrb w0, [x0]
cmp w0, 0
beq .L1812
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 2097152
cmp x0, 0
beq .L1812
bl outreltable
.L1812:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 4194304
cmp x0, 0
beq .L1813
adrp x0, nPredefinedTexts
add x0, x0, :lo12:nPredefinedTexts
ldr w1, [x0]
adrp x0, nTexts
add x0, x0, :lo12:nTexts
ldr w0, [x0]
cmp w1, w0
bge .L1813
bl outtexttable
.L1813:
adrp x0, dwOptions
add x0, x0, :lo12:dwOptions
ldr x0, [x0]
and x0, x0, 16777216
cmp x0, 0
beq .L1814
adrp x0, .LC485
add x0, x0, :lo12:.LC485
b .L1815
.L1814:
adrp x0, .LC466
add x0, x0, :lo12:.LC466
.L1815:
adrp x1, nTotErrors
add x1, x1, :lo12:nTotErrors
ldr x2, [x1]
adrp x1, nTotWarnings
add x1, x1, :lo12:nTotWarnings
ldr x1, [x1]
mov x3, x1
mov x1, x0
adrp x0, .LC609
add x0, x0, :lo12:.LC609
bl putlist
adrp x0, listfile
add x0, x0, :lo12:listfile
ldr x0, [x0]
bl fclose
b .L1816
.L1802:
adrp x0, loccounter
add x0, x0, :lo12:loccounter
ldrh w0, [x0]
sub w0, w0, #1
mov w1, w0
adrp x0, .LC610
add x0, x0, :lo12:.LC610
bl printf
.L1816:
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 5
beq .L1817
cmp w0, 5
bgt .L1818
cmp w0, 3
beq .L1819
cmp w0, 3
bgt .L1818
cmp w0, 1
beq .L1820
cmp w0, 2
beq .L1821
b .L1818
.L1820:
bl flushhex
adrp x0, tfradr
add x0, x0, :lo12:tfradr
ldrh w0, [x0]
and w1, w0, 255
adrp x0, tfradr
add x0, x0, :lo12:tfradr
ldrh w0, [x0]
lsr w0, w0, 8
and w0, w0, 65535
and w0, w0, 255
add w0, w1, w0
add w0, w0, 3
mov w1, w0
adrp x0, chksum
add x0, x0, :lo12:chksum
str w1, [x0]
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x4, [x0]
adrp x0, tfradr
add x0, x0, :lo12:tfradr
ldrh w0, [x0]
mov w1, w0
adrp x0, chksum
add x0, x0, :lo12:chksum
ldr w0, [x0]
mvn w0, w0
and w0, w0, 255
mov w3, w0
mov w2, w1
adrp x0, .LC611
add x1, x0, :lo12:.LC611
mov x0, x4
bl fprintf
b .L1818
.L1821:
bl flushihex
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x3, x0
mov x2, 12
mov x1, 1
adrp x0, .LC612
add x0, x0, :lo12:.LC612
bl fwrite
b .L1818
.L1819:
bl flushflex
adrp x0, tfradrset
add x0, x0, :lo12:tfradrset
ldr w0, [x0]
cmp w0, 0
beq .L1828
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 22
bl fputc
adrp x0, tfradr
add x0, x0, :lo12:tfradr
ldrh w0, [x0]
lsr w0, w0, 8
and w0, w0, 65535
and w2, w0, 255
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
adrp x0, tfradr
add x0, x0, :lo12:tfradr
ldrh w0, [x0]
and w2, w0, 255
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, w2
bl fputc
b .L1828
.L1817:
bl writerelext
bl writerelglobal
bl writerelmodname
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
bl ftell
str w0, [sp, 36]
b .L1823
.L1824:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
mov x1, x0
mov w0, 0
bl fputc
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L1823:
ldr w1, [sp, 36]
mov w0, 8323
movk w0, 0x8208, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
add w0, w1, w0
asr w2, w0, 7
asr w0, w1, 31
sub w2, w2, w0
mov w0, w2
lsl w0, w0, 6
sub w0, w0, w2
lsl w0, w0, 2
sub w2, w1, w0
cmp w2, 0
bne .L1824
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x3, [x0]
adrp x0, relhdrfoff
add x0, x0, :lo12:relhdrfoff
ldr x0, [x0]
mov w2, 0
mov x1, x0
mov x0, x3
bl fseek
mov w0, 0
bl writerelhdr
b .L1818
.L1828:
nop
.L1818:
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
cmp x0, 0
beq .L1825
adrp x0, objfile
add x0, x0, :lo12:objfile
ldr x0, [x0]
bl fclose
.L1825:
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
cmp x0, 0
beq .L1826
adrp x0, outmode
add x0, x0, :lo12:outmode
ldr w0, [x0]
cmp w0, 0
blt .L1826
adrp x0, objname
add x0, x0, :lo12:objname
bl unlink
.L1826:
adrp x0, errors
add x0, x0, :lo12:errors
ldr x0, [x0]
cmp x0, 0
cset w0, ne
and w0, w0, 255
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE112:
.size main, .-main
.data
.align 3
.type empty.2, %object
.size empty.2, 48
empty.2:
.string ""
.zero 32
.byte 38
.hword 0
.zero 4
.xword 0
.align 3
.type regnames.1, %object
.size regnames.1, 6
regnames.1:
.string "DXYUS"
.section .rodata
.align 3
.LC613:
.string "++"
.align 3
.LC614:
.string "--"
.align 3
.LC615:
.string ",+"
.section .data.rel.local
.align 3
.type modes.0, %object
.size modes.0, 32
modes.0:
.xword .LC613
.xword .LC614
.xword .LC523
.xword .LC615
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
mov w0, 12345
bl srand
add x0, sp, 88
sub x0, x0, #48
adrp x1, .LC0
add x1, x1, :lo12:.LC0
ld1 {v0.16b - v1.16b}, [x1]
st1 {v0.16b - v1.16b}, [x0]
bl rand
scvtf d0, w0
mov x0, 4746794007248502784
fmov d1, x0
fdiv d0, d0, d1
str d0, [sp, 32]
str wzr, [sp, 20]
add x0, sp, 88
sub x0, x0, #48
ldrsw x1, [sp, 20]
ldr d0, [x0, x1, lsl 3]
str d0, [sp, 24]
b .L2
.L3:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
add x0, sp, 88
sub x0, x0, #48
ldrsw x1, [sp, 20]
ldr d0, [x0, x1, lsl 3]
ldr d1, [sp, 24]
fadd d0, d1, d0
str d0, [sp, 24]
.L2:
ldr d1, [sp, 24]
ldr d0, [sp, 32]
fcmpe d1, d0
bmi .L3
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC0:
.word -1040412878
.word 1071084480
.word 1286043775
.word 1069782139
.word 578398092
.word 1070312675
.word -138538465
.word 1070655543
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.data
.align 3
.type sccsid, %object
.size sccsid, 36
sccsid:
.string "@(#)label.c\t8.1 (Berkeley) 06/04/93"
.text
.align 2
.global label
.type label, %function
label:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
mov w0, 769
str w0, [sp, 32]
adrp x0, :got:vti
ldr x0, [x0, #:got_lo12:vti]
ldr w0, [x0]
add x1, sp, 32
mov w2, 2
bl write
str wzr, [sp, 36]
nop
.L2:
ldr w0, [sp, 36]
add w1, w0, 1
str w1, [sp, 36]
sxtw x0, w0
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L2
adrp x0, :got:vti
ldr x0, [x0, #:got_lo12:vti]
ldr w0, [x0]
ldr w2, [sp, 36]
ldr x1, [sp, 24]
bl write
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size label, .-label
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Welcome to the simple c calculation program by Me:\n"
.align 3
.LC1:
.string "Enter the first value:\n"
.align 3
.LC2:
.string "%f"
.align 3
.LC3:
.string "enter second value:\n"
.align 3
.LC4:
.string "Now enter your choice according to ur needs:\n hint:(Enter A for addition ,S for subtraction,M for multiplication and D for division):"
.align 3
.LC5:
.string "%s"
.align 3
.LC6:
.string "You have entered a Wrong choice"
.align 3
.LC7:
.string "According to ur choice, ur result is %f"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
add x0, sp, 28
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
add x0, sp, 32
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
add x0, sp, 27
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
ldrb w0, [sp, 27]
cmp w0, 65
bne .L2
ldr s1, [sp, 28]
ldr s0, [sp, 32]
fadd s0, s1, s0
str s0, [sp, 36]
b .L3
.L2:
ldrb w0, [sp, 27]
cmp w0, 77
bne .L4
ldr s1, [sp, 28]
ldr s0, [sp, 32]
fmul s0, s1, s0
str s0, [sp, 36]
b .L3
.L4:
ldrb w0, [sp, 27]
cmp w0, 68
bne .L5
ldr s1, [sp, 28]
ldr s0, [sp, 32]
fdiv s0, s1, s0
str s0, [sp, 36]
b .L3
.L5:
ldrb w0, [sp, 27]
cmp w0, 83
bne .L6
ldr s1, [sp, 28]
ldr s0, [sp, 32]
fsub s0, s1, s0
str s0, [sp, 36]
b .L3
.L6:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
.L3:
ldr s0, [sp, 36]
fcvt d0, s0
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global f1
.type f1, %function
f1:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
str wzr, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size f1, .-f1
.align 2
.global f2
.type f2, %function
f2:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size f2, .-f2
.align 2
.global f3
.type f3, %function
f3:
.LFB2:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr x0, [sp, 8]
cmp x0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr w0, [sp, 28]
add w0, w0, w1
str w0, [sp, 28]
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size f3, .-f3
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global kmeans_clustering
.type kmeans_clustering, %function
kmeans_clustering:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str s0, [sp, 24]
str x4, [sp, 16]
str wzr, [sp, 56]
str wzr, [sp, 64]
ldrsw x0, [sp, 28]
lsl x0, x0, 3
bl malloc
str x0, [sp, 72]
ldr w1, [sp, 28]
ldr w0, [sp, 36]
mul w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
bl malloc
mov x1, x0
ldr x0, [sp, 72]
str x1, [x0]
mov w0, 1
str w0, [sp, 48]
b .L2
.L3:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 72]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 36]
lsl x1, x0, 2
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x3, [sp, 72]
add x0, x3, x0
add x1, x2, x1
str x1, [x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L2:
ldr w1, [sp, 48]
ldr w0, [sp, 28]
cmp w1, w0
blt .L3
str wzr, [sp, 48]
b .L4
.L7:
str wzr, [sp, 52]
b .L5
.L6:
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, x1, x0
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x2, [sp, 72]
add x0, x2, x0
ldr x2, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x0, x2, x0
ldr s0, [x1]
str s0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L5:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L6
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L4:
ldr w1, [sp, 48]
ldr w0, [sp, 28]
cmp w1, w0
blt .L7
str wzr, [sp, 48]
b .L8
.L9:
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
mov w1, -1
str w1, [x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L8:
ldr w1, [sp, 48]
ldr w0, [sp, 32]
cmp w1, w0
blt .L9
ldrsw x0, [sp, 28]
mov x1, 4
bl calloc
str x0, [sp, 80]
ldrsw x0, [sp, 28]
lsl x0, x0, 3
bl malloc
str x0, [sp, 88]
ldr w1, [sp, 28]
ldr w0, [sp, 36]
mul w0, w1, w0
sxtw x0, w0
mov x1, 4
bl calloc
mov x1, x0
ldr x0, [sp, 88]
str x1, [x0]
mov w0, 1
str w0, [sp, 48]
b .L10
.L11:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 88]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 36]
lsl x1, x0, 2
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x3, [sp, 88]
add x0, x3, x0
add x1, x2, x1
str x1, [x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L10:
ldr w1, [sp, 48]
ldr w0, [sp, 28]
cmp w1, w0
blt .L11
.L22:
str wzr, [sp, 60]
str wzr, [sp, 48]
b .L12
.L16:
mov w0, 1
str w0, [sp, 68]
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 68]
cmp w1, w0
beq .L13
ldr s1, [sp, 60]
fmov s0, 1.0e+0
fadd s0, s1, s0
str s0, [sp, 60]
.L13:
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 16]
add x0, x1, x0
ldr w1, [sp, 68]
str w1, [x0]
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x1, [sp, 80]
add x0, x1, x0
ldr w1, [x0]
add w1, w1, 1
str w1, [x0]
str wzr, [sp, 52]
b .L14
.L15:
ldrsw x0, [sp, 68]
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x0, x1, x0
ldr s0, [x0]
ldrsw x0, [sp, 68]
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x0, x1, x0
fadd s0, s1, s0
str s0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L14:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L15
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L12:
ldr w1, [sp, 48]
ldr w0, [sp, 32]
cmp w1, w0
blt .L16
str wzr, [sp, 48]
b .L17
.L21:
str wzr, [sp, 52]
b .L18
.L20:
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 80]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
ble .L19
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x0, x1, x0
ldr s1, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 80]
add x0, x1, x0
ldr s0, [x0]
scvtf s0, s0
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x0, x1, x0
fdiv s0, s1, s0
str s0, [x0]
.L19:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x0, x1, x0
str wzr, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L18:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L20
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 80]
add x0, x1, x0
str wzr, [x0]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L17:
ldr w1, [sp, 48]
ldr w0, [sp, 28]
cmp w1, w0
blt .L21
ldr s1, [sp, 60]
ldr s0, [sp, 24]
fcmpe s1, s0
bgt .L22
ldr x0, [sp, 88]
ldr x0, [x0]
bl free
ldr x0, [sp, 88]
bl free
ldr x0, [sp, 80]
bl free
ldr x0, [sp, 72]
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size kmeans_clustering, .-kmeans_clustering
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global firstUniqChar
.type firstUniqChar, %function
firstUniqChar:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -480]!
.cfi_def_cfa_offset 480
.cfi_offset 29, -480
.cfi_offset 30, -472
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 472]
mov x1, 0
add x0, sp, 56
mov x1, 416
mov x2, x1
mov w1, 0
bl memset
str wzr, [sp, 40]
b .L2
.L6:
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 91
bhi .L3
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #65
b .L4
.L3:
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
sub w0, w0, #71
.L4:
str w0, [sp, 52]
ldrsw x0, [sp, 52]
lsl x0, x0, 3
add x1, sp, 56
ldr w0, [x1, x0]
cmp w0, 0
bne .L5
ldrsw x0, [sp, 52]
lsl x0, x0, 3
add x1, sp, 60
ldr w2, [sp, 40]
str w2, [x1, x0]
.L5:
ldrsw x0, [sp, 52]
lsl x0, x0, 3
add x1, sp, 56
ldr w0, [x1, x0]
add w2, w0, 1
ldrsw x0, [sp, 52]
lsl x0, x0, 3
add x1, sp, 56
str w2, [x1, x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L2:
ldrsw x0, [sp, 40]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L6
mov w0, -1
str w0, [sp, 44]
str wzr, [sp, 48]
b .L7
.L10:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
add x1, sp, 56
ldr w0, [x1, x0]
cmp w0, 1
bne .L8
ldrsw x0, [sp, 48]
lsl x0, x0, 3
add x1, sp, 60
ldr w0, [x1, x0]
ldr w1, [sp, 44]
cmp w1, w0
bgt .L9
ldr w0, [sp, 44]
cmn w0, #1
bne .L8
.L9:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
add x1, sp, 60
ldr w0, [x1, x0]
str w0, [sp, 44]
.L8:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L7:
ldr w0, [sp, 48]
cmp w0, 51
ble .L10
ldr w0, [sp, 44]
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 472]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L12
bl __stack_chk_fail
.L12:
mov w0, w1
ldp x29, x30, [sp], 480
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size firstUniqChar, .-firstUniqChar
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter number of shares: "
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "Enter price per share: "
.align 3
.LC3:
.string "%f"
.align 3
.LC4:
.string "Commission: $%.2f\n"
.align 3
.LC5:
.string "Rival broker: $%.2f\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 20
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x0, sp, 24
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr s0, [sp, 20]
scvtf s1, s0
ldr s0, [sp, 24]
fmul s0, s1, s0
str s0, [sp, 36]
ldr s0, [sp, 36]
mov w0, 16384
movk w0, 0x451c, lsl 16
fmov s1, w0
fcmpe s0, s1
bmi .L17
b .L22
.L17:
ldr s0, [sp, 36]
mov w0, 17302
movk w0, 0x3c8b, lsl 16
fmov s1, w0
fmul s1, s0, s1
fmov s0, 3.0e+1
fadd s0, s1, s0
str s0, [sp, 28]
b .L4
.L22:
ldr s0, [sp, 36]
mov w0, 20480
movk w0, 0x45c3, lsl 16
fmov s1, w0
fcmpe s0, s1
bmi .L18
b .L23
.L18:
ldr s0, [sp, 36]
mov w0, 17616
movk w0, 0x3bd8, lsl 16
fmov s1, w0
fmul s0, s0, s1
mov w0, 1113587712
fmov s1, w0
fadd s0, s0, s1
str s0, [sp, 28]
b .L4
.L23:
ldr s0, [sp, 36]
mov w0, 16384
movk w0, 0x469c, lsl 16
fmov s1, w0
fcmpe s0, s1
bmi .L19
b .L24
.L19:
ldr s0, [sp, 36]
mov w0, 53897
movk w0, 0x3b5e, lsl 16
fmov s1, w0
fmul s0, s0, s1
mov w0, 1117257728
fmov s1, w0
fadd s0, s0, s1
str s0, [sp, 28]
b .L4
.L24:
ldr s0, [sp, 36]
mov w0, 20480
movk w0, 0x4743, lsl 16
fmov s1, w0
fcmpe s0, s1
bmi .L20
b .L25
.L20:
ldr s0, [sp, 36]
mov w0, 11744
movk w0, 0x3b10, lsl 16
fmov s1, w0
fmul s0, s0, s1
mov w0, 1120403456
fmov s1, w0
fadd s0, s0, s1
str s0, [sp, 28]
b .L4
.L25:
ldr s0, [sp, 36]
mov w0, 9216
movk w0, 0x48f4, lsl 16
fmov s1, w0
fcmpe s0, s1
bmi .L21
b .L26
.L21:
ldr s0, [sp, 36]
mov w0, 11744
movk w0, 0x3a90, lsl 16
fmov s1, w0
fmul s0, s0, s1
mov w0, 1125842944
fmov s1, w0
fadd s0, s0, s1
str s0, [sp, 28]
b .L4
.L26:
ldr s0, [sp, 36]
mov w0, 60922
movk w0, 0x3a6b, lsl 16
fmov s1, w0
fmul s0, s0, s1
mov w0, 1132396544
fmov s1, w0
fadd s0, s0, s1
str s0, [sp, 28]
.L4:
ldr w0, [sp, 20]
cmp w0, 1999
bgt .L13
ldr w0, [sp, 20]
scvtf d0, w0
adrp x0, .LC6
ldr d1, [x0, #:lo12:.LC6]
fmul d0, d0, d1
mov x0, 140737488355328
movk x0, 0x4040, lsl 48
fmov d1, x0
fadd d0, d0, d1
fcvt s0, d0
str s0, [sp, 32]
b .L14
.L13:
ldr w0, [sp, 20]
scvtf d0, w0
adrp x0, .LC7
ldr d1, [x0, #:lo12:.LC7]
fmul d0, d0, d1
mov x0, 140737488355328
movk x0, 0x4040, lsl 48
fmov d1, x0
fadd d0, d0, d1
fcvt s0, d0
str s0, [sp, 32]
.L14:
ldr s0, [sp, 28]
fcvt d0, s0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr s0, [sp, 32]
fcvt d0, s0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L16
bl __stack_chk_fail
.L16:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC6:
.word -343597384
.word 1067366481
.align 3
.LC7:
.word 1202590843
.word 1066695393
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter two positive integer numbers: "
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x1, sp, 20
add x0, sp, 16
bl checkInput
ldr w0, [sp, 16]
mov w2, w0
ldr w0, [sp, 20]
mov w1, w0
mov w0, w2
bl devideByFive
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC1:
.string "%u %u"
.align 3
.LC2:
.string "Wrong input values!"
.text
.align 2
.global checkInput
.type checkInput, %function
checkInput:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x2, [sp, 16]
ldr x1, [sp, 24]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
cmp w0, 2
beq .L6
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 19
mov x1, 1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl fwrite
mov w0, 1
bl exit
.L6:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size checkInput, .-checkInput
.section .rodata
.align 3
.LC3:
.string "%u"
.align 3
.LC4:
.string ", "
.align 3
.LC5:
.string "\nThere is only %u numbers."
.text
.align 2
.global devideByFive
.type devideByFive, %function
devideByFive:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
str wzr, [sp, 40]
ldr w0, [sp, 28]
str w0, [sp, 36]
b .L8
.L10:
ldr w1, [sp, 36]
mov w0, 52429
movk w0, 0xcccc, lsl 16
umull x0, w1, w0
lsr x0, x0, 32
lsr w2, w0, 2
mov w0, w2
lsl w0, w0, 2
add w0, w0, w2
sub w0, w1, w0
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bne .L9
ldr w1, [sp, 36]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 24]
sub w0, w0, #5
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
bhi .L9
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
.L9:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L8:
ldr w0, [sp, 24]
ldr w1, [sp, 36]
cmp w1, w0
bls .L10
ldr w1, [sp, 40]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size devideByFive, .-devideByFive
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "/* this is no comment */"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x0, .LC0
add x0, x0, :lo12:.LC0
str x0, [sp, 8]
mov w0, 0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str x1, [sp]
ldr w0, [sp, 12]
cmp w0, 2
bne .L2
mov w0, 0
b .L3
.L2:
mov w0, 1
.L3:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global filesym
.type filesym, %function
filesym:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size filesym, .-filesym
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w0, 0
bl filesym
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global umnozhenie
.type umnozhenie, %function
umnozhenie:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
ldr w1, [sp, 12]
ldr w0, [sp, 8]
mul w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size umnozhenie, .-umnozhenie
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global st
.bss
.align 3
.type st, %object
.size st, 128
st:
.zero 128
.section .rodata
.align 3
.LC0:
.string "Error: %s\n"
.text
.align 2
.global print_err
.type print_err, %function
print_err:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl __errno_location
ldr w0, [x0]
bl strerror
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, -2
bl exit
.cfi_endproc
.LFE6:
.size print_err, .-print_err
.section .rodata
.align 3
.LC1:
.string "Initializing a new database structure @ %s\n"
.align 3
.LC2:
.string "Directory exists?"
.align 3
.LC3:
.string "by-tikr"
.align 3
.LC4:
.string "by-date"
.align 3
.LC5:
.string "unsorted"
.text
.align 2
.global db_init
.type db_init, %function
db_init:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
ldr x0, [x0]
str x0, [sp, 40]
adrp x0, st
add x1, x0, :lo12:st
ldr x0, [sp, 40]
bl stat
cmn w0, #1
bne .L3
ldr x1, [sp, 40]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w1, 493
ldr x0, [sp, 40]
bl mkdir
cmp w0, 0
beq .L4
bl print_err
b .L4
.L3:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
.L4:
ldr x0, [sp, 40]
bl chdir
cmp w0, 0
beq .L5
bl print_err
.L5:
mov w1, 493
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl mkdir
cmp w0, 0
beq .L6
bl print_err
.L6:
mov w1, 493
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl mkdir
cmp w0, 0
beq .L7
bl print_err
.L7:
mov w1, 493
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl mkdir
cmp w0, 0
beq .L8
bl print_err
.L8:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size db_init, .-db_init
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Hello kitty!"
.align 3
.LC1:
.string "pause"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atoi
str w0, [sp, 44]
mov w0, 1
str w0, [sp, 40]
b .L2
.L3:
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L2:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
ble .L3
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl system
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter the first input file name including the .ppm extension: "
.align 3
.LC1:
.string "%s"
.align 3
.LC2:
.string "rb"
.align 3
.LC3:
.string "Cannot open file %s for binary reading, exiting...\n"
.align 3
.LC4:
.string "Opened first file %s\n"
.align 3
.LC5:
.string "Enter the second input file name including the .ppm extension: "
.align 3
.LC6:
.string "Opened second file %s\n"
.align 3
.LC7:
.string "Mismatch in header, image types are different, exiting..."
.align 3
.LC8:
.string "%d"
.align 3
.LC9:
.string "Mismatch in header, widths are different %d %d, exiting...\n"
.align 3
.LC10:
.string "Mismatch in header, heights are different %d %d, exiting...\n"
.align 3
.LC11:
.string "Mismatch in header, max num of colors are different, exiting..."
.align 3
.LC12:
.string "Mismatch in header, supposed to be a new line character, exiting..."
.align 3
.LC13:
.string "Files are of different length, exiting..."
.align 3
.LC14:
.string "Files are identical"
.align 3
.LC15:
.string "PSNR: %lf, compared %d pixels\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
sub sp, sp, #704
.cfi_def_cfa_offset 704
stp x29, x30, [sp]
.cfi_offset 29, -704
.cfi_offset 30, -696
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -688
str w0, [sp, 44]
str x1, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 696]
mov x1, 0
ldr w0, [sp, 44]
cmp w0, 1
bgt .L2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x3, [x0]
add x0, sp, 296
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x3
bl __isoc99_fscanf
b .L3
.L2:
ldr x0, [sp, 32]
add x0, x0, 8
ldr x1, [x0]
add x0, sp, 296
bl strcpy
.L3:
add x2, sp, 296
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x2
bl fopen
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L4
add x0, sp, 296
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
mov w0, 1
bl exit
.L4:
add x0, sp, 296
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w0, [sp, 44]
cmp w0, 2
bgt .L5
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x3, [x0]
add x0, sp, 496
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x3
bl __isoc99_fscanf
b .L6
.L5:
ldr x0, [sp, 32]
add x0, x0, 16
ldr x1, [x0]
add x0, sp, 496
bl strcpy
.L6:
add x2, sp, 496
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x2
bl fopen
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L7
add x0, sp, 496
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
mov w0, 1
bl exit
.L7:
add x0, sp, 496
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
add x0, sp, 88
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 64]
bl __isoc99_fscanf
add x0, sp, 192
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 72]
bl __isoc99_fscanf
add x1, sp, 192
add x0, sp, 88
bl strcmp
cmp w0, 0
beq .L8
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
mov w0, 1
bl exit
.L8:
add x0, sp, 48
mov x2, x0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
ldr x0, [sp, 64]
bl __isoc99_fscanf
add x0, sp, 52
mov x2, x0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
ldr x0, [sp, 72]
bl __isoc99_fscanf
add x1, sp, 192
add x0, sp, 88
bl strcmp
cmp w0, 0
beq .L9
ldr w0, [sp, 48]
ldr w1, [sp, 52]
mov w2, w1
mov w1, w0
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
mov w0, 1
bl exit
.L9:
add x0, sp, 48
mov x2, x0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
ldr x0, [sp, 64]
bl __isoc99_fscanf
add x0, sp, 52
mov x2, x0
adrp x0, .LC8
add x1, x0, :lo12:.LC8
ldr x0, [sp, 72]
bl __isoc99_fscanf
add x1, sp, 192
add x0, sp, 88
bl strcmp
cmp w0, 0
beq .L10
ldr w0, [sp, 48]
ldr w1, [sp, 52]
mov w2, w1
mov w1, w0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
mov w0, 1
bl exit
.L10:
add x0, sp, 88
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 64]
bl __isoc99_fscanf
add x0, sp, 192
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 72]
bl __isoc99_fscanf
add x1, sp, 192
add x0, sp, 88
bl strcmp
cmp w0, 0
beq .L11
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
mov w0, 1
bl exit
.L11:
ldr x0, [sp, 64]
bl fgetc
mov w19, w0
ldr x0, [sp, 72]
bl fgetc
cmp w19, w0
beq .L12
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl puts
mov w0, 1
bl exit
.L12:
str wzr, [sp, 56]
str wzr, [sp, 60]
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
ldr x0, [sp, 72]
bl fgetc
str w0, [sp, 52]
b .L13
.L15:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
ldr w1, [sp, 48]
ldr w0, [sp, 52]
sub w0, w1, w0
str w0, [sp, 48]
ldr w1, [sp, 48]
ldr w0, [sp, 48]
mul w0, w1, w0
mov w1, w0
ldr w0, [sp, 60]
add w0, w0, w1
str w0, [sp, 60]
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
ldr x0, [sp, 72]
bl fgetc
str w0, [sp, 52]
.L13:
ldr w0, [sp, 48]
cmn w0, #1
beq .L14
ldr w0, [sp, 52]
cmn w0, #1
bne .L15
.L14:
ldr w0, [sp, 48]
cmn w0, #1
bne .L16
ldr w0, [sp, 52]
cmn w0, #1
beq .L17
.L16:
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl puts
mov w0, 1
bl exit
.L17:
ldr x0, [sp, 64]
bl fclose
ldr x0, [sp, 72]
bl fclose
ldr w0, [sp, 60]
cmp w0, 0
bne .L18
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl puts
b .L19
.L18:
ldr w0, [sp, 60]
ucvtf d1, w0
ldr w0, [sp, 56]
ucvtf d0, w0
fdiv d0, d1, d0
bl sqrt
str d0, [sp, 80]
ldr d0, [sp, 80]
mov x0, 246290604621824
movk x0, 0x406f, lsl 48
fmov d1, x0
fdiv d0, d1, d0
bl log10
fmov d1, d0
fmov d0, 2.0e+1
fmul d0, d1, d0
str d0, [sp, 80]
ldr w1, [sp, 56]
ldr d0, [sp, 80]
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl printf
.L19:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 696]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L21
bl __stack_chk_fail
.L21:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp]
add sp, sp, 704
.cfi_restore 29
.cfi_restore 30
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global printf
.type printf, %function
printf:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
mov w0, 0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size printf, .-printf
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w0, 1
strb w0, [sp, 7]
mov w0, 5
str w0, [sp, 8]
mov w0, 1
str w0, [sp, 12]
mov w0, 6
str w0, [sp, 8]
mov w0, 0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d+%02d=(%.0lf)^2=%d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
stp x19, x20, [sp, 16]
str d8, [sp, 32]
.cfi_offset 19, -48
.cfi_offset 20, -40
.cfi_offset 72, -32
mov w0, 1000
str w0, [sp, 60]
b .L2
.L4:
ldr w0, [sp, 60]
scvtf d0, w0
bl sqrt
fmov d8, d0
ldr w0, [sp, 60]
scvtf d0, w0
bl sqrt
fcvtzs w0, d0
scvtf d0, w0
fcmp d8, d0
bne .L3
ldr w0, [sp, 60]
mov w1, 34079
movk w1, 0x51eb, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 5
asr w0, w0, 31
sub w2, w1, w0
ldr w1, [sp, 60]
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w3, w0, 5
asr w0, w1, 31
sub w0, w3, w0
mov w3, 100
mul w0, w0, w3
sub w0, w1, w0
add w0, w2, w0
scvtf d8, w0
ldr w0, [sp, 60]
scvtf d0, w0
bl sqrt
fcmp d8, d0
bne .L3
ldr w0, [sp, 60]
mov w1, 34079
movk w1, 0x51eb, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 5
asr w0, w0, 31
sub w20, w1, w0
ldr w0, [sp, 60]
mov w1, 34079
movk w1, 0x51eb, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w2, w1, 5
asr w1, w0, 31
sub w19, w2, w1
mov w1, 100
mul w1, w19, w1
sub w19, w0, w1
ldr w0, [sp, 60]
scvtf d0, w0
bl sqrt
ldr w3, [sp, 60]
mov w2, w19
mov w1, w20
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
.L3:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L2:
ldr w1, [sp, 60]
mov w0, 9999
cmp w1, w0
ble .L4
mov w0, 0
ldr d8, [sp, 32]
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_restore 20
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.weak error_string
.section .tbss,"awT",@nobits
.align 3
.type error_string, %object
.size error_string, 512
error_string:
.zero 512
.weak error_code
.align 2
.type error_code, %object
.size error_code, 4
error_code:
.zero 4
.weak error_fp
.bss
.align 3
.type error_fp, %object
.size error_fp, 8
error_fp:
.zero 8
.weak program_name
.align 3
.type program_name, %object
.size program_name, 8
program_name:
.zero 8
.section .rodata
.align 3
.LC0:
.string "[%s:%i:%s]"
.align 3
.LC1:
.string ""
.align 3
.LC2:
.string ": "
.align 3
.LC3:
.string "%s%s%s\n"
.text
.align 2
.weak __errorf
.type __errorf, %function
__errorf:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -288]!
.cfi_def_cfa_offset 288
.cfi_offset 29, -288
.cfi_offset 30, -280
mov x29, sp
str x0, [sp, 72]
str w1, [sp, 68]
str x2, [sp, 56]
str w3, [sp, 64]
str x4, [sp, 48]
str x5, [sp, 264]
str x6, [sp, 272]
str x7, [sp, 280]
str q0, [sp, 128]
str q1, [sp, 144]
str q2, [sp, 160]
str q3, [sp, 176]
str q4, [sp, 192]
str q5, [sp, 208]
str q6, [sp, 224]
str q7, [sp, 240]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 120]
mov x1, 0
ldr x0, [sp, 48]
cmp x0, 0
beq .L2
add x0, sp, 288
str x0, [sp, 88]
add x0, sp, 288
str x0, [sp, 96]
add x0, sp, 256
str x0, [sp, 104]
mov w0, -24
str w0, [sp, 112]
mov w0, -128
str w0, [sp, 116]
add x0, sp, 16
add x1, sp, 88
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x1, sp, 16
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:error_string, lsl #12
add x0, x0, #:tprel_lo12_nc:error_string
mov x3, x1
ldr x2, [sp, 48]
mov x1, 511
bl vsnprintf
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:error_string, lsl #12
add x0, x0, #:tprel_lo12_nc:error_string
strb wzr, [x0, 511]
ldr w0, [sp, 64]
cmp w0, 0
blt .L2
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:error_code, lsl #12
add x0, x0, #:tprel_lo12_nc:error_code
ldr w1, [sp, 64]
str w1, [x0]
.L2:
ldr x4, [sp, 56]
ldr w3, [sp, 68]
ldr x2, [sp, 72]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov w0, 3
bl syslog
ldr x0, [sp, 48]
cmp x0, 0
beq .L3
add x0, sp, 288
str x0, [sp, 88]
add x0, sp, 288
str x0, [sp, 96]
add x0, sp, 256
str x0, [sp, 104]
mov w0, -24
str w0, [sp, 112]
mov w0, -128
str w0, [sp, 116]
add x0, sp, 16
add x1, sp, 88
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x0, sp, 16
mov x2, x0
ldr x1, [sp, 48]
mov w0, 3
bl vsyslog
adrp x0, error_fp
add x0, x0, :lo12:error_fp
ldr x0, [x0]
cmp x0, 0
beq .L3
adrp x0, error_fp
add x0, x0, :lo12:error_fp
ldr x5, [x0]
adrp x0, program_name
add x0, x0, :lo12:program_name
ldr x0, [x0]
cmp x0, 0
beq .L4
adrp x0, program_name
add x0, x0, :lo12:program_name
ldr x0, [x0]
b .L5
.L4:
adrp x0, .LC1
add x0, x0, :lo12:.LC1
.L5:
adrp x1, program_name
add x1, x1, :lo12:program_name
ldr x1, [x1]
cmp x1, 0
beq .L6
adrp x1, .LC2
add x1, x1, :lo12:.LC2
b .L7
.L6:
adrp x1, .LC1
add x1, x1, :lo12:.LC1
.L7:
mrs x2, tpidr_el0
add x2, x2, #:tprel_hi12:error_string, lsl #12
add x2, x2, #:tprel_lo12_nc:error_string
mov x4, x2
mov x3, x1
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x5
bl fprintf
.L3:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 120]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L9
bl __stack_chk_fail
.L9:
mov w0, w1
ldp x29, x30, [sp], 288
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size __errorf, .-__errorf
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global CLSID_VideoProcAmpPropertyPage
.section .rodata
.align 3
.type CLSID_VideoProcAmpPropertyPage, %object
.size CLSID_VideoProcAmpPropertyPage, 24
CLSID_VideoProcAmpPropertyPage:
.xword 1912169572
.hword 30963
.hword 4560
.string "\241\214"
.ascii "\240\311\021\211V"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global memchr
.type memchr, %function
memchr:
.LFB0:
.cfi_startproc
str x19, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 19, -48
str x0, [sp, 24]
mov x0, x2
strb w1, [sp, 47]
cmp x0, 0
beq .L2
ldr x19, [sp, 24]
.L5:
mov x1, x19
add x19, x1, 1
ldrb w1, [x1]
ldrb w2, [sp, 47]
cmp w2, w1
bne .L3
sub x0, x19, #1
b .L4
.L3:
sub x0, x0, #1
cmp x0, 0
bne .L5
.L2:
mov x0, 0
.L4:
ldr x19, [sp], 48
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size memchr, .-memchr
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%f\n%f\n%c"
.align 3
.LC1:
.string "%.1f\n"
.align 3
.LC2:
.string "invalid operator"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x2, sp, 31
add x1, sp, 36
add x0, sp, 32
mov x3, x2
mov x2, x1
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldrb w0, [sp, 31]
cmp w0, 47
beq .L2
cmp w0, 47
bgt .L3
cmp w0, 45
beq .L4
cmp w0, 45
bgt .L3
cmp w0, 37
beq .L5
cmp w0, 43
bne .L3
ldr s1, [sp, 32]
ldr s0, [sp, 36]
fadd s0, s1, s0
fcvt d0, s0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L6
.L4:
ldr s1, [sp, 32]
ldr s0, [sp, 36]
fsub s0, s1, s0
fcvt d0, s0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L6
.L2:
ldr s1, [sp, 32]
ldr s0, [sp, 36]
fdiv s0, s1, s0
fcvt d0, s0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L6
.L5:
ldr s0, [sp, 32]
fcvtzs w0, s0
ldr s0, [sp, 36]
fcvtzs w1, s0
sdiv w2, w0, w1
mul w1, w2, w1
sub w0, w0, w1
scvtf s0, w0
fcvt d0, s0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L6
.L3:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
nop
.L6:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fflush
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L8
bl __stack_chk_fail
.L8:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global gulPartNumberReg
.section .rodata
.align 3
.type gulPartNumberReg, %object
.size gulPartNumberReg, 20
gulPartNumberReg:
.word 35
.word 36
.word 37
.word 38
.word 39
.global gulSensorResol
.align 3
.type gulSensorResol, %object
.size gulSensorResol, 20
gulSensorResol:
.word 40
.word 41
.word 42
.word 43
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global caccess_read_pointer_int
.type caccess_read_pointer_int, %function
caccess_read_pointer_int:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size caccess_read_pointer_int, .-caccess_read_pointer_int
.align 2
.global caccess_read_pointer_double
.type caccess_read_pointer_double, %function
caccess_read_pointer_double:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr d0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size caccess_read_pointer_double, .-caccess_read_pointer_double
.align 2
.global caccess_read_array_int
.type caccess_read_array_int, %function
caccess_read_array_int:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldrsw x0, [sp, 4]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size caccess_read_array_int, .-caccess_read_array_int
.align 2
.global caccess_read_array_double
.type caccess_read_array_double, %function
caccess_read_array_double:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldrsw x0, [sp, 4]
lsl x0, x0, 3
ldr x1, [sp, 8]
add x0, x1, x0
ldr d0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size caccess_read_array_double, .-caccess_read_array_double
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "%.3f%%\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
add x0, sp, 20
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
str wzr, [sp, 28]
b .L2
.L8:
str wzr, [sp, 32]
add x0, sp, 24
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 24]
sxtw x0, w0
lsl x0, x0, 2
bl malloc
str x0, [sp, 48]
str wzr, [sp, 36]
str wzr, [sp, 40]
b .L3
.L4:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 48]
add x0, x1, x0
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 48]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 36]
add w0, w1, w0
str w0, [sp, 36]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L3:
ldr w0, [sp, 24]
ldr w1, [sp, 40]
cmp w1, w0
blt .L4
ldr w0, [sp, 24]
ldr w1, [sp, 36]
sdiv w0, w1, w0
str w0, [sp, 36]
str wzr, [sp, 44]
b .L5
.L7:
ldrsw x0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 48]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 36]
cmp w1, w0
bge .L6
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L6:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L5:
ldr w0, [sp, 24]
ldr w1, [sp, 44]
cmp w1, w0
blt .L7
ldr x0, [sp, 48]
bl free
ldr s0, [sp, 32]
scvtf s1, s0
ldr s0, [sp, 24]
scvtf s0, s0
fdiv s0, s1, s0
mov w0, 1120403456
fmov s1, w0
fmul s0, s0, s1
fcvt d0, s0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 20]
ldr w1, [sp, 28]
cmp w1, w0
blt .L8
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L10
bl __stack_chk_fail
.L10:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global in
.bss
.align 3
.type in, %object
.size in, 14400
in:
.zero 14400
.global N
.align 2
.type N, %object
.size N, 4
N:
.zero 4
.text
.align 2
.global cmp
.type cmp, %function
cmp:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
ldr w1, [x0]
ldr x0, [sp]
ldr w0, [x0]
sub w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size cmp, .-cmp
.global total
.bss
.align 3
.type total, %object
.size total, 4800
total:
.zero 4800
.global f
.align 3
.type f, %object
.size f, 4800
f:
.zero 4800
.section .rodata
.align 3
.LC0:
.string "%d%d"
.align 3
.LC1:
.string "%d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, N
add x0, x0, :lo12:N
str wzr, [x0]
mov x2, 4800
mov w1, -1
adrp x0, f
add x0, x0, :lo12:f
bl memset
b .L4
.L5:
adrp x0, N
add x0, x0, :lo12:N
ldr w1, [x0]
add w2, w1, 1
adrp x0, N
add x0, x0, :lo12:N
str w2, [x0]
adrp x0, N
add x0, x0, :lo12:N
ldr w2, [x0]
adrp x0, in
add x3, x0, :lo12:in
sxtw x2, w2
mov x0, x2
lsl x0, x0, 1
add x0, x0, x2
lsl x0, x0, 2
add x0, x3, x0
str w1, [x0, 8]
.L4:
adrp x0, N
add x0, x0, :lo12:N
ldr w0, [x0]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
adrp x1, in
add x1, x1, :lo12:in
add x3, x0, x1
adrp x0, N
add x0, x0, :lo12:N
ldr w0, [x0]
sxtw x1, w0
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
adrp x1, in
add x1, x1, :lo12:in
add x0, x0, x1
add x0, x0, 4
mov x2, x0
mov x1, x3
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
cmn w0, #1
bne .L5
adrp x0, N
add x0, x0, :lo12:N
ldr w0, [x0]
sxtw x1, w0
adrp x0, cmp
add x3, x0, :lo12:cmp
mov x2, 12
adrp x0, in
add x0, x0, :lo12:in
bl qsort
mov x2, 4800
mov w1, 0
adrp x0, total
add x0, x0, :lo12:total
bl memset
str wzr, [sp, 36]
adrp x0, N
add x0, x0, :lo12:N
ldr w0, [x0]
sub w0, w0, #2
str w0, [sp, 28]
b .L6
.L11:
str wzr, [sp, 40]
mov w0, -1
str w0, [sp, 44]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 32]
b .L7
.L9:
adrp x0, in
add x2, x0, :lo12:in
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0]
adrp x0, in
add x3, x0, :lo12:in
ldrsw x1, [sp, 32]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0]
cmp w2, w0
bge .L8
adrp x0, in
add x2, x0, :lo12:in
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w2, [x0, 4]
adrp x0, in
add x3, x0, :lo12:in
ldrsw x1, [sp, 32]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x3, x0
ldr w0, [x0, 4]
cmp w2, w0
ble .L8
adrp x0, total
add x0, x0, :lo12:total
ldrsw x1, [sp, 32]
ldr w0, [x0, x1, lsl 2]
ldr w1, [sp, 40]
cmp w1, w0
bgt .L8
adrp x0, total
add x0, x0, :lo12:total
ldrsw x1, [sp, 32]
ldr w0, [x0, x1, lsl 2]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 32]
str w0, [sp, 44]
.L8:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L7:
adrp x0, N
add x0, x0, :lo12:N
ldr w0, [x0]
ldr w1, [sp, 32]
cmp w1, w0
blt .L9
adrp x0, total
add x0, x0, :lo12:total
ldrsw x1, [sp, 28]
ldr w2, [sp, 40]
str w2, [x0, x1, lsl 2]
adrp x0, f
add x0, x0, :lo12:f
ldrsw x1, [sp, 28]
ldr w2, [sp, 44]
str w2, [x0, x1, lsl 2]
adrp x0, total
add x0, x0, :lo12:total
ldrsw x1, [sp, 28]
ldr w1, [x0, x1, lsl 2]
adrp x0, total
add x0, x0, :lo12:total
ldrsw x2, [sp, 36]
ldr w0, [x0, x2, lsl 2]
cmp w1, w0
ble .L10
ldr w0, [sp, 28]
str w0, [sp, 36]
.L10:
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
.L6:
ldr w0, [sp, 28]
cmp w0, 0
bge .L11
adrp x0, total
add x0, x0, :lo12:total
ldrsw x1, [sp, 36]
ldr w0, [x0, x1, lsl 2]
add w0, w0, 1
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 36]
str w0, [sp, 28]
b .L12
.L13:
adrp x0, in
add x2, x0, :lo12:in
ldrsw x1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0, 8]
add w0, w0, 1
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, f
add x0, x0, :lo12:f
ldrsw x1, [sp, 28]
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 28]
.L12:
ldr w0, [sp, 28]
cmn w0, #1
bne .L13
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type ret_val, %function
ret_val:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
str x0, [sp, 16]
ldr x0, [sp]
str x0, [sp, 24]
ldp x0, x1, [sp, 16]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ret_val, .-ret_val
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type __bswap_16, %function
__bswap_16:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strh w0, [sp, 14]
ldrh w0, [sp, 14]
rev16 w0, w0
and w0, w0, 65535
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size __bswap_16, .-__bswap_16
.global r
.data
.align 3
.type r, %object
.size r, 8
r:
.xword -1
.text
.align 2
.global loop
.type loop, %function
loop:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -32
str xzr, [sp, 40]
mov w3, 0
mov w2, 2050
mov w1, 10
mov x0, 198
bl syscall
str x0, [sp, 40]
ldr x0, [sp, 40]
cmn x0, #1
beq .L4
ldr x1, [sp, 40]
adrp x0, r
add x0, x0, :lo12:r
str x1, [x0]
.L4:
mov x0, 1600
movk x0, 0x2000, lsl 16
mov w1, 10
strh w1, [x0]
mov x19, 1602
movk x19, 0x2000, lsl 16
mov w0, 20002
bl __bswap_16
and w0, w0, 65535
strh w0, [x19]
mov x0, 1604
movk x0, 0x2000, lsl 16
str wzr, [x0]
mov x0, 1608
movk x0, 0x2000, lsl 16
mov w1, -1
strb w1, [x0]
mov x0, 1609
movk x0, 0x2000, lsl 16
mov w1, 1
strb w1, [x0]
mov x0, 1610
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1611
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1612
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1613
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1614
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1615
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1616
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1617
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1618
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1619
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1620
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1621
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1622
movk x0, 0x2000, lsl 16
strb wzr, [x0]
mov x0, 1623
movk x0, 0x2000, lsl 16
mov w1, 1
strb w1, [x0]
mov x0, 1624
movk x0, 0x2000, lsl 16
str wzr, [x0]
adrp x0, r
add x0, x0, :lo12:r
ldr x0, [x0]
mov w6, 28
mov w5, 1600
movk w5, 0x2000, lsl 16
mov w4, 0
mov w3, 65027
mov w2, 2432
movk w2, 0x2000, lsl 16
mov x1, x0
mov x0, 206
bl syscall
mov x0, 1536
movk x0, 0x2000, lsl 16
str wzr, [x0]
mov x0, 1540
movk x0, 0x2000, lsl 16
str wzr, [x0]
mov x0, 1544
movk x0, 0x2000, lsl 16
str wzr, [x0]
mov x0, 1548
movk x0, 0x2000, lsl 16
str wzr, [x0]
mov x0, 1552
movk x0, 0x2000, lsl 16
str wzr, [x0]
mov x0, 1556
movk x0, 0x2000, lsl 16
mov w1, 2576
str w1, [x0]
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size loop, .-loop
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w6, 0
mov w5, -1
mov w4, 50
mov w3, 3
mov w2, 16777216
mov w1, 536870912
mov x0, 222
bl syscall
bl loop
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "loop 1: %d \t %d \t %d \t %u \n"
.align 3
.LC1:
.string "loop 2: %d \t %d \t %d \t %u \n"
.align 3
.LC2:
.string "loop 3: %d \t %d \t %d \t %u \n"
.align 3
.LC3:
.string "loop 4: %d \t %d \t %d \t %u \n"
.align 3
.LC4:
.string "loop 5: %d \t %d \t %d \t %u \n"
.align 3
.LC5:
.string "loop 6: %d \t %d \t %d \t %u \n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
ldr w0, [sp, 28]
cmp w0, 1
bgt .L2
mov w0, 128
str w0, [sp, 32]
mov w0, 128
str w0, [sp, 36]
mov w0, 128
str w0, [sp, 40]
b .L3
.L2:
ldr w0, [sp, 28]
cmp w0, 2
bne .L4
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atoi
str w0, [sp, 40]
ldr w0, [sp, 40]
str w0, [sp, 36]
ldr w0, [sp, 36]
str w0, [sp, 32]
b .L3
.L4:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atoi
str w0, [sp, 32]
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
bl atoi
str w0, [sp, 36]
ldr x0, [sp, 16]
add x0, x0, 24
ldr x0, [x0]
bl atoi
str w0, [sp, 40]
.L3:
ldr w1, [sp, 32]
ldr w0, [sp, 40]
mul w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
bl malloc
str x0, [sp, 56]
ldr w1, [sp, 40]
ldr w0, [sp, 36]
mul w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
bl malloc
str x0, [sp, 64]
ldr w1, [sp, 32]
ldr w0, [sp, 36]
mul w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
bl malloc
str x0, [sp, 72]
mov w0, 0
bl srand
str wzr, [sp, 44]
b .L5
.L6:
bl rand
scvtf d0, w0
mov x0, 281474972516352
movk x0, 0x41df, lsl 48
fmov d1, x0
fdiv d1, d0, d1
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
fmov d0, 1.0e+0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L5:
ldr w1, [sp, 32]
ldr w0, [sp, 40]
mul w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L6
str wzr, [sp, 44]
b .L7
.L8:
bl rand
scvtf d0, w0
mov x0, 281474972516352
movk x0, 0x41df, lsl 48
fmov d1, x0
fdiv d1, d0, d1
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
fmov d0, 1.0e+0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L7:
ldr w1, [sp, 36]
ldr w0, [sp, 40]
mul w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L8
str wzr, [sp, 44]
b .L9
.L10:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L9:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
mul w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L10
bl gettime
str x0, [sp, 80]
str wzr, [sp, 44]
b .L11
.L16:
str wzr, [sp, 48]
b .L12
.L15:
str wzr, [sp, 52]
b .L13
.L14:
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 44]
ldr w0, [sp, 40]
mul w1, w1, w0
ldr w0, [sp, 48]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d2, [x0]
ldr w1, [sp, 48]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d2, d0
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L13:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L14
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L12:
ldr w1, [sp, 48]
ldr w0, [sp, 40]
cmp w1, w0
blt .L15
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L11:
ldr w1, [sp, 44]
ldr w0, [sp, 32]
cmp w1, w0
blt .L16
bl gettime
str x0, [sp, 88]
ldr x1, [sp, 88]
ldr x0, [sp, 80]
sub x0, x1, x0
fmov d0, x0
ucvtf d0, d0
mov x0, 70368744177664
movk x0, 0x408f, lsl 48
fmov d1, x0
fdiv d0, d0, d1
fcvtzu w0, d0
mov w4, w0
ldr w3, [sp, 40]
ldr w2, [sp, 36]
ldr w1, [sp, 32]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
str wzr, [sp, 44]
b .L17
.L18:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L17:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
mul w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L18
bl gettime
str x0, [sp, 80]
str wzr, [sp, 44]
b .L19
.L24:
str wzr, [sp, 48]
b .L20
.L23:
str wzr, [sp, 52]
b .L21
.L22:
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 44]
ldr w0, [sp, 40]
mul w1, w1, w0
ldr w0, [sp, 48]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d2, [x0]
ldr w1, [sp, 48]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d2, d0
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L21:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L22
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L20:
ldr w1, [sp, 48]
ldr w0, [sp, 40]
cmp w1, w0
blt .L23
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L19:
ldr w1, [sp, 44]
ldr w0, [sp, 32]
cmp w1, w0
blt .L24
bl gettime
str x0, [sp, 88]
ldr x1, [sp, 88]
ldr x0, [sp, 80]
sub x0, x1, x0
fmov d0, x0
ucvtf d0, d0
mov x0, 70368744177664
movk x0, 0x408f, lsl 48
fmov d1, x0
fdiv d0, d0, d1
fcvtzu w0, d0
mov w4, w0
ldr w3, [sp, 40]
ldr w2, [sp, 36]
ldr w1, [sp, 32]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
str wzr, [sp, 44]
b .L25
.L26:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L25:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
mul w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L26
bl gettime
str x0, [sp, 80]
str wzr, [sp, 44]
b .L27
.L32:
str wzr, [sp, 48]
b .L28
.L31:
str wzr, [sp, 52]
b .L29
.L30:
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 44]
ldr w0, [sp, 40]
mul w1, w1, w0
ldr w0, [sp, 48]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d2, [x0]
ldr w1, [sp, 48]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d2, d0
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L29:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L30
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L28:
ldr w1, [sp, 48]
ldr w0, [sp, 40]
cmp w1, w0
blt .L31
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L27:
ldr w1, [sp, 44]
ldr w0, [sp, 32]
cmp w1, w0
blt .L32
bl gettime
str x0, [sp, 88]
ldr x1, [sp, 88]
ldr x0, [sp, 80]
sub x0, x1, x0
fmov d0, x0
ucvtf d0, d0
mov x0, 70368744177664
movk x0, 0x408f, lsl 48
fmov d1, x0
fdiv d0, d0, d1
fcvtzu w0, d0
mov w4, w0
ldr w3, [sp, 40]
ldr w2, [sp, 36]
ldr w1, [sp, 32]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
str wzr, [sp, 44]
b .L33
.L34:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L33:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
mul w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L34
bl gettime
str x0, [sp, 80]
str wzr, [sp, 44]
b .L35
.L40:
str wzr, [sp, 48]
b .L36
.L39:
str wzr, [sp, 52]
b .L37
.L38:
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 44]
ldr w0, [sp, 40]
mul w1, w1, w0
ldr w0, [sp, 48]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d2, [x0]
ldr w1, [sp, 48]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d2, d0
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L37:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L38
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L36:
ldr w1, [sp, 48]
ldr w0, [sp, 40]
cmp w1, w0
blt .L39
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L35:
ldr w1, [sp, 44]
ldr w0, [sp, 32]
cmp w1, w0
blt .L40
bl gettime
str x0, [sp, 88]
ldr x1, [sp, 88]
ldr x0, [sp, 80]
sub x0, x1, x0
fmov d0, x0
ucvtf d0, d0
mov x0, 70368744177664
movk x0, 0x408f, lsl 48
fmov d1, x0
fdiv d0, d0, d1
fcvtzu w0, d0
mov w4, w0
ldr w3, [sp, 40]
ldr w2, [sp, 36]
ldr w1, [sp, 32]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
str wzr, [sp, 44]
b .L41
.L42:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L41:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
mul w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L42
bl gettime
str x0, [sp, 80]
str wzr, [sp, 44]
b .L43
.L48:
str wzr, [sp, 48]
b .L44
.L47:
str wzr, [sp, 52]
b .L45
.L46:
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 44]
ldr w0, [sp, 40]
mul w1, w1, w0
ldr w0, [sp, 48]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d2, [x0]
ldr w1, [sp, 48]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d2, d0
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L45:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L46
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L44:
ldr w1, [sp, 48]
ldr w0, [sp, 40]
cmp w1, w0
blt .L47
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L43:
ldr w1, [sp, 44]
ldr w0, [sp, 32]
cmp w1, w0
blt .L48
bl gettime
str x0, [sp, 88]
ldr x1, [sp, 88]
ldr x0, [sp, 80]
sub x0, x1, x0
fmov d0, x0
ucvtf d0, d0
mov x0, 70368744177664
movk x0, 0x408f, lsl 48
fmov d1, x0
fdiv d0, d0, d1
fcvtzu w0, d0
mov w4, w0
ldr w3, [sp, 40]
ldr w2, [sp, 36]
ldr w1, [sp, 32]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
str wzr, [sp, 44]
b .L49
.L50:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L49:
ldr w1, [sp, 32]
ldr w0, [sp, 36]
mul w0, w1, w0
ldr w1, [sp, 44]
cmp w1, w0
blt .L50
bl gettime
str x0, [sp, 80]
str wzr, [sp, 44]
b .L51
.L56:
str wzr, [sp, 48]
b .L52
.L55:
str wzr, [sp, 52]
b .L53
.L54:
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 44]
ldr w0, [sp, 40]
mul w1, w1, w0
ldr w0, [sp, 48]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d2, [x0]
ldr w1, [sp, 48]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d2, d0
ldr w1, [sp, 44]
ldr w0, [sp, 36]
mul w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L53:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L54
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L52:
ldr w1, [sp, 48]
ldr w0, [sp, 40]
cmp w1, w0
blt .L55
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L51:
ldr w1, [sp, 44]
ldr w0, [sp, 32]
cmp w1, w0
blt .L56
bl gettime
str x0, [sp, 88]
ldr x1, [sp, 88]
ldr x0, [sp, 80]
sub x0, x1, x0
fmov d0, x0
ucvtf d0, d0
mov x0, 70368744177664
movk x0, 0x408f, lsl 48
fmov d1, x0
fdiv d0, d0, d1
fcvtzu w0, d0
mov w4, w0
ldr w3, [sp, 40]
ldr w2, [sp, 36]
ldr w1, [sp, 32]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
ldr x0, [sp, 72]
bl free
mov w0, 0
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.align 2
.global gettime
.type gettime, %function
gettime:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 24
mov x1, x0
mov w0, 0
bl clock_gettime
ldr d0, [sp, 32]
scvtf d1, d0
ldr d0, [sp, 24]
scvtf d0, d0
mov x0, 225833675390976
movk x0, 0x41cd, lsl 48
fmov d2, x0
fmul d0, d0, d2
fadd d0, d1, d0
fcvtzu d0, d0
fmov x1, d0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L60
bl __stack_chk_fail
.L60:
mov x0, x1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size gettime, .-gettime
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.type coefrs, %object
.size coefrs, 2044
coefrs:
.hword 27
.hword 917
.hword 522
.hword 568
.hword 723
.hword 809
.hword 237
.hword 308
.hword 436
.hword 284
.hword 646
.hword 653
.hword 428
.hword 379
.hword 274
.hword 562
.hword 232
.hword 755
.hword 599
.hword 524
.hword 801
.hword 132
.hword 295
.hword 116
.hword 442
.hword 428
.hword 295
.hword 42
.hword 176
.hword 65
.hword 361
.hword 575
.hword 922
.hword 525
.hword 176
.hword 586
.hword 640
.hword 321
.hword 536
.hword 742
.hword 677
.hword 742
.hword 687
.hword 284
.hword 193
.hword 517
.hword 273
.hword 494
.hword 263
.hword 147
.hword 593
.hword 800
.hword 571
.hword 320
.hword 803
.hword 133
.hword 231
.hword 390
.hword 685
.hword 330
.hword 63
.hword 410
.hword 539
.hword 422
.hword 6
.hword 93
.hword 862
.hword 771
.hword 453
.hword 106
.hword 610
.hword 287
.hword 107
.hword 505
.hword 733
.hword 877
.hword 381
.hword 612
.hword 723
.hword 476
.hword 462
.hword 172
.hword 430
.hword 609
.hword 858
.hword 822
.hword 543
.hword 376
.hword 511
.hword 400
.hword 672
.hword 762
.hword 283
.hword 184
.hword 440
.hword 35
.hword 519
.hword 31
.hword 460
.hword 594
.hword 225
.hword 535
.hword 517
.hword 352
.hword 605
.hword 158
.hword 651
.hword 201
.hword 488
.hword 502
.hword 648
.hword 733
.hword 717
.hword 83
.hword 404
.hword 97
.hword 280
.hword 771
.hword 840
.hword 629
.hword 4
.hword 381
.hword 843
.hword 623
.hword 264
.hword 543
.hword 521
.hword 310
.hword 864
.hword 547
.hword 858
.hword 580
.hword 296
.hword 379
.hword 53
.hword 779
.hword 897
.hword 444
.hword 400
.hword 925
.hword 749
.hword 415
.hword 822
.hword 93
.hword 217
.hword 208
.hword 928
.hword 244
.hword 583
.hword 620
.hword 246
.hword 148
.hword 447
.hword 631
.hword 292
.hword 908
.hword 490
.hword 704
.hword 516
.hword 258
.hword 457
.hword 907
.hword 594
.hword 723
.hword 674
.hword 292
.hword 272
.hword 96
.hword 684
.hword 432
.hword 686
.hword 606
.hword 860
.hword 569
.hword 193
.hword 219
.hword 129
.hword 186
.hword 236
.hword 287
.hword 192
.hword 775
.hword 278
.hword 173
.hword 40
.hword 379
.hword 712
.hword 463
.hword 646
.hword 776
.hword 171
.hword 491
.hword 297
.hword 763
.hword 156
.hword 732
.hword 95
.hword 270
.hword 447
.hword 90
.hword 507
.hword 48
.hword 228
.hword 821
.hword 808
.hword 898
.hword 784
.hword 663
.hword 627
.hword 378
.hword 382
.hword 262
.hword 380
.hword 602
.hword 754
.hword 336
.hword 89
.hword 614
.hword 87
.hword 432
.hword 670
.hword 616
.hword 157
.hword 374
.hword 242
.hword 726
.hword 600
.hword 269
.hword 375
.hword 898
.hword 845
.hword 454
.hword 354
.hword 130
.hword 814
.hword 587
.hword 804
.hword 34
.hword 211
.hword 330
.hword 539
.hword 297
.hword 827
.hword 865
.hword 37
.hword 517
.hword 834
.hword 315
.hword 550
.hword 86
.hword 801
.hword 4
.hword 108
.hword 539
.hword 524
.hword 894
.hword 75
.hword 766
.hword 882
.hword 857
.hword 74
.hword 204
.hword 82
.hword 586
.hword 708
.hword 250
.hword 905
.hword 786
.hword 138
.hword 720
.hword 858
.hword 194
.hword 311
.hword 913
.hword 275
.hword 190
.hword 375
.hword 850
.hword 438
.hword 733
.hword 194
.hword 280
.hword 201
.hword 280
.hword 828
.hword 757
.hword 710
.hword 814
.hword 919
.hword 89
.hword 68
.hword 569
.hword 11
.hword 204
.hword 796
.hword 605
.hword 540
.hword 913
.hword 801
.hword 700
.hword 799
.hword 137
.hword 439
.hword 418
.hword 592
.hword 668
.hword 353
.hword 859
.hword 370
.hword 694
.hword 325
.hword 240
.hword 216
.hword 257
.hword 284
.hword 549
.hword 209
.hword 884
.hword 315
.hword 70
.hword 329
.hword 793
.hword 490
.hword 274
.hword 877
.hword 162
.hword 749
.hword 812
.hword 684
.hword 461
.hword 334
.hword 376
.hword 849
.hword 521
.hword 307
.hword 291
.hword 803
.hword 712
.hword 19
.hword 358
.hword 399
.hword 908
.hword 103
.hword 511
.hword 51
.hword 8
.hword 517
.hword 225
.hword 289
.hword 470
.hword 637
.hword 731
.hword 66
.hword 255
.hword 917
.hword 269
.hword 463
.hword 830
.hword 730
.hword 433
.hword 848
.hword 585
.hword 136
.hword 538
.hword 906
.hword 90
.hword 2
.hword 290
.hword 743
.hword 199
.hword 655
.hword 903
.hword 329
.hword 49
.hword 802
.hword 580
.hword 355
.hword 588
.hword 188
.hword 462
.hword 10
.hword 134
.hword 628
.hword 320
.hword 479
.hword 130
.hword 739
.hword 71
.hword 263
.hword 318
.hword 374
.hword 601
.hword 192
.hword 605
.hword 142
.hword 673
.hword 687
.hword 234
.hword 722
.hword 384
.hword 177
.hword 752
.hword 607
.hword 640
.hword 455
.hword 193
.hword 689
.hword 707
.hword 805
.hword 641
.hword 48
.hword 60
.hword 732
.hword 621
.hword 895
.hword 544
.hword 261
.hword 852
.hword 655
.hword 309
.hword 697
.hword 755
.hword 756
.hword 60
.hword 231
.hword 773
.hword 434
.hword 421
.hword 726
.hword 528
.hword 503
.hword 118
.hword 49
.hword 795
.hword 32
.hword 144
.hword 500
.hword 238
.hword 836
.hword 394
.hword 280
.hword 566
.hword 319
.hword 9
.hword 647
.hword 550
.hword 73
.hword 914
.hword 342
.hword 126
.hword 32
.hword 681
.hword 331
.hword 792
.hword 620
.hword 60
.hword 609
.hword 441
.hword 180
.hword 791
.hword 893
.hword 754
.hword 605
.hword 383
.hword 228
.hword 749
.hword 760
.hword 213
.hword 54
.hword 297
.hword 134
.hword 54
.hword 834
.hword 299
.hword 922
.hword 191
.hword 910
.hword 532
.hword 609
.hword 829
.hword 189
.hword 20
.hword 167
.hword 29
.hword 872
.hword 449
.hword 83
.hword 402
.hword 41
.hword 656
.hword 505
.hword 579
.hword 481
.hword 173
.hword 404
.hword 251
.hword 688
.hword 95
.hword 497
.hword 555
.hword 642
.hword 543
.hword 307
.hword 159
.hword 924
.hword 558
.hword 648
.hword 55
.hword 497
.hword 10
.hword 352
.hword 77
.hword 373
.hword 504
.hword 35
.hword 599
.hword 428
.hword 207
.hword 409
.hword 574
.hword 118
.hword 498
.hword 285
.hword 380
.hword 350
.hword 492
.hword 197
.hword 265
.hword 920
.hword 155
.hword 914
.hword 299
.hword 229
.hword 643
.hword 294
.hword 871
.hword 306
.hword 88
.hword 87
.hword 193
.hword 352
.hword 781
.hword 846
.hword 75
.hword 327
.hword 520
.hword 435
.hword 543
.hword 203
.hword 666
.hword 249
.hword 346
.hword 781
.hword 621
.hword 640
.hword 268
.hword 794
.hword 534
.hword 539
.hword 781
.hword 408
.hword 390
.hword 644
.hword 102
.hword 476
.hword 499
.hword 290
.hword 632
.hword 545
.hword 37
.hword 858
.hword 916
.hword 552
.hword 41
.hword 542
.hword 289
.hword 122
.hword 272
.hword 383
.hword 800
.hword 485
.hword 98
.hword 752
.hword 472
.hword 761
.hword 107
.hword 784
.hword 860
.hword 658
.hword 741
.hword 290
.hword 204
.hword 681
.hword 407
.hword 855
.hword 85
.hword 99
.hword 62
.hword 482
.hword 180
.hword 20
.hword 297
.hword 451
.hword 593
.hword 913
.hword 142
.hword 808
.hword 684
.hword 287
.hword 536
.hword 561
.hword 76
.hword 653
.hword 899
.hword 729
.hword 567
.hword 744
.hword 390
.hword 513
.hword 192
.hword 516
.hword 258
.hword 240
.hword 518
.hword 794
.hword 395
.hword 768
.hword 848
.hword 51
.hword 610
.hword 384
.hword 168
.hword 190
.hword 826
.hword 328
.hword 596
.hword 786
.hword 303
.hword 570
.hword 381
.hword 415
.hword 641
.hword 156
.hword 237
.hword 151
.hword 429
.hword 531
.hword 207
.hword 676
.hword 710
.hword 89
.hword 168
.hword 304
.hword 402
.hword 40
.hword 708
.hword 575
.hword 162
.hword 864
.hword 229
.hword 65
.hword 861
.hword 841
.hword 512
.hword 164
.hword 477
.hword 221
.hword 92
.hword 358
.hword 785
.hword 288
.hword 357
.hword 850
.hword 836
.hword 827
.hword 736
.hword 707
.hword 94
.hword 8
.hword 494
.hword 114
.hword 521
.hword 2
.hword 499
.hword 851
.hword 543
.hword 152
.hword 729
.hword 771
.hword 95
.hword 248
.hword 361
.hword 578
.hword 323
.hword 856
.hword 797
.hword 289
.hword 51
.hword 684
.hword 466
.hword 533
.hword 820
.hword 669
.hword 45
.hword 902
.hword 452
.hword 167
.hword 342
.hword 244
.hword 173
.hword 35
.hword 463
.hword 651
.hword 51
.hword 699
.hword 591
.hword 452
.hword 578
.hword 37
.hword 124
.hword 298
.hword 332
.hword 552
.hword 43
.hword 427
.hword 119
.hword 662
.hword 777
.hword 475
.hword 850
.hword 764
.hword 364
.hword 578
.hword 911
.hword 283
.hword 711
.hword 472
.hword 420
.hword 245
.hword 288
.hword 594
.hword 394
.hword 511
.hword 327
.hword 589
.hword 777
.hword 699
.hword 688
.hword 43
.hword 408
.hword 842
.hword 383
.hword 721
.hword 521
.hword 560
.hword 644
.hword 714
.hword 559
.hword 62
.hword 145
.hword 873
.hword 663
.hword 713
.hword 159
.hword 672
.hword 729
.hword 624
.hword 59
.hword 193
.hword 417
.hword 158
.hword 209
.hword 563
.hword 564
.hword 343
.hword 693
.hword 109
.hword 608
.hword 563
.hword 365
.hword 181
.hword 772
.hword 677
.hword 310
.hword 248
.hword 353
.hword 708
.hword 410
.hword 579
.hword 870
.hword 617
.hword 841
.hword 632
.hword 860
.hword 289
.hword 536
.hword 35
.hword 777
.hword 618
.hword 586
.hword 424
.hword 833
.hword 77
.hword 597
.hword 346
.hword 269
.hword 757
.hword 632
.hword 695
.hword 751
.hword 331
.hword 247
.hword 184
.hword 45
.hword 787
.hword 680
.hword 18
.hword 66
.hword 407
.hword 369
.hword 54
.hword 492
.hword 228
.hword 613
.hword 830
.hword 922
.hword 437
.hword 519
.hword 644
.hword 905
.hword 789
.hword 420
.hword 305
.hword 441
.hword 207
.hword 300
.hword 892
.hword 827
.hword 141
.hword 537
.hword 381
.hword 662
.hword 513
.hword 56
.hword 252
.hword 341
.hword 242
.hword 797
.hword 838
.hword 837
.hword 720
.hword 224
.hword 307
.hword 631
.hword 61
.hword 87
.hword 560
.hword 310
.hword 756
.hword 665
.hword 397
.hword 808
.hword 851
.hword 309
.hword 473
.hword 795
.hword 378
.hword 31
.hword 647
.hword 915
.hword 459
.hword 806
.hword 590
.hword 731
.hword 425
.hword 216
.hword 548
.hword 249
.hword 321
.hword 881
.hword 699
.hword 535
.hword 673
.hword 782
.hword 210
.hword 815
.hword 905
.hword 303
.hword 843
.hword 922
.hword 281
.hword 73
.hword 469
.hword 791
.hword 660
.hword 162
.hword 498
.hword 308
.hword 155
.hword 422
.hword 907
.hword 817
.hword 187
.hword 62
.hword 16
.hword 425
.hword 535
.hword 336
.hword 286
.hword 437
.hword 375
.hword 273
.hword 610
.hword 296
.hword 183
.hword 923
.hword 116
.hword 667
.hword 751
.hword 353
.hword 62
.hword 366
.hword 691
.hword 379
.hword 687
.hword 842
.hword 37
.hword 357
.hword 720
.hword 742
.hword 330
.hword 5
.hword 39
.hword 923
.hword 311
.hword 424
.hword 242
.hword 749
.hword 321
.hword 54
.hword 669
.hword 316
.hword 342
.hword 299
.hword 534
.hword 105
.hword 667
.hword 488
.hword 640
.hword 672
.hword 576
.hword 540
.hword 316
.hword 486
.hword 721
.hword 610
.hword 46
.hword 656
.hword 447
.hword 171
.hword 616
.hword 464
.hword 190
.hword 531
.hword 297
.hword 321
.hword 762
.hword 752
.hword 533
.hword 175
.hword 134
.hword 14
.hword 381
.hword 433
.hword 717
.hword 45
.hword 111
.hword 20
.hword 596
.hword 284
.hword 736
.hword 138
.hword 646
.hword 411
.hword 877
.hword 669
.hword 141
.hword 919
.hword 45
.hword 780
.hword 407
.hword 164
.hword 332
.hword 899
.hword 165
.hword 726
.hword 600
.hword 325
.hword 498
.hword 655
.hword 357
.hword 752
.hword 768
.hword 223
.hword 849
.hword 647
.hword 63
.hword 310
.hword 863
.hword 251
.hword 366
.hword 304
.hword 282
.hword 738
.hword 675
.hword 410
.hword 389
.hword 244
.hword 31
.hword 121
.hword 303
.hword 263
.align 3
.type pdf_bitpattern, %object
.size pdf_bitpattern, 5574
pdf_bitpattern:
.hword -5408
.hword -2696
.hword -1346
.hword -5520
.hword -2756
.hword -1377
.hword -11168
.hword -5576
.hword -11216
.hword -22496
.hword -11240
.hword -22512
.hword -10528
.hword -5256
.hword -2626
.hword -10640
.hword -5316
.hword -2657
.hword -21408
.hword -10696
.hword -21456
.hword -20768
.hword -10376
.hword -5186
.hword -20880
.hword -10436
.hword -5217
.hword -20936
.hword -10466
.hword -20616
.hword -10306
.hword -20676
.hword -10337
.hword -20546
.hword -1283
.hword -5776
.hword -2884
.hword -1441
.hword -11680
.hword -5832
.hword -2914
.hword -11728
.hword -5860
.hword -23520
.hword -11752
.hword -5874
.hword -23536
.hword -11764
.hword -23544
.hword -11408
.hword -5700
.hword -2849
.hword -22944
.hword -11464
.hword -5730
.hword -22992
.hword -11492
.hword -5745
.hword -23016
.hword -11506
.hword -22672
.hword -11332
.hword -5665
.hword -22728
.hword -11362
.hword -22756
.hword -11377
.hword -22596
.hword -11297
.hword -22626
.hword -22641
.hword -11936
.hword -5960
.hword -2978
.hword -11984
.hword -5988
.hword -2993
.hword -24032
.hword -12008
.hword -6002
.hword -24048
.hword -12020
.hword -24056
.hword -24060
.hword -23712
.hword -11848
.hword -5922
.hword -23760
.hword -11876
.hword -5937
.hword -23784
.hword -11890
.hword -23796
.hword -23802
.hword -23624
.hword -11810
.hword -23652
.hword -11825
.hword -23666
.hword -23586
.hword -12112
.hword -6052
.hword -3025
.hword -24288
.hword -12136
.hword -6066
.hword -24304
.hword -12148
.hword -6073
.hword -24312
.hword -12154
.hword -24316
.hword -12157
.hword -24144
.hword -12068
.hword -6033
.hword -24168
.hword -12082
.hword -24180
.hword -12089
.hword -24186
.hword -24189
.hword -12049
.hword -24121
.hword -24416
.hword -12200
.hword -6098
.hword -24432
.hword -12212
.hword -6105
.hword -24440
.hword -12218
.hword -24444
.hword -12221
.hword -24446
.hword -24360
.hword -24372
.hword -24378
.hword -24496
.hword -6121
.hword -12250
.hword -12253
.hword -24511
.hword -6800
.hword -3396
.hword -1697
.hword -13728
.hword -6856
.hword -3426
.hword -13776
.hword -6884
.hword -3441
.hword -27616
.hword -13800
.hword -27632
.hword -13456
.hword -6724
.hword -3361
.hword -27040
.hword -13512
.hword -6754
.hword -27088
.hword -13540
.hword -27112
.hword -27124
.hword -26768
.hword -13380
.hword -6689
.hword -26824
.hword -13410
.hword -26852
.hword -26866
.hword -26692
.hword -13345
.hword -26722
.hword -26657
.hword -4768
.hword -2376
.hword -1186
.hword -4816
.hword -2404
.hword -1201
.hword -9696
.hword -4840
.hword -2418
.hword -9712
.hword -4852
.hword -2425
.hword -9720
.hword -4858
.hword -13984
.hword -6984
.hword -3490
.hword -9376
.hword -14032
.hword -7012
.hword -3505
.hword -9424
.hword -4708
.hword -2353
.hword -18912
.hword -28144
.hword -14068
.hword -7033
.hword -18928
.hword -9460
.hword -18936
.hword -27808
.hword -13896
.hword -6946
.hword -18592
.hword -27856
.hword -13924
.hword -6961
.hword -18640
.hword -9316
.hword -4657
.hword -18664
.hword -27892
.hword -18676
.hword -27720
.hword -13858
.hword -18504
.hword -27748
.hword -13873
.hword -18532
.hword -9265
.hword -18546
.hword -27682
.hword -18466
.hword -27697
.hword -18481
.hword -4944
.hword -2468
.hword -1233
.hword -9952
.hword -4968
.hword -2482
.hword -9968
.hword -4980
.hword -2489
.hword -9976
.hword -4986
.hword -9980
.hword -9982
.hword -14160
.hword -7076
.hword -3537
.hword -9808
.hword -14184
.hword -7090
.hword -19680
.hword -28400
.hword -4914
.hword -7097
.hword -19696
.hword -28408
.hword -14202
.hword -19704
.hword -9850
.hword -14205
.hword -28414
.hword -28240
.hword -14116
.hword -7057
.hword -19536
.hword -28264
.hword -14130
.hword -19560
.hword -9778
.hword -14137
.hword -19572
.hword -28282
.hword -28285
.hword -28196
.hword -14097
.hword -19492
.hword -28210
.hword -19506
.hword -28217
.hword -19513
.hword -19473
.hword -10080
.hword -5032
.hword -2514
.hword -10096
.hword -5044
.hword -2521
.hword -10104
.hword -5050
.hword -10108
.hword -5053
.hword -10110
.hword -10111
.hword -28512
.hword -14248
.hword -7122
.hword -20064
.hword -28528
.hword -14260
.hword -7129
.hword -20080
.hword -10036
.hword -5017
.hword -20088
.hword -28540
.hword -14269
.hword -20092
.hword -10045
.hword -20094
.hword -28456
.hword -14226
.hword -20008
.hword -28468
.hword -14233
.hword -20020
.hword -10009
.hword -20026
.hword -28477
.hword -20029
.hword -19986
.hword -19993
.hword -10160
.hword -5076
.hword -2537
.hword -10168
.hword -5082
.hword -10172
.hword -5085
.hword -10174
.hword -10175
.hword -28592
.hword -14292
.hword -7145
.hword -20272
.hword -28600
.hword -14298
.hword -20280
.hword -10138
.hword -14301
.hword -20284
.hword -28606
.hword -20286
.hword -28607
.hword -28564
.hword -20244
.hword -20250
.hword -20253
.hword -5098
.hword -5101
.hword -10207
.hword -14314
.hword -28636
.hword -20380
.hword -20382
.hword -20383
.hword -15008
.hword -7496
.hword -3746
.hword -15056
.hword -7524
.hword -30176
.hword -15080
.hword -7538
.hword -30192
.hword -15092
.hword -30200
.hword -30204
.hword -29856
.hword -14920
.hword -7458
.hword -29904
.hword -14948
.hword -7473
.hword -29928
.hword -14962
.hword -29940
.hword -29946
.hword -29768
.hword -14882
.hword -29796
.hword -14897
.hword -29810
.hword -29730
.hword -29745
.hword -6480
.hword -3236
.hword -1617
.hword -13024
.hword -6504
.hword -3250
.hword -13040
.hword -6516
.hword -3257
.hword -13048
.hword -6522
.hword -13052
.hword -6525
.hword -15184
.hword -7588
.hword -3793
.hword -12880
.hword -15208
.hword -7602
.hword -25824
.hword -30448
.hword -6450
.hword -7609
.hword -25840
.hword -12916
.hword -15226
.hword -25848
.hword -30460
.hword -25852
.hword -30288
.hword -15140
.hword -7569
.hword -25680
.hword -30312
.hword -6417
.hword -25704
.hword -12850
.hword -15161
.hword -25716
.hword -30330
.hword -25722
.hword -30244
.hword -15121
.hword -25636
.hword -30258
.hword -25650
.hword -30265
.hword -30225
.hword -25617
.hword -4448
.hword -2216
.hword -1106
.hword -4464
.hword -2228
.hword -1113
.hword -4472
.hword -2234
.hword -4476
.hword -2237
.hword -4478
.hword -13152
.hword -6568
.hword -3282
.hword -8800
.hword -13168
.hword -2194
.hword -3289
.hword -8816
.hword -4404
.hword -2201
.hword -8824
.hword -13180
.hword -6589
.hword -8828
.hword -4413
.hword -13183
.hword -30560
.hword -15272
.hword -7634
.hword -26208
.hword -30576
.hword -15284
.hword -7641
.hword -17504
.hword -26224
.hword -13108
.hword -6553
.hword -17520
.hword -8756
.hword -4377
.hword -15293
.hword -17528
.hword -26236
.hword -13117
.hword -17532
.hword -30591
.hword -30504
.hword -15250
.hword -26152
.hword -30516
.hword -15257
.hword -17448
.hword -26164
.hword -13081
.hword -17460
.hword -8729
.hword -30525
.hword -26173
.hword -30482
.hword -26130
.hword -30489
.hword -17426
.hword -26137
.hword -4528
.hword -2260
.hword -1129
.hword -4536
.hword -2266
.hword -4540
.hword -2269
.hword -4542
.hword -4543
.hword -13232
.hword -6612
.hword -3305
.hword -9008
.hword -13240
.hword -2249
.hword -9016
.hword -4506
.hword -6621
.hword -9020
.hword -13246
.hword -9022
.hword -13247
.hword -9023
.hword -30640
.hword -15316
.hword -7657
.hword -26416
.hword -30648
.hword -15322
.hword -17968
.hword -26424
.hword -13210
.hword -15325
.hword -17976
.hword -8986
.hword -30654
.hword -17980
.hword -26430
.hword -30655
.hword -26431
.hword -30612
.hword -15305
.hword -26388
.hword -30618
.hword -17940
.hword -26394
.hword -30621
.hword -17946
.hword -26397
.hword -30601
.hword -17929
.hword -4568
.hword -2282
.hword -4572
.hword -2285
.hword -4574
.hword -4575
.hword -13272
.hword -6634
.hword -9112
.hword -13276
.hword -6637
.hword -9116
.hword -4557
.hword -9118
.hword -13279
.hword -9119
.hword -30680
.hword -15338
.hword -26520
.hword -30684
.hword -15341
.hword -18200
.hword -26524
.hword -13261
.hword -18204
.hword -9101
.hword -30687
.hword -18206
.hword -26527
.hword -18207
.hword -26506
.hword -18186
.hword -18189
.hword -2293
.hword -4591
.hword -6645
.hword -13294
.hword -13295
.hword -30700
.hword -26572
.hword -18316
.hword -30703
.hword -26575
.hword -15696
.hword -31456
.hword -15720
.hword -31472
.hword -15732
.hword -7865
.hword -31480
.hword -15738
.hword -31484
.hword -15741
.hword -31312
.hword -15652
.hword -7825
.hword -31336
.hword -15666
.hword -31348
.hword -15673
.hword -31354
.hword -31357
.hword -31268
.hword -15633
.hword -31282
.hword -31289
.hword -31249
.hword -14688
.hword -7336
.hword -3666
.hword -14704
.hword -7348
.hword -14712
.hword -7354
.hword -14716
.hword -7357
.hword -14718
.hword -31584
.hword -15784
.hword -7890
.hword -29280
.hword -31600
.hword -7314
.hword -7897
.hword -29296
.hword -14644
.hword -7321
.hword -29304
.hword -31612
.hword -15805
.hword -29308
.hword -14653
.hword -31615
.hword -31528
.hword -15762
.hword -29224
.hword -31540
.hword -15769
.hword -29236
.hword -14617
.hword -29242
.hword -31549
.hword -31506
.hword -29202
.hword -31513
.hword -29209
.hword -6320
.hword -3156
.hword -1577
.hword -6328
.hword -3162
.hword -6332
.hword -3165
.hword -6334
.hword -6335
.hword -14768
.hword -7380
.hword -12592
.hword -14776
.hword -7386
.hword -12600
.hword -6298
.hword -7389
.hword -12604
.hword -14782
.hword -12606
.hword -14783
.hword -12607
.hword -31664
.hword -15828
.hword -29488
.hword -31672
.hword -7369
.hword -25136
.hword -29496
.hword -14746
.hword -15837
.hword -25144
.hword -12570
.hword -31678
.hword -25148
.hword -29502
.hword -31679
.hword -29503
.hword -31636
.hword -15817
.hword -29460
.hword -31642
.hword -25108
.hword -29466
.hword -31645
.hword -25114
.hword -29469
.hword -31625
.hword -29449
.hword -25097
.hword -2136
.hword -1066
.hword -2140
.hword -1069
.hword -2142
.hword -2143
.hword -6360
.hword -3178
.hword -4248
.hword -2122
.hword -3181
.hword -4252
.hword -2125
.hword -4254
.hword -6367
.hword -4255
.hword -14808
.hword -7402
.hword -12696
.hword -14812
.hword -7405
.hword -8472
.hword -12700
.hword -6349
.hword -8476
.hword -4237
.hword -14815
.hword -8478
.hword -12703
.hword -8479
.hword -31704
.hword -15850
.hword -29592
.hword -31708
.hword -15853
.hword -25368
.hword -29596
.hword -14797
.hword -16920
.hword -25372
.hword -12685
.hword -31711
.hword -16924
.hword -8461
.hword -29599
.hword -16926
.hword -31690
.hword -29578
.hword -31693
.hword -25354
.hword -29581
.hword -16906
.hword -25357
.hword -16909
.hword -2156
.hword -1077
.hword -2158
.hword -2159
.hword -6380
.hword -3189
.hword -4300
.hword -2149
.hword -4302
.hword -6383
.hword -4303
.hword -14828
.hword -7413
.hword -12748
.hword -14830
.hword -8588
.hword -12750
.hword -14831
.hword -8590
.hword -12751
.hword -8591
.hword -31724
.hword -15861
.hword -29644
.hword -14821
.hword -25484
.hword -29646
.hword -31727
.hword -17164
.hword -25486
.hword -29647
.hword -17166
.hword -25487
.hword -17167
.hword -29637
.hword -17157
.hword -2167
.hword -4326
.hword -4327
.hword -12774
.hword -8646
.hword -8647
.hword -29670
.hword -25542
.hword -17286
.hword -17287
.hword -32096
.hword -32112
.hword -16052
.hword -32120
.hword -32124
.hword -32126
.hword -32040
.hword -32052
.hword -32058
.hword -32061
.hword -32018
.hword -32025
.hword -15536
.hword -15544
.hword -7770
.hword -15548
.hword -7773
.hword -15550
.hword -15551
.hword -32176
.hword -16084
.hword -31024
.hword -15508
.hword -16090
.hword -31032
.hword -15514
.hword -31036
.hword -15517
.hword -31038
.hword -32191
.hword -31039
.hword -32148
.hword -16073
.hword -30996
.hword -15497
.hword -31002
.hword -32157
.hword -31005
.hword -32137
.hword -30985
.hword -7256
.hword -7260
.hword -7262
.hword -7263
.hword -15576
.hword -14488
.hword -7242
.hword -7789
.hword -14492
.hword -7245
.hword -14494
.hword -15583
.hword -14495
.hword -32216
.hword -31128
.hword -32220
.hword -16109
.hword -28952
.hword -31132
.hword -32222
.hword -28956
.hword -31134
.hword -32223
.hword -28958
.hword -31135
.hword -32202
.hword -31114
.hword -32205
.hword -28938
.hword -31117
.hword -28941
.hword -3116
.hword -3118
.hword -3119
.hword -7276
.hword -6220
.hword -3109
.hword -6222
.hword -7279
.hword -6223
.hword -15596
.hword -7797
.hword -14540
.hword -7269
.hword -12428
.hword -14542
.hword -15599
.hword -12430
.hword -14543
.hword -12431
.hword -32236
.hword -16117
.hword -31180
.hword -15589
.hword -29068
.hword -31182
.hword -32239
.hword -24844
.hword -29070
.hword -31183
.hword -24846
.hword -29071
.hword -32229
.hword -31173
.hword -29061
.hword -24837
.hword -1046
.hword -1047
.hword -3126
.hword -2086
.hword -3127
.hword -2087
.hword -7286
.hword -6246
.hword -7287
.hword -4166
.hword -6247
.hword -4167
.hword -15606
.hword -14566
.hword -15607
.hword -12486
.hword -14567
.hword -8326
.hword -1360
.hword -676
.hword -2784
.hword -1384
.hword -690
.hword -2800
.hword -1396
.hword -697
.hword -2808
.hword -1402
.hword -2812
.hword -1405
.hword -2814
.hword -2640
.hword -1316
.hword -657
.hword -5344
.hword -2664
.hword -1330
.hword -5360
.hword -2676
.hword -1337
.hword -5368
.hword -2682
.hword -5372
.hword -2685
.hword -5374
.hword -5200
.hword -2596
.hword -1297
.hword -10464
.hword -5224
.hword -2610
.hword -10480
.hword -5236
.hword -2617
.hword -10488
.hword -5242
.hword -10492
.hword -5245
.hword -10494
.hword -10320
.hword -5156
.hword -2577
.hword -20704
.hword -10344
.hword -5170
.hword -20720
.hword -10356
.hword -5177
.hword -20728
.hword -10362
.hword -20732
.hword -10365
.hword -20560
.hword -10276
.hword -5137
.hword -20584
.hword -10290
.hword -20596
.hword -10297
.hword -20602
.hword -20516
.hword -10257
.hword -20530
.hword -20537
.hword -2912
.hword -1448
.hword -722
.hword -2928
.hword -1460
.hword -729
.hword -2936
.hword -1466
.hword -2940
.hword -1469
.hword -2942
.hword -2943
.hword -5728
.hword -2856
.hword -1426
.hword -5744
.hword -2868
.hword -1433
.hword -5752
.hword -2874
.hword -5756
.hword -2877
.hword -5758
.hword -5759
.hword -11360
.hword -5672
.hword -2834
.hword -11376
.hword -5684
.hword -2841
.hword -11384
.hword -5690
.hword -11388
.hword -5693
.hword -11390
.hword -11391
.hword -22624
.hword -11304
.hword -5650
.hword -22640
.hword -11316
.hword -5657
.hword -22648
.hword -11322
.hword -22652
.hword -11325
.hword -22654
.hword -22568
.hword -11282
.hword -22580
.hword -11289
.hword -22586
.hword -22589
.hword -22546
.hword -22553
.hword -2992
.hword -1492
.hword -745
.hword -3000
.hword -1498
.hword -3004
.hword -1501
.hword -3006
.hword -3007
.hword -5936
.hword -2964
.hword -1481
.hword -5944
.hword -2970
.hword -5948
.hword -2973
.hword -5950
.hword -5951
.hword -11824
.hword -5908
.hword -2953
.hword -11832
.hword -5914
.hword -11836
.hword -5917
.hword -11838
.hword -11839
.hword -23600
.hword -11796
.hword -5897
.hword -23608
.hword -11802
.hword -23612
.hword -11805
.hword -23614
.hword -23615
.hword -23572
.hword -11785
.hword -23578
.hword -23581
.hword -23561
.hword -3032
.hword -1514
.hword -3036
.hword -1517
.hword -3038
.hword -3039
.hword -6040
.hword -3018
.hword -6044
.hword -3021
.hword -6046
.hword -6047
.hword -12056
.hword -6026
.hword -12060
.hword -6029
.hword -12062
.hword -12063
.hword -24088
.hword -12042
.hword -24092
.hword -12045
.hword -24094
.hword -24095
.hword -24074
.hword -24077
.hword -3052
.hword -1525
.hword -3054
.hword -3055
.hword -6092
.hword -3045
.hword -6094
.hword -6095
.hword -12172
.hword -6085
.hword -12174
.hword -12175
.hword -24332
.hword -12165
.hword -24334
.hword -24335
.hword -3062
.hword -3063
.hword -6118
.hword -6119
.hword -12230
.hword -12231
.hword -3424
.hword -1704
.hword -850
.hword -3440
.hword -1716
.hword -857
.hword -3448
.hword -1722
.hword -3452
.hword -1725
.hword -3454
.hword -3455
.hword -6752
.hword -3368
.hword -1682
.hword -6768
.hword -3380
.hword -1689
.hword -6776
.hword -3386
.hword -6780
.hword -3389
.hword -6782
.hword -6783
.hword -13408
.hword -6696
.hword -3346
.hword -13424
.hword -6708
.hword -3353
.hword -13432
.hword -6714
.hword -13436
.hword -6717
.hword -13438
.hword -13439
.hword -26720
.hword -13352
.hword -6674
.hword -26736
.hword -13364
.hword -6681
.hword -26744
.hword -13370
.hword -26748
.hword -13373
.hword -26750
.hword -26664
.hword -13330
.hword -26676
.hword -13337
.hword -26682
.hword -26685
.hword -26642
.hword -26649
.hword -1200
.hword -596
.hword -18952
.hword -1208
.hword -602
.hword -19204
.hword -1212
.hword -605
.hword -19330
.hword -1214
.hword -1215
.hword -3504
.hword -1748
.hword -873
.hword -2352
.hword -3512
.hword -585
.hword -2360
.hword -1178
.hword -1757
.hword -2364
.hword -3518
.hword -2366
.hword -3519
.hword -2367
.hword -6960
.hword -3476
.hword -1737
.hword -4656
.hword -6968
.hword -3482
.hword -4664
.hword -2330
.hword -3485
.hword -4668
.hword -6974
.hword -4670
.hword -6975
.hword -4671
.hword -13872
.hword -6932
.hword -3465
.hword -9264
.hword -13880
.hword -6938
.hword -9272
.hword -4634
.hword -6941
.hword -9276
.hword -13886
.hword -9278
.hword -13887
.hword -9279
.hword -27696
.hword -13844
.hword -6921
.hword -18480
.hword -27704
.hword -13850
.hword -18488
.hword -9242
.hword -13853
.hword -18492
.hword -27710
.hword -18494
.hword -27711
.hword -27668
.hword -13833
.hword -18452
.hword -27674
.hword -18458
.hword -27677
.hword -18461
.hword -27657
.hword -1240
.hword -618
.hword -19716
.hword -1244
.hword -621
.hword -19842
.hword -1246
.hword -19905
.hword -1247
.hword -3544
.hword -1770
.hword -2456
.hword -3548
.hword -1773
.hword -2460
.hword -1229
.hword -2462
.hword -3551
.hword -2463
.hword -7064
.hword -3530
.hword -4888
.hword -7068
.hword -3533
.hword -4892
.hword -2445
.hword -4894
.hword -7071
.hword -4895
.hword -14104
.hword -7050
.hword -9752
.hword -14108
.hword -7053
.hword -9756
.hword -4877
.hword -9758
.hword -14111
.hword -9759
.hword -28184
.hword -14090
.hword -19480
.hword -28188
.hword -14093
.hword -19484
.hword -9741
.hword -19486
.hword -28191
.hword -19487
.hword -28170
.hword -19466
.hword -28173
.hword -19469
.hword -1260
.hword -629
.hword -20098
.hword -1262
.hword -20161
.hword -1263
.hword -3564
.hword -1781
.hword -2508
.hword -1253
.hword -2510
.hword -3567
.hword -2511
.hword -7116
.hword -3557
.hword -5004
.hword -7118
.hword -5006
.hword -7119
.hword -5007
.hword -14220
.hword -7109
.hword -9996
.hword -4997
.hword -9998
.hword -14223
.hword -9999
.hword -28428
.hword -14213
.hword -19980
.hword -28430
.hword -19982
.hword -28431
.hword -19983
.hword -28421
.hword -19973
.hword -1270
.hword -20289
.hword -1271
.hword -3574
.hword -2534
.hword -3575
.hword -2535
.hword -7142
.hword -5062
.hword -7143
.hword -5063
.hword -14278
.hword -10118
.hword -14279
.hword -10119
.hword -28550
.hword -20230
.hword -28551
.hword -20231
.hword -1275
.hword -3579
.hword -2547
.hword -7155
.hword -5091
.hword -14307
.hword -10179
.hword -3760
.hword -1876
.hword -937
.hword -3768
.hword -1882
.hword -3772
.hword -1885
.hword -3774
.hword -3775
.hword -7472
.hword -3732
.hword -1865
.hword -7480
.hword -3738
.hword -7484
.hword -3741
.hword -7486
.hword -7487
.hword -14896
.hword -7444
.hword -3721
.hword -14904
.hword -7450
.hword -14908
.hword -7453
.hword -14910
.hword -14911
.hword -29744
.hword -14868
.hword -7433
.hword -29752
.hword -14874
.hword -29756
.hword -14877
.hword -29758
.hword -29759
.hword -29716
.hword -14857
.hword -29722
.hword -29725
.hword -29705
.hword -1624
.hword -810
.hword -25860
.hword -1628
.hword -813
.hword -25986
.hword -1630
.hword -26049
.hword -1631
.hword -3800
.hword -1898
.hword -3224
.hword -3804
.hword -1901
.hword -3228
.hword -1613
.hword -3230
.hword -3807
.hword -3231
.hword -7576
.hword -3786
.hword -6424
.hword -7580
.hword -3789
.hword -6428
.hword -3213
.hword -6430
.hword -7583
.hword -6431
.hword -15128
.hword -7562
.hword -12824
.hword -15132
.hword -7565
.hword -12828
.hword -6413
.hword -12830
.hword -15135
.hword -12831
.hword -30232
.hword -15114
.hword -25624
.hword -30236
.hword -15117
.hword -25628
.hword -12813
.hword -25630
.hword -30239
.hword -25631
.hword -30218
.hword -25610
.hword -30221
.hword -25613
.hword -556
.hword -17672
.hword -8834
.hword -558
.hword -17796
.hword -8897
.hword -559
.hword -17858
.hword -17889
.hword -1644
.hword -821
.hword -26242
.hword -1100
.hword -549
.hword -17538
.hword -26305
.hword -1102
.hword -1647
.hword -17601
.hword -1103
.hword -3820
.hword -1909
.hword -3276
.hword -3822
.hword -2188
.hword -1093
.hword -3823
.hword -2190
.hword -3279
.hword -2191
.hword -7628
.hword -3813
.hword -6540
.hword -7630
.hword -4364
.hword -6542
.hword -7631
.hword -4366
.hword -6543
.hword -4367
.hword -15244
.hword -7621
.hword -13068
.hword -15246
.hword -8716
.hword -13070
.hword -15247
.hword -8718
.hword -13071
.hword -8719
.hword -30476
.hword -15237
.hword -26124
.hword -30478
.hword -17420
.hword -26126
.hword -30479
.hword -17422
.hword -26127
.hword -17423
.hword -30469
.hword -26117
.hword -566
.hword -18052
.hword -9025
.hword -567
.hword -18114
.hword -18145
.hword -1654
.hword -26433
.hword -1126
.hword -1655
.hword -17985
.hword -1127
.hword -3830
.hword -3302
.hword -3831
.hword -2246
.hword -3303
.hword -2247
.hword -7654
.hword -6598
.hword -7655
.hword -4486
.hword -6599
.hword -4487
.hword -15302
.hword -13190
.hword -15303
.hword -8966
.hword -13191
.hword -8967
.hword -30598
.hword -26374
.hword -30599
.hword -17926
.hword -26375
.hword -17927
.hword -571
.hword -18242
.hword -18273
.hword -1659
.hword -1139
.hword -3835
.hword -3315
.hword -2275
.hword -7667
.hword -6627
.hword -4547
.hword -15331
.hword -13251
.hword -9091
.hword -30659
.hword -26499
.hword -18179
.hword -18337
.hword -3928
.hword -1962
.hword -3932
.hword -1965
.hword -3934
.hword -3935
.hword -7832
.hword -3914
.hword -7836
.hword -3917
.hword -7838
.hword -7839
.hword -15640
.hword -7818
.hword -15644
.hword -7821
.hword -15646
.hword -15647
.hword -31256
.hword -15626
.hword -31260
.hword -15629
.hword -31262
.hword -31263
.hword -31242
.hword -31245
.hword -1836
.hword -917
.hword -29314
.hword -1838
.hword -29377
.hword -1839
.hword -3948
.hword -1973
.hword -3660
.hword -3950
.hword -3662
.hword -3951
.hword -3663
.hword -7884
.hword -3941
.hword -7308
.hword -7886
.hword -7310
.hword -7887
.hword -7311
.hword -15756
.hword -7877
.hword -14604
.hword -15758
.hword -14606
.hword -15759
.hword -14607
.hword -31500
.hword -15749
.hword -29196
.hword -31502
.hword -29198
.hword -31503
.hword -29199
.hword -31493
.hword -29189
.hword -790
.hword -25220
.hword -12609
.hword -791
.hword -25282
.hword -25313
.hword -1846
.hword -29505
.hword -1574
.hword -1847
.hword -25153
.hword -1575
.hword -3958
.hword -3686
.hword -3959
.hword -3142
.hword -3687
.hword -3143
.hword -7910
.hword -7366
.hword -7911
.hword -6278
.hword -7367
.hword -6279
.hword -15814
.hword -14726
.hword -15815
.hword -12550
.hword -14727
.hword -12551
.hword -31622
.hword -29446
.hword -31623
.hword -25094
.hword -29447
.hword -25095
.hword -17032
.hword -8514
.hword -17092
.hword -8545
.hword -17122
.hword -17137
.hword -795
.hword -25410
.hword -531
.hword -16962
.hword -25441
.hword -16993
.hword -1851
.hword -1587
.hword -1059
.hword -3963
.hword -3699
.hword -3171
.hword -2115
.hword -7923
.hword -7395
.hword -6339
.hword -4227
.hword -15843
.hword -14787
.hword -12675
.hword -8451
.hword -31683
.hword -29571
.hword -25347
.hword -17220
.hword -8609
.hword -17250
.hword -17265
.hword -25505
.hword -17185
.hword -17314
.hword -17329
.hword -17361
.hword -4012
.hword -4014
.hword -4015
.hword -8012
.hword -4005
.hword -8014
.hword -8015
.hword -16012
.hword -8005
.hword -16014
.hword -16015
.hword -32012
.hword -16005
.hword -32014
.hword -32015
.hword -32005
.hword -1942
.hword -31041
.hword -1943
.hword -4022
.hword -3878
.hword -4023
.hword -3879
.hword -8038
.hword -7750
.hword -8039
.hword -7751
.hword -16070
.hword -15494
.hword -16071
.hword -15495
.hword -32134
.hword -30982
.hword -32135
.hword -30983
.hword -907
.hword -28994
.hword -29025
.hword -1947
.hword -1811
.hword -4027
.hword -3891
.hword -3619
.hword -8051
.hword -7779
.hword -7235
.hword -16099
.hword -15555
.hword -14467
.hword -32195
.hword -31107
.hword -28931
.hword -24900
.hword -12449
.hword -24930
.hword -24945
.hword -29089
.hword -24865
.hword -16712
.hword -8354
.hword -16740
.hword -8369
.hword -16754
.hword -16761
.hword -24994
.hword -16674
.hword -25009
.hword -16689
.hword -16804
.hword -8401
.hword -16818
.hword -16825
.hword -25041
.hword -16785
.hword -16850
.hword -16857
.hword -16873
.hword -8102
.hword -8103
.hword -16198
.hword -16199
.hword -32390
.hword -32391
.hword -3987
.hword -8115
.hword -7971
.hword -16227
.hword -15939
.hword -32451
.hword -31875
.hword -30881
.hword -28834
.hword -28849
.hword -24740
.hword -12369
.hword -24754
.hword -24761
.hword -28881
.hword -24721
.hword -16552
.hword -8274
.hword -16564
.hword -8281
.hword -16570
.hword -16573
.hword -24786
.hword -16530
.hword -24793
.hword -16537
.hword -16596
.hword -8297
.hword -16602
.hword -16605
.hword -24809
.hword -16585
.hword -16618
.hword -16621
.hword -30801
.hword -28754
.hword -28761
.hword -24660
.hword -12329
.hword -24666
.hword -24669
.hword -28777
.hword -24649
.hword -24682
.hword -24685
.hword -10768
.hword -5380
.hword -22048
.hword -11016
.hword -5506
.hword -22288
.hword -11140
.hword -5569
.hword -22408
.hword -11202
.hword -22468
.hword -664
.hword -21008
.hword -10500
.hword -668
.hword -21256
.hword -10626
.hword -670
.hword -21380
.hword -10689
.hword -671
.hword -21442
.hword -1304
.hword -650
.hword -20740
.hword -1308
.hword -653
.hword -20866
.hword -1310
.hword -20929
.hword -1311
.hword -2584
.hword -1290
.hword -2588
.hword -1293
.hword -2590
.hword -2591
.hword -5144
.hword -2570
.hword -5148
.hword -2573
.hword -5150
.hword -5151
.hword -10264
.hword -5130
.hword -10268
.hword -5133
.hword -10270
.hword -23072
.hword -11528
.hword -5762
.hword -23312
.hword -11652
.hword -5825
.hword -23432
.hword -11714
.hword -23492
.hword -11745
.hword -23522
.hword -716
.hword -22792
.hword -11394
.hword -718
.hword -22916
.hword -11457
.hword -719
.hword -22978
.hword -23009
.hword -1420
.hword -709
.hword -22658
.hword -1422
.hword -22721
.hword -1423
.hword -2828
.hword -1413
.hword -2830
.hword -2831
.hword -5644
.hword -2821
.hword -5646
.hword -5647
.hword -11276
.hword -5637
.hword -11278
.hword -11279
.hword -23824
.hword -11908
.hword -5953
.hword -23944
.hword -11970
.hword -24004
.hword -12001
.hword -24034
.hword -24049
.hword -742
.hword -23684
.hword -11841
.hword -743
.hword -23746
.hword -23777
.hword -1478
.hword -23617
.hword -1479
.hword -2950
.hword -2951
.hword -5894
.hword -5895
.hword -11782
.hword -11783
.hword -24200
.hword -12098
.hword -24260
.hword -12129
.hword -24290
.hword -24305
.hword -755
.hword -24130
.hword -24161
.hword -1507
.hword -3011
.hword -6019
.hword -24388
.hword -12193
.hword -24418
.hword -24433
.hword -24353
.hword -24482
.hword -24497
.hword -27168
.hword -13576
.hword -6786
.hword -27408
.hword -13700
.hword -6849
.hword -27528
.hword -13762
.hword -27588
.hword -13793
.hword -27618
.hword -844
.hword -26888
.hword -13442
.hword -846
.hword -27012
.hword -13505
.hword -847
.hword -27074
.hword -27105
.hword -1676
.hword -837
.hword -26754
.hword -1678
.hword -26817
.hword -1679
.hword -3340
.hword -1669
.hword -3342
.hword -3343
.hword -6668
.hword -3333
.hword -6670
.hword -6671
.hword -13324
.hword -6661
.hword -13326
.hword -13327
.hword -9488
.hword -4740
.hword -2369
.hword -19232
.hword -9608
.hword -4802
.hword -19344
.hword -9668
.hword -4833
.hword -19400
.hword -9698
.hword -19428
.hword -9713
.hword -19442
.hword -27920
.hword -13956
.hword -6977
.hword -18704
.hword -28040
.hword -14018
.hword -18824
.hword -9410
.hword -14049
.hword -18884
.hword -28130
.hword -18914
.hword -28145
.hword -18929
.hword -870
.hword -27780
.hword -13889
.hword -582
.hword -871
.hword -18564
.hword -27842
.hword -583
.hword -18626
.hword -27873
.hword -18657
.hword -1734
.hword -27713
.hword -1158
.hword -1735
.hword -18497
.hword -1159
.hword -3462
.hword -2310
.hword -3463
.hword -2311
.hword -6918
.hword -4614
.hword -6919
.hword -4615
.hword -13830
.hword -13831
.hword -19744
.hword -9864
.hword -4930
.hword -19856
.hword -9924
.hword -4961
.hword -19912
.hword -9954
.hword -19940
.hword -9969
.hword -19954
.hword -19961
.hword -28296
.hword -14146
.hword -19592
.hword -28356
.hword -14177
.hword -19652
.hword -9825
.hword -19682
.hword -28401
.hword -19697
.hword -883
.hword -28226
.hword -611
.hword -19522
.hword -28257
.hword -19553
.hword -1763
.hword -1219
.hword -3523
.hword -2435
.hword -7043
.hword -4867
.hword -14083
.hword -20112
.hword -10052
.hword -5025
.hword -20168
.hword -10082
.hword -20196
.hword -10097
.hword -20210
.hword -20217
.hword -28484
.hword -14241
.hword -20036
.hword -28514
.hword -20066
.hword -28529
.hword -20081
.hword -28449
.hword -20001
.hword -20296
.hword -10146
.hword -20324
.hword -10161
.hword -20338
.hword -20345
.hword -28578
.hword -20258
.hword -28593
.hword -20273
.hword -20388
.hword -10193
.hword -20402
.hword -20409
.hword -28625
.hword -20369
.hword -20434
.hword -20441
.hword -29968
.hword -14980
.hword -7489
.hword -30088
.hword -15042
.hword -30148
.hword -15073
.hword -30178
.hword -30193
.hword -934
.hword -29828
.hword -14913
.hword -935
.hword -29890
.hword -29921
.hword -1862
.hword -29761
.hword -1863
.hword -3718
.hword -3719
.hword -7430
.hword -7431
.hword -14854
.hword -14855
.hword -25888
.hword -12936
.hword -6466
.hword -26000
.hword -12996
.hword -6497
.hword -26056
.hword -13026
.hword -26084
.hword -13041
.hword -26098
.hword -26105
.hword -30344
.hword -15170
.hword -25736
.hword -30404
.hword -15201
.hword -25796
.hword -12897
.hword -25826
.hword -30449
.hword -25841
.hword -947
.hword -30274
.hword -803
.hword -25666
.hword -30305
.hword -25697
.hword -1891
.hword -1603
.hword -3779
.hword -3203
.hword -7555
.hword -6403
.hword -15107
.hword -8848
.hword -4420
.hword -2209
.hword -17824
.hword -8904
.hword -4450
.hword -17872
.hword -8932
.hword -4465
.hword -17896
.hword -8946
.hword -17908
.hword -8953
.hword -17914
.hword -26256
.hword -13124
.hword -6561
.hword -17552
.hword -26312
.hword -13154
.hword -17608
.hword -8802
.hword -13169
.hword -17636
.hword -26354
.hword -17650
.hword -26361
.hword -17657
.hword -30532
.hword -15265
.hword -26180
.hword -30562
.hword -17476
.hword -26210
.hword -30577
.hword -17506
.hword -26225
.hword -17521
.hword -30497
.hword -26145
.hword -17441
.hword -18080
.hword -9032
.hword -4514
.hword -18128
.hword -9060
.hword -4529
.hword -18152
.hword -9074
.hword -18164
.hword -9081
.hword -18170
.hword -18173
.hword -26440
.hword -13218
.hword -17992
.hword -26468
.hword -13233
.hword -18020
.hword -9009
.hword -18034
.hword -26489
.hword -18041
.hword -30626
.hword -26402
.hword -30641
.hword -17954
.hword -26417
.hword -17969
.hword -18256
.hword -9124
.hword -4561
.hword -18280
.hword -9138
.hword -18292
.hword -9145
.hword -18298
.hword -18301
.hword -26532
.hword -13265
.hword -18212
.hword -26546
.hword -18226
.hword -26553
.hword -18233
.hword -30673
.hword -26513
.hword -18193
.hword -18344
.hword -9170
.hword -18356
.hword -9177
.hword -18362
.hword -18365
.hword -26578
.hword -18322
.hword -26585
.hword -18329
.hword -18388
.hword -9193
.hword -18394
.hword -18397
.hword -26601
.hword -18377
.hword -18410
.hword -18413
.hword -31368
.hword -15682
.hword -31428
.hword -15713
.hword -31458
.hword -31473
.hword -31298
.hword -31329
.hword -1955
.hword -3907
.hword -7811
.hword -15619
.hword -29328
.hword -14660
.hword -7329
.hword -29384
.hword -14690
.hword -29412
.hword -14705
.hword -29426
.hword -29433
.hword -31556
.hword -15777
.hword -29252
.hword -31586
.hword -29282
.hword -31601
.hword -29297
.hword -31521
.hword -29217
.hword -25248
.hword -12616
.hword -6306
.hword -25296
.hword -12644
.hword -6321
.hword -25320
.hword -12658
.hword -25332
.hword -12665
.hword -25338
.hword -25341
.hword -29512
.hword -14754
.hword -25160
.hword -29540
.hword -14769
.hword -25188
.hword -29554
.hword -25202
.hword -29561
.hword -25209
.hword -31650
.hword -29474
.hword -31665
.hword -25122
.hword -29489
.hword -25137
.hword -8528
.hword -4260
.hword -2129
.hword -17120
.hword -8552
.hword -4274
.hword -17136
.hword -8564
.hword -4281
.hword -17144
.hword -8570
.hword -17148
.hword -8573
.hword -17150
.hword -25424
.hword -12708
.hword -6353
.hword -16976
.hword -25448
.hword -12722
.hword -17000
.hword -8498
.hword -12729
.hword -17012
.hword -25466
.hword -17018
.hword -25469
.hword -17021
.hword -29604
.hword -14801
.hword -25380
.hword -29618
.hword -16932
.hword -25394
.hword -29625
.hword -16946
.hword -25401
.hword -16953
.hword -31697
.hword -29585
.hword -25361
.hword -16913
.hword -17248
.hword -8616
.hword -4306
.hword -17264
.hword -8628
.hword -4313
.hword -17272
.hword -8634
.hword -17276
.hword -8637
.hword -17278
.hword -17279
.hword -25512
.hword -12754
.hword -17192
.hword -25524
.hword -12761
.hword -17204
.hword -8601
.hword -17210
.hword -25533
.hword -17213
.hword -29650
.hword -25490
.hword -29657
.hword -17170
.hword -25497
.hword -17177
.hword -17328
.hword -8660
.hword -4329
.hword -17336
.hword -8666
.hword -17340
.hword -8669
.hword -17342
.hword -17343
.hword -25556
.hword -12777
.hword -17300
.hword -25562
.hword -17306
.hword -25565
.hword -17309
.hword -29673
.hword -25545
.hword -17289
.hword -17368
.hword -8682
.hword -17372
.hword -8685
.hword -17374
.hword -17375
.hword -25578
.hword -17354
.hword -25581
.hword -17357
.hword -17388
.hword -8693
.hword -17390
.hword -17391
.hword -25589
.hword -17381
.hword -32068
.hword -16033
.hword -32098
.hword -32113
.hword -32033
.hword -31048
.hword -15522
.hword -31076
.hword -15537
.hword -31090
.hword -31097
.hword -32162
.hword -31010
.hword -32177
.hword -31025
.hword -29008
.hword -14500
.hword -7249
.hword -29032
.hword -14514
.hword -29044
.hword -14521
.hword -29050
.hword -29053
.hword -31140
.hword -15569
.hword -28964
.hword -31154
.hword -28978
.hword -31161
.hword -28985
.hword -32209
.hword -31121
.hword -28945
.hword -24928
.hword -12456
.hword -6226
.hword -24944
.hword -12468
.hword -6233
.hword -24952
.hword -12474
.hword -24956
.hword -12477
.hword -24958
.hword -24959
.hword -29096
.hword -14546
.hword -24872
.hword -29108
.hword -14553
.hword -24884
.hword -12441
.hword -24890
.hword -29117
.hword -24893
.hword -31186
.hword -29074
.hword -31193
.hword -24850
.hword -29081
.hword -24857
.hword -8368
.hword -4180
.hword -2089
.hword -8376
.hword -4186
.hword -8380
.hword -4189
.hword -8382
.hword -8383
.hword -25008
.hword -12500
.hword -6249
.hword -16688
.hword -25016
.hword -12506
.hword -16696
.hword -8346
.hword -12509
.hword -16700
.hword -25022
.hword -16702
.hword -25023
.hword -16703
.hword -29140
.hword -14569
.hword -24980
.hword -29146
.hword -16660
.hword -24986
.hword -29149
.hword -16666
.hword -24989
.hword -16669
.hword -31209
.hword -29129
.hword -24969
.hword -16649
.hword -8408
.hword -4202
.hword -8412
.hword -4205
.hword -8414
.hword -8415
.hword -25048
.hword -12522
.hword -16792
.hword -25052
.hword -12525
.hword -16796
.hword -8397
.hword -16798
.hword -25055
.hword -16799
.hword -29162
.hword -25034
.hword -29165
.hword -16778
.hword -25037
.hword -16781
.hword -8428
.hword -4213
.hword -8430
.hword -8431
.hword -25068
.hword -12533
.hword -16844
.hword -25070
.hword -16846
.hword -25071
.hword -16847
.hword -29173
.hword -25061
.hword -16837
.hword -8438
.hword -8439
.hword -25078
.hword -16870
.hword -25079
.hword -16871
.hword -32418
.hword -32433
.hword -31908
.hword -15953
.hword -31922
.hword -31929
.hword -32465
.hword -31889
.hword -30888
.hword -15442
.hword -30900
.hword -15449
.hword -30906
.hword -30909
.hword -31954
.hword -30866
.hword -31961
.hword -30873
.hword -28848
.hword -14420
.hword -7209
.hword -28856
.hword -14426
.hword -28860
.hword -14429
.hword -28862
.hword -28863
.hword -30932
.hword -15465
.hword -28820
.hword -14409
.hword -28826
.hword -30941
.hword -28829
.hword -31977
.hword -30921
.hword -28809
.hword -12376
.hword -6186
.hword -12380
.hword -6189
.hword -12382
.hword -12383
.hword -28888
.hword -14442
.hword -24728
.hword -12362
.hword -14445
.hword -24732
.hword -28894
.hword -24734
.hword -28895
.hword -24735
.hword -30954
.hword -28874
.hword -30957
.hword -24714
.hword -28877
.hword -24717
.hword -4140
.hword -2069
.hword -4142
.hword -4143
.hword -12396
.hword -6197
.hword -8268
.hword -12398
.hword -8270
.hword -12399
.hword -8271
.hword -28908
.hword -14453
.hword -24780
.hword -28910
.hword -16524
.hword -24782
.hword -28911
.hword -16526
.hword -24783
.hword -16527
.hword -30965
.hword -28901
.hword -24773
.hword -16517
.hword -4150
.hword -4151
.hword -12406
.hword -8294
.hword -12407
.hword -8295
.hword -28918
.hword -24806
.hword -28919
.hword -16582
.hword -24807
.hword -16583
.hword -4155
.hword -12411
.hword -8307
.hword -28923
.hword -24819
.hword -16611
.hword -32338
.hword -32345
.hword -31828
.hword -15913
.hword -31834
.hword -31837
.hword -32361
.hword -31817
.hword -30808
.hword -15402
.hword -30812
.hword -15405
.hword -30814
.hword -30815
.hword -31850
.hword -30794
.hword -31853
.hword -30797
.hword -14380
.hword -7189
.hword -14382
.hword -14383
.hword -30828
.hword -15413
.hword -28748
.hword -14373
.hword -28750
.hword -30831
.hword -28751
.hword -31861
.hword -30821
.hword -28741
.hword -6166
.hword -6167
.hword -14390
.hword -12326
.hword -14391
.hword -12327
.hword -30838
.hword -28774
.hword -30839
.hword -24646
.hword -28775
.hword -24647
.hword -6171
.hword -14395
.hword -12339
.hword -30843
.hword -28787
.hword -24675
.hword -32298
.hword -32301
.hword -31788
.hword -15893
.hword -31790
.hword -31791
.hword -32309
.hword -31781
.hword -15382
.hword -15383
.hword -31798
.hword -30758
.hword -31799
.hword -30759
.hword -7179
.align 3
.type Microcoeffs, %object
.size Microcoeffs, 688
Microcoeffs:
.hword 76
.hword 925
.hword 537
.hword 597
.hword 784
.hword 691
.hword 437
.hword 237
.hword 308
.hword 436
.hword 284
.hword 646
.hword 653
.hword 428
.hword 379
.hword 567
.hword 527
.hword 622
.hword 257
.hword 289
.hword 362
.hword 501
.hword 441
.hword 205
.hword 377
.hword 457
.hword 64
.hword 244
.hword 826
.hword 841
.hword 818
.hword 691
.hword 266
.hword 612
.hword 462
.hword 45
.hword 565
.hword 708
.hword 825
.hword 213
.hword 15
.hword 68
.hword 327
.hword 602
.hword 904
.hword 597
.hword 864
.hword 757
.hword 201
.hword 646
.hword 684
.hword 347
.hword 127
.hword 388
.hword 7
.hword 69
.hword 851
.hword 764
.hword 713
.hword 342
.hword 384
.hword 606
.hword 583
.hword 322
.hword 592
.hword 678
.hword 204
.hword 184
.hword 394
.hword 692
.hword 669
.hword 677
.hword 154
.hword 187
.hword 241
.hword 286
.hword 274
.hword 354
.hword 478
.hword 915
.hword 691
.hword 833
.hword 105
.hword 215
.hword 460
.hword 829
.hword 476
.hword 109
.hword 904
.hword 664
.hword 230
.hword 5
.hword 80
.hword 74
.hword 550
.hword 575
.hword 147
.hword 868
.hword 642
.hword 274
.hword 562
.hword 232
.hword 755
.hword 599
.hword 524
.hword 801
.hword 132
.hword 295
.hword 116
.hword 442
.hword 428
.hword 295
.hword 42
.hword 176
.hword 65
.hword 279
.hword 577
.hword 315
.hword 624
.hword 37
.hword 855
.hword 275
.hword 739
.hword 120
.hword 297
.hword 312
.hword 202
.hword 560
.hword 321
.hword 233
.hword 756
.hword 760
.hword 573
.hword 108
.hword 519
.hword 781
.hword 534
.hword 129
.hword 425
.hword 681
.hword 553
.hword 422
.hword 716
.hword 763
.hword 693
.hword 624
.hword 610
.hword 310
.hword 691
.hword 347
.hword 165
.hword 193
.hword 259
.hword 568
.hword 443
.hword 284
.hword 887
.hword 544
.hword 788
.hword 93
.hword 477
.hword 760
.hword 331
.hword 608
.hword 269
.hword 121
.hword 159
.hword 830
.hword 446
.hword 893
.hword 699
.hword 245
.hword 441
.hword 454
.hword 325
.hword 858
.hword 131
.hword 847
.hword 764
.hword 169
.hword 361
.hword 575
.hword 922
.hword 525
.hword 176
.hword 586
.hword 640
.hword 321
.hword 536
.hword 742
.hword 677
.hword 742
.hword 687
.hword 284
.hword 193
.hword 517
.hword 273
.hword 494
.hword 263
.hword 147
.hword 593
.hword 800
.hword 571
.hword 320
.hword 803
.hword 133
.hword 231
.hword 390
.hword 685
.hword 330
.hword 63
.hword 410
.hword 234
.hword 228
.hword 438
.hword 848
.hword 133
.hword 703
.hword 529
.hword 721
.hword 788
.hword 322
.hword 280
.hword 159
.hword 738
.hword 586
.hword 388
.hword 684
.hword 445
.hword 680
.hword 245
.hword 595
.hword 614
.hword 233
.hword 812
.hword 32
.hword 284
.hword 658
.hword 745
.hword 229
.hword 95
.hword 689
.hword 920
.hword 771
.hword 554
.hword 289
.hword 231
.hword 125
.hword 117
.hword 518
.hword 476
.hword 36
.hword 659
.hword 848
.hword 678
.hword 64
.hword 764
.hword 840
.hword 157
.hword 915
.hword 470
.hword 876
.hword 109
.hword 25
.hword 632
.hword 405
.hword 417
.hword 436
.hword 714
.hword 60
.hword 376
.hword 97
.hword 413
.hword 706
.hword 446
.hword 21
.hword 3
.hword 773
.hword 569
.hword 267
.hword 272
.hword 213
.hword 31
.hword 560
.hword 231
.hword 758
.hword 103
.hword 271
.hword 572
.hword 436
.hword 339
.hword 730
.hword 82
.hword 285
.hword 923
.hword 797
.hword 576
.hword 875
.hword 156
.hword 706
.hword 63
.hword 81
.hword 257
.hword 874
.hword 411
.hword 416
.hword 778
.hword 50
.hword 205
.hword 303
.hword 188
.hword 535
.hword 909
.hword 155
.hword 637
.hword 230
.hword 534
.hword 96
.hword 575
.hword 102
.hword 264
.hword 233
.hword 919
.hword 593
.hword 865
.hword 26
.hword 579
.hword 623
.hword 766
.hword 146
.hword 10
.hword 739
.hword 246
.hword 127
.hword 71
.hword 244
.hword 211
.hword 477
.hword 920
.hword 876
.hword 427
.hword 820
.hword 718
.hword 435
.align 3
.type MicroVariants, %object
.size MicroVariants, 340
MicroVariants:
.hword 1
.hword 1
.hword 1
.hword 1
.hword 1
.hword 1
.hword 2
.hword 2
.hword 2
.hword 2
.hword 2
.hword 2
.hword 2
.hword 3
.hword 3
.hword 3
.hword 3
.hword 3
.hword 3
.hword 3
.hword 3
.hword 3
.hword 3
.hword 4
.hword 4
.hword 4
.hword 4
.hword 4
.hword 4
.hword 4
.hword 4
.hword 4
.hword 4
.hword 4
.hword 11
.hword 14
.hword 17
.hword 20
.hword 24
.hword 28
.hword 8
.hword 11
.hword 14
.hword 17
.hword 20
.hword 23
.hword 26
.hword 6
.hword 8
.hword 10
.hword 12
.hword 15
.hword 20
.hword 26
.hword 32
.hword 38
.hword 44
.hword 4
.hword 6
.hword 8
.hword 10
.hword 12
.hword 15
.hword 20
.hword 26
.hword 32
.hword 38
.hword 44
.hword 7
.hword 7
.hword 7
.hword 8
.hword 8
.hword 8
.hword 8
.hword 9
.hword 9
.hword 10
.hword 11
.hword 13
.hword 15
.hword 12
.hword 14
.hword 16
.hword 18
.hword 21
.hword 26
.hword 32
.hword 38
.hword 44
.hword 50
.hword 8
.hword 12
.hword 14
.hword 16
.hword 18
.hword 21
.hword 26
.hword 32
.hword 38
.hword 44
.hword 50
.hword 0
.hword 0
.hword 0
.hword 7
.hword 7
.hword 7
.hword 7
.hword 15
.hword 15
.hword 24
.hword 34
.hword 57
.hword 84
.hword 45
.hword 70
.hword 99
.hword 115
.hword 133
.hword 154
.hword 180
.hword 212
.hword 250
.hword 294
.hword 7
.hword 45
.hword 70
.hword 99
.hword 115
.hword 133
.hword 154
.hword 180
.hword 212
.hword 250
.hword 294
.zero 68
.align 3
.type RAPTable, %object
.size RAPTable, 136
RAPTable:
.string "\001\b$\023\t\031\001\001\b$\023\t\033\001\007\017\031%\001\001\025\017\001/\001\007\017\031%\001\001\025\017\001"
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\001\007\017\031%\021\t\035\037\031\023\001\007\017\031%\021\t\035\037\031\t\b$\023\021!\001\t\b$\023\021#\001\007\017\031%!\021%/1+\001\007\017\031%!\021%/1"
.string "\003\006"
.string "\006"
.string ""
.string ""
.string "\003\006"
.string "\006\006"
.string ""
.string "\006"
.string ""
.string ""
.string ""
.string "\006\006"
.string "\003"
.string ""
.string "\006"
.string ""
.string ""
.string ""
.string "\006\006"
.align 3
.type rap_side, %object
.size rap_side, 104
rap_side:
.hword 802
.hword 930
.hword 946
.hword 818
.hword 882
.hword 890
.hword 826
.hword 954
.hword 922
.hword 986
.hword 970
.hword 906
.hword 778
.hword 794
.hword 786
.hword 914
.hword 978
.hword 982
.hword 980
.hword 916
.hword 948
.hword 932
.hword 934
.hword 942
.hword 940
.hword 936
.hword 808
.hword 812
.hword 814
.hword 806
.hword 822
.hword 950
.hword 918
.hword 790
.hword 788
.hword 820
.hword 884
.hword 868
.hword 870
.hword 878
.hword 876
.hword 872
.hword 840
.hword 856
.hword 860
.hword 862
.hword 846
.hword 844
.hword 836
.hword 838
.hword 834
.hword 866
.align 3
.type rap_centre, %object
.size rap_centre, 104
rap_centre:
.hword 718
.hword 590
.hword 622
.hword 558
.hword 550
.hword 566
.hword 534
.hword 530
.hword 538
.hword 570
.hword 562
.hword 546
.hword 610
.hword 626
.hword 634
.hword 762
.hword 754
.hword 758
.hword 630
.hword 628
.hword 612
.hword 614
.hword 582
.hword 578
.hword 706
.hword 738
.hword 742
.hword 740
.hword 748
.hword 620
.hword 556
.hword 552
.hword 616
.hword 744
.hword 712
.hword 716
.hword 708
.hword 710
.hword 646
.hword 654
.hword 652
.hword 668
.hword 664
.hword 696
.hword 688
.hword 656
.hword 720
.hword 592
.hword 600
.hword 604
.hword 732
.hword 734
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global RadiusFunction
.type RadiusFunction, %function
RadiusFunction:
.LFB6:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
mov w0, 52429
movk w0, 0x3d4c, lsl 16
fmov s0, w0
str s0, [sp, 24]
fmov s0, 1.0e+0
str s0, [sp, 28]
ldr s1, [sp, 12]
fmov s0, 5.0e-1
fadd s1, s1, s0
ldr s0, [sp, 12]
fmul s0, s1, s0
mov w0, 43691
movk w0, 0x3f2a, lsl 16
fmov s1, w0
fmul s0, s0, s1
str s0, [sp, 12]
ldr s1, [sp, 28]
ldr s0, [sp, 24]
fsub s1, s1, s0
ldr s0, [sp, 12]
fmul s1, s1, s0
ldr s0, [sp, 24]
fadd s0, s1, s0
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size RadiusFunction, .-RadiusFunction
.align 2
.global GenSamples
.type GenSamples, %function
GenSamples:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1, 0
fmov s0, 1.0e+0
str s0, [sp, 80]
ldr s0, [sp, 80]
mov w0, 52429
movk w0, 0x3d4c, lsl 16
fmov s1, w0
fmul s0, s0, s1
str s0, [sp, 84]
mov w0, 3
str w0, [sp, 104]
mov w0, 7
str w0, [sp, 108]
mov w0, 5
str w0, [sp, 112]
str wzr, [sp, 120]
str wzr, [sp, 124]
str wzr, [sp, 128]
str wzr, [sp, 44]
str wzr, [sp, 48]
mov w0, 1
str w0, [sp, 60]
str wzr, [sp, 52]
b .L4
.L13:
str wzr, [sp, 56]
b .L5
.L8:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 120
ldr w0, [x1, x0]
ldr w1, [sp, 60]
add w0, w1, w0
str w0, [sp, 64]
fmov s0, 1.0e+0
str s0, [sp, 68]
str wzr, [sp, 72]
b .L6
.L7:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 104
ldr s0, [x1, x0]
scvtf s0, s0
ldr s1, [sp, 68]
fdiv s0, s1, s0
str s0, [sp, 68]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 104
ldr w1, [x1, x0]
ldr w0, [sp, 64]
sdiv w2, w0, w1
mul w1, w2, w1
sub w0, w0, w1
scvtf s1, w0
ldr s0, [sp, 68]
fmul s0, s1, s0
ldr s1, [sp, 72]
fadd s0, s1, s0
str s0, [sp, 72]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
add x1, sp, 104
ldr w0, [x1, x0]
ldr w1, [sp, 64]
sdiv w0, w1, w0
scvtf d0, w0
fcvtzs w0, d0
str w0, [sp, 64]
.L6:
ldr w0, [sp, 64]
cmp w0, 0
bgt .L7
ldr s0, [sp, 72]
fadd s1, s0, s0
ldr w0, [sp, 52]
lsl w1, w0, 2
ldr w0, [sp, 56]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
fmov s0, 1.0e+0
fsub s0, s1, s0
str s0, [x0]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L5:
ldr w0, [sp, 56]
cmp w0, 2
ble .L8
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fmul s1, s1, s0
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s2, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s2, s0
fadd s1, s1, s0
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s2, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s2, s0
fadd s0, s1, s0
str s0, [sp, 100]
ldr s1, [sp, 100]
fmov s0, 1.0e+0
fcmpe s1, s0
bgt .L22
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fcmpe s0, #0.0
bmi .L22
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 44]
fadd s0, s1, s0
str s0, [sp, 44]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 48]
fadd s0, s1, s0
str s0, [sp, 48]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
b .L12
.L22:
nop
.L12:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L4:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L13
ldr s0, [sp, 20]
scvtf s0, s0
ldr s1, [sp, 44]
fdiv s0, s1, s0
str s0, [sp, 44]
ldr s0, [sp, 20]
scvtf s0, s0
ldr s1, [sp, 48]
fdiv s0, s1, s0
str s0, [sp, 48]
str wzr, [sp, 76]
str wzr, [sp, 52]
b .L14
.L17:
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [sp, 44]
fsub s0, s1, s0
str s0, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [sp, 48]
fsub s0, s1, s0
str s0, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fmul s1, s1, s0
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s2, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s2, s0
fadd s1, s1, s0
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s2, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s2, s0
fadd s0, s1, s0
str s0, [sp, 96]
ldr s1, [sp, 96]
ldr s0, [sp, 76]
fcmpe s1, s0
bgt .L21
b .L15
.L21:
ldr s0, [sp, 96]
str s0, [sp, 76]
.L15:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L14:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L17
ldr s0, [sp, 76]
fcvt d0, s0
bl sqrt
fmov d1, d0
fmov d0, 1.0e+0
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, 88]
str wzr, [sp, 52]
b .L18
.L19:
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [sp, 88]
fmul s0, s1, s0
str s0, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [sp, 88]
fmul s0, s1, s0
str s0, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [sp, 88]
fmul s0, s1, s0
str s0, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fmul s1, s1, s0
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s2, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s2, s0
fadd s1, s1, s0
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s2, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
fmul s0, s2, s0
fadd s0, s1, s0
fcvt d0, s0
bl sqrt
fcvt s0, d0
str s0, [sp, 92]
ldr s0, [sp, 92]
bl RadiusFunction
fmov s1, s0
ldr s0, [sp, 92]
fdiv s1, s1, s0
ldr s0, [sp, 80]
fmul s1, s1, s0
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
fmul s0, s1, s0
str s0, [x0]
ldr s0, [sp, 92]
bl RadiusFunction
fmov s1, s0
ldr s0, [sp, 92]
fdiv s1, s1, s0
ldr s0, [sp, 80]
fmul s1, s1, s0
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
fmul s0, s1, s0
str s0, [x0]
ldr s0, [sp, 92]
bl RadiusFunction
fmov s1, s0
ldr s0, [sp, 92]
fdiv s1, s1, s0
ldr s0, [sp, 80]
fmul s1, s1, s0
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
fmul s0, s1, s0
str s0, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s1, [x0]
ldr w0, [sp, 52]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [sp, 84]
fadd s0, s1, s0
str s0, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L18:
ldr w1, [sp, 52]
ldr w0, [sp, 20]
cmp w1, w0
blt .L19
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 136]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L20
bl __stack_chk_fail
.L20:
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size GenSamples, .-GenSamples
.section .rodata
.align 3
.LC0:
.string "const float4 samples[%d] =\n{\n"
.align 3
.LC1:
.string "\tfloat4(% ff, % ff, %ff, %ff)"
.align 3
.LC2:
.string "\n"
.align 3
.LC3:
.string ",\n"
.align 3
.LC4:
.string "};"
.text
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
mov x0, 384
bl malloc
str x0, [sp, 40]
mov w1, 32
ldr x0, [sp, 40]
bl GenSamples
mov w1, 32
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
str wzr, [sp, 36]
b .L24
.L27:
ldr w0, [sp, 36]
lsl w0, w0, 2
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [x0]
fcvt d4, s0
ldr w0, [sp, 36]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [x0]
fcvt d1, s0
ldr w0, [sp, 36]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 2
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [x0]
fcvt d2, s0
ldr w0, [sp, 36]
lsl w0, w0, 2
sxtw x0, w0
add x0, x0, 3
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr s0, [x0]
fcvt d0, s0
fmov d3, d0
fmov d0, d4
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 36]
cmp w0, 31
bne .L25
adrp x0, .LC2
add x0, x0, :lo12:.LC2
b .L26
.L25:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
.L26:
bl printf
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L24:
ldr w0, [sp, 36]
cmp w0, 31
ble .L27
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
ldr x0, [sp, 40]
bl free
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global curr
.bss
.align 3
.type curr, %object
.size curr, 8
curr:
.zero 8
.global start
.align 3
.type start, %object
.size start, 8
start:
.zero 8
.global temp
.align 3
.type temp, %object
.size temp, 8
temp:
.zero 8
.global head
.align 3
.type head, %object
.size head, 8
head:
.zero 8
.global last
.align 3
.type last, %object
.size last, 8
last:
.zero 8
.global last1
.align 3
.type last1, %object
.size last1, 8
last1:
.zero 8
.global curr1
.align 3
.type curr1, %object
.size curr1, 8
curr1:
.zero 8
.section .rodata
.align 3
.LC0:
.string "%d"
.text
.align 2
.global createlink
.type createlink, %function
createlink:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
ble .L5
mov x0, 24
bl malloc
mov x1, x0
adrp x0, head
add x0, x0, :lo12:head
str x1, [x0]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
add x0, x0, 8
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str xzr, [x0, 16]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str xzr, [x0]
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [x0]
adrp x0, start
add x0, x0, :lo12:start
str x1, [x0]
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [x0]
adrp x0, last
add x0, x0, :lo12:last
str x1, [x0]
mov w0, 2
str w0, [sp, 36]
b .L3
.L4:
mov x0, 24
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
add x0, x0, 8
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr x0, [sp, 40]
str xzr, [x0, 16]
ldr x0, [sp, 40]
str xzr, [x0]
adrp x0, last
add x0, x0, :lo12:last
ldr x0, [x0]
ldr x1, [sp, 40]
str x1, [x0, 16]
adrp x0, last
add x0, x0, :lo12:last
ldr x1, [sp, 40]
str x1, [x0]
adrp x0, start
add x0, x0, :lo12:start
ldr x1, [x0]
ldr x0, [sp, 40]
str x1, [x0, 16]
adrp x0, start
add x0, x0, :lo12:start
ldr x0, [x0]
ldr x1, [sp, 40]
str x1, [x0]
adrp x0, last1
add x0, x0, :lo12:last1
ldr x1, [sp, 40]
str x1, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L3:
ldr w1, [sp, 36]
ldr w0, [sp, 28]
cmp w1, w0
ble .L4
.L5:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size createlink, .-createlink
.section .rodata
.align 3
.LC1:
.string "the node is:%d\n"
.text
.align 2
.global display
.type display, %function
display:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, start
add x0, x0, :lo12:start
ldr x1, [x0]
adrp x0, curr
add x0, x0, :lo12:curr
str x1, [x0]
.L7:
adrp x0, curr
add x0, x0, :lo12:curr
ldr x0, [x0]
ldr w0, [x0, 8]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, curr
add x0, x0, :lo12:curr
ldr x0, [x0]
ldr x1, [x0, 16]
adrp x0, curr
add x0, x0, :lo12:curr
str x1, [x0]
adrp x0, curr
add x0, x0, :lo12:curr
ldr x1, [x0]
adrp x0, start
add x0, x0, :lo12:start
ldr x0, [x0]
cmp x1, x0
bne .L7
nop
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size display, .-display
.align 2
.global addlinkbeg
.type addlinkbeg, %function
addlinkbeg:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, start
add x0, x0, :lo12:start
ldr x1, [x0]
adrp x0, curr1
add x0, x0, :lo12:curr1
str x1, [x0]
mov x0, 24
bl malloc
mov x1, x0
adrp x0, temp
add x0, x0, :lo12:temp
str x1, [x0]
adrp x0, temp
add x0, x0, :lo12:temp
ldr x0, [x0]
add x0, x0, 8
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
adrp x0, temp
add x0, x0, :lo12:temp
ldr x0, [x0]
adrp x1, last1
add x1, x1, :lo12:last1
ldr x1, [x1]
str x1, [x0]
adrp x0, last1
add x0, x0, :lo12:last1
ldr x0, [x0]
adrp x1, temp
add x1, x1, :lo12:temp
ldr x1, [x1]
str x1, [x0, 16]
adrp x0, curr1
add x0, x0, :lo12:curr1
ldr x0, [x0]
adrp x1, temp
add x1, x1, :lo12:temp
ldr x1, [x1]
str x1, [x0]
adrp x0, temp
add x0, x0, :lo12:temp
ldr x0, [x0]
adrp x1, start
add x1, x1, :lo12:start
ldr x1, [x1]
str x1, [x0, 16]
adrp x0, temp
add x0, x0, :lo12:temp
ldr x1, [x0]
adrp x0, start
add x0, x0, :lo12:start
str x1, [x0]
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size addlinkbeg, .-addlinkbeg
.align 2
.global addlinkend
.type addlinkend, %function
addlinkend:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, last
add x0, x0, :lo12:last
ldr x0, [x0]
str x0, [sp, 16]
mov x0, 24
bl malloc
str x0, [sp, 24]
ldr x0, [sp, 24]
add x0, x0, 8
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
adrp x0, start
add x0, x0, :lo12:start
ldr x1, [x0]
ldr x0, [sp, 24]
str x1, [x0, 16]
ldr x0, [sp, 16]
ldr x1, [sp, 24]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0]
adrp x0, start
add x0, x0, :lo12:start
ldr x0, [x0]
ldr x1, [sp, 24]
str x1, [x0]
adrp x0, last
add x0, x0, :lo12:last
ldr x1, [sp, 24]
str x1, [x0]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size addlinkend, .-addlinkend
.align 2
.global insertany
.type insertany, %function
insertany:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
mov w0, 1
str w0, [sp, 36]
adrp x0, start
add x0, x0, :lo12:start
ldr x0, [x0]
str x0, [sp, 48]
b .L11
.L13:
ldr x0, [sp, 48]
str x0, [sp, 40]
ldr x0, [sp, 48]
ldr x0, [x0, 16]
str x0, [sp, 48]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L11:
ldr x0, [sp, 48]
cmp x0, 0
beq .L12
ldr w1, [sp, 36]
ldr w0, [sp, 28]
cmp w1, w0
blt .L13
.L12:
mov x0, 24
bl malloc
str x0, [sp, 56]
ldr x0, [sp, 56]
add x0, x0, 8
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr x0, [sp, 56]
ldr x1, [sp, 48]
str x1, [x0, 16]
ldr x0, [sp, 48]
ldr x1, [sp, 56]
str x1, [x0]
ldr x0, [sp, 40]
ldr x1, [sp, 56]
str x1, [x0, 16]
ldr x0, [sp, 56]
ldr x1, [sp, 40]
str x1, [x0]
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size insertany, .-insertany
.align 2
.global deletebeg
.type deletebeg, %function
deletebeg:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, start
add x0, x0, :lo12:start
ldr x0, [x0]
str x0, [sp, 24]
adrp x0, start
add x0, x0, :lo12:start
ldr x0, [x0]
ldr x1, [x0, 16]
adrp x0, start
add x0, x0, :lo12:start
str x1, [x0]
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size deletebeg, .-deletebeg
.align 2
.global deleteend
.type deleteend, %function
deleteend:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, start
add x0, x0, :lo12:start
ldr x0, [x0]
str x0, [sp, 24]
b .L16
.L17:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
str x0, [sp, 24]
.L16:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
cmp x0, 0
bne .L17
ldr x0, [sp, 24]
ldr x0, [x0]
str xzr, [x0, 16]
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size deleteend, .-deleteend
.align 2
.global deleteany
.type deleteany, %function
deleteany:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
mov w0, 1
str w0, [sp, 36]
adrp x0, start
add x0, x0, :lo12:start
ldr x0, [x0]
str x0, [sp, 40]
b .L19
.L21:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
ldr x0, [sp, 40]
ldr x0, [x0, 16]
str x0, [sp, 40]
.L19:
ldr x0, [sp, 40]
cmp x0, 0
beq .L20
ldr w1, [sp, 36]
ldr w0, [sp, 28]
cmp w1, w0
blt .L21
.L20:
ldr x0, [sp, 40]
ldr x0, [x0]
ldr x1, [sp, 40]
ldr x1, [x1, 16]
str x1, [x0, 16]
ldr x0, [sp, 40]
ldr x0, [x0, 16]
ldr x1, [sp, 40]
ldr x1, [x1]
str x1, [x0]
ldr x0, [sp, 40]
bl free
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size deleteany, .-deleteany
.section .rodata
.align 3
.LC2:
.string "\n1 for create linled list"
.align 3
.LC3:
.string "2 for insert linked list at begining"
.align 3
.LC4:
.string "3 for insert linked list at end"
.align 3
.LC5:
.string "4 for insert linked list at particular location"
.align 3
.LC6:
.string "5 for deleted begining node"
.align 3
.LC7:
.string "6 for delete end node"
.align 3
.LC8:
.string "7 for delete paticular node"
.align 3
.LC9:
.string "8 to display the linked list"
.align 3
.LC10:
.string "9 for exit"
.align 3
.LC11:
.string "\nenter the choice:"
.align 3
.LC12:
.string "enter the no of node you want to create:"
.align 3
.LC13:
.string "enter the position to add link list:"
.align 3
.LC14:
.string "enter the pos of node you want to delete:"
.align 3
.LC15:
.string "wrong input:"
.text
.align 2
.global main
.type main, %function
main:
.LFB14:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
mov w0, 1
str w0, [sp, 36]
b .L23
.L33:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl puts
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
add x0, sp, 36
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 36]
cmp w0, 8
beq .L24
cmp w0, 8
bgt .L25
cmp w0, 7
beq .L26
cmp w0, 7
bgt .L25
cmp w0, 6
beq .L27
cmp w0, 6
bgt .L25
cmp w0, 5
beq .L28
cmp w0, 5
bgt .L25
cmp w0, 4
beq .L29
cmp w0, 4
bgt .L25
cmp w0, 3
beq .L30
cmp w0, 3
bgt .L25
cmp w0, 1
beq .L31
cmp w0, 2
beq .L32
b .L25
.L31:
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
add x0, sp, 24
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 24]
bl createlink
b .L23
.L24:
bl display
b .L23
.L32:
bl addlinkbeg
b .L23
.L30:
bl addlinkend
b .L23
.L29:
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 28]
bl insertany
b .L23
.L28:
bl deletebeg
b .L23
.L27:
bl deleteend
b .L23
.L26:
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl printf
add x0, sp, 32
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 32]
bl deleteany
b .L23
.L25:
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl printf
nop
.L23:
ldr w0, [sp, 36]
cmp w0, 9
bne .L33
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L35
bl __stack_chk_fail
.L35:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d\n"
.align 3
.LC1:
.string "%d"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub x12, sp, #3997696
.cfi_def_cfa 12, 3997696
.LPSRL0:
sub sp, sp, 65536
str xzr, [sp, 1024]
cmp sp, x12
b.ne .LPSRL0
.cfi_def_cfa_register 31
sub sp, sp, #2352
.cfi_def_cfa_offset 4000048
stp x29, x30, [sp]
.cfi_offset 29, -4000048
.cfi_offset 30, -4000040
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x1, sp, 3997696
ldr x2, [x0]
str x2, [x1, 2344]
mov x2, 0
add x0, sp, 40
mov x1, 2304
movk x1, 0x3d, lsl 16
mov x2, x1
mov w1, 0
bl memset
mov w0, 1
str w0, [sp, 44]
mov w0, 2
str w0, [sp, 32]
b .L2
.L6:
ldrsw x0, [sp, 32]
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
cmp w0, 0
bne .L3
ldr w0, [sp, 32]
lsl w0, w0, 1
str w0, [sp, 36]
b .L4
.L5:
ldrsw x0, [sp, 36]
lsl x0, x0, 2
add x1, sp, 40
mov w2, 1
str w2, [x1, x0]
ldr w1, [sp, 36]
ldr w0, [sp, 32]
add w0, w1, w0
str w0, [sp, 36]
.L4:
ldr w1, [sp, 36]
mov w0, 16959
movk w0, 0xf, lsl 16
cmp w1, w0
ble .L5
.L3:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L2:
ldr w0, [sp, 32]
cmp w0, 999
ble .L6
b .L7
.L11:
str wzr, [sp, 28]
mov w0, 2
str w0, [sp, 32]
b .L8
.L10:
ldrsw x0, [sp, 32]
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
cmp w0, 0
bne .L9
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L9:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L8:
ldr w0, [sp, 24]
ldr w1, [sp, 32]
cmp w1, w0
ble .L10
ldr w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
.L7:
add x0, sp, 24
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
cmn w0, #1
bne .L11
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x3, sp, 3997696
ldr x4, [x3, 2344]
ldr x2, [x0]
subs x4, x4, x2
mov x2, 0
beq .L13
bl __stack_chk_fail
.L13:
mov w0, w1
ldp x29, x30, [sp]
.cfi_restore 29
.cfi_restore 30
add sp, sp, 2352
.cfi_def_cfa_offset 3997696
add sp, sp, 3997696
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global IID_IMPEG2StreamIdMap
.section .rodata
.align 3
.type IID_IMPEG2StreamIdMap, %object
.size IID_IMPEG2StreamIdMap, 24
IID_IMPEG2StreamIdMap:
.xword 3504360519
.hword 9656
.hword 17257
.ascii "\222Z6*\001\331TD"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.local ezd_pidfile_path
.comm ezd_pidfile_path,4096,8
.data
.align 2
.type ezd_pidfile_fd, %object
.size ezd_pidfile_fd, 4
ezd_pidfile_fd:
.word -1
.section .rodata
.align 3
.LC0:
.string "yes"
.align 3
.LC1:
.string "true"
.align 3
.LC2:
.string "on"
.text
.align 2
.global ezd_str_tof
.type ezd_str_tof, %function
ezd_str_tof:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
add x0, sp, 48
mov w2, 0
mov x1, x0
ldr x0, [sp, 24]
bl strtoul
str w0, [sp, 44]
ldr x0, [sp, 48]
ldr x1, [sp, 24]
cmp x1, x0
bcs .L2
ldr w0, [sp, 44]
cmp w0, 0
cset w0, ne
and w0, w0, 255
b .L6
.L2:
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 24]
bl strcasecmp
cmp w0, 0
beq .L4
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 24]
bl strcasecmp
cmp w0, 0
beq .L4
adrp x0, .LC2
add x1, x0, :lo12:.LC2
ldr x0, [sp, 24]
bl strcasecmp
cmp w0, 0
bne .L5
.L4:
mov w0, 1
b .L6
.L5:
mov w0, 0
.L6:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size ezd_str_tof, .-ezd_str_tof
.align 2
.type ezd_trim, %function
ezd_trim:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr x0, [x0]
str x0, [sp, 40]
b .L9
.L11:
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L9:
ldr x1, [sp, 40]
ldr x0, [sp, 16]
cmp x1, x0
bcs .L10
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 40]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
bne .L11
.L10:
ldr x0, [sp, 16]
sub x0, x0, #1
str x0, [sp, 16]
b .L12
.L14:
ldr x0, [sp, 16]
strb wzr, [x0]
ldr x0, [sp, 16]
sub x0, x0, #1
str x0, [sp, 16]
.L12:
ldr x1, [sp, 16]
ldr x0, [sp, 40]
cmp x1, x0
bls .L13
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 16]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
bne .L14
.L13:
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 16]
sub x0, x1, x0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size ezd_trim, .-ezd_trim
.align 2
.global ezd_csv2array
.type ezd_csv2array, %function
ezd_csv2array:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
.cfi_def_cfa_register 29
str x19, [sp, 16]
sub sp, sp, #16
.cfi_offset 19, -112
str x0, [x29, 40]
str x1, [x29, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 120]
mov x1, 0
ldr x0, [x29, 32]
str x0, [x29, 96]
ldr x0, [x29, 96]
bl strlen
add x0, x0, 1
str x0, [x29, 104]
ldr x0, [x29, 104]
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L17:
cmp sp, x1
beq .L18
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L17
.L18:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L19
str xzr, [sp, 1024]
.L19:
add x0, sp, 16
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
str x0, [x29, 112]
ldr x2, [x29, 104]
ldr x1, [x29, 96]
ldr x0, [x29, 112]
bl memcpy
str x0, [x29, 72]
str wzr, [x29, 60]
str wzr, [x29, 64]
ldr x0, [x29, 40]
str xzr, [x0]
b .L20
.L30:
str xzr, [x29, 80]
ldr x0, [x29, 72]
str x0, [x29, 88]
.L26:
mov w1, 44
ldr x0, [x29, 88]
bl strchr
str x0, [x29, 80]
ldr x0, [x29, 80]
cmp x0, 0
bne .L21
ldr x19, [x29, 72]
ldr x0, [x29, 72]
bl strlen
add x0, x19, x0
str x0, [x29, 80]
b .L22
.L21:
ldr x0, [x29, 72]
ldr x1, [x29, 80]
cmp x1, x0
beq .L33
ldr x0, [x29, 80]
sub x0, x0, #1
ldrb w0, [x0]
cmp w0, 92
bne .L34
ldr x0, [x29, 80]
sub x19, x0, #1
ldr x0, [x29, 80]
bl strlen
add x0, x0, 1
mov x2, x0
ldr x1, [x29, 80]
mov x0, x19
bl memmove
ldr x0, [x29, 80]
str x0, [x29, 88]
str xzr, [x29, 80]
.L22:
ldr x0, [x29, 80]
cmp x0, 0
beq .L26
b .L24
.L33:
nop
b .L24
.L34:
nop
.L24:
add x0, x29, 72
ldr x1, [x29, 80]
bl ezd_trim
ldr x0, [x29, 72]
ldr x1, [x29, 80]
sub x0, x1, x0
str w0, [x29, 68]
ldr w0, [x29, 68]
cmp w0, 0
ble .L27
ldr w1, [x29, 64]
ldr w0, [x29, 60]
cmp w1, w0
bne .L28
ldr w0, [x29, 60]
add w0, w0, 4
lsl w0, w0, 1
str w0, [x29, 60]
ldr x0, [x29, 40]
ldr x2, [x0]
ldrsw x0, [x29, 60]
lsl x0, x0, 3
mov x1, x0
mov x0, x2
bl realloc
mov x1, x0
ldr x0, [x29, 40]
str x1, [x0]
.L28:
ldr x3, [x29, 72]
ldrsw x4, [x29, 68]
ldr x0, [x29, 40]
ldr x1, [x0]
ldr w0, [x29, 64]
add w2, w0, 1
str w2, [x29, 64]
sxtw x0, w0
lsl x0, x0, 3
add x19, x1, x0
mov x1, x4
mov x0, x3
bl strndup
str x0, [x19]
b .L29
.L27:
ldr w0, [x29, 68]
add w0, w0, 1
str w0, [x29, 68]
.L29:
ldr x1, [x29, 72]
ldrsw x0, [x29, 68]
add x0, x1, x0
str x0, [x29, 72]
.L20:
ldr x0, [x29, 72]
ldrb w0, [x0]
cmp w0, 0
bne .L30
ldr w0, [x29, 64]
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 120]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L32
bl __stack_chk_fail
.L32:
mov w0, w1
mov sp, x29
ldr x19, [sp, 16]
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE8:
.size ezd_csv2array, .-ezd_csv2array
.section .rodata
.align 3
.LC3:
.string "r"
.align 3
.LC4:
.string "Failed to open configuration file %s: %s"
.align 3
.LC5:
.string "%s:%i: warning: missing '=': line ignored\n"
.align 3
.LC6:
.string "%s:%i: warning: empty left-hand-side\n"
.text
.align 2
.global ezd_conf_file_read
.type ezd_conf_file_read, %function
ezd_conf_file_read:
.LFB9:
.cfi_startproc
sub sp, sp, #640
.cfi_def_cfa_offset 640
stp x29, x30, [sp]
.cfi_offset 29, -640
.cfi_offset 30, -632
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -624
str x0, [sp, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str x3, [sp, 48]
str x4, [sp, 40]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 632]
mov x1, 0
str wzr, [sp, 92]
adrp x0, .LC3
add x1, x0, :lo12:.LC3
ldr x0, [sp, 72]
bl fopen
str x0, [sp, 112]
ldr x0, [sp, 112]
cmp x0, 0
bne .L38
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
ldr x3, [sp, 72]
adrp x0, .LC4
add x2, x0, :lo12:.LC4
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl snprintf
mov w0, -1
b .L50
.L49:
add x0, sp, 120
str x0, [sp, 96]
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
b .L39
.L40:
ldr x0, [sp, 96]
add x0, x0, 1
str x0, [sp, 96]
.L39:
bl __ctype_b_loc
ldr x1, [x0]
ldr x0, [sp, 96]
ldrb w0, [x0]
and x0, x0, 255
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0]
and w0, w0, 8192
cmp w0, 0
bne .L40
ldr x0, [sp, 96]
ldrb w0, [x0]
cmp w0, 0
beq .L52
ldr x0, [sp, 96]
ldrb w0, [x0]
cmp w0, 35
beq .L52
ldr x0, [sp, 96]
mov w1, 61
bl strchr
str x0, [sp, 104]
ldr x0, [sp, 104]
cmp x0, 0
bne .L44
ldr w4, [sp, 92]
ldr x3, [sp, 72]
adrp x0, .LC5
add x2, x0, :lo12:.LC5
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl snprintf
b .L38
.L44:
ldr x1, [sp, 104]
add x0, sp, 96
bl ezd_trim
cmp w0, 0
bne .L45
ldr w4, [sp, 92]
ldr x3, [sp, 72]
adrp x0, .LC6
add x2, x0, :lo12:.LC6
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl snprintf
b .L38
.L45:
ldr x0, [sp, 104]
strb wzr, [x0]
ldr x0, [sp, 104]
add x0, x0, 1
str x0, [sp, 104]
ldr x19, [sp, 104]
ldr x0, [sp, 104]
bl strlen
add x1, x19, x0
add x0, sp, 104
bl ezd_trim
ldr x8, [sp, 96]
ldr x0, [sp, 104]
ldrb w0, [x0]
cmp w0, 0
beq .L46
ldr x0, [sp, 104]
b .L47
.L46:
mov x0, 0
.L47:
ldr x7, [sp, 64]
ldr x6, [sp, 40]
ldr w5, [sp, 92]
ldr x4, [sp, 72]
ldr x3, [sp, 48]
ldr x2, [sp, 56]
mov x1, x0
mov x0, x8
blr x7
cmn w0, #1
bne .L38
ldr x0, [sp, 112]
bl fclose
mov w0, -1
b .L50
.L52:
nop
.L38:
add x0, sp, 120
ldr x2, [sp, 112]
mov w1, 512
bl fgets
cmp x0, 0
bne .L49
ldr x0, [sp, 112]
bl fclose
mov w0, 0
.L50:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 632]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L51
bl __stack_chk_fail
.L51:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp]
add sp, sp, 640
.cfi_restore 29
.cfi_restore 30
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size ezd_conf_file_read, .-ezd_conf_file_read
.align 2
.global ezd_pidfile_close
.type ezd_pidfile_close, %function
ezd_pidfile_close:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, ezd_pidfile_path
add x0, x0, :lo12:ezd_pidfile_path
ldrb w0, [x0]
cmp w0, 0
beq .L56
adrp x0, ezd_pidfile_fd
add x0, x0, :lo12:ezd_pidfile_fd
ldr w0, [x0]
mov w1, 12
bl flock
adrp x0, ezd_pidfile_path
add x0, x0, :lo12:ezd_pidfile_path
bl unlink
adrp x0, ezd_pidfile_fd
add x0, x0, :lo12:ezd_pidfile_fd
ldr w0, [x0]
bl close
b .L53
.L56:
nop
.L53:
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size ezd_pidfile_close, .-ezd_pidfile_close
.section .rodata
.align 3
.LC7:
.string "Unable to open pidfile %s: %s"
.align 3
.LC8:
.string "Pidfile %s locked by other process (%i)"
.align 3
.LC9:
.string "Failed to lock pidfile %s: %s"
.align 3
.LC10:
.string "%i\n"
.align 3
.LC11:
.string "Failed to write pidfile %s: %s"
.align 3
.LC12:
.string "Partial pidfile write %s: %i/%i bytes written"
.text
.align 2
.global ezd_pidfile_open
.type ezd_pidfile_open, %function
ezd_pidfile_open:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -160]!
.cfi_def_cfa_offset 160
.cfi_offset 29, -160
.cfi_offset 30, -152
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -144
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 152]
mov x1, 0
str wzr, [sp, 68]
mov w2, 420
mov w1, 66
ldr x0, [sp, 56]
bl open
str w0, [sp, 72]
ldr w0, [sp, 72]
cmn w0, #1
bne .L58
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
ldr x3, [sp, 56]
adrp x0, .LC7
add x2, x0, :lo12:.LC7
ldr x1, [sp, 40]
ldr x0, [sp, 48]
bl snprintf
mov w0, -1
b .L67
.L58:
add x0, sp, 88
mov x2, 63
mov x1, x0
ldr w0, [sp, 72]
bl read
str w0, [sp, 76]
ldr w0, [sp, 76]
cmp w0, 0
ble .L60
ldrsw x0, [sp, 76]
add x1, sp, 88
strb wzr, [x1, x0]
add x1, sp, 80
add x0, sp, 88
mov w2, 10
bl strtoul
str w0, [sp, 68]
ldr x1, [sp, 80]
add x0, sp, 88
cmp x1, x0
bne .L60
str wzr, [sp, 68]
.L60:
mov w1, 6
ldr w0, [sp, 72]
bl flock
cmn w0, #1
bne .L62
bl __errno_location
ldr w0, [x0]
cmp w0, 11
bne .L63
ldr w4, [sp, 68]
ldr x3, [sp, 56]
adrp x0, .LC8
add x2, x0, :lo12:.LC8
ldr x1, [sp, 40]
ldr x0, [sp, 48]
bl snprintf
b .L64
.L63:
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
ldr x3, [sp, 56]
adrp x0, .LC9
add x2, x0, :lo12:.LC9
ldr x1, [sp, 40]
ldr x0, [sp, 48]
bl snprintf
.L64:
ldr w0, [sp, 72]
bl close
mov w0, -1
b .L67
.L62:
mov w2, 0
mov x1, 0
ldr w0, [sp, 72]
bl lseek
mov x1, 0
ldr w0, [sp, 72]
bl ftruncate
bl getpid
add x4, sp, 88
mov w3, w0
adrp x0, .LC10
add x2, x0, :lo12:.LC10
mov x1, 64
mov x0, x4
bl snprintf
add x0, sp, 88
bl strlen
mov x1, x0
add x0, sp, 88
mov x2, x1
mov x1, x0
ldr w0, [sp, 72]
bl write
str w0, [sp, 76]
ldr w0, [sp, 76]
cmn w0, #1
bne .L65
bl __errno_location
ldr w0, [x0]
bl strerror
mov x4, x0
ldr x3, [sp, 56]
adrp x0, .LC11
add x2, x0, :lo12:.LC11
ldr x1, [sp, 40]
ldr x0, [sp, 48]
bl snprintf
ldr w0, [sp, 72]
bl close
mov w0, -1
b .L67
.L65:
ldrsw x19, [sp, 76]
add x0, sp, 88
bl strlen
cmp x19, x0
bcs .L66
add x0, sp, 88
bl strlen
mov w5, w0
ldr w4, [sp, 76]
ldr x3, [sp, 56]
adrp x0, .LC12
add x2, x0, :lo12:.LC12
ldr x1, [sp, 40]
ldr x0, [sp, 48]
bl snprintf
ldr w0, [sp, 72]
bl close
mov w0, -1
b .L67
.L66:
mov x2, 4095
ldr x1, [sp, 56]
adrp x0, ezd_pidfile_path
add x0, x0, :lo12:ezd_pidfile_path
bl strncpy
adrp x0, ezd_pidfile_fd
add x0, x0, :lo12:ezd_pidfile_fd
ldr w1, [sp, 72]
str w1, [x0]
adrp x0, ezd_pidfile_fd
add x0, x0, :lo12:ezd_pidfile_fd
ldr w0, [x0]
.L67:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 152]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L68
bl __stack_chk_fail
.L68:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 160
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size ezd_pidfile_open, .-ezd_pidfile_open
.global ezd_daemon_status
.bss
.align 2
.type ezd_daemon_status, %object
.size ezd_daemon_status, 4
ezd_daemon_status:
.zero 4
.text
.align 2
.type ezd_daemon_sig_started_cb, %function
ezd_daemon_sig_started_cb:
.LFB12:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, ezd_daemon_status
add x0, x0, :lo12:ezd_daemon_status
mov w1, 3
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size ezd_daemon_sig_started_cb, .-ezd_daemon_sig_started_cb
.align 2
.type ezd_daemon_sig_chld_cb, %function
ezd_daemon_sig_chld_cb:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 36
mov w2, 0
mov x1, x0
mov w0, -1
bl waitpid
adrp x0, ezd_daemon_status
add x0, x0, :lo12:ezd_daemon_status
mov w1, 2
str w1, [x0]
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 40]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L71
bl __stack_chk_fail
.L71:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size ezd_daemon_sig_chld_cb, .-ezd_daemon_sig_chld_cb
.section .rodata
.align 3
.LC13:
.string "Daemon fork failed: %s"
.align 3
.LC14:
.string "Daemon child process (pid %i) did not start in %i seconds"
.align 3
.LC15:
.string "Daemon child process (pid %i) terminated during startup"
.align 3
.LC16:
.string "program.c"
.align 3
.LC17:
.string "!*\"notreached\""
.text
.align 2
.global ezd_daemon
.type ezd_daemon, %function
ezd_daemon:
.LFB14:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, ezd_daemon_sig_started_cb
add x1, x0, :lo12:ezd_daemon_sig_started_cb
mov w0, 12
bl signal
str x0, [sp, 56]
adrp x0, ezd_daemon_sig_chld_cb
add x1, x0, :lo12:ezd_daemon_sig_chld_cb
mov w0, 17
bl signal
str x0, [sp, 64]
mov x0, 0
bl time
mov x1, x0
ldrsw x0, [sp, 44]
add x0, x1, x0
str x0, [sp, 72]
bl fork
str w0, [sp, 52]
ldr w0, [sp, 52]
cmn w0, #1
bne .L73
bl __errno_location
ldr w0, [x0]
bl strerror
mov x3, x0
adrp x0, .LC13
add x2, x0, :lo12:.LC13
ldr x1, [sp, 24]
ldr x0, [sp, 32]
bl snprintf
mov w0, -1
b .L74
.L73:
ldr w0, [sp, 52]
cmp w0, 0
bne .L76
ldr x1, [sp, 56]
mov w0, 12
bl signal
ldr x1, [sp, 64]
mov w0, 17
bl signal
mov w0, 0
b .L74
.L77:
mov w0, 34464
movk w0, 0x1, lsl 16
bl usleep
mov x0, 0
bl time
mov x1, x0
ldr x0, [sp, 72]
cmp x0, x1
bgt .L76
ldr w4, [sp, 44]
ldr w3, [sp, 52]
adrp x0, .LC14
add x2, x0, :lo12:.LC14
ldr x1, [sp, 24]
ldr x0, [sp, 32]
bl snprintf
mov w1, 15
ldr w0, [sp, 52]
bl kill
adrp x0, ezd_daemon_status
add x0, x0, :lo12:ezd_daemon_status
mov w1, 1
str w1, [x0]
ldr x1, [sp, 56]
mov w0, 12
bl signal
ldr x1, [sp, 64]
mov w0, 17
bl signal
mov w0, -1
b .L74
.L76:
adrp x0, ezd_daemon_status
add x0, x0, :lo12:ezd_daemon_status
ldr w0, [x0]
cmp w0, 0
beq .L77
ldr x1, [sp, 56]
mov w0, 12
bl signal
ldr x1, [sp, 64]
mov w0, 17
bl signal
adrp x0, ezd_daemon_status
add x0, x0, :lo12:ezd_daemon_status
ldr w0, [x0]
cmp w0, 2
bne .L78
ldr w3, [sp, 52]
adrp x0, .LC15
add x2, x0, :lo12:.LC15
ldr x1, [sp, 24]
ldr x0, [sp, 32]
bl snprintf
mov w0, -1
b .L74
.L78:
adrp x0, ezd_daemon_status
add x0, x0, :lo12:ezd_daemon_status
ldr w0, [x0]
cmp w0, 3
bne .L79
mov w0, 0
bl exit
.L79:
mov w0, 110
cmp w0, 0
beq .L80
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 369
adrp x0, .LC16
add x1, x0, :lo12:.LC16
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl __assert_fail
.L80:
mov w0, 0
bl exit
.L74:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size ezd_daemon, .-ezd_daemon
.section .rodata
.align 3
.LC18:
.string "/dev/null"
.text
.align 2
.global ezd_daemon_started
.type ezd_daemon_started, %function
ezd_daemon_started:
.LFB15:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, 0
bl close
mov w0, 1
bl close
mov w0, 2
bl close
str wzr, [sp, 28]
b .L82
.L83:
mov w1, 0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl open
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L82:
ldr w0, [sp, 28]
cmp w0, 2
ble .L83
bl getppid
mov w1, 12
bl kill
bl setsid
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size ezd_daemon_started, .-ezd_daemon_started
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 11
__PRETTY_FUNCTION__.0:
.string "ezd_daemon"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter the number:"
.align 3
.LC1:
.string "%d %d"
.align 3
.LC2:
.string "The sum of two number is %d"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x1, sp, 28
add x0, sp, 24
mov x2, x1
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
b .L2
.L3:
ldr w1, [sp, 24]
ldr w0, [sp, 28]
eor w0, w1, w0
str w0, [sp, 32]
ldr w1, [sp, 24]
ldr w0, [sp, 28]
and w0, w1, w0
lsl w0, w0, 1
str w0, [sp, 36]
ldr w0, [sp, 32]
str w0, [sp, 24]
ldr w0, [sp, 36]
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 0
bne .L3
ldr w0, [sp, 24]
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "127.0.0.1"
.align 3
.LC1:
.string "socket"
.align 3
.LC2:
.string "connect"
.align 3
.LC3:
.string "========connect server success========="
.align 3
.LC4:
.string "sendto"
.align 3
.LC5:
.string "recv"
.align 3
.LC6:
.string "recv from server %zd => %s"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -336]!
.cfi_def_cfa_offset 336
.cfi_offset 29, -336
.cfi_offset 30, -328
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 328]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl inet_addr
str w0, [sp, 44]
mov w0, 2
strh w0, [sp, 40]
mov w0, 1234
bl htons
and w0, w0, 65535
strh w0, [sp, 42]
mov w0, 16
str w0, [sp, 24]
mov w2, 0
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
bl __errno_location
ldr w0, [x0]
b .L10
.L2:
add x0, sp, 40
ldr w2, [sp, 24]
mov x1, x0
ldr w0, [sp, 28]
bl connect
cmn w0, #1
bne .L4
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl perror
bl __errno_location
ldr w0, [x0]
b .L10
.L4:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
.L9:
add x0, sp, 72
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
stp q0, q0, [x0, 64]
stp q0, q0, [x0, 96]
stp q0, q0, [x0, 128]
stp q0, q0, [x0, 160]
stp q0, q0, [x0, 192]
stp q0, q0, [x0, 224]
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 72
mov x2, x1
mov w1, 256
bl fgets
add x0, sp, 72
bl strlen
mov x1, x0
add x0, sp, 72
mov w3, 0
mov x2, x1
mov x1, x0
ldr w0, [sp, 28]
bl send
str x0, [sp, 32]
ldr x0, [sp, 32]
cmn x0, #1
bne .L5
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl perror
b .L6
.L5:
add x0, sp, 72
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
stp q0, q0, [x0, 64]
stp q0, q0, [x0, 96]
stp q0, q0, [x0, 128]
stp q0, q0, [x0, 160]
stp q0, q0, [x0, 192]
stp q0, q0, [x0, 224]
add x0, sp, 56
stp xzr, xzr, [x0]
mov w0, 16
str w0, [sp, 20]
add x2, sp, 20
add x1, sp, 56
add x0, sp, 72
mov x5, x2
mov x4, x1
mov w3, 0
mov x2, 256
mov x1, x0
ldr w0, [sp, 28]
bl recvfrom
str x0, [sp, 32]
ldr x0, [sp, 32]
cmn x0, #1
bne .L7
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl perror
b .L6
.L7:
ldr x0, [sp, 32]
cmp x0, 0
ble .L9
add x0, sp, 72
mov x2, x0
ldr x1, [sp, 32]
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
b .L9
.L6:
mov w0, 0
.L10:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 328]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L11
bl __stack_chk_fail
.L11:
mov w0, w1
ldp x29, x30, [sp], 336
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Informe o valor da hora\n "
.align 3
.LC1:
.string "%f"
.align 3
.LC2:
.string "O valor de segundos e de %.2f\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 16
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr s0, [sp, 16]
mov w0, 1135869952
fmov s1, w0
fmul s0, s0, s1
str s0, [sp, 20]
ldr s0, [sp, 20]
fcvt d0, s0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global szInput
.bss
.align 3
.type szInput, %object
.size szInput, 256
szInput:
.zero 256
.section .rodata
.align 3
.LC0:
.string "Enter lines, when last one is entered\nprovide a End-Of-File (ctrl-Z on most systems)\nto end the program.\n"
.align 3
.LC1:
.string "Words = %2d \342\200\230%.500s\342\200\231\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
b .L2
.L3:
adrp x0, szInput
add x0, x0, :lo12:szInput
bl NumberWords
mov w1, w0
adrp x0, szInput
add x2, x0, :lo12:szInput
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
.L2:
adrp x0, szInput
add x0, x0, :lo12:szInput
bl gets
cmp w0, 0
bne .L3
mov w0, 10
bl putchar
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.align 2
.global NumberWords
.type NumberWords, %function
NumberWords:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
mov w0, 1
str w0, [sp, 24]
str wzr, [sp, 28]
str wzr, [sp, 20]
b .L6
.L10:
ldrsw x0, [sp, 20]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 32
beq .L7
ldr w0, [sp, 24]
cmp w0, 0
beq .L8
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L8:
str wzr, [sp, 24]
b .L9
.L7:
mov w0, 1
str w0, [sp, 24]
.L9:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L6:
ldrsw x0, [sp, 20]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L10
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size NumberWords, .-NumberWords
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "input mark 1 = "
.align 3
.LC1:
.string "%f"
.align 3
.LC2:
.string "input mark 2 = "
.align 3
.LC3:
.string "average = %.2f"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 32]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 24
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr s1, [sp, 24]
ldr s0, [sp, 28]
fadd s0, s1, s0
str s0, [sp, 32]
fmov s0, 2.0e+0
ldr s1, [sp, 32]
fdiv s0, s1, s0
str s0, [sp, 36]
ldr s0, [sp, 36]
fcvt d0, s0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "=========================================================================================================="
.align 3
.LC1:
.string ">>> Problem Size (a,b,c) and (d): (%2d,%2d,%2d) and (%2d)\n"
.align 3
.LC2:
.string ">>> # of Operations: %lld\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
mov w0, 16
str w0, [sp, 40]
mov w0, 16
str w0, [sp, 44]
mov w0, 16
str w0, [sp, 48]
mov w0, 16
str w0, [sp, 52]
ldr w0, [sp, 28]
cmp w0, 5
bne .L2
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atoi
str w0, [sp, 40]
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
bl atoi
str w0, [sp, 44]
ldr x0, [sp, 16]
add x0, x0, 24
ldr x0, [x0]
bl atoi
str w0, [sp, 48]
ldr x0, [sp, 16]
add x0, x0, 32
ldr x0, [x0]
bl atoi
str w0, [sp, 52]
.L2:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
mul w1, w1, w0
ldr w0, [sp, 48]
mul w0, w1, w0
sxtw x1, w0
ldrsw x0, [sp, 52]
mul x0, x1, x0
lsl x0, x0, 1
str x0, [sp, 72]
ldr w0, [sp, 52]
str w0, [sp, 56]
ldr w1, [sp, 40]
ldr w0, [sp, 44]
mul w0, w1, w0
ldr w1, [sp, 48]
mul w0, w1, w0
str w0, [sp, 60]
ldr w1, [sp, 40]
ldr w0, [sp, 52]
mul w0, w1, w0
str w0, [sp, 64]
ldr w1, [sp, 44]
ldr w0, [sp, 52]
mul w0, w1, w0
ldr w1, [sp, 48]
mul w0, w1, w0
str w0, [sp, 68]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
bl malloc
str x0, [sp, 80]
ldrsw x0, [sp, 60]
lsl x0, x0, 3
bl malloc
str x0, [sp, 88]
ldrsw x0, [sp, 64]
lsl x0, x0, 3
bl malloc
str x0, [sp, 96]
ldrsw x0, [sp, 68]
lsl x0, x0, 3
bl malloc
str x0, [sp, 104]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
ldr w4, [sp, 52]
ldr w3, [sp, 48]
ldr w2, [sp, 44]
ldr w1, [sp, 40]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr x1, [sp, 72]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
ldr w6, [sp, 68]
ldr x5, [sp, 104]
ldr w4, [sp, 64]
ldr x3, [sp, 96]
ldr w2, [sp, 60]
ldr x1, [sp, 88]
ldr x0, [sp, 80]
bl pre_Initializing_Input_Tensors
bl initmemmodule_
ldr x6, [sp, 104]
ldr x5, [sp, 96]
ldr x4, [sp, 80]
ldr w3, [sp, 52]
ldr w2, [sp, 48]
ldr w1, [sp, 44]
ldr w0, [sp, 40]
bl tccg_16_cuda
ldr x0, [sp, 80]
bl free
ldr x0, [sp, 88]
bl free
ldr x0, [sp, 96]
bl free
ldr x0, [sp, 104]
bl free
mov w0, 0
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC3:
.string " >>> %s <<<\n"
.align 3
.LC4:
.string " C: %'12d\n"
.align 3
.LC5:
.string " A: %'12d, B: %'12d\n"
.text
.align 2
.global pre_Initializing_Input_Tensors
.type pre_Initializing_Input_Tensors, %function
pre_Initializing_Input_Tensors:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
str x3, [sp, 32]
str w4, [sp, 40]
str x5, [sp, 24]
str w6, [sp, 20]
str wzr, [sp, 72]
b .L5
.L6:
ldrsw x0, [sp, 72]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
str xzr, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L5:
ldr w1, [sp, 72]
ldr w0, [sp, 44]
cmp w1, w0
blt .L6
str wzr, [sp, 76]
b .L7
.L8:
bl rand
scvtf d0, w0
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
mov x1, 281474972516352
movk x1, 0x41df, lsl 48
fmov d1, x1
fdiv d0, d0, d1
str d0, [x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L7:
ldr w1, [sp, 76]
ldr w0, [sp, 40]
cmp w1, w0
blt .L8
str wzr, [sp, 76]
b .L9
.L10:
bl rand
scvtf d0, w0
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
mov x1, 281474972516352
movk x1, 0x41df, lsl 48
fmov d1, x1
fdiv d0, d0, d1
str d0, [x0]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L9:
ldr w1, [sp, 76]
ldr w0, [sp, 20]
cmp w1, w0
blt .L10
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, __func__.0
add x1, x0, :lo12:__func__.0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w1, [sp, 44]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w2, [sp, 20]
ldr w1, [sp, 40]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size pre_Initializing_Input_Tensors, .-pre_Initializing_Input_Tensors
.section .rodata
.align 3
.LC6:
.string "======================================= Correctness Check =========================================="
.align 3
.LC7:
.string "Index: %5d, (Host) %8.4f, (Dev.) %8.4f >> (Diff.) %8.4f\n"
.align 3
.LC8:
.string " >>> PASSED: %'10d among %'10d in t3\n"
.align 3
.LC9:
.string " >>> ERROR : %'10d among %'10d in t3\n"
.align 3
.LC10:
.string " >>> Total Operations: %'lld\n"
.align 3
.LC11:
.string "===================================================================================================="
.text
.align 2
.global post_Correctness
.type post_Correctness, %function
post_Correctness:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -128]!
.cfi_def_cfa_offset 128
.cfi_offset 29, -128
.cfi_offset 30, -120
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
str w5, [sp, 24]
str w6, [sp, 20]
str w7, [sp, 16]
ldr w1, [sp, 28]
ldr w0, [sp, 24]
mul w0, w1, w0
ldr w1, [sp, 20]
mul w0, w1, w0
str w0, [sp, 96]
str xzr, [sp, 104]
str wzr, [sp, 64]
b .L12
.L19:
str wzr, [sp, 68]
b .L13
.L18:
str wzr, [sp, 72]
b .L14
.L17:
ldr w1, [sp, 72]
ldr w0, [sp, 24]
mul w1, w1, w0
ldr w0, [sp, 68]
add w1, w1, w0
ldr w0, [sp, 28]
mul w0, w1, w0
ldr w1, [sp, 64]
add w0, w1, w0
str w0, [sp, 100]
str wzr, [sp, 80]
str wzr, [sp, 76]
b .L15
.L16:
ldrsw x0, [sp, 100]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr d1, [x0]
ldr w1, [sp, 76]
ldr w0, [sp, 28]
mul w1, w1, w0
ldr w0, [sp, 64]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr d2, [x0]
ldr w1, [sp, 72]
ldr w0, [sp, 16]
mul w1, w1, w0
ldr w0, [sp, 76]
add w1, w1, w0
ldr w0, [sp, 24]
mul w1, w1, w0
ldr w0, [sp, 68]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d2, d0
ldrsw x0, [sp, 100]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L15:
ldr w1, [sp, 76]
ldr w0, [sp, 16]
cmp w1, w0
blt .L16
ldrsw x0, [sp, 80]
ldr x1, [sp, 104]
add x0, x1, x0
str x0, [sp, 104]
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L14:
ldr w1, [sp, 72]
ldr w0, [sp, 20]
cmp w1, w0
blt .L17
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L13:
ldr w1, [sp, 68]
ldr w0, [sp, 24]
cmp w1, w0
blt .L18
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L12:
ldr w1, [sp, 64]
ldr w0, [sp, 28]
cmp w1, w0
blt .L19
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
adrp x0, .LC12
ldr d0, [x0, #:lo12:.LC12]
str d0, [sp, 120]
str wzr, [sp, 84]
str wzr, [sp, 88]
str wzr, [sp, 92]
b .L20
.L26:
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d0, [x0]
fsub d0, d1, d0
str d0, [sp, 112]
ldr d0, [sp, 112]
fcmpe d0, #0.0
bmi .L27
b .L21
.L27:
ldr d0, [sp, 112]
fneg d0, d0
str d0, [sp, 112]
.L21:
ldr d1, [sp, 112]
ldr d0, [sp, 120]
fcmpe d1, d0
bgt .L28
b .L29
.L28:
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
ldr w0, [sp, 84]
cmp w0, 7
bgt .L25
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 92]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr d1, [x0]
ldr d2, [sp, 112]
ldr w1, [sp, 92]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
b .L25
.L29:
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L25:
ldr w0, [sp, 92]
add w0, w0, 1
str w0, [sp, 92]
.L20:
ldr w1, [sp, 92]
ldr w0, [sp, 96]
cmp w1, w0
blt .L26
ldr w2, [sp, 96]
ldr w1, [sp, 88]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
ldr w2, [sp, 96]
ldr w1, [sp, 84]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
ldr x0, [sp, 104]
lsl x0, x0, 1
mov x1, x0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
nop
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size post_Correctness, .-post_Correctness
.section .rodata
.align 3
.type __func__.0, %object
.size __func__.0, 31
__func__.0:
.string "pre_Initializing_Input_Tensors"
.align 3
.LC12:
.word -500134854
.word 1044740494
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string " Error in offload: A[%d]=%d\n"
.align 3
.LC1:
.string " Expecting: A[i ]=i"
.text
.align 2
.global error_handler
.type error_handler, %function
error_handler:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w2, [sp, 28]
ldr w1, [sp, 24]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
mov w0, 1
bl exit
.cfi_endproc
.LFE6:
.size error_handler, .-error_handler
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -432]!
.cfi_def_cfa_offset 432
.cfi_offset 29, -432
.cfi_offset 30, -424
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 424]
mov x1, 0
str wzr, [sp, 16]
b .L3
.L4:
ldrsw x0, [sp, 16]
lsl x0, x0, 2
add x1, sp, 24
ldr w2, [sp, 16]
str w2, [x1, x0]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L3:
ldr w0, [sp, 16]
cmp w0, 99
ble .L4
mov w0, -1
str w0, [sp, 420]
str wzr, [sp, 20]
b .L5
.L7:
ldrsw x0, [sp, 20]
lsl x0, x0, 2
add x1, sp, 24
ldr w0, [x1, x0]
ldr w1, [sp, 20]
cmp w1, w0
beq .L6
ldrsw x0, [sp, 20]
lsl x0, x0, 2
add x1, sp, 24
ldr w0, [x1, x0]
ldr w1, [sp, 20]
bl error_handler
.L6:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L5:
ldr w0, [sp, 20]
cmp w0, 99
ble .L7
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 424]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L9
bl __stack_chk_fail
.L9:
mov w0, w1
ldp x29, x30, [sp], 432
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global hints
.bss
.align 3
.type hints, %object
.size hints, 48
hints:
.zero 48
.global infoptr
.align 3
.type infoptr, %object
.size infoptr, 8
infoptr:
.zero 8
.section .rodata
.align 3
.LC0:
.string "www.bbc.com"
.align 3
.LC1:
.string "getaddrinfo: %s\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -320]!
.cfi_def_cfa_offset 320
.cfi_offset 29, -320
.cfi_offset 30, -312
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -304
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 312]
mov x1, 0
adrp x0, hints
add x0, x0, :lo12:hints
mov w1, 2
str w1, [x0, 4]
adrp x0, infoptr
add x3, x0, :lo12:infoptr
adrp x0, hints
add x2, x0, :lo12:hints
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl getaddrinfo
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
beq .L2
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
ldr w0, [sp, 44]
bl gai_strerror
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x19
bl fprintf
mov w0, 1
bl exit
.L2:
adrp x0, infoptr
add x0, x0, :lo12:infoptr
ldr x0, [x0]
str x0, [sp, 48]
b .L3
.L4:
ldr x0, [sp, 48]
ldr x7, [x0, 24]
ldr x0, [sp, 48]
ldr w0, [x0, 16]
add x1, sp, 56
mov w6, 1
mov w5, 0
mov x4, 0
mov w3, 256
mov x2, x1
mov w1, w0
mov x0, x7
bl getnameinfo
add x0, sp, 56
bl puts
ldr x0, [sp, 48]
ldr x0, [x0, 40]
str x0, [sp, 48]
.L3:
ldr x0, [sp, 48]
cmp x0, 0
bne .L4
adrp x0, infoptr
add x0, x0, :lo12:infoptr
ldr x0, [x0]
bl freeaddrinfo
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 312]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L6
bl __stack_chk_fail
.L6:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 320
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global current_agent
.type current_agent, %function
current_agent:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size current_agent, .-current_agent
.section .rodata
.align 3
.LC0:
.string "%llu\n"
.text
.align 2
.global parallel_producer_consumer
.type parallel_producer_consumer, %function
parallel_producer_consumer:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str w3, [sp, 32]
str w4, [sp, 20]
str xzr, [sp, 56]
str wzr, [sp, 48]
b .L4
.L11:
ldr w0, [sp, 48]
bl current_agent
cmp w0, 0
bne .L5
str wzr, [sp, 52]
b .L6
.L7:
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w2, [x0]
ldrsw x0, [sp, 48]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 52]
mul w1, w1, w0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x3, [sp, 40]
add x0, x3, x0
add w1, w2, w1
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L6:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L7
b .L8
.L5:
str wzr, [sp, 52]
b .L9
.L10:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
sxtw x0, w0
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L9:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L10
.L8:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L4:
ldr w1, [sp, 48]
ldr w0, [sp, 32]
cmp w1, w0
blt .L11
ldr x1, [sp, 56]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size parallel_producer_consumer, .-parallel_producer_consumer
.align 2
.global sequential_producer_consumer
.type sequential_producer_consumer, %function
sequential_producer_consumer:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str w3, [sp, 32]
str xzr, [sp, 56]
str wzr, [sp, 48]
b .L13
.L20:
ldr w0, [sp, 48]
bl current_agent
cmp w0, 0
bne .L14
str wzr, [sp, 52]
b .L15
.L16:
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w2, [x0]
ldrsw x0, [sp, 48]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [x0]
ldr w0, [sp, 52]
mul w1, w1, w0
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x3, [sp, 40]
add x0, x3, x0
add w1, w2, w1
str w1, [x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L15:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L16
b .L17
.L14:
str wzr, [sp, 52]
b .L18
.L19:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
sxtw x0, w0
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L18:
ldr w1, [sp, 52]
ldr w0, [sp, 36]
cmp w1, w0
blt .L19
.L17:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L13:
ldr w1, [sp, 48]
ldr w0, [sp, 32]
cmp w1, w0
blt .L20
ldr x1, [sp, 56]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size sequential_producer_consumer, .-sequential_producer_consumer
.section .rodata
.align 3
.LC1:
.string "%d %d %d"
.align 3
.LC2:
.string "%d"
.align 3
.LC3:
.string "%lf\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
add x2, sp, 44
add x1, sp, 40
add x0, sp, 48
mov x3, x2
mov x2, x1
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 44]
sxtw x0, w0
lsl x0, x0, 2
bl malloc
str x0, [sp, 56]
ldr w0, [sp, 40]
sxtw x0, w0
lsl x0, x0, 2
bl malloc
str x0, [sp, 64]
str wzr, [sp, 52]
b .L22
.L23:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 64]
add x0, x1, x0
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __isoc99_scanf
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L22:
ldr w0, [sp, 40]
ldr w1, [sp, 52]
cmp w1, w0
blt .L23
bl omp_get_wtime
str d0, [sp, 72]
ldr w0, [sp, 44]
ldr w1, [sp, 40]
ldr w2, [sp, 48]
mov w4, w2
mov w3, w1
ldr x2, [sp, 64]
mov w1, w0
ldr x0, [sp, 56]
bl parallel_producer_consumer
bl omp_get_wtime
str d0, [sp, 80]
ldr d1, [sp, 80]
ldr d0, [sp, 72]
fsub d0, d1, d0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr x0, [sp, 56]
bl free
ldr x0, [sp, 64]
bl free
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L25
bl __stack_chk_fail
.L25:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type find_reg, %function
find_reg:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str w0, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
ldr w0, [sp, 28]
cmp w0, 0
beq .L2
adrp x0, :got:a
ldr x0, [x0, #:got_lo12:a]
ldr x0, [x0]
add x0, x0, 4
ldr w0, [x0]
bl f1
b .L3
.L2:
adrp x0, :got:a
ldr x0, [x0, #:got_lo12:a]
ldr x0, [x0]
add x0, x0, 4
ldr w0, [x0]
bl f2
.L3:
str w0, [sp, 48]
mov w0, 64
str w0, [sp, 36]
str wzr, [sp, 40]
b .L4
.L13:
ldr w0, [sp, 40]
cmp w0, 1
bne .L5
add x0, sp, 72
str x0, [sp, 56]
add x0, sp, 80
str x0, [sp, 64]
str wzr, [sp, 44]
b .L6
.L7:
ldr x1, [sp, 64]
add x0, x1, 4
str x0, [sp, 64]
ldr x0, [sp, 56]
add x2, x0, 4
str x2, [sp, 56]
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L6:
ldr w0, [sp, 44]
cmp w0, 1
ble .L7
.L5:
str wzr, [sp, 36]
b .L8
.L11:
ldr w0, [sp, 36]
str w0, [sp, 52]
ldr w0, [sp, 28]
cmp w0, 0
bne .L9
ldr w1, [sp, 36]
ldr w0, [sp, 52]
cmp w1, w0
beq .L15
.L9:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L8:
ldr w0, [sp, 36]
cmp w0, 63
ble .L11
b .L10
.L15:
nop
.L10:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L4:
ldr w0, [sp, 40]
cmp w0, 1
bgt .L16
ldr w0, [sp, 36]
cmp w0, 63
bgt .L13
.L16:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 88]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L14
bl __stack_chk_fail
.L14:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size find_reg, .-find_reg
.align 2
.global global_alloc
.type global_alloc, %function
global_alloc:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w0, 0
bl find_reg
mov w0, 1
bl find_reg
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size global_alloc, .-global_alloc
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test_vextQp8
.type test_vextQp8, %function
test_vextQp8:
.LFB4340:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
ldr q0, [sp, 32]
str q0, [sp, 16]
ldr q0, [sp, 48]
str q0, [sp, 80]
ldr q1, [sp, 16]
mov w15, 0
mov w0, 0
add w0, w0, 1
and w14, w0, 255
mov w0, 0
add w0, w0, 2
and w13, w0, 255
mov w0, 0
add w0, w0, 3
and w12, w0, 255
mov w0, 0
add w0, w0, 4
and w11, w0, 255
mov w0, 0
add w0, w0, 5
and w10, w0, 255
mov w0, 0
add w0, w0, 6
and w9, w0, 255
mov w0, 0
add w0, w0, 7
and w8, w0, 255
mov w0, 0
add w0, w0, 8
and w7, w0, 255
mov w0, 0
add w0, w0, 9
and w6, w0, 255
mov w0, 0
add w0, w0, 10
and w5, w0, 255
mov w0, 0
add w0, w0, 11
and w4, w0, 255
mov w0, 0
add w0, w0, 12
and w3, w0, 255
mov w0, 0
add w0, w0, 13
and w2, w0, 255
mov w0, 0
add w0, w0, 14
and w1, w0, 255
mov w0, 0
add w0, w0, 15
and w0, w0, 255
dup v0.8b, w15
dup v2.8b, w14
ins v0.b[1], v2.b[0]
dup v2.8b, w13
ins v0.b[2], v2.b[0]
dup v2.8b, w12
ins v0.b[3], v2.b[0]
dup v2.8b, w11
ins v0.b[4], v2.b[0]
dup v2.8b, w10
ins v0.b[5], v2.b[0]
dup v2.8b, w9
ins v0.b[6], v2.b[0]
dup v2.8b, w8
ins v0.b[7], v2.b[0]
dup v2.8b, w7
ins v0.b[8], v2.b[0]
dup v2.8b, w6
ins v0.b[9], v2.b[0]
dup v2.8b, w5
ins v0.b[10], v2.b[0]
dup v2.8b, w4
ins v0.b[11], v2.b[0]
dup v2.8b, w3
ins v0.b[12], v2.b[0]
dup v2.8b, w2
ins v0.b[13], v2.b[0]
dup v2.8b, w1
ins v0.b[14], v2.b[0]
dup v2.8b, w0
ins v0.b[15], v2.b[0]
mov v3.16b, v0.16b
ldr q0, [sp, 80]
movi v2.16b, 0x1f
and v2.16b, v3.16b, v2.16b
eor v1.16b, v1.16b, v0.16b
eor v0.16b, v1.16b, v0.16b
eor v1.16b, v1.16b, v0.16b
tbl v0.16b, {v0.16b - v1.16b}, v2.16b
str q0, [sp, 64]
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 104]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L3
bl __stack_chk_fail
.L3:
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4340:
.size test_vextQp8, .-test_vextQp8
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global __VERIFIER_assert
.type __VERIFIER_assert, %function
__VERIFIER_assert:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bne .L4
nop
.L3:
bl __VERIFIER_error
.L4:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size __VERIFIER_assert, .-__VERIFIER_assert
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
sub sp, sp, #1632
.cfi_def_cfa_offset 1632
stp x29, x30, [sp]
.cfi_offset 29, -1632
.cfi_offset 30, -1624
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1624]
mov x1, 0
str wzr, [sp, 16]
b .L6
.L7:
ldrsw x0, [sp, 16]
lsl x0, x0, 2
add x1, sp, 24
ldr w2, [x1, x0]
ldrsw x0, [sp, 16]
lsl x0, x0, 2
add x1, sp, 824
str w2, [x1, x0]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L6:
ldrsw x0, [sp, 16]
lsl x0, x0, 2
add x1, sp, 24
ldr w0, [x1, x0]
cmp w0, 0
bne .L7
str wzr, [sp, 20]
b .L8
.L9:
ldrsw x0, [sp, 20]
lsl x0, x0, 2
add x1, sp, 824
ldr w1, [x1, x0]
ldrsw x0, [sp, 20]
lsl x0, x0, 2
add x2, sp, 24
ldr w0, [x2, x0]
cmp w1, w0
cset w0, eq
and w0, w0, 255
bl __VERIFIER_assert
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L8:
ldr w1, [sp, 20]
ldr w0, [sp, 16]
cmp w1, w0
blt .L9
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1624]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L11
bl __stack_chk_fail
.L11:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 1632
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global vsprintf
.type vsprintf, %function
vsprintf:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 72]
str x1, [sp, 64]
mov x19, x2
add x0, sp, 32
mov x1, x19
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x0, sp, 32
mov x3, x0
ldr x2, [sp, 64]
mov x1, 4294967295
ldr x0, [sp, 72]
bl vsnprintf
ldr x19, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size vsprintf, .-vsprintf
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type eval_A, %function
eval_A:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
ldr w1, [sp, 12]
ldr w0, [sp, 8]
add w1, w1, w0
ldr w2, [sp, 12]
ldr w0, [sp, 8]
add w0, w2, w0
add w0, w0, 1
mul w0, w1, w0
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
mov w1, w0
ldr w0, [sp, 12]
add w0, w1, w0
add w0, w0, 1
scvtf d0, w0
fmov d1, 1.0e+0
fdiv d0, d1, d0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size eval_A, .-eval_A
.align 2
.global eval_A_times_u
.type eval_A_times_u, %function
eval_A_times_u:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
str wzr, [sp, 56]
b .L4
.L7:
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
str xzr, [x0]
str wzr, [sp, 60]
b .L5
.L6:
ldr w1, [sp, 60]
ldr w0, [sp, 56]
bl eval_A
fmov d1, d0
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr d0, [x0]
fmul d1, d1, d0
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L5:
ldr w1, [sp, 60]
ldr w0, [sp, 44]
cmp w1, w0
blt .L6
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L4:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
blt .L7
nop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size eval_A_times_u, .-eval_A_times_u
.align 2
.global eval_At_times_u
.type eval_At_times_u, %function
eval_At_times_u:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
str wzr, [sp, 56]
b .L9
.L12:
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
str xzr, [x0]
str wzr, [sp, 60]
b .L10
.L11:
ldr w1, [sp, 56]
ldr w0, [sp, 60]
bl eval_A
fmov d1, d0
ldrsw x0, [sp, 60]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr d0, [x0]
fmul d1, d1, d0
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 24]
add x0, x1, x0
fadd d0, d1, d0
str d0, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L10:
ldr w1, [sp, 60]
ldr w0, [sp, 44]
cmp w1, w0
blt .L11
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L9:
ldr w1, [sp, 56]
ldr w0, [sp, 44]
cmp w1, w0
blt .L12
nop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size eval_At_times_u, .-eval_At_times_u
.align 2
.global eval_AtA_times_u
.type eval_AtA_times_u, %function
eval_AtA_times_u:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
bl malloc
str x0, [sp, 56]
ldr x2, [sp, 56]
ldr x1, [sp, 32]
ldr w0, [sp, 44]
bl eval_A_times_u
ldr x2, [sp, 24]
ldr x1, [sp, 56]
ldr w0, [sp, 44]
bl eval_At_times_u
ldr x0, [sp, 56]
bl free
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size eval_AtA_times_u, .-eval_AtA_times_u
.section .rodata
.align 3
.LC0:
.string "%0.9f\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
ldr w0, [sp, 28]
cmp w0, 2
bne .L15
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atoi
b .L16
.L15:
mov w0, 1000
.L16:
str w0, [sp, 44]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
bl malloc
str x0, [sp, 64]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
bl malloc
str x0, [sp, 72]
str wzr, [sp, 40]
b .L17
.L18:
ldrsw x0, [sp, 40]
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
fmov d0, 1.0e+0
str d0, [x0]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L17:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
blt .L18
str wzr, [sp, 40]
b .L19
.L20:
ldr x2, [sp, 72]
ldr x1, [sp, 64]
ldr w0, [sp, 44]
bl eval_AtA_times_u
ldr x2, [sp, 64]
ldr x1, [sp, 72]
ldr w0, [sp, 44]
bl eval_AtA_times_u
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L19:
ldr w0, [sp, 40]
cmp w0, 9
ble .L20
str xzr, [sp, 56]
ldr d0, [sp, 56]
str d0, [sp, 48]
str wzr, [sp, 40]
b .L21
.L22:
ldrsw x0, [sp, 40]
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 40]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 48]
fadd d0, d1, d0
str d0, [sp, 48]
ldrsw x0, [sp, 40]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 40]
lsl x0, x0, 3
ldr x1, [sp, 72]
add x0, x1, x0
ldr d0, [x0]
fmul d0, d1, d0
ldr d1, [sp, 56]
fadd d0, d1, d0
str d0, [sp, 56]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L21:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
cmp w1, w0
blt .L22
ldr d0, [sp, 56]
ldr d1, [sp, 48]
fdiv d0, d1, d0
bl sqrt
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 0
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string " n \t n^2 "
.align 3
.LC1:
.string "-----\t-------"
.align 3
.LC2:
.string " %d \t %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
mov w0, 1
str w0, [sp, 28]
b .L2
.L3:
ldr w0, [sp, 28]
mul w0, w0, w0
mov w2, w0
ldr w1, [sp, 28]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 10
ble .L3
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter password: "
.align 3
.LC1:
.string "Could not set attributes\n"
.align 3
.LC2:
.string "\nYou entered %s\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fileno
mov w2, w0
add x0, sp, 24
mov x1, x0
mov w0, w2
bl tcgetattr
add x0, sp, 88
add x1, sp, 24
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 32]
str q0, [x0, 32]
ldr q0, [x1, 44]
str q0, [x0, 44]
ldr w0, [sp, 100]
and w0, w0, -9
str w0, [sp, 100]
ldr w0, [sp, 100]
and w0, w0, -3
str w0, [sp, 100]
ldr w0, [sp, 100]
and w0, w0, -2
str w0, [sp, 100]
strb wzr, [sp, 110]
mov w0, 1
strb w0, [sp, 111]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fileno
mov w3, w0
add x0, sp, 88
mov x2, x0
mov w1, 0
mov w0, w3
bl tcsetattr
cmp w0, 0
beq .L2
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 25
mov x1, 1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fwrite
b .L3
.L2:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 152
mov x2, x1
mov w1, 8
bl fgets
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fileno
mov w3, w0
add x0, sp, 24
mov x2, x0
mov w1, 0
mov w0, w3
bl tcsetattr
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x3, [x0]
add x0, sp, 152
mov x2, x0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl fprintf
.L3:
mov w0, 0
bl exit
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\nUsage: %s [options] [cmd [arg...]]\n"
.align 3
.LC1:
.string "Options can be:\n"
.align 3
.LC2:
.string " -h display this help message\n"
.align 3
.LC3:
.string " -v display verbose messages\n"
.align 3
.LC4:
.string " -p new PID namespace\n"
.align 3
.LC5:
.string " -m new MNT namespace\n"
.text
.align 2
.type usage, %function
usage:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 24]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x3
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 16
mov x1, 1
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 43
mov x1, 1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 42
mov x1, 1
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 35
mov x1, 1
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 35
mov x1, 1
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl fwrite
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size usage, .-usage
.section .rodata
.align 3
.LC6:
.string " Child: PID of child is %d\n"
.align 3
.LC7:
.string ""
.align 3
.LC8:
.string "/proc"
.align 3
.LC9:
.string "none"
.align 3
.LC10:
.string " Child: childFunction: mount"
.align 3
.LC11:
.string "proc"
.align 3
.LC12:
.string " Child: childFunction: couldn't clear environment\n"
.align 3
.LC13:
.string " Child: executing command %s ...\n"
.align 3
.LC14:
.string " Child: childFunction: execvp"
.text
.align 2
.global childFunction
.type childFunction, %function
childFunction:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 0
beq .L3
bl getpid
mov w1, w0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
.L3:
ldr x0, [sp, 40]
ldr w0, [x0, 4]
and w0, w0, 536870912
cmp w0, 0
beq .L4
ldr x0, [sp, 40]
ldr w0, [x0, 4]
and w0, w0, 131072
cmp w0, 0
beq .L4
mov x4, 0
mov x3, 16384
movk x3, 0x4, lsl 16
adrp x0, .LC7
add x2, x0, :lo12:.LC7
adrp x0, .LC8
add x1, x0, :lo12:.LC8
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl mount
cmn w0, #1
bne .L5
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl perror
.L5:
mov x4, 0
mov x3, 0
adrp x0, .LC11
add x2, x0, :lo12:.LC11
adrp x0, .LC8
add x1, x0, :lo12:.LC8
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl mount
cmn w0, #1
bne .L4
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl perror
.L4:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
cmp x0, 0
beq .L6
bl clearenv
cmp w0, 0
beq .L7
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 50
mov x1, 1
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl fwrite
.L7:
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 0
beq .L8
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr x0, [x0]
mov x1, x0
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
.L8:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
ldr x2, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 8]
mov x1, x0
mov x0, x2
bl execvp
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl perror
mov w0, 1
bl exit
.L6:
mov w0, 0
bl exit
.cfi_endproc
.LFE7:
.size childFunction, .-childFunction
.section .rodata
.align 3
.LC15:
.string "+hvpm"
.align 3
.LC16:
.string "Parent: PID of parent is %d\n"
.align 3
.LC17:
.string "Parent: main: malloc"
.align 3
.LC18:
.string "Parent: main: clone"
.align 3
.LC19:
.string "Parent: PID of child is %d\n"
.align 3
.LC20:
.string "Parent: main: waitpid"
.align 3
.LC21:
.string "Parent: %s - Finishing up\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -80
str w0, [sp, 44]
str x1, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
str wzr, [sp, 52]
str wzr, [sp, 72]
str wzr, [sp, 76]
str xzr, [sp, 80]
b .L11
.L16:
ldr w0, [sp, 56]
cmp w0, 118
beq .L12
ldr w0, [sp, 56]
cmp w0, 118
bgt .L13
ldr w0, [sp, 56]
cmp w0, 112
beq .L14
ldr w0, [sp, 56]
cmp w0, 112
bgt .L13
ldr w0, [sp, 56]
cmp w0, 104
beq .L15
ldr w0, [sp, 56]
cmp w0, 109
bne .L13
ldr w0, [sp, 52]
orr w0, w0, 131072
str w0, [sp, 52]
b .L11
.L14:
ldr w0, [sp, 52]
orr w0, w0, 536870912
str w0, [sp, 52]
b .L11
.L12:
mov w0, 1
str w0, [sp, 72]
b .L11
.L15:
ldr x0, [sp, 32]
ldr x0, [x0]
bl usage
mov w0, 0
bl exit
.L13:
ldr x0, [sp, 32]
ldr x0, [x0]
bl usage
mov w0, 1
bl exit
.L11:
adrp x0, .LC15
add x2, x0, :lo12:.LC15
ldr x1, [sp, 32]
ldr w0, [sp, 44]
bl getopt
str w0, [sp, 56]
ldr w0, [sp, 56]
cmn w0, #1
bne .L16
ldr w0, [sp, 52]
str w0, [sp, 76]
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
beq .L17
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
ldr w1, [sp, 44]
sub w0, w1, w0
add w0, w0, 1
sxtw x0, w0
lsl x0, x0, 3
bl malloc
str x0, [sp, 80]
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
str w0, [sp, 48]
b .L18
.L19:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
bl strlen
add x3, x0, 1
ldr x1, [sp, 80]
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
ldr w2, [sp, 48]
sub w0, w2, w0
sxtw x0, w0
lsl x0, x0, 3
add x19, x1, x0
mov x0, x3
bl malloc
str x0, [x19]
ldr x1, [sp, 80]
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
ldr w2, [sp, 48]
sub w0, w2, w0
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L18:
ldr w1, [sp, 48]
ldr w0, [sp, 44]
cmp w1, w0
blt .L19
ldr x1, [sp, 80]
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
ldr w2, [sp, 44]
sub w0, w2, w0
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
str xzr, [x0]
.L17:
ldr w0, [sp, 72]
cmp w0, 0
beq .L20
bl getpid
mov w1, w0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl printf
.L20:
mov x0, 65536
bl malloc
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L21
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl perror
mov w0, 1
bl exit
.L21:
ldr x0, [sp, 64]
add x4, x0, 65536
ldr w1, [sp, 52]
mov w0, 17
orr w0, w1, w0
add x1, sp, 72
mov x3, x1
mov w2, w0
mov x1, x4
adrp x0, childFunction
add x0, x0, :lo12:childFunction
bl clone
str w0, [sp, 60]
ldr w0, [sp, 60]
cmn w0, #1
bne .L22
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl perror
mov w0, 1
bl exit
.L22:
ldr w0, [sp, 72]
cmp w0, 0
beq .L23
ldr w1, [sp, 60]
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl printf
.L23:
mov w2, 0
mov x1, 0
ldr w0, [sp, 60]
bl waitpid
cmn w0, #1
bne .L24
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl perror
mov w0, 1
bl exit
.L24:
ldr w0, [sp, 72]
cmp w0, 0
beq .L25
ldr x0, [sp, 32]
ldr x0, [x0]
mov x1, x0
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl printf
.L25:
mov w0, 0
bl exit
.cfi_endproc
.LFE8:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global my_strstr
.type my_strstr, %function
my_strstr:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
str wzr, [sp, 24]
b .L2
.L7:
str wzr, [sp, 28]
b .L3
.L6:
ldrsw x0, [sp, 28]
add x0, x0, 1
ldr x1, [sp]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L4
ldrsw x0, [sp, 24]
ldr x1, [sp, 8]
add x0, x1, x0
b .L5
.L4:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L3:
ldrsw x0, [sp, 28]
ldr x1, [sp]
add x0, x1, x0
ldrb w1, [x0]
ldr w2, [sp, 24]
ldr w0, [sp, 28]
add w0, w2, w0
sxtw x0, w0
ldr x2, [sp, 8]
add x0, x2, x0
ldrb w0, [x0]
cmp w1, w0
beq .L6
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldrsw x0, [sp, 24]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L7
mov x0, 0
.L5:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size my_strstr, .-my_strstr
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global pi
.section .rodata
.align 3
.type pi, %object
.size pi, 8
pi:
.word 1076696761
.word 1074342619
.align 3
.LC0:
.string "Enter an interval(separated by a space): "
.align 3
.LC1:
.string "%lf %lf"
.align 3
.LC2:
.string "root x = %.10f"
.align 3
.LC3:
.string "Error: an invalid interval (the function values at the end of the interval must be a different sign)"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -80
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x1, sp, 48
add x0, sp, 40
mov x2, x1
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
add x0, sp, 40
str x0, [sp, 64]
add x0, sp, 48
str x0, [sp, 72]
ldr x1, [sp, 72]
ldr x0, [sp, 64]
bl make_interval
adrp x0, .LC4
ldr d0, [x0, #:lo12:.LC4]
str d0, [sp, 80]
ldr x0, [sp, 64]
ldr d0, [x0]
bl f
fmov d8, d0
ldr x0, [sp, 72]
ldr d0, [x0]
bl f
fmul d0, d8, d0
fcmpe d0, #0.0
bls .L4
b .L13
.L7:
ldr x0, [sp, 64]
ldr d1, [x0]
ldr x0, [sp, 72]
ldr d0, [x0]
fadd d1, d1, d0
fmov d0, 2.0e+0
fdiv d0, d1, d0
str d0, [sp, 56]
ldr x0, [sp, 64]
ldr d0, [x0]
bl f
fmov d8, d0
ldr d0, [sp, 56]
bl f
fmul d0, d8, d0
fcmpe d0, #0.0
bls .L12
b .L14
.L12:
ldr x0, [sp, 72]
ldr d0, [sp, 56]
str d0, [x0]
b .L4
.L14:
ldr x0, [sp, 64]
ldr d0, [sp, 56]
str d0, [x0]
.L4:
ldr x0, [sp, 72]
ldr d1, [x0]
ldr x0, [sp, 64]
ldr d0, [x0]
fsub d0, d1, d0
bl mod
fmov d1, d0
ldr d0, [sp, 80]
fcmpe d0, d1
bls .L7
ldr d0, [sp, 56]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
b .L8
.L13:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
.L8:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L10
bl __stack_chk_fail
.L10:
mov w0, w1
ldr d8, [sp, 16]
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.align 2
.global f
.type f, %function
f:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -32
str d0, [sp, 40]
ldr d0, [sp, 40]
bl cos
fmov d1, d0
ldr d0, [sp, 40]
fmul d8, d1, d0
ldr d0, [sp, 40]
bl sin
fsub d0, d8, d0
ldr d8, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size f, .-f
.align 2
.global mod
.type mod, %function
mod:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, 8]
ldr d0, [sp, 8]
fcmpe d0, #0.0
bmi .L21
b .L22
.L21:
ldr d0, [sp, 8]
fneg d0, d0
b .L20
.L22:
ldr d0, [sp, 8]
.L20:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size mod, .-mod
.align 2
.global make_interval
.type make_interval, %function
make_interval:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str d8, [sp, 16]
.cfi_offset 72, -32
str x0, [sp, 40]
str x1, [sp, 32]
ldr x0, [sp, 40]
ldr d0, [x0]
bl mod
fmov d8, d0
ldr x0, [sp, 32]
ldr d0, [x0]
bl mod
fcmpe d8, d0
bgt .L31
b .L34
.L31:
ldr x0, [sp, 40]
ldr d0, [x0]
fcmpe d0, #0.0
bgt .L32
b .L35
.L32:
ldr x0, [sp, 40]
ldr d1, [x0]
adrp x0, .LC5
ldr d2, [x0, #:lo12:.LC5]
fmov d0, 2.0e+0
fdiv d0, d2, d0
adrp x0, .LC5
ldr d2, [x0, #:lo12:.LC5]
fadd d0, d0, d2
fsub d0, d1, d0
ldr x0, [sp, 32]
str d0, [x0]
b .L28
.L35:
ldr x0, [sp, 40]
ldr d1, [x0]
adrp x0, .LC5
ldr d2, [x0, #:lo12:.LC5]
fmov d0, 2.0e+0
fdiv d0, d2, d0
adrp x0, .LC5
ldr d2, [x0, #:lo12:.LC5]
fadd d0, d0, d2
fadd d0, d1, d0
ldr x0, [sp, 32]
str d0, [x0]
b .L28
.L34:
ldr x0, [sp, 32]
ldr d0, [x0]
fcmpe d0, #0.0
bgt .L33
b .L36
.L33:
ldr x0, [sp, 32]
ldr d1, [x0]
adrp x0, .LC5
ldr d2, [x0, #:lo12:.LC5]
fmov d0, 2.0e+0
fdiv d0, d2, d0
adrp x0, .LC5
ldr d2, [x0, #:lo12:.LC5]
fadd d0, d0, d2
fsub d0, d1, d0
ldr x0, [sp, 40]
str d0, [x0]
b .L28
.L36:
ldr x0, [sp, 32]
ldr d1, [x0]
adrp x0, .LC5
ldr d2, [x0, #:lo12:.LC5]
fmov d0, 2.0e+0
fdiv d0, d2, d0
adrp x0, .LC5
ldr d2, [x0, #:lo12:.LC5]
fadd d0, d0, d2
fadd d0, d1, d0
ldr x0, [sp, 40]
str d0, [x0]
.L28:
nop
ldr d8, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 72
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size make_interval, .-make_interval
.section .rodata
.align 3
.LC4:
.word -512138091
.word 1034288511
.align 3
.LC5:
.word 1076696761
.word 1074342619
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global factorial
.type factorial, %function
factorial:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
ldr w0, [sp, 28]
cmp w0, 1
bne .L2
ldr x0, [sp, 16]
b .L3
.L2:
ldr w0, [sp, 28]
sub w2, w0, #1
ldrsw x1, [sp, 28]
ldr x0, [sp, 16]
mul x0, x1, x0
mov x1, x0
mov w0, w2
bl factorial
.L3:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size factorial, .-factorial
.section .rodata
.align 3
.LC0:
.string "\320\222\320\262\320\265\320\264\320\270\321\202\320\265 \321\207\320\270\321\201\320\273\320\276: "
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "\320\244\320\260\320\272\321\202\320\276\321\200\320\270\320\260\320\273 \321\207\320\270\321\201\320\273\320\260 %d: %ld\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -32
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
str wzr, [sp, 36]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 36
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w19, [sp, 36]
ldr w0, [sp, 36]
mov x1, 1
bl factorial
mov x2, x0
mov w1, w19
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L6
bl __stack_chk_fail
.L6:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global mz_adler32
.type mz_adler32, %function
mz_adler32:
.LFB6:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
ldr x0, [sp, 24]
and w0, w0, 65535
str w0, [sp, 48]
ldr x0, [sp, 24]
lsr x0, x0, 16
str w0, [sp, 52]
ldr x0, [sp, 8]
lsr x2, x0, 4
mov x1, 39095
movk x1, 0xbb63, lsl 16
movk x1, 0xbaa6, lsl 32
movk x1, 0x179, lsl 48
umulh x1, x2, x1
lsr x2, x1, 1
mov x1, 5552
mul x1, x2, x1
sub x0, x0, x1
str x0, [sp, 56]
ldr x0, [sp, 16]
cmp x0, 0
bne .L4
mov x0, 1
b .L3
.L9:
str wzr, [sp, 44]
b .L5
.L6:
ldr x0, [sp, 16]
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 16]
add x0, x0, 1
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 16]
add x0, x0, 2
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 16]
add x0, x0, 3
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 16]
add x0, x0, 4
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 16]
add x0, x0, 5
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 16]
add x0, x0, 6
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 16]
add x0, x0, 7
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr w0, [sp, 44]
add w0, w0, 8
str w0, [sp, 44]
ldr x0, [sp, 16]
add x0, x0, 8
str x0, [sp, 16]
.L5:
ldr w0, [sp, 44]
add w0, w0, 7
uxtw x0, w0
ldr x1, [sp, 56]
cmp x1, x0
bhi .L6
b .L7
.L8:
ldr x0, [sp, 16]
add x1, x0, 1
str x1, [sp, 16]
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 48]
add w0, w0, w1
str w0, [sp, 48]
ldr w1, [sp, 52]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L7:
ldr w0, [sp, 44]
ldr x1, [sp, 56]
cmp x1, x0
bhi .L8
ldr w0, [sp, 48]
mov w1, 32881
movk w1, 0x8007, lsl 16
umull x1, w0, w1
lsr x1, x1, 32
lsr w2, w1, 15
mov w1, 65521
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 48]
ldr w0, [sp, 52]
mov w1, 32881
movk w1, 0x8007, lsl 16
umull x1, w0, w1
lsr x1, x1, 32
lsr w2, w1, 15
mov w1, 65521
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 52]
ldr x1, [sp, 8]
ldr x0, [sp, 56]
sub x0, x1, x0
str x0, [sp, 8]
mov x0, 5552
str x0, [sp, 56]
.L4:
ldr x0, [sp, 8]
cmp x0, 0
bne .L9
ldr w0, [sp, 52]
lsl w1, w0, 16
ldr w0, [sp, 48]
add w0, w1, w0
uxtw x0, w0
.L3:
add sp, sp, 64
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size mz_adler32, .-mz_adler32
.align 2
.global mz_crc32
.type mz_crc32, %function
mz_crc32:
.LFB7:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
ldr x0, [sp, 24]
str w0, [sp, 44]
ldr x0, [sp, 16]
cmp x0, 0
bne .L11
mov x0, 0
b .L12
.L11:
ldr w0, [sp, 44]
mvn w0, w0
str w0, [sp, 44]
b .L13
.L14:
ldr x0, [sp, 16]
add x1, x0, 1
str x1, [sp, 16]
ldrb w0, [x0]
strb w0, [sp, 43]
ldr w0, [sp, 44]
lsr w1, w0, 4
ldrb w2, [sp, 43]
ldr w0, [sp, 44]
eor w0, w2, w0
and w2, w0, 15
adrp x0, s_crc32.21
add x0, x0, :lo12:s_crc32.21
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w0, w1, w0
str w0, [sp, 44]
ldr w0, [sp, 44]
lsr w1, w0, 4
ldr w0, [sp, 44]
and w0, w0, 15
ldrb w2, [sp, 43]
lsr w2, w2, 4
and w2, w2, 255
eor w2, w0, w2
adrp x0, s_crc32.21
add x0, x0, :lo12:s_crc32.21
uxtw x2, w2
ldr w0, [x0, x2, lsl 2]
eor w0, w1, w0
str w0, [sp, 44]
.L13:
ldr x0, [sp, 8]
sub x1, x0, #1
str x1, [sp, 8]
cmp x0, 0
bne .L14
ldr w0, [sp, 44]
mvn w0, w0
uxtw x0, w0
.L12:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size mz_crc32, .-mz_crc32
.align 2
.global mz_free
.type mz_free, %function
mz_free:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size mz_free, .-mz_free
.align 2
.type def_alloc_func, %function
def_alloc_func:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
ldr x1, [sp, 32]
ldr x0, [sp, 24]
mul x0, x1, x0
bl malloc
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size def_alloc_func, .-def_alloc_func
.align 2
.type def_free_func, %function
def_free_func:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
bl free
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size def_free_func, .-def_free_func
.align 2
.type def_realloc_func, %function
def_realloc_func:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x1, [sp, 24]
ldr x0, [sp, 16]
mul x0, x1, x0
mov x1, x0
ldr x0, [sp, 32]
bl realloc
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size def_realloc_func, .-def_realloc_func
.section .rodata
.align 3
.LC0:
.string "9.1.15"
.text
.align 2
.global mz_version
.type mz_version, %function
mz_version:
.LFB12:
.cfi_startproc
adrp x0, .LC0
add x0, x0, :lo12:.LC0
ret
.cfi_endproc
.LFE12:
.size mz_version, .-mz_version
.align 2
.global mz_deflateInit
.type mz_deflateInit, %function
mz_deflateInit:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
mov w5, 0
mov w4, 9
mov w3, 15
mov w2, 8
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl mz_deflateInit2
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size mz_deflateInit, .-mz_deflateInit
.align 2
.global mz_deflateInit2
.type mz_deflateInit2, %function
mz_deflateInit2:
.LFB14:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str w4, [sp, 24]
str w5, [sp, 20]
ldr w2, [sp, 20]
ldr w1, [sp, 28]
ldr w0, [sp, 36]
bl tdefl_create_comp_flags_from_zip_params
orr w0, w0, 8192
str w0, [sp, 52]
ldr x0, [sp, 40]
cmp x0, 0
bne .L26
mov w0, -2
b .L27
.L26:
ldr w0, [sp, 32]
cmp w0, 8
bne .L28
ldr w0, [sp, 24]
cmp w0, 0
ble .L28
ldr w0, [sp, 24]
cmp w0, 9
bgt .L28
ldr w0, [sp, 28]
cmp w0, 15
beq .L29
ldr w0, [sp, 28]
cmn w0, #15
beq .L29
.L28:
mov w0, -10000
b .L27
.L29:
ldr x0, [sp, 40]
str wzr, [x0, 88]
ldr x0, [sp, 40]
mov x1, 1
str x1, [x0, 96]
ldr x0, [sp, 40]
str xzr, [x0, 48]
ldr x0, [sp, 40]
str xzr, [x0, 104]
ldr x0, [sp, 40]
str xzr, [x0, 16]
ldr x0, [sp, 40]
str xzr, [x0, 40]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
cmp x0, 0
bne .L30
ldr x0, [sp, 40]
adrp x1, def_alloc_func
add x1, x1, :lo12:def_alloc_func
str x1, [x0, 64]
.L30:
ldr x0, [sp, 40]
ldr x0, [x0, 72]
cmp x0, 0
bne .L31
ldr x0, [sp, 40]
adrp x1, def_free_func
add x1, x1, :lo12:def_free_func
str x1, [x0, 72]
.L31:
ldr x0, [sp, 40]
ldr x3, [x0, 64]
ldr x0, [sp, 40]
ldr x0, [x0, 80]
mov x2, 57208
movk x2, 0x4, lsl 16
mov x1, 1
blr x3
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L32
mov w0, -4
b .L27
.L32:
ldr x0, [sp, 40]
ldr x1, [sp, 56]
str x1, [x0, 56]
ldr w0, [sp, 52]
mov w3, w0
mov x2, 0
mov x1, 0
ldr x0, [sp, 56]
bl tdefl_init
cmp w0, 0
beq .L33
ldr x0, [sp, 40]
bl mz_deflateEnd
mov w0, -10000
b .L27
.L33:
mov w0, 0
.L27:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size mz_deflateInit2, .-mz_deflateInit2
.align 2
.global mz_deflateReset
.type mz_deflateReset, %function
mz_deflateReset:
.LFB15:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L35
ldr x0, [sp, 24]
ldr x0, [x0, 56]
cmp x0, 0
beq .L35
ldr x0, [sp, 24]
ldr x0, [x0, 64]
cmp x0, 0
beq .L35
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x0, 0
bne .L36
.L35:
mov w0, -2
b .L37
.L36:
ldr x0, [sp, 24]
str xzr, [x0, 40]
ldr x0, [sp, 24]
ldr x1, [x0, 40]
ldr x0, [sp, 24]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x4, [x0, 56]
ldr x0, [sp, 24]
ldr x0, [x0, 56]
ldr w0, [x0, 16]
mov w3, w0
mov x2, 0
mov x1, 0
mov x0, x4
bl tdefl_init
mov w0, 0
.L37:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size mz_deflateReset, .-mz_deflateReset
.align 2
.global mz_deflate
.type mz_deflate, %function
mz_deflate:
.LFB16:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
str wzr, [sp, 32]
ldr x0, [sp, 24]
cmp x0, 0
beq .L39
ldr x0, [sp, 24]
ldr x0, [x0, 56]
cmp x0, 0
beq .L39
ldr w0, [sp, 20]
cmp w0, 0
blt .L39
ldr w0, [sp, 20]
cmp w0, 4
bgt .L39
ldr x0, [sp, 24]
ldr x0, [x0, 24]
cmp x0, 0
bne .L40
.L39:
mov w0, -2
b .L53
.L40:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
cmp w0, 0
bne .L42
mov w0, -5
b .L53
.L42:
ldr w0, [sp, 20]
cmp w0, 1
bne .L43
mov w0, 2
str w0, [sp, 20]
.L43:
ldr x0, [sp, 24]
ldr x0, [x0, 56]
ldr w0, [x0, 132]
cmp w0, 1
bne .L44
ldr w0, [sp, 20]
cmp w0, 4
bne .L45
mov w0, 1
b .L53
.L45:
mov w0, -5
b .L53
.L44:
ldr x0, [sp, 24]
ldr x0, [x0, 16]
str x0, [sp, 56]
ldr x0, [sp, 24]
ldr x0, [x0, 40]
str x0, [sp, 64]
.L52:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
uxtw x0, w0
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 32]
uxtw x0, w0
str x0, [sp, 48]
ldr x0, [sp, 24]
ldr x6, [x0, 56]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr x2, [x0, 24]
ldr w4, [sp, 20]
add x3, sp, 48
add x0, sp, 40
mov w5, w4
mov x4, x3
mov x3, x2
mov x2, x0
mov x0, x6
bl tdefl_compress
str w0, [sp, 36]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 40]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
ldr x1, [sp, 40]
sub w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [x0, 16]
ldr x0, [sp, 40]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 56]
bl tdefl_get_adler32
uxtw x1, w0
ldr x0, [sp, 24]
str x1, [x0, 96]
ldr x0, [sp, 24]
ldr x1, [x0, 24]
ldr x0, [sp, 48]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 32]
ldr x1, [sp, 48]
sub w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr x1, [x0, 40]
ldr x0, [sp, 48]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 40]
ldr w0, [sp, 36]
cmp w0, 0
bge .L47
mov w0, -2
str w0, [sp, 32]
b .L48
.L47:
ldr w0, [sp, 36]
cmp w0, 1
bne .L49
mov w0, 1
str w0, [sp, 32]
b .L48
.L49:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
cmp w0, 0
beq .L55
ldr x0, [sp, 24]
ldr w0, [x0, 8]
cmp w0, 0
bne .L52
ldr w0, [sp, 20]
cmp w0, 4
beq .L52
ldr w0, [sp, 20]
cmp w0, 0
bne .L48
ldr x0, [sp, 24]
ldr x0, [x0, 16]
ldr x1, [sp, 56]
cmp x1, x0
bne .L48
ldr x0, [sp, 24]
ldr x0, [x0, 40]
ldr x1, [sp, 64]
cmp x1, x0
bne .L48
mov w0, -5
b .L53
.L55:
nop
.L48:
ldr w0, [sp, 32]
.L53:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L54
bl __stack_chk_fail
.L54:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size mz_deflate, .-mz_deflate
.align 2
.global mz_deflateEnd
.type mz_deflateEnd, %function
mz_deflateEnd:
.LFB17:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L57
mov w0, -2
b .L58
.L57:
ldr x0, [sp, 24]
ldr x0, [x0, 56]
cmp x0, 0
beq .L59
ldr x0, [sp, 24]
ldr x2, [x0, 72]
ldr x0, [sp, 24]
ldr x3, [x0, 80]
ldr x0, [sp, 24]
ldr x0, [x0, 56]
mov x1, x0
mov x0, x3
blr x2
ldr x0, [sp, 24]
str xzr, [x0, 56]
.L59:
mov w0, 0
.L58:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size mz_deflateEnd, .-mz_deflateEnd
.align 2
.global mz_deflateBound
.type mz_deflateBound, %function
mz_deflateBound:
.LFB18:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp]
lsr x1, x0, 10
mov x0, 16945
movk x0, 0x2108, lsl 16
movk x0, 0x1084, lsl 32
movk x0, 0x842, lsl 48
umulh x0, x1, x0
add x1, x0, 1
mov x0, x1
lsl x0, x0, 2
add x1, x0, x1
ldr x0, [sp]
add x0, x1, x0
add x2, x0, 128
ldr x1, [sp]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 1
lsr x1, x0, 2
mov x0, 62915
movk x0, 0x5c28, lsl 16
movk x0, 0xc28f, lsl 32
movk x0, 0x28f5, lsl 48
umulh x0, x1, x0
lsr x0, x0, 2
add x0, x0, 128
cmp x2, x0
csel x0, x2, x0, cs
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size mz_deflateBound, .-mz_deflateBound
.align 2
.global mz_compress2
.type mz_compress2, %function
mz_compress2:
.LFB19:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 184]
mov x1, 0
add x0, sp, 72
mov x2, 112
mov w1, 0
bl memset
ldr x0, [sp, 48]
ldr x1, [x0]
ldr x0, [sp, 32]
orr x1, x1, x0
mov x0, 4294967295
cmp x1, x0
bls .L63
mov w0, -10000
b .L69
.L63:
ldr x0, [sp, 40]
str x0, [sp, 72]
ldr x0, [sp, 32]
str w0, [sp, 80]
ldr x0, [sp, 56]
str x0, [sp, 96]
ldr x0, [sp, 48]
ldr x0, [x0]
str w0, [sp, 104]
add x0, sp, 72
ldr w1, [sp, 28]
bl mz_deflateInit
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
beq .L65
ldr w0, [sp, 68]
b .L69
.L65:
add x0, sp, 72
mov w1, 4
bl mz_deflate
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 1
beq .L66
add x0, sp, 72
bl mz_deflateEnd
ldr w0, [sp, 68]
cmp w0, 0
beq .L67
ldr w0, [sp, 68]
b .L69
.L67:
mov w0, -5
b .L69
.L66:
ldr x1, [sp, 112]
ldr x0, [sp, 48]
str x1, [x0]
add x0, sp, 72
bl mz_deflateEnd
.L69:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 184]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L70
bl __stack_chk_fail
.L70:
mov w0, w1
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size mz_compress2, .-mz_compress2
.align 2
.global mz_compress
.type mz_compress, %function
mz_compress:
.LFB20:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
mov w4, -1
ldr x3, [sp, 16]
ldr x2, [sp, 24]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl mz_compress2
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size mz_compress, .-mz_compress
.align 2
.global mz_compressBound
.type mz_compressBound, %function
mz_compressBound:
.LFB21:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x1, [sp, 24]
mov x0, 0
bl mz_deflateBound
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size mz_compressBound, .-mz_compressBound
.align 2
.global mz_inflateInit2
.type mz_inflateInit2, %function
mz_inflateInit2:
.LFB22:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldr x0, [sp, 24]
cmp x0, 0
bne .L76
mov w0, -2
b .L77
.L76:
ldr w0, [sp, 20]
cmp w0, 15
beq .L78
ldr w0, [sp, 20]
cmn w0, #15
beq .L78
mov w0, -10000
b .L77
.L78:
ldr x0, [sp, 24]
str wzr, [x0, 88]
ldr x0, [sp, 24]
str xzr, [x0, 96]
ldr x0, [sp, 24]
str xzr, [x0, 48]
ldr x0, [sp, 24]
str xzr, [x0, 16]
ldr x0, [sp, 24]
str xzr, [x0, 40]
ldr x0, [sp, 24]
str xzr, [x0, 104]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
cmp x0, 0
bne .L79
ldr x0, [sp, 24]
adrp x1, def_alloc_func
add x1, x1, :lo12:def_alloc_func
str x1, [x0, 64]
.L79:
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x0, 0
bne .L80
ldr x0, [sp, 24]
adrp x1, def_free_func
add x1, x1, :lo12:def_free_func
str x1, [x0, 72]
.L80:
ldr x0, [sp, 24]
ldr x3, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 80]
mov x2, 43792
mov x1, 1
blr x3
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L81
mov w0, -4
b .L77
.L81:
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0, 56]
ldr x0, [sp, 40]
str wzr, [x0]
ldr x0, [sp, 40]
str wzr, [x0, 11000]
ldr x0, [sp, 40]
str wzr, [x0, 11004]
ldr x0, [sp, 40]
add x0, x0, 32768
mov w1, 1
str w1, [x0, 11020]
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0, 11008]
ldr x0, [sp, 40]
str wzr, [x0, 11012]
ldr x0, [sp, 40]
ldr w1, [sp, 20]
str w1, [x0, 11016]
mov w0, 0
.L77:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size mz_inflateInit2, .-mz_inflateInit2
.align 2
.global mz_inflateInit
.type mz_inflateInit, %function
mz_inflateInit:
.LFB23:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
mov w1, 15
ldr x0, [sp, 24]
bl mz_inflateInit2
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size mz_inflateInit, .-mz_inflateInit
.align 2
.global mz_inflate
.type mz_inflate, %function
mz_inflate:
.LFB24:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
mov w0, 8
str w0, [sp, 40]
ldr x0, [sp, 24]
cmp x0, 0
beq .L85
ldr x0, [sp, 24]
ldr x0, [x0, 56]
cmp x0, 0
bne .L86
.L85:
mov w0, -2
b .L110
.L86:
ldr w0, [sp, 20]
cmp w0, 1
bne .L88
mov w0, 2
str w0, [sp, 20]
.L88:
ldr w0, [sp, 20]
cmp w0, 0
beq .L89
ldr w0, [sp, 20]
cmp w0, 2
beq .L89
ldr w0, [sp, 20]
cmp w0, 4
beq .L89
mov w0, -2
b .L110
.L89:
ldr x0, [sp, 24]
ldr x0, [x0, 56]
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr w0, [x0, 11016]
cmp w0, 0
ble .L90
ldr w0, [sp, 40]
orr w0, w0, 1
str w0, [sp, 40]
.L90:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
uxtw x0, w0
str x0, [sp, 80]
ldr x0, [sp, 72]
ldr w0, [x0, 11008]
str w0, [sp, 44]
ldr x0, [sp, 72]
str wzr, [x0, 11008]
ldr x0, [sp, 72]
add x0, x0, 32768
ldr w0, [x0, 11020]
cmp w0, 0
bge .L91
mov w0, -3
b .L110
.L91:
ldr x0, [sp, 72]
ldr w0, [x0, 11012]
cmp w0, 0
beq .L92
ldr w0, [sp, 20]
cmp w0, 4
beq .L92
mov w0, -2
b .L110
.L92:
ldr x0, [sp, 72]
ldr w0, [x0, 11012]
ldr w1, [sp, 20]
cmp w1, 4
cset w1, eq
and w1, w1, 255
orr w1, w0, w1
ldr x0, [sp, 72]
str w1, [x0, 11012]
ldr w0, [sp, 20]
cmp w0, 4
bne .L93
ldr w0, [sp, 44]
cmp w0, 0
beq .L93
ldr w0, [sp, 40]
orr w0, w0, 4
str w0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
uxtw x0, w0
str x0, [sp, 56]
ldr x0, [sp, 24]
ldr w0, [x0, 32]
uxtw x0, w0
str x0, [sp, 64]
ldr x7, [sp, 72]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr x2, [x0, 24]
ldr x0, [sp, 24]
ldr x3, [x0, 24]
add x4, sp, 64
add x0, sp, 56
ldr w6, [sp, 40]
mov x5, x4
mov x4, x3
mov x3, x2
mov x2, x0
mov x0, x7
bl tinfl_decompress
str w0, [sp, 48]
ldr x0, [sp, 72]
add x0, x0, 32768
ldr w1, [sp, 48]
str w1, [x0, 11020]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 56]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
ldr x1, [sp, 56]
sub w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [x0, 16]
ldr x0, [sp, 56]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 16]
ldr x0, [sp, 72]
ldr w0, [x0, 28]
uxtw x1, w0
ldr x0, [sp, 24]
str x1, [x0, 96]
ldr x0, [sp, 24]
ldr x1, [x0, 24]
ldr x0, [sp, 64]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 24]
ldr x0, [sp, 24]
ldr w0, [x0, 32]
ldr x1, [sp, 64]
sub w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr x1, [x0, 40]
ldr x0, [sp, 64]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 40]
ldr w0, [sp, 48]
cmp w0, 0
bge .L94
mov w0, -3
b .L110
.L94:
ldr w0, [sp, 48]
cmp w0, 0
beq .L95
ldr x0, [sp, 72]
add x0, x0, 32768
mov w1, -1
str w1, [x0, 11020]
mov w0, -5
b .L110
.L95:
mov w0, 1
b .L110
.L93:
ldr w0, [sp, 20]
cmp w0, 4
beq .L96
ldr w0, [sp, 40]
orr w0, w0, 2
str w0, [sp, 40]
.L96:
ldr x0, [sp, 72]
ldr w0, [x0, 11004]
cmp w0, 0
beq .L97
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 72]
ldr w0, [x0, 11004]
cmp w1, w0
csel w0, w1, w0, ls
str w0, [sp, 52]
ldr x0, [sp, 24]
ldr x3, [x0, 24]
ldr x1, [sp, 72]
mov x0, 11020
add x1, x1, x0
ldr x0, [sp, 72]
ldr w0, [x0, 11000]
uxtw x0, w0
add x0, x1, x0
ldr w1, [sp, 52]
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 24]
ldr x1, [x0, 24]
ldr w0, [sp, 52]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 24]
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr w0, [sp, 52]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr x1, [x0, 40]
ldr w0, [sp, 52]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 40]
ldr x0, [sp, 72]
ldr w1, [x0, 11004]
ldr w0, [sp, 52]
sub w1, w1, w0
ldr x0, [sp, 72]
str w1, [x0, 11004]
ldr x0, [sp, 72]
ldr w1, [x0, 11000]
ldr w0, [sp, 52]
add w0, w1, w0
and w1, w0, 32767
ldr x0, [sp, 72]
str w1, [x0, 11000]
ldr x0, [sp, 72]
add x0, x0, 32768
ldr w0, [x0, 11020]
cmp w0, 0
bne .L98
ldr x0, [sp, 72]
ldr w0, [x0, 11004]
cmp w0, 0
bne .L98
mov w0, 1
b .L110
.L98:
mov w0, 0
b .L110
.L97:
ldr x0, [sp, 24]
ldr w0, [x0, 8]
uxtw x0, w0
str x0, [sp, 56]
ldr x0, [sp, 72]
ldr w0, [x0, 11000]
mov w1, 32768
sub w0, w1, w0
uxtw x0, w0
str x0, [sp, 64]
ldr x7, [sp, 72]
ldr x0, [sp, 24]
ldr x8, [x0]
ldr x1, [sp, 72]
mov x0, 11020
add x2, x1, x0
ldr x1, [sp, 72]
mov x0, 11020
add x1, x1, x0
ldr x0, [sp, 72]
ldr w0, [x0, 11000]
uxtw x0, w0
add x1, x1, x0
add x3, sp, 64
add x0, sp, 56
ldr w6, [sp, 40]
mov x5, x3
mov x4, x1
mov x3, x2
mov x2, x0
mov x1, x8
mov x0, x7
bl tinfl_decompress
str w0, [sp, 48]
ldr x0, [sp, 72]
add x0, x0, 32768
ldr w1, [sp, 48]
str w1, [x0, 11020]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 56]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
ldr w0, [x0, 8]
ldr x1, [sp, 56]
sub w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [x0, 16]
ldr x0, [sp, 56]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 16]
ldr x0, [sp, 72]
ldr w0, [x0, 28]
uxtw x1, w0
ldr x0, [sp, 24]
str x1, [x0, 96]
ldr x0, [sp, 64]
mov w1, w0
ldr x0, [sp, 72]
str w1, [x0, 11004]
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr x0, [sp, 72]
ldr w0, [x0, 11004]
cmp w1, w0
csel w0, w1, w0, ls
str w0, [sp, 52]
ldr x0, [sp, 24]
ldr x3, [x0, 24]
ldr x1, [sp, 72]
mov x0, 11020
add x1, x1, x0
ldr x0, [sp, 72]
ldr w0, [x0, 11000]
uxtw x0, w0
add x0, x1, x0
ldr w1, [sp, 52]
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 24]
ldr x1, [x0, 24]
ldr w0, [sp, 52]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 24]
ldr x0, [sp, 24]
ldr w1, [x0, 32]
ldr w0, [sp, 52]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 32]
ldr x0, [sp, 24]
ldr x1, [x0, 40]
ldr w0, [sp, 52]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 40]
ldr x0, [sp, 72]
ldr w1, [x0, 11004]
ldr w0, [sp, 52]
sub w1, w1, w0
ldr x0, [sp, 72]
str w1, [x0, 11004]
ldr x0, [sp, 72]
ldr w1, [x0, 11000]
ldr w0, [sp, 52]
add w0, w1, w0
and w1, w0, 32767
ldr x0, [sp, 72]
str w1, [x0, 11000]
ldr w0, [sp, 48]
cmp w0, 0
bge .L100
mov w0, -3
b .L110
.L100:
ldr w0, [sp, 48]
cmp w0, 1
bne .L101
ldr x0, [sp, 80]
cmp x0, 0
bne .L101
mov w0, -5
b .L110
.L101:
ldr w0, [sp, 20]
cmp w0, 4
bne .L102
ldr w0, [sp, 48]
cmp w0, 0
bne .L103
ldr x0, [sp, 72]
ldr w0, [x0, 11004]
cmp w0, 0
beq .L104
mov w0, -5
b .L110
.L104:
mov w0, 1
b .L110
.L103:
ldr x0, [sp, 24]
ldr w0, [x0, 32]
cmp w0, 0
bne .L97
mov w0, -5
b .L110
.L102:
ldr w0, [sp, 48]
cmp w0, 0
beq .L107
ldr x0, [sp, 24]
ldr w0, [x0, 8]
cmp w0, 0
beq .L107
ldr x0, [sp, 24]
ldr w0, [x0, 32]
cmp w0, 0
beq .L107
ldr x0, [sp, 72]
ldr w0, [x0, 11004]
cmp w0, 0
bne .L107
b .L97
.L107:
ldr w0, [sp, 48]
cmp w0, 0
bne .L108
ldr x0, [sp, 72]
ldr w0, [x0, 11004]
cmp w0, 0
bne .L108
mov w0, 1
b .L110
.L108:
mov w0, 0
.L110:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L111
bl __stack_chk_fail
.L111:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size mz_inflate, .-mz_inflate
.align 2
.global mz_inflateEnd
.type mz_inflateEnd, %function
mz_inflateEnd:
.LFB25:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L113
mov w0, -2
b .L114
.L113:
ldr x0, [sp, 24]
ldr x0, [x0, 56]
cmp x0, 0
beq .L115
ldr x0, [sp, 24]
ldr x2, [x0, 72]
ldr x0, [sp, 24]
ldr x3, [x0, 80]
ldr x0, [sp, 24]
ldr x0, [x0, 56]
mov x1, x0
mov x0, x3
blr x2
ldr x0, [sp, 24]
str xzr, [x0, 56]
.L115:
mov w0, 0
.L114:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size mz_inflateEnd, .-mz_inflateEnd
.align 2
.global mz_uncompress
.type mz_uncompress, %function
mz_uncompress:
.LFB26:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
add x0, sp, 56
mov x2, 112
mov w1, 0
bl memset
ldr x0, [sp, 32]
ldr x1, [x0]
ldr x0, [sp, 16]
orr x1, x1, x0
mov x0, 4294967295
cmp x1, x0
bls .L117
mov w0, -10000
b .L124
.L117:
ldr x0, [sp, 24]
str x0, [sp, 56]
ldr x0, [sp, 16]
str w0, [sp, 64]
ldr x0, [sp, 40]
str x0, [sp, 80]
ldr x0, [sp, 32]
ldr x0, [x0]
str w0, [sp, 88]
add x0, sp, 56
bl mz_inflateInit
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
beq .L119
ldr w0, [sp, 52]
b .L124
.L119:
add x0, sp, 56
mov w1, 4
bl mz_inflate
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 1
beq .L120
add x0, sp, 56
bl mz_inflateEnd
ldr w0, [sp, 52]
cmn w0, #5
bne .L121
ldr w0, [sp, 64]
cmp w0, 0
beq .L122
.L121:
ldr w0, [sp, 52]
b .L124
.L122:
mov w0, -3
b .L124
.L120:
ldr x1, [sp, 96]
ldr x0, [sp, 32]
str x1, [x0]
add x0, sp, 56
bl mz_inflateEnd
.L124:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L125
bl __stack_chk_fail
.L125:
mov w0, w1
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size mz_uncompress, .-mz_uncompress
.align 2
.global mz_error
.type mz_error, %function
mz_error:
.LFB27:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str wzr, [sp, 28]
b .L127
.L130:
adrp x0, s_error_descs.20
add x1, x0, :lo12:s_error_descs.20
ldr w0, [sp, 28]
lsl x0, x0, 4
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 12]
cmp w1, w0
bne .L128
adrp x0, s_error_descs.20
add x1, x0, :lo12:s_error_descs.20
ldr w0, [sp, 28]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
b .L129
.L128:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L127:
ldr w0, [sp, 28]
cmp w0, 9
bls .L130
mov x0, 0
.L129:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE27:
.size mz_error, .-mz_error
.align 2
.global tinfl_decompress
.type tinfl_decompress, %function
tinfl_decompress:
.LFB28:
.cfi_startproc
sub sp, sp, #528
.cfi_def_cfa_offset 528
stp x29, x30, [sp]
.cfi_offset 29, -528
.cfi_offset 30, -520
mov x29, sp
str x0, [sp, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str x3, [sp, 48]
str x4, [sp, 40]
str x5, [sp, 32]
str w6, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 520]
mov x1, 0
mov w0, -1
str w0, [sp, 84]
ldr x0, [sp, 64]
str x0, [sp, 280]
ldr x0, [sp, 56]
ldr x0, [x0]
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 344]
ldr x0, [sp, 40]
str x0, [sp, 288]
ldr x0, [sp, 32]
ldr x0, [x0]
ldr x1, [sp, 40]
add x0, x1, x0
str x0, [sp, 352]
ldr w0, [sp, 28]
and w0, w0, 4
cmp w0, 0
bne .L132
ldr x1, [sp, 40]
ldr x0, [sp, 48]
sub x0, x1, x0
mov x1, x0
ldr x0, [sp, 32]
ldr x0, [x0]
add x0, x1, x0
sub x0, x0, #1
b .L133
.L132:
mov x0, -1
.L133:
str x0, [sp, 360]
ldr x0, [sp, 360]
add x1, x0, 1
ldr x0, [sp, 360]
and x0, x1, x0
cmp x0, 0
bne .L134
ldr x1, [sp, 40]
ldr x0, [sp, 48]
cmp x1, x0
bcs .L135
.L134:
ldr x0, [sp, 32]
str xzr, [x0]
ldr x0, [sp, 32]
ldr x1, [x0]
ldr x0, [sp, 56]
str x1, [x0]
mov w0, -3
b .L136
.L135:
ldr x0, [sp, 72]
ldr w0, [x0, 4]
str w0, [sp, 88]
ldr x0, [sp, 72]
ldr x0, [x0, 56]
str x0, [sp, 272]
ldr x0, [sp, 72]
ldr w0, [x0, 32]
str w0, [sp, 92]
ldr x0, [sp, 72]
ldr w0, [x0, 36]
str w0, [sp, 96]
ldr x0, [sp, 72]
ldr w0, [x0, 40]
str w0, [sp, 100]
ldr x0, [sp, 72]
ldr x0, [x0, 64]
str x0, [sp, 296]
ldr x0, [sp, 72]
ldr w0, [x0]
cmp w0, 53
bhi .L137
adrp x1, .L139
add x1, x1, :lo12:.L139
ldr w0, [x1,w0,uxtw #2]
adr x1, .Lrtx139
add x0, x1, w0, sxtw #2
br x0
.Lrtx139:
.section .rodata
.align 0
.align 2
.L139:
.word (.L171 - .Lrtx139) / 4
.word (.L170 - .Lrtx139) / 4
.word (.L169 - .Lrtx139) / 4
.word (.L168 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L167 - .Lrtx139) / 4
.word (.L166 - .Lrtx139) / 4
.word (.L165 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L164 - .Lrtx139) / 4
.word (.L249 - .Lrtx139) / 4
.word (.L162 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L161 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L160 - .Lrtx139) / 4
.word (.L323 - .Lrtx139) / 4
.word (.L158 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L336 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L156 - .Lrtx139) / 4
.word (.L155 - .Lrtx139) / 4
.word (.L154 - .Lrtx139) / 4
.word (.L153 - .Lrtx139) / 4
.word (.L152 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L151 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L415 - .Lrtx139) / 4
.word (.L287 - .Lrtx139) / 4
.word (.L192 - .Lrtx139) / 4
.word (.L408 - .Lrtx139) / 4
.word (.L243 - .Lrtx139) / 4
.word (.L228 - .Lrtx139) / 4
.word (.L244 - .Lrtx139) / 4
.word (.L143 - .Lrtx139) / 4
.word (.L142 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L137 - .Lrtx139) / 4
.word (.L141 - .Lrtx139) / 4
.word (.L140 - .Lrtx139) / 4
.word (.L138 - .Lrtx139) / 4
.text
.L171:
ldr x0, [sp, 72]
str wzr, [x0, 12]
ldr x0, [sp, 72]
ldr w1, [x0, 12]
ldr x0, [sp, 72]
str w1, [x0, 8]
ldr x0, [sp, 72]
ldr w0, [x0, 8]
str w0, [sp, 100]
ldr w0, [sp, 100]
str w0, [sp, 96]
ldr w0, [sp, 96]
str w0, [sp, 92]
ldr w0, [sp, 92]
str w0, [sp, 88]
ldr w0, [sp, 88]
str x0, [sp, 272]
ldr x0, [sp, 72]
mov w1, 1
str w1, [x0, 28]
ldr x0, [sp, 72]
ldr w1, [x0, 28]
ldr x0, [sp, 72]
str w1, [x0, 16]
ldr w0, [sp, 28]
and w0, w0, 1
cmp w0, 0
beq .L172
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L173
.L177:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L174
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 1
str w1, [x0]
b .L137
.L170:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L177
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 72]
str w1, [x0, 8]
b .L178
.L174:
ldr x0, [sp, 72]
str wzr, [x0, 8]
b .L178
.L173:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 72]
str w1, [x0, 8]
.L178:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L179
.L183:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L180
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 2
str w1, [x0]
b .L137
.L169:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L183
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 72]
str w1, [x0, 12]
b .L184
.L180:
ldr x0, [sp, 72]
str wzr, [x0, 12]
b .L184
.L179:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 72]
str w1, [x0, 12]
.L184:
ldr x0, [sp, 72]
ldr w0, [x0, 8]
lsl w1, w0, 8
ldr x0, [sp, 72]
ldr w0, [x0, 12]
add w2, w1, w0
mov w0, 4229
movk w0, 0x842, lsl 16
umull x0, w2, w0
lsr x0, x0, 32
sub w1, w2, w0
lsr w1, w1, 1
add w0, w1, w0
lsr w1, w0, 4
mov w0, w1
lsl w0, w0, 5
sub w0, w0, w1
sub w1, w2, w0
cmp w1, 0
bne .L185
ldr x0, [sp, 72]
ldr w0, [x0, 12]
and w0, w0, 32
cmp w0, 0
bne .L185
ldr x0, [sp, 72]
ldr w0, [x0, 8]
and w0, w0, 15
cmp w0, 8
beq .L186
.L185:
mov w0, 1
b .L187
.L186:
mov w0, 0
.L187:
str w0, [sp, 96]
ldr w0, [sp, 28]
and w0, w0, 4
cmp w0, 0
bne .L188
ldr x0, [sp, 72]
ldr w0, [x0, 8]
lsr w0, w0, 4
add w0, w0, 8
mov w1, 1
lsl w0, w1, w0
cmp w0, 32768
bhi .L189
ldr x0, [sp, 360]
add x1, x0, 1
ldr x0, [sp, 72]
ldr w0, [x0, 8]
lsr w0, w0, 4
add w0, w0, 8
lsr x0, x1, x0
cmp x0, 0
bne .L190
.L189:
mov w0, 1
b .L191
.L190:
mov w0, 0
.L191:
mov w1, w0
ldr w0, [sp, 96]
orr w0, w0, w1
str w0, [sp, 96]
.L188:
ldr w0, [sp, 96]
cmp w0, 0
beq .L172
.L192:
mov w0, -1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 36
str w1, [x0]
b .L137
.L172:
ldr w0, [sp, 88]
cmp w0, 2
bhi .L193
.L200:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L194
.L198:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L195
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 3
str w1, [x0]
b .L137
.L168:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L198
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 104]
b .L199
.L195:
str wzr, [sp, 104]
b .L199
.L194:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 104]
.L199:
ldr w1, [sp, 104]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 2
bls .L200
.L193:
ldr x0, [sp, 272]
and w1, w0, 7
ldr x0, [sp, 72]
str w1, [x0, 20]
ldr x0, [sp, 272]
lsr x0, x0, 3
str x0, [sp, 272]
ldr w0, [sp, 88]
sub w0, w0, #3
str w0, [sp, 88]
ldr x0, [sp, 72]
ldr w0, [x0, 20]
lsr w1, w0, 1
ldr x0, [sp, 72]
str w1, [x0, 24]
ldr x0, [sp, 72]
ldr w0, [x0, 24]
cmp w0, 0
bne .L201
ldr w0, [sp, 88]
and w0, w0, 7
ldr w1, [sp, 88]
cmp w1, w0
bcs .L202
.L209:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L203
.L207:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L204
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 5
str w1, [x0]
b .L137
.L167:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L207
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 108]
b .L208
.L204:
str wzr, [sp, 108]
b .L208
.L203:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 108]
.L208:
ldr w1, [sp, 108]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
and w0, w0, 7
ldr w1, [sp, 88]
cmp w1, w0
bcc .L209
.L202:
ldr w0, [sp, 88]
and w0, w0, 7
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
and w0, w0, -8
str w0, [sp, 88]
str wzr, [sp, 96]
b .L210
.L226:
ldr w0, [sp, 88]
cmp w0, 0
beq .L211
ldr w0, [sp, 88]
cmp w0, 7
bhi .L212
.L219:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L213
.L217:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L214
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 6
str w1, [x0]
b .L137
.L166:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L217
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 112]
b .L218
.L214:
str wzr, [sp, 112]
b .L218
.L213:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 112]
.L218:
ldr w1, [sp, 112]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 7
bls .L219
.L212:
ldr x0, [sp, 272]
and w2, w0, 255
ldr x1, [sp, 72]
ldr w0, [sp, 96]
add x0, x1, x0
add x0, x0, 8192
mov w1, w2
strb w1, [x0, 2344]
ldr x0, [sp, 272]
lsr x0, x0, 8
str x0, [sp, 272]
ldr w0, [sp, 88]
sub w0, w0, #8
str w0, [sp, 88]
b .L220
.L211:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L221
.L225:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L222
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 7
str w1, [x0]
b .L137
.L165:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L225
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w2, [x0]
ldr x1, [sp, 72]
ldr w0, [sp, 96]
add x0, x1, x0
add x0, x0, 8192
mov w1, w2
strb w1, [x0, 2344]
b .L220
.L222:
ldr x1, [sp, 72]
ldr w0, [sp, 96]
add x0, x1, x0
add x0, x0, 8192
strb wzr, [x0, 2344]
b .L220
.L221:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w2, [x0]
ldr x1, [sp, 72]
ldr w0, [sp, 96]
add x0, x1, x0
add x0, x0, 8192
mov w1, w2
strb w1, [x0, 2344]
.L220:
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L210:
ldr w0, [sp, 96]
cmp w0, 3
bls .L226
ldr x0, [sp, 72]
add x0, x0, 8192
ldrb w0, [x0, 2344]
mov w1, w0
ldr x0, [sp, 72]
add x0, x0, 8192
ldrb w0, [x0, 2345]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 96]
ldr x0, [sp, 72]
add x0, x0, 8192
ldrb w0, [x0, 2346]
mov w1, w0
ldr x0, [sp, 72]
add x0, x0, 8192
ldrb w0, [x0, 2347]
lsl w0, w0, 8
orr w0, w1, w0
eor w0, w0, 65535
mov w1, w0
ldr w0, [sp, 96]
cmp w0, w1
beq .L450
.L228:
mov w0, -1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 39
str w1, [x0]
b .L137
.L240:
ldr w0, [sp, 88]
cmp w0, 7
bhi .L230
.L237:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L231
.L235:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L232
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 51
str w1, [x0]
b .L137
.L141:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L235
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 116]
b .L236
.L232:
str wzr, [sp, 116]
b .L236
.L231:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 116]
.L236:
ldr w1, [sp, 116]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 7
bls .L237
.L230:
ldr x0, [sp, 272]
and w0, w0, 255
str w0, [sp, 92]
ldr x0, [sp, 272]
lsr x0, x0, 8
str x0, [sp, 272]
ldr w0, [sp, 88]
sub w0, w0, #8
str w0, [sp, 88]
b .L140
.L238:
mov w0, 2
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 52
str w1, [x0]
b .L137
.L140:
ldr x1, [sp, 288]
ldr x0, [sp, 352]
cmp x1, x0
bcs .L238
ldr x0, [sp, 288]
add x1, x0, 1
str x1, [sp, 288]
ldr w1, [sp, 92]
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 96]
sub w0, w0, #1
str w0, [sp, 96]
b .L229
.L450:
nop
.L229:
ldr w0, [sp, 96]
cmp w0, 0
beq .L451
ldr w0, [sp, 88]
cmp w0, 0
bne .L240
b .L451
.L242:
mov w0, 2
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 9
str w1, [x0]
b .L137
.L452:
nop
.L164:
ldr x1, [sp, 288]
ldr x0, [sp, 352]
cmp x1, x0
bcs .L242
b .L243
.L245:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L244
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 38
str w1, [x0]
b .L137
.L244:
mov w0, -1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 40
str w1, [x0]
b .L137
.L243:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L245
ldr w1, [sp, 96]
ldr x2, [sp, 344]
ldr x0, [sp, 280]
sub x0, x2, x0
mov x2, x0
ldr x3, [sp, 352]
ldr x0, [sp, 288]
sub x0, x3, x0
cmp x2, x0
csel x0, x2, x0, ls
cmp x1, x0
csel x0, x1, x0, ls
str x0, [sp, 376]
ldr x2, [sp, 376]
ldr x1, [sp, 280]
ldr x0, [sp, 288]
bl memcpy
ldr x1, [sp, 280]
ldr x0, [sp, 376]
add x0, x1, x0
str x0, [sp, 280]
ldr x1, [sp, 288]
ldr x0, [sp, 376]
add x0, x1, x0
str x0, [sp, 288]
ldr x0, [sp, 376]
mov w1, w0
ldr w0, [sp, 96]
sub w0, w0, w1
str w0, [sp, 96]
b .L241
.L451:
nop
.L241:
ldr w0, [sp, 96]
cmp w0, 0
bne .L452
b .L247
.L201:
ldr x0, [sp, 72]
ldr w0, [x0, 24]
cmp w0, 3
bne .L248
.L249:
mov w0, -1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 10
str w1, [x0]
b .L137
.L248:
ldr x0, [sp, 72]
ldr w0, [x0, 24]
cmp w0, 1
bne .L250
ldr x0, [sp, 72]
add x0, x0, 72
str x0, [sp, 304]
ldr x0, [sp, 72]
mov w1, 288
str w1, [x0, 44]
ldr x0, [sp, 72]
mov w1, 32
str w1, [x0, 48]
ldr x0, [sp, 72]
add x0, x0, 3560
mov x2, 32
mov w1, 5
bl memset
str wzr, [sp, 120]
b .L251
.L252:
ldr x0, [sp, 304]
add x1, x0, 1
str x1, [sp, 304]
mov w1, 8
strb w1, [x0]
ldr w0, [sp, 120]
add w0, w0, 1
str w0, [sp, 120]
.L251:
ldr w0, [sp, 120]
cmp w0, 143
bls .L252
b .L253
.L254:
ldr x0, [sp, 304]
add x1, x0, 1
str x1, [sp, 304]
mov w1, 9
strb w1, [x0]
ldr w0, [sp, 120]
add w0, w0, 1
str w0, [sp, 120]
.L253:
ldr w0, [sp, 120]
cmp w0, 255
bls .L254
b .L255
.L256:
ldr x0, [sp, 304]
add x1, x0, 1
str x1, [sp, 304]
mov w1, 7
strb w1, [x0]
ldr w0, [sp, 120]
add w0, w0, 1
str w0, [sp, 120]
.L255:
ldr w0, [sp, 120]
cmp w0, 279
bls .L256
b .L257
.L258:
ldr x0, [sp, 304]
add x1, x0, 1
str x1, [sp, 304]
mov w1, 8
strb w1, [x0]
ldr w0, [sp, 120]
add w0, w0, 1
str w0, [sp, 120]
.L257:
ldr w0, [sp, 120]
cmp w0, 287
bls .L258
b .L280
.L250:
str wzr, [sp, 96]
b .L260
.L269:
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr w0, [sp, 96]
ldrb w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 88]
cmp w0, w1
bcs .L261
.L268:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L262
.L266:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L263
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 11
str w1, [x0]
b .L137
.L162:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L266
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 124]
b .L267
.L263:
str wzr, [sp, 124]
b .L267
.L262:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 124]
.L267:
ldr w1, [sp, 124]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr w0, [sp, 96]
ldrb w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 88]
cmp w0, w1
bcc .L268
.L261:
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr w0, [sp, 96]
ldrb w0, [x1, x0]
mov w1, w0
mov w0, 1
lsl w0, w0, w1
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 272]
and w1, w1, w0
ldr x2, [sp, 72]
ldr w0, [sp, 96]
add x0, x0, 8
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 12]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr w0, [sp, 96]
ldrb w0, [x1, x0]
mov w1, w0
ldr x0, [sp, 272]
lsr x0, x0, x1
str x0, [sp, 272]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr w0, [sp, 96]
ldrb w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 88]
sub w0, w0, w1
str w0, [sp, 88]
ldr x1, [sp, 72]
ldr w0, [sp, 96]
add x0, x0, 8
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
adrp x1, s_min_table_sizes.19
add x1, x1, :lo12:s_min_table_sizes.19
ldr w2, [sp, 96]
ldr w1, [x1, x2, lsl 2]
add w1, w0, w1
ldr x2, [sp, 72]
ldr w0, [sp, 96]
add x0, x0, 8
lsl x0, x0, 2
add x0, x2, x0
str w1, [x0, 12]
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L260:
ldr w0, [sp, 96]
cmp w0, 2
bls .L269
ldr x1, [sp, 72]
mov x0, 7048
add x0, x1, x0
mov x2, 288
mov w1, 0
bl memset
str wzr, [sp, 96]
b .L270
.L279:
ldr w0, [sp, 88]
cmp w0, 2
bhi .L271
.L278:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L272
.L276:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L273
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 14
str w1, [x0]
b .L137
.L161:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L276
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 128]
b .L277
.L273:
str wzr, [sp, 128]
b .L277
.L272:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 128]
.L277:
ldr w1, [sp, 128]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 2
bls .L278
.L271:
ldr x0, [sp, 272]
and w0, w0, 7
str w0, [sp, 252]
ldr x0, [sp, 272]
lsr x0, x0, 3
str x0, [sp, 272]
ldr w0, [sp, 88]
sub w0, w0, #3
str w0, [sp, 88]
adrp x0, s_length_dezigzag.18
add x1, x0, :lo12:s_length_dezigzag.18
ldr w0, [sp, 96]
ldrb w0, [x1, x0]
mov w3, w0
ldr w0, [sp, 252]
and w2, w0, 255
ldr x1, [sp, 72]
sxtw x0, w3
add x0, x1, x0
add x0, x0, 4096
mov w1, w2
strb w1, [x0, 2952]
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L270:
ldr x0, [sp, 72]
ldr w0, [x0, 52]
ldr w1, [sp, 96]
cmp w1, w0
bcc .L279
ldr x0, [sp, 72]
mov w1, 19
str w1, [x0, 52]
b .L280
.L337:
ldr x0, [sp, 72]
ldr w0, [x0, 24]
uxtw x1, w0
mov x0, 3488
mul x0, x1, x0
add x0, x0, 64
ldr x1, [sp, 72]
add x0, x1, x0
add x0, x0, 8
str x0, [sp, 368]
add x0, sp, 384
mov x2, 64
mov w1, 0
bl memset
ldr x0, [sp, 368]
add x0, x0, 288
mov x2, 2048
mov w1, 0
bl memset
ldr x0, [sp, 368]
add x0, x0, 2336
mov x2, 1152
mov w1, 0
bl memset
str wzr, [sp, 140]
b .L281
.L282:
ldr x1, [sp, 368]
ldr w0, [sp, 140]
ldrb w0, [x1, x0]
mov w3, w0
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 384
ldr w0, [x1, x0]
add w2, w0, 1
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 384
str w2, [x1, x0]
ldr w0, [sp, 140]
add w0, w0, 1
str w0, [sp, 140]
.L281:
ldr x0, [sp, 72]
ldr w0, [x0, 24]
ldr x1, [sp, 72]
uxtw x0, w0
add x0, x0, 8
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
ldr w1, [sp, 140]
cmp w1, w0
bcc .L282
str wzr, [sp, 148]
str wzr, [sp, 152]
str wzr, [sp, 452]
ldr w0, [sp, 452]
str w0, [sp, 448]
mov w0, 1
str w0, [sp, 140]
b .L283
.L284:
ldr w0, [sp, 140]
lsl x0, x0, 2
add x1, sp, 384
ldr w0, [x1, x0]
ldr w1, [sp, 148]
add w0, w1, w0
str w0, [sp, 148]
ldr w0, [sp, 140]
lsl x0, x0, 2
add x1, sp, 384
ldr w1, [x1, x0]
ldr w0, [sp, 152]
add w0, w1, w0
lsl w0, w0, 1
str w0, [sp, 152]
ldr w0, [sp, 140]
add w0, w0, 1
uxtw x0, w0
lsl x0, x0, 2
add x1, sp, 448
ldr w2, [sp, 152]
str w2, [x1, x0]
ldr w0, [sp, 140]
add w0, w0, 1
str w0, [sp, 140]
.L283:
ldr w0, [sp, 140]
cmp w0, 15
bls .L284
ldr w0, [sp, 152]
cmp w0, 65536
beq .L285
ldr w0, [sp, 148]
cmp w0, 1
bls .L285
.L287:
mov w0, -1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 35
str w1, [x0]
b .L137
.L285:
mov w0, -1
str w0, [sp, 132]
str wzr, [sp, 156]
b .L288
.L301:
str wzr, [sp, 160]
ldr x1, [sp, 368]
ldr w0, [sp, 156]
ldrb w0, [x1, x0]
str w0, [sp, 256]
ldr w0, [sp, 256]
cmp w0, 0
beq .L453
ldr w0, [sp, 256]
lsl x0, x0, 2
add x1, sp, 448
ldr w0, [x1, x0]
add w3, w0, 1
ldr w1, [sp, 256]
lsl x1, x1, 2
add x2, sp, 448
str w3, [x2, x1]
str w0, [sp, 168]
ldr w0, [sp, 256]
str w0, [sp, 164]
b .L291
.L292:
ldr w0, [sp, 160]
lsl w1, w0, 1
ldr w0, [sp, 168]
and w0, w0, 1
orr w0, w1, w0
str w0, [sp, 160]
ldr w0, [sp, 164]
sub w0, w0, #1
str w0, [sp, 164]
ldr w0, [sp, 168]
lsr w0, w0, 1
str w0, [sp, 168]
.L291:
ldr w0, [sp, 164]
cmp w0, 0
bne .L292
ldr w0, [sp, 256]
cmp w0, 10
bhi .L293
ldr w0, [sp, 256]
and w0, w0, 65535
ubfiz w0, w0, 9, 7
and w1, w0, 65535
ldr w0, [sp, 156]
and w0, w0, 65535
orr w0, w1, w0
and w0, w0, 65535
strh w0, [sp, 82]
b .L294
.L295:
ldr x0, [sp, 368]
ldr w1, [sp, 160]
add x1, x1, 144
ldrh w2, [sp, 82]
strh w2, [x0, x1, lsl 1]
ldr w0, [sp, 256]
mov w1, 1
lsl w0, w1, w0
mov w1, w0
ldr w0, [sp, 160]
add w0, w0, w1
str w0, [sp, 160]
.L294:
ldr w0, [sp, 160]
cmp w0, 1023
bls .L295
b .L290
.L293:
ldr w0, [sp, 160]
and w1, w0, 1023
ldr x0, [sp, 368]
uxtw x1, w1
add x1, x1, 144
ldrsh w0, [x0, x1, lsl 1]
str w0, [sp, 136]
ldr w0, [sp, 136]
cmp w0, 0
bne .L296
ldr w0, [sp, 160]
and w1, w0, 1023
ldr w0, [sp, 132]
sxth w2, w0
ldr x0, [sp, 368]
uxtw x1, w1
add x1, x1, 144
strh w2, [x0, x1, lsl 1]
ldr w0, [sp, 132]
str w0, [sp, 136]
ldr w0, [sp, 132]
sub w0, w0, #2
str w0, [sp, 132]
.L296:
ldr w0, [sp, 160]
lsr w0, w0, 9
str w0, [sp, 160]
ldr w0, [sp, 256]
str w0, [sp, 144]
b .L297
.L300:
ldr w0, [sp, 160]
lsr w0, w0, 1
str w0, [sp, 160]
ldr w0, [sp, 160]
and w0, w0, 1
ldr w1, [sp, 136]
sub w0, w1, w0
str w0, [sp, 136]
ldr w0, [sp, 136]
mvn w1, w0
ldr x0, [sp, 368]
sxtw x1, w1
add x1, x1, 1168
ldrsh w0, [x0, x1, lsl 1]
cmp w0, 0
bne .L298
ldr w0, [sp, 136]
mvn w1, w0
ldr w0, [sp, 132]
sxth w2, w0
ldr x0, [sp, 368]
sxtw x1, w1
add x1, x1, 1168
strh w2, [x0, x1, lsl 1]
ldr w0, [sp, 132]
str w0, [sp, 136]
ldr w0, [sp, 132]
sub w0, w0, #2
str w0, [sp, 132]
b .L299
.L298:
ldr w0, [sp, 136]
mvn w1, w0
ldr x0, [sp, 368]
sxtw x1, w1
add x1, x1, 1168
ldrsh w0, [x0, x1, lsl 1]
str w0, [sp, 136]
.L299:
ldr w0, [sp, 144]
sub w0, w0, #1
str w0, [sp, 144]
.L297:
ldr w0, [sp, 144]
cmp w0, 11
bhi .L300
ldr w0, [sp, 160]
lsr w0, w0, 1
str w0, [sp, 160]
ldr w1, [sp, 136]
ldr w0, [sp, 160]
and w0, w0, 1
sub w0, w1, w0
str w0, [sp, 136]
ldr w0, [sp, 136]
mvn w1, w0
ldr w0, [sp, 156]
sxth w2, w0
ldr x0, [sp, 368]
sxtw x1, w1
add x1, x1, 1168
strh w2, [x0, x1, lsl 1]
b .L290
.L453:
nop
.L290:
ldr w0, [sp, 156]
add w0, w0, 1
str w0, [sp, 156]
.L288:
ldr x0, [sp, 72]
ldr w0, [x0, 24]
ldr x1, [sp, 72]
uxtw x0, w0
add x0, x0, 8
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 12]
ldr w1, [sp, 156]
cmp w1, w0
bcc .L301
ldr x0, [sp, 72]
ldr w0, [x0, 24]
cmp w0, 2
bne .L302
str wzr, [sp, 96]
b .L303
.L334:
ldr w0, [sp, 88]
cmp w0, 14
bhi .L304
ldr x1, [sp, 344]
ldr x0, [sp, 280]
sub x0, x1, x0
cmp x0, 1
bgt .L305
.L317:
ldr x0, [sp, 272]
and x0, x0, 1023
ldr x1, [sp, 72]
add x0, x0, 3664
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 172]
ldr w0, [sp, 172]
cmp w0, 0
blt .L306
ldr w0, [sp, 172]
asr w0, w0, 9
str w0, [sp, 176]
ldr w0, [sp, 176]
cmp w0, 0
beq .L307
ldr w1, [sp, 88]
ldr w0, [sp, 176]
cmp w1, w0
bcc .L307
b .L304
.L306:
ldr w0, [sp, 88]
cmp w0, 10
bls .L307
mov w0, 10
str w0, [sp, 176]
.L310:
ldr w0, [sp, 172]
mvn w0, w0
sxtw x1, w0
ldr w0, [sp, 176]
add w2, w0, 1
str w2, [sp, 176]
ldr x2, [sp, 272]
lsr x0, x2, x0
and x0, x0, 1
add x2, x1, x0
ldr x1, [sp, 72]
mov x0, 4688
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 172]
ldr w0, [sp, 172]
cmp w0, 0
bge .L309
ldr w0, [sp, 176]
add w0, w0, 1
ldr w1, [sp, 88]
cmp w1, w0
bcs .L310
.L309:
ldr w0, [sp, 172]
cmp w0, 0
bge .L304
.L307:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L311
.L315:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L312
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 16
str w1, [x0]
b .L137
.L160:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L315
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 180]
b .L316
.L312:
str wzr, [sp, 180]
b .L316
.L311:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 180]
.L316:
ldr w1, [sp, 180]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 14
bls .L317
b .L304
.L305:
ldr x0, [sp, 280]
ldrb w0, [x0]
and x1, x0, 255
ldr w0, [sp, 88]
lsl x1, x1, x0
ldr x0, [sp, 280]
add x0, x0, 1
ldrb w0, [x0]
and x2, x0, 255
ldr w0, [sp, 88]
add w0, w0, 8
lsl x0, x2, x0
orr x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr x0, [sp, 280]
add x0, x0, 2
str x0, [sp, 280]
ldr w0, [sp, 88]
add w0, w0, 16
str w0, [sp, 88]
.L304:
ldr x0, [sp, 272]
and x0, x0, 1023
ldr x1, [sp, 72]
add x0, x0, 3664
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 172]
ldr w0, [sp, 172]
cmp w0, 0
blt .L318
ldr w0, [sp, 172]
asr w0, w0, 9
str w0, [sp, 176]
ldr w0, [sp, 172]
and w0, w0, 511
str w0, [sp, 172]
b .L319
.L318:
mov w0, 10
str w0, [sp, 176]
.L320:
ldr w0, [sp, 172]
mvn w0, w0
sxtw x1, w0
ldr w0, [sp, 176]
add w2, w0, 1
str w2, [sp, 176]
ldr x2, [sp, 272]
lsr x0, x2, x0
and x0, x0, 1
add x2, x1, x0
ldr x1, [sp, 72]
mov x0, 4688
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 172]
ldr w0, [sp, 172]
cmp w0, 0
blt .L320
.L319:
ldr w0, [sp, 172]
str w0, [sp, 92]
ldr w0, [sp, 176]
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w1, [sp, 88]
ldr w0, [sp, 176]
sub w0, w1, w0
str w0, [sp, 88]
ldr w0, [sp, 92]
cmp w0, 15
bhi .L321
ldr w0, [sp, 96]
add w1, w0, 1
str w1, [sp, 96]
ldr w1, [sp, 92]
and w2, w1, 255
ldr x1, [sp, 72]
uxtw x0, w0
add x0, x1, x0
add x0, x0, 8192
mov w1, w2
strb w1, [x0, 2348]
b .L303
.L321:
ldr w0, [sp, 92]
cmp w0, 16
bne .L322
ldr w0, [sp, 96]
cmp w0, 0
bne .L322
.L323:
mov w0, -1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 17
str w1, [x0]
b .L137
.L322:
ldr w0, [sp, 92]
sub w2, w0, #16
adrp x0, .LC2
add x1, x0, :lo12:.LC2
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 100]
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
bcs .L324
.L331:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L325
.L329:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L326
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 18
str w1, [x0]
b .L137
.L158:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L329
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 184]
b .L330
.L326:
str wzr, [sp, 184]
b .L330
.L325:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 184]
.L330:
ldr w1, [sp, 184]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
bcc .L331
.L324:
ldr w0, [sp, 100]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 272]
and w0, w1, w0
str w0, [sp, 268]
ldr w0, [sp, 100]
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w1, [sp, 88]
ldr w0, [sp, 100]
sub w0, w1, w0
str w0, [sp, 88]
ldr w0, [sp, 92]
sub w2, w0, #16
adrp x0, .LC3
add x1, x0, :lo12:.LC3
uxtw x0, w2
ldrb w0, [x1, x0]
mov w1, w0
ldr w0, [sp, 268]
add w0, w0, w1
str w0, [sp, 268]
ldr x1, [sp, 72]
mov x0, 10540
add x1, x1, x0
ldr w0, [sp, 96]
add x3, x1, x0
ldr w0, [sp, 92]
cmp w0, 16
bne .L332
ldr w0, [sp, 96]
sub w0, w0, #1
ldr x1, [sp, 72]
uxtw x0, w0
add x0, x1, x0
add x0, x0, 8192
ldrb w0, [x0, 2348]
mov w1, w0
b .L333
.L332:
mov w1, 0
.L333:
ldr w0, [sp, 268]
mov x2, x0
mov x0, x3
bl memset
ldr w1, [sp, 96]
ldr w0, [sp, 268]
add w0, w1, w0
str w0, [sp, 96]
.L303:
ldr x0, [sp, 72]
ldr w1, [x0, 44]
ldr x0, [sp, 72]
ldr w0, [x0, 48]
add w0, w1, w0
ldr w1, [sp, 96]
cmp w1, w0
bcc .L334
ldr x0, [sp, 72]
ldr w1, [x0, 44]
ldr x0, [sp, 72]
ldr w0, [x0, 48]
add w0, w1, w0
ldr w1, [sp, 96]
cmp w1, w0
beq .L335
.L336:
mov w0, -1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 21
str w1, [x0]
b .L137
.L335:
ldr x0, [sp, 72]
add x3, x0, 72
ldr x1, [sp, 72]
mov x0, 10540
add x1, x1, x0
ldr x0, [sp, 72]
ldr w0, [x0, 44]
uxtw x0, w0
mov x2, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 72]
add x3, x0, 3560
ldr x1, [sp, 72]
mov x0, 10540
add x1, x1, x0
ldr x0, [sp, 72]
ldr w0, [x0, 44]
uxtw x0, w0
add x1, x1, x0
ldr x0, [sp, 72]
ldr w0, [x0, 48]
uxtw x0, w0
mov x2, x0
mov x0, x3
bl memcpy
.L302:
ldr x0, [sp, 72]
ldr w0, [x0, 24]
sub w1, w0, #1
ldr x0, [sp, 72]
str w1, [x0, 24]
.L280:
ldr x0, [sp, 72]
ldr w0, [x0, 24]
cmp w0, 0
bge .L337
b .L370
.L458:
nop
.L370:
ldr x1, [sp, 344]
ldr x0, [sp, 280]
sub x0, x1, x0
cmp x0, 3
ble .L338
ldr x1, [sp, 352]
ldr x0, [sp, 288]
sub x0, x1, x0
cmp x0, 1
bgt .L339
.L338:
ldr w0, [sp, 88]
cmp w0, 14
bhi .L340
ldr x1, [sp, 344]
ldr x0, [sp, 280]
sub x0, x1, x0
cmp x0, 1
bgt .L341
.L353:
ldr x0, [sp, 272]
and x0, x0, 1023
ldr x1, [sp, 72]
add x0, x0, 176
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 188]
ldr w0, [sp, 188]
cmp w0, 0
blt .L342
ldr w0, [sp, 188]
asr w0, w0, 9
str w0, [sp, 192]
ldr w0, [sp, 192]
cmp w0, 0
beq .L343
ldr w1, [sp, 88]
ldr w0, [sp, 192]
cmp w1, w0
bcc .L343
b .L340
.L342:
ldr w0, [sp, 88]
cmp w0, 10
bls .L343
mov w0, 10
str w0, [sp, 192]
.L346:
ldr w0, [sp, 188]
mvn w0, w0
sxtw x1, w0
ldr w0, [sp, 192]
add w2, w0, 1
str w2, [sp, 192]
ldr x2, [sp, 272]
lsr x0, x2, x0
and x0, x0, 1
add x0, x1, x0
ldr x1, [sp, 72]
add x0, x0, 1200
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 188]
ldr w0, [sp, 188]
cmp w0, 0
bge .L345
ldr w0, [sp, 192]
add w0, w0, 1
ldr w1, [sp, 88]
cmp w1, w0
bcs .L346
.L345:
ldr w0, [sp, 188]
cmp w0, 0
bge .L340
.L343:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L347
.L351:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L348
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 23
str w1, [x0]
b .L137
.L156:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L351
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 196]
b .L352
.L348:
str wzr, [sp, 196]
b .L352
.L347:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 196]
.L352:
ldr w1, [sp, 196]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 14
bls .L353
b .L340
.L341:
ldr x0, [sp, 280]
ldrb w0, [x0]
and x1, x0, 255
ldr w0, [sp, 88]
lsl x1, x1, x0
ldr x0, [sp, 280]
add x0, x0, 1
ldrb w0, [x0]
and x2, x0, 255
ldr w0, [sp, 88]
add w0, w0, 8
lsl x0, x2, x0
orr x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr x0, [sp, 280]
add x0, x0, 2
str x0, [sp, 280]
ldr w0, [sp, 88]
add w0, w0, 16
str w0, [sp, 88]
.L340:
ldr x0, [sp, 272]
and x0, x0, 1023
ldr x1, [sp, 72]
add x0, x0, 176
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 188]
ldr w0, [sp, 188]
cmp w0, 0
blt .L354
ldr w0, [sp, 188]
asr w0, w0, 9
str w0, [sp, 192]
ldr w0, [sp, 188]
and w0, w0, 511
str w0, [sp, 188]
b .L355
.L354:
mov w0, 10
str w0, [sp, 192]
.L356:
ldr w0, [sp, 188]
mvn w0, w0
sxtw x1, w0
ldr w0, [sp, 192]
add w2, w0, 1
str w2, [sp, 192]
ldr x2, [sp, 272]
lsr x0, x2, x0
and x0, x0, 1
add x0, x1, x0
ldr x1, [sp, 72]
add x0, x0, 1200
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 188]
ldr w0, [sp, 188]
cmp w0, 0
blt .L356
.L355:
ldr w0, [sp, 188]
str w0, [sp, 96]
ldr w0, [sp, 192]
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w1, [sp, 88]
ldr w0, [sp, 192]
sub w0, w1, w0
str w0, [sp, 88]
ldr w0, [sp, 96]
cmp w0, 255
bls .L454
b .L358
.L359:
mov w0, 2
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 24
str w1, [x0]
b .L137
.L454:
nop
.L155:
ldr x1, [sp, 288]
ldr x0, [sp, 352]
cmp x1, x0
bcs .L359
ldr x0, [sp, 288]
add x1, x0, 1
str x1, [sp, 288]
ldr w1, [sp, 96]
and w1, w1, 255
strb w1, [x0]
b .L370
.L339:
ldr w0, [sp, 88]
cmp w0, 29
bhi .L361
ldr x0, [sp, 280]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 280]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 280]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 280]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr x0, [sp, 280]
add x0, x0, 4
str x0, [sp, 280]
ldr w0, [sp, 88]
add w0, w0, 32
str w0, [sp, 88]
.L361:
ldr x0, [sp, 272]
and x0, x0, 1023
ldr x1, [sp, 72]
add x0, x0, 176
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 200]
ldr w0, [sp, 200]
cmp w0, 0
blt .L362
ldr w0, [sp, 200]
asr w0, w0, 9
str w0, [sp, 204]
b .L363
.L362:
mov w0, 10
str w0, [sp, 204]
.L364:
ldr w0, [sp, 200]
mvn w0, w0
sxtw x1, w0
ldr w0, [sp, 204]
add w2, w0, 1
str w2, [sp, 204]
ldr x2, [sp, 272]
lsr x0, x2, x0
and x0, x0, 1
add x0, x1, x0
ldr x1, [sp, 72]
add x0, x0, 1200
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 200]
ldr w0, [sp, 200]
cmp w0, 0
blt .L364
.L363:
ldr w0, [sp, 200]
str w0, [sp, 96]
ldr w0, [sp, 204]
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w1, [sp, 88]
ldr w0, [sp, 204]
sub w0, w1, w0
str w0, [sp, 88]
ldr w0, [sp, 96]
and w0, w0, 256
cmp w0, 0
bne .L455
ldr x0, [sp, 272]
and x0, x0, 1023
ldr x1, [sp, 72]
add x0, x0, 176
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 200]
ldr w0, [sp, 200]
cmp w0, 0
blt .L366
ldr w0, [sp, 200]
asr w0, w0, 9
str w0, [sp, 204]
b .L367
.L366:
mov w0, 10
str w0, [sp, 204]
.L368:
ldr w0, [sp, 200]
mvn w0, w0
sxtw x1, w0
ldr w0, [sp, 204]
add w2, w0, 1
str w2, [sp, 204]
ldr x2, [sp, 272]
lsr x0, x2, x0
and x0, x0, 1
add x0, x1, x0
ldr x1, [sp, 72]
add x0, x0, 1200
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 200]
ldr w0, [sp, 200]
cmp w0, 0
blt .L368
.L367:
ldr w0, [sp, 204]
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w1, [sp, 88]
ldr w0, [sp, 204]
sub w0, w1, w0
str w0, [sp, 88]
ldr w0, [sp, 96]
and w1, w0, 255
ldr x0, [sp, 288]
strb w1, [x0]
ldr w0, [sp, 200]
and w0, w0, 256
cmp w0, 0
beq .L369
ldr x0, [sp, 288]
add x0, x0, 1
str x0, [sp, 288]
ldr w0, [sp, 200]
str w0, [sp, 96]
b .L358
.L369:
ldr x0, [sp, 288]
add x0, x0, 1
ldr w1, [sp, 200]
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 288]
add x0, x0, 2
str x0, [sp, 288]
b .L370
.L455:
nop
.L358:
ldr w0, [sp, 96]
and w0, w0, 511
str w0, [sp, 96]
ldr w0, [sp, 96]
cmp w0, 256
beq .L456
ldr w0, [sp, 96]
sub w1, w0, #257
adrp x0, s_length_extra.17
add x0, x0, :lo12:s_length_extra.17
uxtw x1, w1
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 100]
ldr w0, [sp, 96]
sub w1, w0, #257
adrp x0, s_length_base.16
add x0, x0, :lo12:s_length_base.16
uxtw x1, w1
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 96]
ldr w0, [sp, 100]
cmp w0, 0
beq .L372
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
bcs .L373
.L380:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L374
.L378:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L375
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 25
str w1, [x0]
b .L137
.L154:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L378
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 208]
b .L379
.L375:
str wzr, [sp, 208]
b .L379
.L374:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 208]
.L379:
ldr w1, [sp, 208]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
bcc .L380
.L373:
ldr w0, [sp, 100]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 272]
and w0, w1, w0
str w0, [sp, 260]
ldr w0, [sp, 100]
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w1, [sp, 88]
ldr w0, [sp, 100]
sub w0, w1, w0
str w0, [sp, 88]
ldr w1, [sp, 96]
ldr w0, [sp, 260]
add w0, w1, w0
str w0, [sp, 96]
.L372:
ldr w0, [sp, 88]
cmp w0, 14
bhi .L381
ldr x1, [sp, 344]
ldr x0, [sp, 280]
sub x0, x1, x0
cmp x0, 1
bgt .L382
.L394:
ldr x0, [sp, 272]
and x0, x0, 1023
ldr x1, [sp, 72]
add x0, x0, 1920
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 212]
ldr w0, [sp, 212]
cmp w0, 0
blt .L383
ldr w0, [sp, 212]
asr w0, w0, 9
str w0, [sp, 216]
ldr w0, [sp, 216]
cmp w0, 0
beq .L384
ldr w1, [sp, 88]
ldr w0, [sp, 216]
cmp w1, w0
bcc .L384
b .L381
.L383:
ldr w0, [sp, 88]
cmp w0, 10
bls .L384
mov w0, 10
str w0, [sp, 216]
.L387:
ldr w0, [sp, 212]
mvn w0, w0
sxtw x1, w0
ldr w0, [sp, 216]
add w2, w0, 1
str w2, [sp, 216]
ldr x2, [sp, 272]
lsr x0, x2, x0
and x0, x0, 1
add x0, x1, x0
ldr x1, [sp, 72]
add x0, x0, 2944
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 212]
ldr w0, [sp, 212]
cmp w0, 0
bge .L386
ldr w0, [sp, 216]
add w0, w0, 1
ldr w1, [sp, 88]
cmp w1, w0
bcs .L387
.L386:
ldr w0, [sp, 212]
cmp w0, 0
bge .L381
.L384:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L388
.L392:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L389
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 26
str w1, [x0]
b .L137
.L153:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L392
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 220]
b .L393
.L389:
str wzr, [sp, 220]
b .L393
.L388:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 220]
.L393:
ldr w1, [sp, 220]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 14
bls .L394
b .L381
.L382:
ldr x0, [sp, 280]
ldrb w0, [x0]
and x1, x0, 255
ldr w0, [sp, 88]
lsl x1, x1, x0
ldr x0, [sp, 280]
add x0, x0, 1
ldrb w0, [x0]
and x2, x0, 255
ldr w0, [sp, 88]
add w0, w0, 8
lsl x0, x2, x0
orr x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr x0, [sp, 280]
add x0, x0, 2
str x0, [sp, 280]
ldr w0, [sp, 88]
add w0, w0, 16
str w0, [sp, 88]
.L381:
ldr x0, [sp, 272]
and x0, x0, 1023
ldr x1, [sp, 72]
add x0, x0, 1920
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 212]
ldr w0, [sp, 212]
cmp w0, 0
blt .L395
ldr w0, [sp, 212]
asr w0, w0, 9
str w0, [sp, 216]
ldr w0, [sp, 212]
and w0, w0, 511
str w0, [sp, 212]
b .L396
.L395:
mov w0, 10
str w0, [sp, 216]
.L397:
ldr w0, [sp, 212]
mvn w0, w0
sxtw x1, w0
ldr w0, [sp, 216]
add w2, w0, 1
str w2, [sp, 216]
ldr x2, [sp, 272]
lsr x0, x2, x0
and x0, x0, 1
add x0, x1, x0
ldr x1, [sp, 72]
add x0, x0, 2944
lsl x0, x0, 1
add x0, x1, x0
ldrsh w0, [x0, 8]
str w0, [sp, 212]
ldr w0, [sp, 212]
cmp w0, 0
blt .L397
.L396:
ldr w0, [sp, 212]
str w0, [sp, 92]
ldr w0, [sp, 216]
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w1, [sp, 88]
ldr w0, [sp, 216]
sub w0, w1, w0
str w0, [sp, 88]
adrp x0, s_dist_extra.15
add x0, x0, :lo12:s_dist_extra.15
ldr w1, [sp, 92]
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 100]
adrp x0, s_dist_base.14
add x0, x0, :lo12:s_dist_base.14
ldr w1, [sp, 92]
ldr w0, [x0, x1, lsl 2]
str w0, [sp, 92]
ldr w0, [sp, 100]
cmp w0, 0
beq .L398
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
bcs .L399
.L406:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L400
.L404:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L401
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 27
str w1, [x0]
b .L137
.L152:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L404
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 224]
b .L405
.L401:
str wzr, [sp, 224]
b .L405
.L400:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 224]
.L405:
ldr w1, [sp, 224]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w1, [sp, 88]
ldr w0, [sp, 100]
cmp w1, w0
bcc .L406
.L399:
ldr w0, [sp, 100]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
mov w1, w0
ldr x0, [sp, 272]
and w0, w1, w0
str w0, [sp, 264]
ldr w0, [sp, 100]
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w1, [sp, 88]
ldr w0, [sp, 100]
sub w0, w1, w0
str w0, [sp, 88]
ldr w1, [sp, 92]
ldr w0, [sp, 264]
add w0, w1, w0
str w0, [sp, 92]
.L398:
ldr x1, [sp, 288]
ldr x0, [sp, 48]
sub x0, x1, x0
str x0, [sp, 296]
ldr w0, [sp, 92]
ldr x1, [sp, 296]
cmp x1, x0
bcs .L407
ldr w0, [sp, 28]
and w0, w0, 4
cmp w0, 0
beq .L407
.L408:
mov w0, -1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 37
str w1, [x0]
b .L137
.L407:
ldr w0, [sp, 92]
ldr x1, [sp, 296]
sub x1, x1, x0
ldr x0, [sp, 360]
and x0, x1, x0
ldr x1, [sp, 48]
add x0, x1, x0
str x0, [sp, 312]
ldr x0, [sp, 288]
ldr x2, [sp, 312]
ldr x1, [sp, 312]
cmp x2, x0
csel x1, x1, x0, cs
ldr w0, [sp, 96]
add x0, x1, x0
ldr x1, [sp, 352]
cmp x1, x0
bcs .L409
b .L410
.L411:
mov w0, 2
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 53
str w1, [x0]
b .L137
.L457:
nop
.L138:
ldr x1, [sp, 288]
ldr x0, [sp, 352]
cmp x1, x0
bcs .L411
ldr x0, [sp, 296]
add x1, x0, 1
str x1, [sp, 296]
ldr w1, [sp, 92]
sub x1, x0, x1
ldr x0, [sp, 360]
and x0, x1, x0
ldr x1, [sp, 48]
add x1, x1, x0
ldr x0, [sp, 288]
add x2, x0, 1
str x2, [sp, 288]
ldrb w1, [x1]
strb w1, [x0]
.L410:
ldr w0, [sp, 96]
sub w1, w0, #1
str w1, [sp, 96]
cmp w0, 0
bne .L457
b .L449
.L409:
ldr x0, [sp, 312]
ldrb w1, [x0]
ldr x0, [sp, 288]
strb w1, [x0]
ldr x0, [sp, 288]
add x0, x0, 1
ldr x1, [sp, 312]
ldrb w1, [x1, 1]
strb w1, [x0]
ldr x0, [sp, 288]
add x0, x0, 2
ldr x1, [sp, 312]
ldrb w1, [x1, 2]
strb w1, [x0]
ldr x0, [sp, 288]
add x0, x0, 3
str x0, [sp, 288]
ldr x0, [sp, 312]
add x0, x0, 3
str x0, [sp, 312]
ldr w0, [sp, 96]
sub w0, w0, #3
str w0, [sp, 96]
ldr w0, [sp, 96]
cmp w0, 2
bgt .L409
ldr w0, [sp, 96]
cmp w0, 0
ble .L458
ldr x0, [sp, 312]
ldrb w1, [x0]
ldr x0, [sp, 288]
strb w1, [x0]
ldr w0, [sp, 96]
cmp w0, 1
ble .L414
ldr x0, [sp, 288]
add x0, x0, 1
ldr x1, [sp, 312]
ldrb w1, [x1, 1]
strb w1, [x0]
.L414:
ldr w0, [sp, 96]
ldr x1, [sp, 288]
add x0, x1, x0
str x0, [sp, 288]
b .L458
.L449:
b .L458
.L456:
nop
.L247:
ldr x0, [sp, 72]
ldr w0, [x0, 20]
and w0, w0, 1
cmp w0, 0
beq .L172
ldr w0, [sp, 28]
and w0, w0, 1
cmp w0, 0
beq .L415
ldr w0, [sp, 88]
and w0, w0, 7
ldr w1, [sp, 88]
cmp w1, w0
bcs .L416
.L423:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L417
.L421:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L418
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 32
str w1, [x0]
b .L137
.L151:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L421
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 228]
b .L422
.L418:
str wzr, [sp, 228]
b .L422
.L417:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 228]
.L422:
ldr w1, [sp, 228]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
and w0, w0, 7
ldr w1, [sp, 88]
cmp w1, w0
bcc .L423
.L416:
ldr w0, [sp, 88]
and w0, w0, 7
ldr x1, [sp, 272]
lsr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
and w0, w0, -8
str w0, [sp, 88]
str wzr, [sp, 96]
b .L424
.L440:
ldr w0, [sp, 88]
cmp w0, 0
beq .L425
ldr w0, [sp, 88]
cmp w0, 7
bhi .L426
.L433:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L427
.L431:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L428
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 41
str w1, [x0]
b .L137
.L143:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L431
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 236]
b .L432
.L428:
str wzr, [sp, 236]
b .L432
.L427:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 236]
.L432:
ldr w1, [sp, 236]
ldr w0, [sp, 88]
lsl x0, x1, x0
ldr x1, [sp, 272]
orr x0, x1, x0
str x0, [sp, 272]
ldr w0, [sp, 88]
add w0, w0, 8
str w0, [sp, 88]
ldr w0, [sp, 88]
cmp w0, 7
bls .L433
.L426:
ldr x0, [sp, 272]
and w0, w0, 255
str w0, [sp, 232]
ldr x0, [sp, 272]
lsr x0, x0, 8
str x0, [sp, 272]
ldr w0, [sp, 88]
sub w0, w0, #8
str w0, [sp, 88]
b .L434
.L425:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcc .L435
.L439:
ldr w0, [sp, 28]
and w0, w0, 2
cmp w0, 0
beq .L436
mov w0, 1
str w0, [sp, 84]
ldr x0, [sp, 72]
mov w1, 42
str w1, [x0]
b .L137
.L142:
ldr x1, [sp, 280]
ldr x0, [sp, 344]
cmp x1, x0
bcs .L439
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 232]
b .L434
.L436:
str wzr, [sp, 232]
b .L434
.L435:
ldr x0, [sp, 280]
add x1, x0, 1
str x1, [sp, 280]
ldrb w0, [x0]
str w0, [sp, 232]
.L434:
ldr x0, [sp, 72]
ldr w0, [x0, 16]
lsl w1, w0, 8
ldr w0, [sp, 232]
orr w1, w1, w0
ldr x0, [sp, 72]
str w1, [x0, 16]
ldr w0, [sp, 96]
add w0, w0, 1
str w0, [sp, 96]
.L424:
ldr w0, [sp, 96]
cmp w0, 3
bls .L440
.L415:
str wzr, [sp, 84]
ldr x0, [sp, 72]
mov w1, 34
str w1, [x0]
.L137:
ldr x0, [sp, 72]
ldr w1, [sp, 88]
str w1, [x0, 4]
ldr x0, [sp, 72]
ldr x1, [sp, 272]
str x1, [x0, 56]
ldr x0, [sp, 72]
ldr w1, [sp, 92]
str w1, [x0, 32]
ldr x0, [sp, 72]
ldr w1, [sp, 96]
str w1, [x0, 36]
ldr x0, [sp, 72]
ldr w1, [sp, 100]
str w1, [x0, 40]
ldr x0, [sp, 72]
ldr x1, [sp, 296]
str x1, [x0, 64]
ldr x1, [sp, 280]
ldr x0, [sp, 64]
sub x0, x1, x0
mov x1, x0
ldr x0, [sp, 56]
str x1, [x0]
ldr x1, [sp, 288]
ldr x0, [sp, 40]
sub x0, x1, x0
mov x1, x0
ldr x0, [sp, 32]
str x1, [x0]
ldr w1, [sp, 28]
mov w0, 9
and w0, w1, w0
cmp w0, 0
beq .L441
ldr w0, [sp, 84]
cmp w0, 0
blt .L441
ldr x0, [sp, 40]
str x0, [sp, 320]
ldr x0, [sp, 32]
ldr x0, [x0]
str x0, [sp, 328]
ldr x0, [sp, 72]
ldr w0, [x0, 28]
and w0, w0, 65535
str w0, [sp, 244]
ldr x0, [sp, 72]
ldr w0, [x0, 28]
lsr w0, w0, 16
str w0, [sp, 248]
ldr x0, [sp, 328]
lsr x2, x0, 4
mov x1, 39095
movk x1, 0xbb63, lsl 16
movk x1, 0xbaa6, lsl 32
movk x1, 0x179, lsl 48
umulh x1, x2, x1
lsr x2, x1, 1
mov x1, 5552
mul x1, x2, x1
sub x0, x0, x1
str x0, [sp, 336]
b .L442
.L447:
str wzr, [sp, 240]
b .L443
.L444:
ldr x0, [sp, 320]
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 244]
add w0, w0, w1
str w0, [sp, 244]
ldr w1, [sp, 248]
ldr w0, [sp, 244]
add w0, w1, w0
str w0, [sp, 248]
ldr x0, [sp, 320]
add x0, x0, 1
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 244]
add w0, w0, w1
str w0, [sp, 244]
ldr w1, [sp, 248]
ldr w0, [sp, 244]
add w0, w1, w0
str w0, [sp, 248]
ldr x0, [sp, 320]
add x0, x0, 2
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 244]
add w0, w0, w1
str w0, [sp, 244]
ldr w1, [sp, 248]
ldr w0, [sp, 244]
add w0, w1, w0
str w0, [sp, 248]
ldr x0, [sp, 320]
add x0, x0, 3
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 244]
add w0, w0, w1
str w0, [sp, 244]
ldr w1, [sp, 248]
ldr w0, [sp, 244]
add w0, w1, w0
str w0, [sp, 248]
ldr x0, [sp, 320]
add x0, x0, 4
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 244]
add w0, w0, w1
str w0, [sp, 244]
ldr w1, [sp, 248]
ldr w0, [sp, 244]
add w0, w1, w0
str w0, [sp, 248]
ldr x0, [sp, 320]
add x0, x0, 5
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 244]
add w0, w0, w1
str w0, [sp, 244]
ldr w1, [sp, 248]
ldr w0, [sp, 244]
add w0, w1, w0
str w0, [sp, 248]
ldr x0, [sp, 320]
add x0, x0, 6
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 244]
add w0, w0, w1
str w0, [sp, 244]
ldr w1, [sp, 248]
ldr w0, [sp, 244]
add w0, w1, w0
str w0, [sp, 248]
ldr x0, [sp, 320]
add x0, x0, 7
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 244]
add w0, w0, w1
str w0, [sp, 244]
ldr w1, [sp, 248]
ldr w0, [sp, 244]
add w0, w1, w0
str w0, [sp, 248]
ldr w0, [sp, 240]
add w0, w0, 8
str w0, [sp, 240]
ldr x0, [sp, 320]
add x0, x0, 8
str x0, [sp, 320]
.L443:
ldr w0, [sp, 240]
add w0, w0, 7
uxtw x0, w0
ldr x1, [sp, 336]
cmp x1, x0
bhi .L444
b .L445
.L446:
ldr x0, [sp, 320]
add x1, x0, 1
str x1, [sp, 320]
ldrb w0, [x0]
mov w1, w0
ldr w0, [sp, 244]
add w0, w0, w1
str w0, [sp, 244]
ldr w1, [sp, 248]
ldr w0, [sp, 244]
add w0, w1, w0
str w0, [sp, 248]
ldr w0, [sp, 240]
add w0, w0, 1
str w0, [sp, 240]
.L445:
ldr w0, [sp, 240]
ldr x1, [sp, 336]
cmp x1, x0
bhi .L446
ldr w0, [sp, 244]
mov w1, 32881
movk w1, 0x8007, lsl 16
umull x1, w0, w1
lsr x1, x1, 32
lsr w2, w1, 15
mov w1, 65521
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 244]
ldr w0, [sp, 248]
mov w1, 32881
movk w1, 0x8007, lsl 16
umull x1, w0, w1
lsr x1, x1, 32
lsr w2, w1, 15
mov w1, 65521
mul w1, w2, w1
sub w0, w0, w1
str w0, [sp, 248]
ldr x1, [sp, 328]
ldr x0, [sp, 336]
sub x0, x1, x0
str x0, [sp, 328]
mov x0, 5552
str x0, [sp, 336]
.L442:
ldr x0, [sp, 328]
cmp x0, 0
bne .L447
ldr w0, [sp, 248]
lsl w1, w0, 16
ldr w0, [sp, 244]
add w1, w1, w0
ldr x0, [sp, 72]
str w1, [x0, 28]
ldr w0, [sp, 84]
cmp w0, 0
bne .L441
ldr w0, [sp, 28]
and w0, w0, 1
cmp w0, 0
beq .L441
ldr x0, [sp, 72]
ldr w1, [x0, 28]
ldr x0, [sp, 72]
ldr w0, [x0, 16]
cmp w1, w0
beq .L441
mov w0, -2
str w0, [sp, 84]
.L441:
ldr w0, [sp, 84]
.L136:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 520]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L448
bl __stack_chk_fail
.L448:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 528
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE28:
.size tinfl_decompress, .-tinfl_decompress
.section .rodata
.align 3
.LC1:
.string "\005\005\004"
.align 3
.LC2:
.string "\002\003\007"
.align 3
.LC3:
.string "\003\003\013"
.text
.align 2
.global tinfl_decompress_mem_to_heap
.type tinfl_decompress_mem_to_heap, %function
tinfl_decompress_mem_to_heap:
.LFB29:
.cfi_startproc
mov x12, 11120
sub sp, sp, x12
.cfi_def_cfa_offset 11120
stp x29, x30, [sp]
.cfi_offset 29, -11120
.cfi_offset 30, -11112
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 11112]
mov x1, 0
str xzr, [sp, 72]
str xzr, [sp, 80]
str xzr, [sp, 88]
ldr x0, [sp, 24]
str xzr, [x0]
str wzr, [sp, 112]
.L484:
ldr x1, [sp, 32]
ldr x0, [sp, 80]
sub x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 88]
sub x0, x1, x0
str x0, [sp, 64]
ldr x1, [sp, 40]
ldr x0, [sp, 80]
add x8, x1, x0
ldr x0, [sp, 72]
cmp x0, 0
beq .L475
ldr x0, [sp, 24]
ldr x0, [x0]
ldr x1, [sp, 72]
add x0, x1, x0
b .L476
.L475:
mov x0, 0
.L476:
ldr w1, [sp, 20]
and w1, w1, -7
orr w1, w1, 4
mov w3, w1
add x2, sp, 64
add x1, sp, 56
add x7, sp, 112
mov w6, w3
mov x5, x2
mov x4, x0
ldr x3, [sp, 72]
mov x2, x1
mov x1, x8
mov x0, x7
bl tinfl_decompress
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
blt .L477
ldr w0, [sp, 52]
cmp w0, 1
bne .L478
.L477:
ldr x0, [sp, 72]
bl free
ldr x0, [sp, 24]
str xzr, [x0]
mov x0, 0
b .L485
.L478:
ldr x0, [sp, 56]
ldr x1, [sp, 80]
add x0, x1, x0
str x0, [sp, 80]
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 64]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0]
ldr w0, [sp, 52]
cmp w0, 0
bne .L480
ldr x0, [sp, 72]
b .L485
.L480:
ldr x0, [sp, 88]
lsl x0, x0, 1
str x0, [sp, 96]
ldr x0, [sp, 96]
cmp x0, 127
bhi .L482
mov x0, 128
str x0, [sp, 96]
.L482:
ldr x1, [sp, 96]
ldr x0, [sp, 72]
bl realloc
str x0, [sp, 104]
ldr x0, [sp, 104]
cmp x0, 0
bne .L483
ldr x0, [sp, 72]
bl free
ldr x0, [sp, 24]
str xzr, [x0]
mov x0, 0
b .L485
.L483:
ldr x0, [sp, 104]
str x0, [sp, 72]
ldr x0, [sp, 96]
str x0, [sp, 88]
b .L484
.L485:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 11112]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L486
bl __stack_chk_fail
.L486:
mov x0, x1
ldp x29, x30, [sp]
mov x12, 11120
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE29:
.size tinfl_decompress_mem_to_heap, .-tinfl_decompress_mem_to_heap
.align 2
.global tinfl_decompress_mem_to_mem
.type tinfl_decompress_mem_to_mem, %function
tinfl_decompress_mem_to_mem:
.LFB30:
.cfi_startproc
mov x12, 11088
sub sp, sp, x12
.cfi_def_cfa_offset 11088
stp x29, x30, [sp]
.cfi_offset 29, -11088
.cfi_offset 30, -11080
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 11080]
mov x1, 0
str wzr, [sp, 80]
ldr w0, [sp, 28]
and w0, w0, -7
orr w0, w0, 4
mov w3, w0
add x2, sp, 48
add x1, sp, 32
add x0, sp, 80
mov w6, w3
mov x5, x2
ldr x4, [sp, 56]
ldr x3, [sp, 56]
mov x2, x1
ldr x1, [sp, 40]
bl tinfl_decompress
str w0, [sp, 76]
ldr w0, [sp, 76]
cmp w0, 0
bne .L488
ldr x0, [sp, 48]
b .L490
.L488:
mov x0, -1
.L490:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 11080]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L491
bl __stack_chk_fail
.L491:
mov x0, x1
ldp x29, x30, [sp]
mov x12, 11088
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE30:
.size tinfl_decompress_mem_to_mem, .-tinfl_decompress_mem_to_mem
.align 2
.global tinfl_decompress_mem_to_callback
.type tinfl_decompress_mem_to_callback, %function
tinfl_decompress_mem_to_callback:
.LFB31:
.cfi_startproc
mov x12, 11120
sub sp, sp, x12
.cfi_def_cfa_offset 11120
stp x29, x30, [sp]
.cfi_offset 29, -11120
.cfi_offset 30, -11112
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 11112]
mov x1, 0
str wzr, [sp, 64]
mov x0, 32768
bl malloc
str x0, [sp, 104]
str xzr, [sp, 88]
str xzr, [sp, 96]
ldr x0, [sp, 104]
cmp x0, 0
bne .L493
mov w0, -1
b .L499
.L493:
str wzr, [sp, 112]
.L498:
ldr x0, [sp, 48]
ldr x1, [x0]
ldr x0, [sp, 88]
sub x0, x1, x0
str x0, [sp, 72]
mov x1, 32768
ldr x0, [sp, 96]
sub x0, x1, x0
str x0, [sp, 80]
ldr x1, [sp, 56]
ldr x0, [sp, 88]
add x7, x1, x0
ldr x1, [sp, 104]
ldr x0, [sp, 96]
add x2, x1, x0
ldr w0, [sp, 28]
and w4, w0, -7
add x3, sp, 80
add x1, sp, 72
add x0, sp, 112
mov w6, w4
mov x5, x3
mov x4, x2
ldr x3, [sp, 104]
mov x2, x1
mov x1, x7
bl tinfl_decompress
str w0, [sp, 68]
ldr x0, [sp, 72]
ldr x1, [sp, 88]
add x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 80]
cmp x0, 0
beq .L495
ldr x1, [sp, 104]
ldr x0, [sp, 96]
add x0, x1, x0
ldr x1, [sp, 80]
ldr x3, [sp, 40]
ldr x2, [sp, 32]
blr x3
cmp w0, 0
beq .L501
.L495:
ldr w0, [sp, 68]
cmp w0, 2
beq .L497
ldr w0, [sp, 68]
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 64]
b .L496
.L497:
ldr x1, [sp, 80]
ldr x0, [sp, 96]
add x0, x1, x0
and x0, x0, 32767
str x0, [sp, 96]
b .L498
.L501:
nop
.L496:
ldr x0, [sp, 104]
bl free
ldr x0, [sp, 48]
ldr x1, [sp, 88]
str x1, [x0]
ldr w0, [sp, 64]
.L499:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 11112]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L500
bl __stack_chk_fail
.L500:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 11120
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE31:
.size tinfl_decompress_mem_to_callback, .-tinfl_decompress_mem_to_callback
.section .rodata
.align 3
.type s_tdefl_len_sym, %object
.size s_tdefl_len_sym, 512
s_tdefl_len_sym:
.hword 257
.hword 258
.hword 259
.hword 260
.hword 261
.hword 262
.hword 263
.hword 264
.hword 265
.hword 265
.hword 266
.hword 266
.hword 267
.hword 267
.hword 268
.hword 268
.hword 269
.hword 269
.hword 269
.hword 269
.hword 270
.hword 270
.hword 270
.hword 270
.hword 271
.hword 271
.hword 271
.hword 271
.hword 272
.hword 272
.hword 272
.hword 272
.hword 273
.hword 273
.hword 273
.hword 273
.hword 273
.hword 273
.hword 273
.hword 273
.hword 274
.hword 274
.hword 274
.hword 274
.hword 274
.hword 274
.hword 274
.hword 274
.hword 275
.hword 275
.hword 275
.hword 275
.hword 275
.hword 275
.hword 275
.hword 275
.hword 276
.hword 276
.hword 276
.hword 276
.hword 276
.hword 276
.hword 276
.hword 276
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 277
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 278
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 279
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 280
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 281
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 282
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 283
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 284
.hword 285
.align 3
.type s_tdefl_len_extra, %object
.size s_tdefl_len_extra, 256
s_tdefl_len_extra:
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "\001\001\001\001\001\001\001\001\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005"
.align 3
.type s_tdefl_small_dist_sym, %object
.size s_tdefl_small_dist_sym, 512
s_tdefl_small_dist_sym:
.string ""
.ascii "\001\002\003\004\004\005\005\006\006\006\006\007\007\007\007"
.ascii "\b\b\b\b\b\b\b\b\t\t\t\t\t\t\t\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
.ascii "\n\n\013\013\013\013\013\013\013\013\013\013\013\013\013\013"
.ascii "\013\013\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f"
.ascii "\f\f\f\f\f\f\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r"
.ascii "\r\r\r\r\r\r\r\r\016\016\016\016\016\016\016\016\016\016\016"
.ascii "\016\016\016\016\016\016\016\016\016\016\016\016\016\016\016"
.ascii "\016\016\016\016\016\016\016\016\016\016\016\016\016\016\016"
.ascii "\016\016\016\016\016\016\016\016\016\016\016\016\016\016\016"
.ascii "\016\016\016\016\016\016\016\016\017\017\017\017\017\017\017"
.ascii "\017\017\017\017\017\017\017\017\017\017\017\017\017\017\017"
.ascii "\017\017\017\017\017\017\017\017\017\017\017\017\017\017\017"
.ascii "\017\017\017\017\017\017\017\017\017\017\017\017\017\017\017"
.ascii "\017\017\017\017\017\017\017\017\017\017\017\017\020\020\020"
.ascii "\020\020\020\020\020\020\020\020\020\020\020\020\020\020\020"
.ascii "\020\020\020\020\020\020\020\020\020\020\020\020\020\020\020"
.ascii "\020\020\020\020\020\020\020\020\020\020\020\020\020\020\020"
.ascii "\020\020\020\020\020\020\020\020\020\020\020\020\020\020\020"
.ascii "\020\020\020\020\020\020\020\020\020\020\020\020\020\020\020"
.ascii "\020\020\020\020\020\020\020\020\020\020\020\020\020\020\020"
.ascii "\020\020\020\020\020\020\020\020\020\020\020\020\020\020\020"
.ascii "\020\020\020\020\020\020\020\020\020\020\020\020\020\020\020"
.ascii "\020\020\020\020\020\021\021\021\021\021\021\021\021\021\021"
.ascii "\021\021\021\021\021\021\021\021\021\021\021\021\021\021\021"
.ascii "\021\021\021\021\021\021\021\021\021\021\021\021\021\021\021"
.ascii "\021\021\021\021\021\021\021\021\021\021\021\021\021\021\021"
.ascii "\021\021\021\021\021\021\021\021\021\021\021\021\021\021\021"
.ascii "\021\021\021\021\021\021\021\021\021\021\021\021\021\021\021"
.ascii "\021\021\021\021\021\021\021\021\021\021\021\021\021\021\021"
.ascii "\021\021\021\021\021\021\021\021\021\021\021\021\021\021\021"
.ascii "\021\021\021\021\021\021\021\021\021\021\021\021\021"
.align 3
.type s_tdefl_small_dist_extra, %object
.size s_tdefl_small_dist_extra, 512
s_tdefl_small_dist_extra:
.string ""
.string ""
.string ""
.string ""
.ascii "\001\001\001\001\002\002\002\002\002\002\002\002\003\003\003"
.ascii "\003\003\003\003\003\003\003\003\003\003\003\003\003\004\004"
.ascii "\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004"
.ascii "\004\004\004\004\004\004\004\004\004\004\004\004\004\004\004"
.ascii "\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005"
.ascii "\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005"
.ascii "\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005"
.ascii "\005\005\005\005\005\005\005\005\005\005\005\005\005\005\005"
.ascii "\005\005\005\005\006\006\006\006\006\006\006\006\006\006\006"
.ascii "\006\006\006\006\006\006\006\006\006\006\006\006\006\006\006"
.ascii "\006\006\006\006\006\006\006\006\006\006\006\006\006\006\006"
.ascii "\006\006\006\006\006\006\006\006\006\006\006\006\006\006\006"
.ascii "\006\006\006\006\006\006\006\006\006\006\006\006\006\006\006"
.ascii "\006\006\006\006\006\006\006\006\006\006\006\006\006\006\006"
.ascii "\006\006\006\006\006\006\006\006\006\006\006\006\006\006\006"
.ascii "\006\006\006\006\006\006\006\006\006\006\006\006\006\006\006"
.ascii "\006\006\006\006\006\006\006\006\006\006\006\006\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007\007\007"
.ascii "\007\007\007\007\007\007\007\007\007\007\007\007\007"
.align 3
.type s_tdefl_large_dist_sym, %object
.size s_tdefl_large_dist_sym, 128
s_tdefl_large_dist_sym:
.string ""
.string ""
.ascii "\022\023\024\024\025\025\026\026\026\026\027\027\027\027\030"
.ascii "\030\030\030\030\030\030\030\031\031\031\031\031\031\031\031"
.ascii "\032\032\032\032\032\032\032\032\032\032\032\032\032\032\032"
.ascii "\032\033\033\033\033\033\033\033\033\033\033\033\033\033\033"
.ascii "\033\033\034\034\034\034\034\034\034\034\034\034\034\034\034"
.ascii "\034\034\034\034\034\034\034\034\034\034\034\034\034\034\034"
.ascii "\034\034\034\034\035\035\035\035\035\035\035\035\035\035\035"
.ascii "\035\035\035\035\035\035\035\035\035\035\035\035\035\035\035"
.ascii "\035\035\035\035\035\035"
.align 3
.type s_tdefl_large_dist_extra, %object
.size s_tdefl_large_dist_extra, 128
s_tdefl_large_dist_extra:
.string ""
.string ""
.ascii "\b\b\t\t\t\t\n\n\n\n\n\n\n\n\013\013\013\013\013\013\013\013"
.ascii "\013\013\013\013\013\013\013\013\f\f\f\f\f\f\f\f\f\f\f\f\f\f"
.ascii "\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\r\r\r\r\r\r\r\r\r\r\r\r"
.ascii "\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r"
.ascii "\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r"
.text
.align 2
.type tdefl_radix_sort_syms, %function
tdefl_radix_sort_syms:
.LFB32:
.cfi_startproc
sub sp, sp, #3184
.cfi_def_cfa_offset 3184
stp x29, x30, [sp]
.cfi_offset 29, -3184
.cfi_offset 30, -3176
mov x29, sp
str w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 3176]
mov x1, 0
mov w0, 2
str w0, [sp, 48]
ldr x0, [sp, 32]
str x0, [sp, 72]
ldr x0, [sp, 24]
str x0, [sp, 80]
add x0, sp, 1128
mov x2, 2048
mov w1, 0
bl memset
str wzr, [sp, 60]
b .L503
.L504:
ldr w0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldrh w0, [x0]
str w0, [sp, 68]
ldr w0, [sp, 68]
and w3, w0, 255
uxtw x0, w3
lsl x0, x0, 2
add x1, sp, 1128
ldr w0, [x1, x0]
add w2, w0, 1
uxtw x0, w3
lsl x0, x0, 2
add x1, sp, 1128
str w2, [x1, x0]
ldr w0, [sp, 68]
lsr w0, w0, 8
and w0, w0, 255
add w3, w0, 256
uxtw x0, w3
lsl x0, x0, 2
add x1, sp, 1128
ldr w0, [x1, x0]
add w2, w0, 1
uxtw x0, w3
lsl x0, x0, 2
add x1, sp, 1128
str w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L503:
ldr w1, [sp, 60]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L504
b .L505
.L507:
ldr w0, [sp, 48]
sub w0, w0, #1
str w0, [sp, 48]
.L505:
ldr w0, [sp, 48]
cmp w0, 1
bls .L506
ldr w0, [sp, 48]
sub w0, w0, #1
lsl w0, w0, 8
uxtw x0, w0
lsl x0, x0, 2
add x1, sp, 1128
ldr w0, [x1, x0]
ldr w1, [sp, 44]
cmp w1, w0
beq .L507
.L506:
str wzr, [sp, 52]
str wzr, [sp, 56]
b .L508
.L513:
ldr w0, [sp, 56]
lsl w0, w0, 8
add x1, sp, 1128
uxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
str x0, [sp, 88]
str wzr, [sp, 64]
str wzr, [sp, 60]
b .L509
.L510:
ldr w0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 104
ldr w2, [sp, 64]
str w2, [x1, x0]
ldr w0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 88]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 64]
add w0, w1, w0
str w0, [sp, 64]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L509:
ldr w0, [sp, 60]
cmp w0, 255
bls .L510
str wzr, [sp, 60]
b .L511
.L512:
ldr w0, [sp, 60]
lsl x0, x0, 2
ldr x1, [sp, 72]
add x1, x1, x0
ldr w0, [sp, 60]
lsl x0, x0, 2
ldr x2, [sp, 72]
add x0, x2, x0
ldrh w0, [x0]
mov w2, w0
ldr w0, [sp, 52]
asr w0, w2, w0
and w3, w0, 255
sxtw x0, w3
lsl x0, x0, 2
add x2, sp, 104
ldr w0, [x2, x0]
add w4, w0, 1
sxtw x2, w3
lsl x2, x2, 2
add x3, sp, 104
str w4, [x3, x2]
uxtw x0, w0
lsl x0, x0, 2
ldr x2, [sp, 80]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L511:
ldr w1, [sp, 60]
ldr w0, [sp, 44]
cmp w1, w0
bcc .L512
ldr x0, [sp, 72]
str x0, [sp, 96]
ldr x0, [sp, 80]
str x0, [sp, 72]
ldr x0, [sp, 96]
str x0, [sp, 80]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
ldr w0, [sp, 52]
add w0, w0, 8
str w0, [sp, 52]
.L508:
ldr w1, [sp, 56]
ldr w0, [sp, 48]
cmp w1, w0
bcc .L513
ldr x0, [sp, 72]
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 3176]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L515
bl __stack_chk_fail
.L515:
mov x0, x1
ldp x29, x30, [sp]
add sp, sp, 3184
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE32:
.size tdefl_radix_sort_syms, .-tdefl_radix_sort_syms
.align 2
.type tdefl_calculate_minimum_redundancy, %function
tdefl_calculate_minimum_redundancy:
.LFB33:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
str w1, [sp, 4]
ldr w0, [sp, 4]
cmp w0, 0
beq .L537
ldr w0, [sp, 4]
cmp w0, 1
bne .L519
ldr x0, [sp, 8]
mov w1, 1
strh w1, [x0]
b .L516
.L519:
ldr x0, [sp, 8]
ldrh w1, [x0]
ldr x0, [sp, 8]
add x0, x0, 4
ldrh w0, [x0]
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 8]
strh w1, [x0]
str wzr, [sp, 24]
mov w0, 2
str w0, [sp, 28]
mov w0, 1
str w0, [sp, 32]
b .L520
.L527:
ldr w1, [sp, 28]
ldr w0, [sp, 4]
cmp w1, w0
bge .L521
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldrh w1, [x0]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x2, [sp, 8]
add x0, x2, x0
ldrh w0, [x0]
cmp w1, w0
bcs .L522
.L521:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x1, x1, x0
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x2, [sp, 8]
add x0, x2, x0
ldrh w1, [x1]
strh w1, [x0]
ldr w0, [sp, 24]
add w1, w0, 1
str w1, [sp, 24]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [sp, 32]
and w1, w1, 65535
strh w1, [x0]
b .L523
.L522:
ldr w0, [sp, 28]
add w1, w0, 1
str w1, [sp, 28]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 8]
add x1, x1, x0
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x2, [sp, 8]
add x0, x2, x0
ldrh w1, [x1]
strh w1, [x0]
.L523:
ldr w1, [sp, 28]
ldr w0, [sp, 4]
cmp w1, w0
bge .L524
ldr w1, [sp, 24]
ldr w0, [sp, 32]
cmp w1, w0
bge .L525
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldrh w1, [x0]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x2, [sp, 8]
add x0, x2, x0
ldrh w0, [x0]
cmp w1, w0
bcs .L525
.L524:
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldrh w2, [x0]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldrh w1, [x0]
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x3, [sp, 8]
add x0, x3, x0
add w1, w2, w1
and w1, w1, 65535
strh w1, [x0]
ldr w0, [sp, 24]
add w1, w0, 1
str w1, [sp, 24]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [sp, 32]
and w1, w1, 65535
strh w1, [x0]
b .L526
.L525:
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldrh w2, [x0]
ldr w0, [sp, 28]
add w1, w0, 1
str w1, [sp, 28]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldrh w1, [x0]
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x3, [sp, 8]
add x0, x3, x0
add w1, w2, w1
and w1, w1, 65535
strh w1, [x0]
.L526:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L520:
ldr w0, [sp, 4]
sub w0, w0, #1
ldr w1, [sp, 32]
cmp w1, w0
blt .L527
ldrsw x0, [sp, 4]
lsl x0, x0, 2
sub x0, x0, #8
ldr x1, [sp, 8]
add x0, x1, x0
strh wzr, [x0]
ldr w0, [sp, 4]
sub w0, w0, #3
str w0, [sp, 32]
b .L528
.L529:
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldrh w0, [x0]
and x0, x0, 65535
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldrh w1, [x0]
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x2, [sp, 8]
add x0, x2, x0
add w1, w1, 1
and w1, w1, 65535
strh w1, [x0]
ldr w0, [sp, 32]
sub w0, w0, #1
str w0, [sp, 32]
.L528:
ldr w0, [sp, 32]
cmp w0, 0
bge .L529
mov w0, 1
str w0, [sp, 36]
str wzr, [sp, 44]
ldr w0, [sp, 44]
str w0, [sp, 40]
ldr w0, [sp, 4]
sub w0, w0, #2
str w0, [sp, 24]
ldr w0, [sp, 4]
sub w0, w0, #1
str w0, [sp, 32]
b .L530
.L533:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
.L531:
ldr w0, [sp, 24]
cmp w0, 0
blt .L534
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldrh w0, [x0]
mov w1, w0
ldr w0, [sp, 44]
cmp w0, w1
beq .L533
b .L534
.L535:
ldr w0, [sp, 32]
sub w1, w0, #1
str w1, [sp, 32]
sxtw x0, w0
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [sp, 44]
and w1, w1, 65535
strh w1, [x0]
ldr w0, [sp, 36]
sub w0, w0, #1
str w0, [sp, 36]
.L534:
ldr w1, [sp, 36]
ldr w0, [sp, 40]
cmp w1, w0
bgt .L535
ldr w0, [sp, 40]
lsl w0, w0, 1
str w0, [sp, 36]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
str wzr, [sp, 40]
.L530:
ldr w0, [sp, 36]
cmp w0, 0
bgt .L531
b .L516
.L537:
nop
.L516:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE33:
.size tdefl_calculate_minimum_redundancy, .-tdefl_calculate_minimum_redundancy
.align 2
.type tdefl_huffman_enforce_max_code_size, %function
tdefl_huffman_enforce_max_code_size:
.LFB34:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str w2, [sp]
str wzr, [sp, 28]
ldr w0, [sp, 4]
cmp w0, 1
ble .L551
ldr w0, [sp]
add w0, w0, 1
str w0, [sp, 24]
b .L541
.L542:
ldrsw x0, [sp]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w2, [x0]
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp]
lsl x0, x0, 2
ldr x3, [sp, 8]
add x0, x3, x0
add w1, w2, w1
str w1, [x0]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L541:
ldr w0, [sp, 24]
cmp w0, 32
ble .L542
ldr w0, [sp]
str w0, [sp, 24]
b .L543
.L544:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
mov w2, w0
ldr w1, [sp]
ldr w0, [sp, 24]
sub w0, w1, w0
lsl w0, w2, w0
ldr w1, [sp, 28]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
.L543:
ldr w0, [sp, 24]
cmp w0, 0
bgt .L544
b .L545
.L550:
ldrsw x0, [sp]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [x0]
sub w1, w1, #1
str w1, [x0]
ldr w0, [sp]
sub w0, w0, #1
str w0, [sp, 24]
b .L546
.L549:
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
beq .L547
ldrsw x0, [sp, 24]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [x0]
sub w1, w1, #1
str w1, [x0]
ldrsw x0, [sp, 24]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 24]
add x0, x0, 1
lsl x0, x0, 2
ldr x2, [sp, 8]
add x0, x2, x0
add w1, w1, 2
str w1, [x0]
b .L548
.L547:
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
.L546:
ldr w0, [sp, 24]
cmp w0, 0
bgt .L549
.L548:
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
.L545:
ldr w1, [sp, 28]
ldr w0, [sp]
mov x2, 1
lsl x0, x2, x0
cmp x1, x0
bne .L550
b .L538
.L551:
nop
.L538:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size tdefl_huffman_enforce_max_code_size, .-tdefl_huffman_enforce_max_code_size
.align 2
.type tdefl_optimize_huffman_table, %function
tdefl_optimize_huffman_table:
.LFB35:
.cfi_startproc
sub sp, sp, #2544
.cfi_def_cfa_offset 2544
stp x29, x30, [sp]
.cfi_offset 29, -2544
.cfi_offset 30, -2536
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str w4, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 2536]
mov x1, 0
add x0, sp, 96
mov x2, 132
mov w1, 0
bl memset
ldr w0, [sp, 24]
cmp w0, 0
beq .L553
str wzr, [sp, 52]
b .L554
.L555:
ldr x3, [sp, 40]
ldrsw x2, [sp, 52]
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 5
add x0, x3, x0
add x0, x0, x2
add x0, x0, 32768
ldrb w0, [x0, 3914]
mov w3, w0
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 96
ldr w0, [x1, x0]
add w2, w0, 1
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 96
str w2, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L554:
ldr w1, [sp, 52]
ldr w0, [sp, 32]
cmp w1, w0
blt .L555
b .L556
.L553:
str wzr, [sp, 64]
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 6
mov x1, 33216
add x0, x0, x1
ldr x1, [sp, 40]
add x0, x1, x0
add x0, x0, 10
str x0, [sp, 80]
str wzr, [sp, 52]
b .L557
.L559:
ldrsw x0, [sp, 52]
lsl x0, x0, 1
ldr x1, [sp, 80]
add x0, x1, x0
ldrh w0, [x0]
cmp w0, 0
beq .L558
ldrsw x0, [sp, 52]
lsl x0, x0, 1
ldr x1, [sp, 80]
add x0, x1, x0
ldrh w2, [x0]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
add x1, sp, 232
strh w2, [x1, x0]
ldr w0, [sp, 64]
add w1, w0, 1
str w1, [sp, 64]
ldr w1, [sp, 52]
and w2, w1, 65535
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 234
strh w2, [x1, x0]
.L558:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L557:
ldr w1, [sp, 52]
ldr w0, [sp, 32]
cmp w1, w0
blt .L559
ldr w0, [sp, 64]
add x2, sp, 1384
add x1, sp, 232
bl tdefl_radix_sort_syms
str x0, [sp, 88]
ldr w1, [sp, 64]
ldr x0, [sp, 88]
bl tdefl_calculate_minimum_redundancy
str wzr, [sp, 52]
b .L560
.L561:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 88]
add x0, x1, x0
ldrh w0, [x0]
mov w3, w0
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 96
ldr w0, [x1, x0]
add w2, w0, 1
sxtw x0, w3
lsl x0, x0, 2
add x1, sp, 96
str w2, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L560:
ldr w1, [sp, 52]
ldr w0, [sp, 64]
cmp w1, w0
blt .L561
add x0, sp, 96
ldr w2, [sp, 28]
ldr w1, [sp, 64]
bl tdefl_huffman_enforce_max_code_size
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 5
mov x1, 36672
add x0, x0, x1
ldr x1, [sp, 40]
add x0, x1, x0
add x0, x0, 10
mov x2, 288
mov w1, 0
bl memset
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 6
mov x1, 34944
add x0, x0, x1
ldr x1, [sp, 40]
add x0, x1, x0
add x0, x0, 10
mov x2, 576
mov w1, 0
bl memset
mov w0, 1
str w0, [sp, 52]
ldr w0, [sp, 64]
str w0, [sp, 56]
b .L562
.L565:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 96
ldr w0, [x1, x0]
str w0, [sp, 60]
b .L563
.L564:
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 56]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 88]
add x0, x1, x0
ldrh w0, [x0, 2]
mov w1, w0
ldr w0, [sp, 52]
and w4, w0, 255
ldr x3, [sp, 40]
sxtw x2, w1
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 5
add x0, x3, x0
add x0, x0, x2
add x0, x0, 32768
mov w1, w4
strb w1, [x0, 3914]
ldr w0, [sp, 60]
sub w0, w0, #1
str w0, [sp, 60]
.L563:
ldr w0, [sp, 60]
cmp w0, 0
bgt .L564
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L562:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
ble .L565
.L556:
str wzr, [sp, 1388]
str wzr, [sp, 56]
mov w0, 2
str w0, [sp, 52]
b .L566
.L567:
ldr w0, [sp, 52]
sub w0, w0, #1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 96
ldr w1, [x1, x0]
ldr w0, [sp, 56]
add w0, w1, w0
lsl w0, w0, 1
str w0, [sp, 56]
ldr w2, [sp, 56]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
add x1, sp, 1384
str w2, [x1, x0]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L566:
ldr w1, [sp, 52]
ldr w0, [sp, 28]
cmp w1, w0
ble .L567
str wzr, [sp, 52]
b .L568
.L573:
str wzr, [sp, 68]
ldr x3, [sp, 40]
ldrsw x2, [sp, 52]
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 5
add x0, x3, x0
add x0, x0, x2
add x0, x0, 32768
ldrb w0, [x0, 3914]
str w0, [sp, 76]
ldr w0, [sp, 76]
cmp w0, 0
beq .L575
ldr w0, [sp, 76]
lsl x0, x0, 2
add x1, sp, 1384
ldr w0, [x1, x0]
add w3, w0, 1
ldr w1, [sp, 76]
lsl x1, x1, 2
add x2, sp, 1384
str w3, [x2, x1]
str w0, [sp, 72]
ldr w0, [sp, 76]
str w0, [sp, 60]
b .L571
.L572:
ldr w0, [sp, 68]
lsl w1, w0, 1
ldr w0, [sp, 72]
and w0, w0, 1
orr w0, w1, w0
str w0, [sp, 68]
ldr w0, [sp, 60]
sub w0, w0, #1
str w0, [sp, 60]
ldr w0, [sp, 72]
lsr w0, w0, 1
str w0, [sp, 72]
.L571:
ldr w0, [sp, 60]
cmp w0, 0
bgt .L572
ldr w0, [sp, 68]
and w4, w0, 65535
ldr x2, [sp, 40]
ldrsw x3, [sp, 52]
ldrsw x1, [sp, 36]
mov x0, x1
lsl x0, x0, 3
add x0, x0, x1
lsl x0, x0, 5
add x1, x0, x3
mov x0, 17472
add x0, x1, x0
lsl x0, x0, 1
add x0, x2, x0
mov w1, w4
strh w1, [x0, 10]
b .L570
.L575:
nop
.L570:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L568:
ldr w1, [sp, 52]
ldr w0, [sp, 32]
cmp w1, w0
blt .L573
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 2536]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L574
bl __stack_chk_fail
.L574:
ldp x29, x30, [sp]
add sp, sp, 2544
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size tdefl_optimize_huffman_table, .-tdefl_optimize_huffman_table
.data
.align 3
.type s_tdefl_packed_code_size_syms_swizzle, %object
.size s_tdefl_packed_code_size_syms_swizzle, 19
s_tdefl_packed_code_size_syms_swizzle:
.string "\020\021\022"
.ascii "\b\007\t\006\n\005\013\004\f\003\r\002\016\001\017"
.section .rodata
.align 3
.LC4:
.string "program.c"
.align 3
.LC5:
.string "bits <= ((1U << len) - 1U)"
.align 3
.LC6:
.string "code < TDEFL_MAX_HUFF_SYMBOLS_2"
.text
.align 2
.type tdefl_start_dynamic_block, %function
tdefl_start_dynamic_block:
.LFB36:
.cfi_startproc
sub sp, sp, #784
.cfi_def_cfa_offset 784
stp x29, x30, [sp]
.cfi_offset 29, -784
.cfi_offset 30, -776
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 776]
mov x1, 0
mov w0, -1
strb w0, [sp, 38]
ldr x0, [sp, 24]
add x0, x0, 32768
mov w1, 1
strh w1, [x0, 970]
mov w4, 0
mov w3, 15
mov w2, 288
mov w1, 0
ldr x0, [sp, 24]
bl tdefl_optimize_huffman_table
mov w4, 0
mov w3, 15
mov w2, 32
mov w1, 1
ldr x0, [sp, 24]
bl tdefl_optimize_huffman_table
mov w0, 286
str w0, [sp, 40]
b .L577
.L580:
ldr w0, [sp, 40]
sub w0, w0, #1
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
add x0, x0, 32768
ldrb w0, [x0, 3914]
cmp w0, 0
bne .L664
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 40]
.L577:
ldr w0, [sp, 40]
cmp w0, 257
bgt .L580
b .L579
.L664:
nop
.L579:
mov w0, 30
str w0, [sp, 44]
b .L581
.L584:
ldr w0, [sp, 44]
sub w0, w0, #1
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
add x0, x0, 36864
ldrb w0, [x0, 106]
cmp w0, 0
bne .L665
ldr w0, [sp, 44]
sub w0, w0, #1
str w0, [sp, 44]
.L581:
ldr w0, [sp, 44]
cmp w0, 1
bgt .L584
b .L583
.L665:
nop
.L583:
ldr x1, [sp, 24]
mov x0, 36682
add x1, x1, x0
ldrsw x2, [sp, 40]
add x0, sp, 136
bl memcpy
ldrsw x0, [sp, 40]
add x1, sp, 136
add x3, x1, x0
ldr x1, [sp, 24]
mov x0, 36970
add x0, x1, x0
ldrsw x1, [sp, 44]
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr w1, [sp, 40]
ldr w0, [sp, 44]
add w0, w1, w0
str w0, [sp, 72]
str wzr, [sp, 56]
str wzr, [sp, 60]
str wzr, [sp, 64]
ldr x1, [sp, 24]
mov x0, 34378
add x0, x1, x0
mov x2, 38
mov w1, 0
bl memset
str wzr, [sp, 52]
b .L585
.L614:
ldr w0, [sp, 52]
add x1, sp, 136
ldrb w0, [x1, x0]
strb w0, [sp, 39]
ldrb w0, [sp, 39]
cmp w0, 0
bne .L586
ldr w0, [sp, 64]
cmp w0, 0
beq .L587
ldr w0, [sp, 64]
cmp w0, 2
bhi .L588
ldrb w0, [sp, 38]
ldr x1, [sp, 24]
sxtw x2, w0
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w1, [x0, 10]
ldr w0, [sp, 64]
and w0, w0, 65535
ldrb w2, [sp, 38]
add w0, w1, w0
and w3, w0, 65535
ldr x1, [sp, 24]
sxtw x2, w2
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
b .L589
.L590:
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
ldrb w2, [sp, 38]
strb w2, [x1, x0]
.L589:
ldr w0, [sp, 64]
sub w1, w0, #1
str w1, [sp, 64]
cmp w0, 0
bne .L590
b .L591
.L588:
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1642]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1642]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 16
strb w2, [x1, x0]
ldr w0, [sp, 64]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #3
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
.L591:
str wzr, [sp, 64]
.L587:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 138
bne .L592
ldr w0, [sp, 60]
cmp w0, 0
beq .L592
ldr w0, [sp, 60]
cmp w0, 2
bhi .L593
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w1, [x0, 1610]
ldr w0, [sp, 60]
and w0, w0, 65535
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1610]
b .L594
.L595:
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
strb wzr, [x1, x0]
.L594:
ldr w0, [sp, 60]
sub w1, w0, #1
str w1, [sp, 60]
cmp w0, 0
bne .L595
b .L596
.L593:
ldr w0, [sp, 60]
cmp w0, 10
bhi .L597
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1644]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1644]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 17
strb w2, [x1, x0]
ldr w0, [sp, 60]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #3
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
b .L596
.L597:
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1646]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1646]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 18
strb w2, [x1, x0]
ldr w0, [sp, 60]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #11
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
.L596:
str wzr, [sp, 60]
b .L592
.L586:
ldr w0, [sp, 60]
cmp w0, 0
beq .L598
ldr w0, [sp, 60]
cmp w0, 2
bhi .L599
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w1, [x0, 1610]
ldr w0, [sp, 60]
and w0, w0, 65535
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1610]
b .L600
.L601:
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
strb wzr, [x1, x0]
.L600:
ldr w0, [sp, 60]
sub w1, w0, #1
str w1, [sp, 60]
cmp w0, 0
bne .L601
b .L602
.L599:
ldr w0, [sp, 60]
cmp w0, 10
bhi .L603
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1644]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1644]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 17
strb w2, [x1, x0]
ldr w0, [sp, 60]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #3
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
b .L602
.L603:
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1646]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1646]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 18
strb w2, [x1, x0]
ldr w0, [sp, 60]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #11
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
.L602:
str wzr, [sp, 60]
.L598:
ldrb w1, [sp, 39]
ldrb w0, [sp, 38]
cmp w1, w0
beq .L604
ldr w0, [sp, 64]
cmp w0, 0
beq .L605
ldr w0, [sp, 64]
cmp w0, 2
bhi .L606
ldrb w0, [sp, 38]
ldr x1, [sp, 24]
sxtw x2, w0
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w1, [x0, 10]
ldr w0, [sp, 64]
and w0, w0, 65535
ldrb w2, [sp, 38]
add w0, w1, w0
and w3, w0, 65535
ldr x1, [sp, 24]
sxtw x2, w2
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
b .L607
.L608:
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
ldrb w2, [sp, 38]
strb w2, [x1, x0]
.L607:
ldr w0, [sp, 64]
sub w1, w0, #1
str w1, [sp, 64]
cmp w0, 0
bne .L608
b .L609
.L606:
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1642]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1642]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 16
strb w2, [x1, x0]
ldr w0, [sp, 64]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #3
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
.L609:
str wzr, [sp, 64]
.L605:
ldrb w0, [sp, 39]
ldr x1, [sp, 24]
sxtw x2, w0
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
ldrb w2, [sp, 39]
add w0, w0, 1
and w3, w0, 65535
ldr x1, [sp, 24]
sxtw x2, w2
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
ldrb w2, [sp, 39]
strb w2, [x1, x0]
b .L592
.L604:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
ldr w0, [sp, 64]
cmp w0, 6
bne .L592
ldr w0, [sp, 64]
cmp w0, 0
beq .L592
ldr w0, [sp, 64]
cmp w0, 2
bhi .L610
ldrb w0, [sp, 38]
ldr x1, [sp, 24]
sxtw x2, w0
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w1, [x0, 10]
ldr w0, [sp, 64]
and w0, w0, 65535
ldrb w2, [sp, 38]
add w0, w1, w0
and w3, w0, 65535
ldr x1, [sp, 24]
sxtw x2, w2
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
b .L611
.L612:
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
ldrb w2, [sp, 38]
strb w2, [x1, x0]
.L611:
ldr w0, [sp, 64]
sub w1, w0, #1
str w1, [sp, 64]
cmp w0, 0
bne .L612
b .L613
.L610:
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1642]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1642]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 16
strb w2, [x1, x0]
ldr w0, [sp, 64]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #3
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
.L613:
str wzr, [sp, 64]
.L592:
ldrb w0, [sp, 39]
strb w0, [sp, 38]
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L585:
ldr w1, [sp, 52]
ldr w0, [sp, 72]
cmp w1, w0
bcc .L614
ldr w0, [sp, 64]
cmp w0, 0
beq .L615
ldr w0, [sp, 64]
cmp w0, 0
beq .L616
ldr w0, [sp, 64]
cmp w0, 2
bhi .L617
ldrb w0, [sp, 38]
ldr x1, [sp, 24]
sxtw x2, w0
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w1, [x0, 10]
ldr w0, [sp, 64]
and w0, w0, 65535
ldrb w2, [sp, 38]
add w0, w1, w0
and w3, w0, 65535
ldr x1, [sp, 24]
sxtw x2, w2
mov x0, 17184
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
b .L618
.L619:
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
ldrb w2, [sp, 38]
strb w2, [x1, x0]
.L618:
ldr w0, [sp, 64]
sub w1, w0, #1
str w1, [sp, 64]
cmp w0, 0
bne .L619
b .L620
.L617:
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1642]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1642]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 16
strb w2, [x1, x0]
ldr w0, [sp, 64]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #3
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
.L620:
str wzr, [sp, 64]
b .L616
.L615:
ldr w0, [sp, 60]
cmp w0, 0
beq .L616
ldr w0, [sp, 60]
cmp w0, 2
bhi .L621
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w1, [x0, 1610]
ldr w0, [sp, 60]
and w0, w0, 65535
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1610]
b .L622
.L623:
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
strb wzr, [x1, x0]
.L622:
ldr w0, [sp, 60]
sub w1, w0, #1
str w1, [sp, 60]
cmp w0, 0
bne .L623
b .L624
.L621:
ldr w0, [sp, 60]
cmp w0, 10
bhi .L625
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1644]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1644]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 17
strb w2, [x1, x0]
ldr w0, [sp, 60]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #3
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
b .L624
.L625:
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 1646]
add w0, w0, 1
and w1, w0, 65535
ldr x0, [sp, 24]
add x0, x0, 32768
strh w1, [x0, 1646]
ldr w0, [sp, 56]
add w1, w0, 1
str w1, [sp, 56]
uxtw x0, w0
add x1, sp, 456
mov w2, 18
strb w2, [x1, x0]
ldr w0, [sp, 60]
and w1, w0, 255
ldr w0, [sp, 56]
add w2, w0, 1
str w2, [sp, 56]
sub w1, w1, #11
and w2, w1, 255
uxtw x0, w0
add x1, sp, 456
strb w2, [x1, x0]
.L624:
str wzr, [sp, 60]
.L616:
mov w4, 0
mov w3, 7
mov w2, 19
mov w1, 2
ldr x0, [sp, 24]
bl tdefl_optimize_huffman_table
mov w0, 2
str w0, [sp, 76]
mov w0, 2
str w0, [sp, 80]
ldr w0, [sp, 80]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 76]
cmp w1, w0
bls .L626
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 2919
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L626:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 76]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 80]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L627
.L629:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L628
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L628:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L627:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L629
ldr w0, [sp, 40]
sub w0, w0, #257
str w0, [sp, 84]
mov w0, 5
str w0, [sp, 88]
ldr w0, [sp, 88]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 84]
cmp w1, w0
bls .L630
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 2921
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L630:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 84]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 88]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L631
.L633:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L632
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L632:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L631:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L633
ldr w0, [sp, 44]
sub w0, w0, #1
str w0, [sp, 92]
mov w0, 5
str w0, [sp, 96]
ldr w0, [sp, 96]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 92]
cmp w1, w0
bls .L634
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 2922
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L634:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 92]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 96]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L635
.L637:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L636
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L636:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L635:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L637
mov w0, 18
str w0, [sp, 48]
b .L638
.L641:
adrp x0, s_tdefl_packed_code_size_syms_swizzle
add x1, x0, :lo12:s_tdefl_packed_code_size_syms_swizzle
ldrsw x0, [sp, 48]
ldrb w0, [x1, x0]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
add x0, x0, 36864
ldrb w0, [x0, 394]
cmp w0, 0
bne .L666
ldr w0, [sp, 48]
sub w0, w0, #1
str w0, [sp, 48]
.L638:
ldr w0, [sp, 48]
cmp w0, 0
bge .L641
b .L640
.L666:
nop
.L640:
ldr w2, [sp, 48]
ldr w1, [sp, 48]
mov w0, 3
cmp w2, 3
csel w0, w1, w0, ge
add w0, w0, 1
str w0, [sp, 48]
ldr w0, [sp, 48]
sub w0, w0, #4
str w0, [sp, 100]
mov w0, 4
str w0, [sp, 104]
ldr w0, [sp, 104]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 100]
cmp w1, w0
bls .L642
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 2929
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L642:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 100]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 104]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L643
.L645:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L644
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L644:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L643:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L645
str wzr, [sp, 52]
b .L646
.L651:
adrp x0, s_tdefl_packed_code_size_syms_swizzle
add x1, x0, :lo12:s_tdefl_packed_code_size_syms_swizzle
ldr w0, [sp, 52]
ldrb w0, [x1, x0]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
add x0, x0, 36864
ldrb w0, [x0, 394]
str w0, [sp, 128]
mov w0, 3
str w0, [sp, 132]
ldr w0, [sp, 132]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 128]
cmp w1, w0
bls .L647
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 2931
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L647:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 128]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 132]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L648
.L650:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L649
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L649:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L648:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L650
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L646:
ldr w0, [sp, 52]
ldr w1, [sp, 48]
cmp w1, w0
bgt .L651
str wzr, [sp, 68]
b .L652
.L662:
ldr w0, [sp, 68]
add w1, w0, 1
str w1, [sp, 68]
uxtw x0, w0
add x1, sp, 456
ldrb w0, [x1, x0]
str w0, [sp, 108]
ldr w0, [sp, 108]
cmp w0, 18
bls .L653
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 2937
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __assert_fail
.L653:
ldr x1, [sp, 24]
ldr w2, [sp, 108]
mov x0, 18048
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
str w0, [sp, 112]
ldr x1, [sp, 24]
ldr w0, [sp, 108]
add x0, x1, x0
add x0, x0, 36864
ldrb w0, [x0, 394]
str w0, [sp, 116]
ldr w0, [sp, 116]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 112]
cmp w1, w0
bls .L654
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 2938
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L654:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 112]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 116]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L655
.L657:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L656
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L656:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L655:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L657
ldr w0, [sp, 108]
cmp w0, 15
bls .L652
ldr w0, [sp, 68]
add w1, w0, 1
str w1, [sp, 68]
uxtw x0, w0
add x1, sp, 456
ldrb w0, [x1, x0]
str w0, [sp, 120]
ldr w0, [sp, 108]
sub w2, w0, #16
adrp x0, .LC2
add x1, x0, :lo12:.LC2
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 124]
ldr w0, [sp, 124]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 120]
cmp w1, w0
bls .L658
adrp x0, __PRETTY_FUNCTION__.13
add x3, x0, :lo12:__PRETTY_FUNCTION__.13
mov w2, 2940
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L658:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 120]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 124]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L659
.L661:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L660
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L660:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L659:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L661
.L652:
ldr w1, [sp, 68]
ldr w0, [sp, 56]
cmp w1, w0
bcc .L662
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 776]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L663
bl __stack_chk_fail
.L663:
ldp x29, x30, [sp]
add sp, sp, 784
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size tdefl_start_dynamic_block, .-tdefl_start_dynamic_block
.align 2
.type tdefl_start_static_block, %function
tdefl_start_static_block:
.LFB37:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
ldr x1, [sp, 24]
mov x0, 36682
add x0, x1, x0
str x0, [sp, 56]
str wzr, [sp, 44]
b .L668
.L669:
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
mov w1, 8
strb w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L668:
ldr w0, [sp, 44]
cmp w0, 143
bls .L669
b .L670
.L671:
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
mov w1, 9
strb w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L670:
ldr w0, [sp, 44]
cmp w0, 255
bls .L671
b .L672
.L673:
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
mov w1, 7
strb w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L672:
ldr w0, [sp, 44]
cmp w0, 279
bls .L673
b .L674
.L675:
ldr x0, [sp, 56]
add x1, x0, 1
str x1, [sp, 56]
mov w1, 8
strb w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L674:
ldr w0, [sp, 44]
cmp w0, 287
bls .L675
ldr x1, [sp, 24]
mov x0, 36970
add x0, x1, x0
mov x2, 32
mov w1, 5
bl memset
mov w4, 1
mov w3, 15
mov w2, 288
mov w1, 0
ldr x0, [sp, 24]
bl tdefl_optimize_huffman_table
mov w4, 1
mov w3, 15
mov w2, 32
mov w1, 1
ldr x0, [sp, 24]
bl tdefl_optimize_huffman_table
mov w0, 1
str w0, [sp, 48]
mov w0, 2
str w0, [sp, 52]
ldr w0, [sp, 52]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 48]
cmp w1, w0
bls .L676
adrp x0, __PRETTY_FUNCTION__.12
add x3, x0, :lo12:__PRETTY_FUNCTION__.12
mov w2, 2963
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L676:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 48]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 52]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L677
.L679:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L678
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L678:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L677:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L679
nop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE37:
.size tdefl_start_static_block, .-tdefl_start_static_block
.section .rodata
.align 3
.type mz_bitmasks, %object
.size mz_bitmasks, 68
mz_bitmasks:
.word 0
.word 1
.word 3
.word 7
.word 15
.word 31
.word 63
.word 127
.word 255
.word 511
.word 1023
.word 2047
.word 4095
.word 8191
.word 16383
.word 32767
.word 65535
.align 3
.LC7:
.string "d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]"
.align 3
.LC8:
.string "d->m_huff_code_sizes[0][lit]"
.text
.align 2
.type tdefl_compress_lz_codes, %function
tdefl_compress_lz_codes:
.LFB38:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 24]
mov w0, 1
str w0, [sp, 32]
ldr x1, [sp, 24]
mov x0, 37546
add x0, x1, x0
str x0, [sp, 104]
b .L681
.L709:
ldr w0, [sp, 32]
cmp w0, 1
bne .L682
ldr x0, [sp, 104]
add x1, x0, 1
str x1, [sp, 104]
ldrb w0, [x0]
orr w0, w0, 256
str w0, [sp, 32]
.L682:
ldr w0, [sp, 32]
and w0, w0, 1
cmp w0, 0
beq .L683
ldr x0, [sp, 104]
ldrb w0, [x0]
str w0, [sp, 64]
ldr x0, [sp, 104]
add x0, x0, 1
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 104]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 68]
ldr x0, [sp, 104]
add x0, x0, 3
str x0, [sp, 104]
adrp x0, s_tdefl_len_sym
add x0, x0, :lo12:s_tdefl_len_sym
ldr w1, [sp, 64]
ldrh w0, [x0, x1, lsl 1]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
add x0, x0, 32768
ldrb w0, [x0, 3914]
cmp w0, 0
bne .L684
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 3082
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl __assert_fail
.L684:
adrp x0, s_tdefl_len_sym
add x0, x0, :lo12:s_tdefl_len_sym
ldr w1, [sp, 64]
ldrh w0, [x0, x1, lsl 1]
ldr x1, [sp, 24]
sxtw x2, w0
mov x0, 17472
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
str w0, [sp, 72]
adrp x0, s_tdefl_len_sym
add x0, x0, :lo12:s_tdefl_len_sym
ldr w1, [sp, 64]
ldrh w0, [x0, x1, lsl 1]
ldr x1, [sp, 24]
sxtw x0, w0
add x0, x1, x0
add x0, x0, 32768
ldrb w0, [x0, 3914]
str w0, [sp, 76]
ldr w0, [sp, 76]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 72]
cmp w1, w0
bls .L685
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 3083
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L685:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 72]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 76]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L686
.L688:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L687
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L687:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L686:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L688
adrp x0, s_tdefl_len_extra
add x1, x0, :lo12:s_tdefl_len_extra
ldr w0, [sp, 64]
ldrb w0, [x1, x0]
mov w1, w0
adrp x0, mz_bitmasks
add x0, x0, :lo12:mz_bitmasks
sxtw x1, w1
ldr w0, [x0, x1, lsl 2]
ldr w1, [sp, 64]
and w0, w1, w0
str w0, [sp, 80]
adrp x0, s_tdefl_len_extra
add x1, x0, :lo12:s_tdefl_len_extra
ldr w0, [sp, 64]
ldrb w0, [x1, x0]
str w0, [sp, 84]
ldr w0, [sp, 84]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bls .L689
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 3085
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L689:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 80]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 84]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L690
.L692:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L691
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L691:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L690:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L692
ldr w0, [sp, 68]
cmp w0, 511
bhi .L693
adrp x0, s_tdefl_small_dist_sym
add x1, x0, :lo12:s_tdefl_small_dist_sym
ldr w0, [sp, 68]
ldrb w0, [x1, x0]
str w0, [sp, 36]
adrp x0, s_tdefl_small_dist_extra
add x1, x0, :lo12:s_tdefl_small_dist_extra
ldr w0, [sp, 68]
ldrb w0, [x1, x0]
str w0, [sp, 40]
b .L694
.L693:
ldr w0, [sp, 68]
lsr w2, w0, 8
adrp x0, s_tdefl_large_dist_sym
add x1, x0, :lo12:s_tdefl_large_dist_sym
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 36]
ldr w0, [sp, 68]
lsr w2, w0, 8
adrp x0, s_tdefl_large_dist_extra
add x1, x0, :lo12:s_tdefl_large_dist_extra
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 40]
.L694:
ldr x1, [sp, 24]
ldr w2, [sp, 36]
mov x0, 17760
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
str w0, [sp, 88]
ldr x1, [sp, 24]
ldr w0, [sp, 36]
add x0, x1, x0
add x0, x0, 36864
ldrb w0, [x0, 106]
str w0, [sp, 92]
ldr w0, [sp, 92]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 88]
cmp w1, w0
bls .L695
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 3095
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L695:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 88]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 92]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L696
.L698:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L697
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L697:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L696:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L698
adrp x0, mz_bitmasks
add x0, x0, :lo12:mz_bitmasks
ldr w1, [sp, 40]
ldr w0, [x0, x1, lsl 2]
ldr w1, [sp, 68]
and w0, w1, w0
str w0, [sp, 96]
ldr w0, [sp, 40]
str w0, [sp, 100]
ldr w0, [sp, 100]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 96]
cmp w1, w0
bls .L699
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 3096
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L699:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 96]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 100]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L700
.L702:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L701
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L701:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L700:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L702
b .L703
.L683:
ldr x0, [sp, 104]
add x1, x0, 1
str x1, [sp, 104]
ldrb w0, [x0]
str w0, [sp, 52]
ldr x1, [sp, 24]
ldr w0, [sp, 52]
add x0, x1, x0
add x0, x0, 32768
ldrb w0, [x0, 3914]
cmp w0, 0
bne .L704
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 3099
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl __assert_fail
.L704:
ldr x1, [sp, 24]
ldr w2, [sp, 52]
mov x0, 17472
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
str w0, [sp, 56]
ldr x1, [sp, 24]
ldr w0, [sp, 52]
add x0, x1, x0
add x0, x0, 32768
ldrb w0, [x0, 3914]
str w0, [sp, 60]
ldr w0, [sp, 60]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 56]
cmp w1, w0
bls .L705
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 3100
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L705:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 56]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 60]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L706
.L708:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L707
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L707:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L706:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L708
.L703:
ldr w0, [sp, 32]
lsr w0, w0, 1
str w0, [sp, 32]
.L681:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
ldr x1, [sp, 104]
cmp x1, x0
bcc .L709
ldr x0, [sp, 24]
add x0, x0, 32768
ldrh w0, [x0, 2698]
str w0, [sp, 44]
ldr x0, [sp, 24]
add x0, x0, 36864
ldrb w0, [x0, 74]
str w0, [sp, 48]
ldr w0, [sp, 48]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 44]
cmp w1, w0
bls .L710
adrp x0, __PRETTY_FUNCTION__.11
add x3, x0, :lo12:__PRETTY_FUNCTION__.11
mov w2, 3104
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L710:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 44]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 48]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L711
.L713:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L712
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L712:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L711:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L713
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
cset w0, cc
and w0, w0, 255
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size tdefl_compress_lz_codes, .-tdefl_compress_lz_codes
.align 2
.type tdefl_compress_block, %function
tdefl_compress_block:
.LFB39:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldr w0, [sp, 20]
cmp w0, 0
beq .L716
ldr x0, [sp, 24]
bl tdefl_start_static_block
b .L717
.L716:
ldr x0, [sp, 24]
bl tdefl_start_dynamic_block
.L717:
ldr x0, [sp, 24]
bl tdefl_compress_lz_codes
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size tdefl_compress_block, .-tdefl_compress_block
.section .rodata
.align 3
.LC9:
.string "!d->m_output_flush_remaining"
.align 3
.LC10:
.string "d->m_pOutput_buf < d->m_pOutput_buf_end"
.text
.align 2
.type tdefl_flush_block, %function
tdefl_flush_block:
.LFB40:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
str wzr, [sp, 36]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
and w0, w0, 524288
cmp w0, 0
beq .L720
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr x0, [sp, 24]
ldr w0, [x0, 88]
sub w1, w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 44]
cmp w1, w0
bhi .L720
mov w0, 1
b .L721
.L720:
mov w0, 0
.L721:
str w0, [sp, 60]
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
bne .L722
ldr x0, [sp, 24]
ldr x0, [x0, 160]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr x0, [x0, 192]
sub x1, x1, x0
mov x0, 19659
movk x0, 0x1, lsl 16
cmp x1, x0
bls .L722
ldr x0, [sp, 24]
ldr x1, [x0, 144]
ldr x0, [sp, 24]
ldr x0, [x0, 192]
add x0, x1, x0
b .L723
.L722:
ldr x1, [sp, 24]
mov x0, 37546
movk x0, 0x3, lsl 16
add x0, x1, x0
.L723:
str x0, [sp, 176]
ldr x0, [sp, 24]
ldr x1, [sp, 176]
str x1, [x0, 64]
ldr x0, [sp, 24]
ldr x1, [x0, 64]
mov x0, 19644
movk x0, 0x1, lsl 16
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 72]
ldr x0, [sp, 24]
ldr w0, [x0, 116]
cmp w0, 0
beq .L724
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3135
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl __assert_fail
.L724:
ldr x0, [sp, 24]
str wzr, [x0, 112]
ldr x0, [sp, 24]
str wzr, [x0, 116]
ldr x0, [sp, 24]
ldr x0, [x0, 56]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 80]
asr w1, w1, w0
ldr x0, [sp, 24]
ldr x0, [x0, 56]
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 24]
ldr x1, [x0, 48]
ldr x0, [sp, 24]
ldr w0, [x0, 80]
cmp w0, 8
cset w0, eq
and w0, w0, 255
and x0, x0, 255
neg x0, x0
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 48]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
and w0, w0, 4096
cmp w0, 0
beq .L725
ldr x0, [sp, 24]
ldr w0, [x0, 124]
cmp w0, 0
bne .L725
mov w0, 120
str w0, [sp, 64]
mov w0, 8
str w0, [sp, 68]
ldr w0, [sp, 68]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 64]
cmp w1, w0
bls .L726
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3143
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L726:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 64]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 68]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L727
.L729:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L728
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L728:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L727:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L729
mov w0, 1
str w0, [sp, 72]
mov w0, 8
str w0, [sp, 76]
ldr w0, [sp, 76]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 72]
cmp w1, w0
bls .L730
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3144
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L730:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 72]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 76]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L731
.L733:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L732
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L732:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L731:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L733
.L725:
ldr w0, [sp, 20]
cmp w0, 4
cset w0, eq
and w0, w0, 255
str w0, [sp, 80]
mov w0, 1
str w0, [sp, 84]
ldr w0, [sp, 84]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 80]
cmp w1, w0
bls .L734
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3147
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L734:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 80]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 84]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L735
.L737:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L736
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L736:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L735:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L737
ldr x0, [sp, 24]
ldr x0, [x0, 64]
str x0, [sp, 184]
ldr x0, [sp, 24]
ldr w0, [x0, 96]
str w0, [sp, 88]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
str w0, [sp, 92]
ldr w0, [sp, 60]
cmp w0, 0
bne .L738
ldr x0, [sp, 24]
ldr w0, [x0, 16]
and w0, w0, 262144
cmp w0, 0
bne .L739
ldr x0, [sp, 24]
ldr w0, [x0, 84]
cmp w0, 47
bhi .L740
.L739:
mov w0, 1
b .L741
.L740:
mov w0, 0
.L741:
mov w1, w0
ldr x0, [sp, 24]
bl tdefl_compress_block
str w0, [sp, 36]
.L738:
ldr w0, [sp, 60]
cmp w0, 0
bne .L742
ldr x0, [sp, 24]
ldr w0, [x0, 84]
cmp w0, 0
beq .L743
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 184]
sub x0, x1, x0
add x1, x0, 1
ldr x0, [sp, 24]
ldr w0, [x0, 84]
uxtw x0, w0
cmp x1, x0
blt .L743
.L742:
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr x0, [sp, 24]
ldr w0, [x0, 88]
sub w1, w1, w0
ldr x0, [sp, 24]
ldr w0, [x0, 44]
cmp w1, w0
bhi .L743
ldr x0, [sp, 24]
ldr x1, [sp, 184]
str x1, [x0, 64]
ldr x0, [sp, 24]
ldr w1, [sp, 88]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [sp, 92]
str w1, [x0, 92]
str wzr, [sp, 96]
mov w0, 2
str w0, [sp, 100]
ldr w0, [sp, 100]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 96]
cmp w1, w0
bls .L744
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3167
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L744:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 96]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 100]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L745
.L747:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L746
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L746:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L745:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L747
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 0
beq .L748
str wzr, [sp, 104]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
mov w1, 8
sub w0, w1, w0
str w0, [sp, 108]
ldr w0, [sp, 108]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 104]
cmp w1, w0
bls .L749
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3169
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L749:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 104]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 108]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L750
.L752:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L751
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L751:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L750:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L752
.L748:
mov w0, 2
str w0, [sp, 40]
b .L753
.L758:
ldr x0, [sp, 24]
ldr w0, [x0, 84]
and w0, w0, 65535
str w0, [sp, 120]
mov w0, 16
str w0, [sp, 124]
ldr w0, [sp, 124]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 120]
cmp w1, w0
bls .L754
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3172
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L754:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 120]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 124]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L755
.L757:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L756
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L756:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L755:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L757
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 84]
eor w1, w0, 65535
ldr x0, [sp, 24]
str w1, [x0, 84]
.L753:
ldr w0, [sp, 40]
cmp w0, 0
bne .L758
str wzr, [sp, 40]
b .L759
.L764:
ldr x0, [sp, 24]
ldr w1, [x0, 88]
ldr w0, [sp, 40]
add w0, w1, w0
and w0, w0, 32767
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
str w0, [sp, 112]
mov w0, 8
str w0, [sp, 116]
ldr w0, [sp, 116]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 112]
cmp w1, w0
bls .L760
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3175
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L760:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 112]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 116]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L761
.L763:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L762
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L762:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L761:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L763
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L759:
ldr x0, [sp, 24]
ldr w0, [x0, 84]
ldr w1, [sp, 40]
cmp w1, w0
bcc .L764
b .L765
.L743:
ldr w0, [sp, 36]
cmp w0, 0
bne .L765
ldr x0, [sp, 24]
ldr x1, [sp, 184]
str x1, [x0, 64]
ldr x0, [sp, 24]
ldr w1, [sp, 88]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [sp, 92]
str w1, [x0, 92]
mov w1, 1
ldr x0, [sp, 24]
bl tdefl_compress_block
.L765:
ldr w0, [sp, 20]
cmp w0, 0
beq .L766
ldr w0, [sp, 20]
cmp w0, 4
bne .L767
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 0
beq .L768
str wzr, [sp, 152]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
mov w1, 8
sub w0, w1, w0
str w0, [sp, 156]
ldr w0, [sp, 156]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 152]
cmp w1, w0
bls .L769
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3191
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L769:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 152]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 156]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L770
.L772:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L771
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L771:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L770:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L772
.L768:
ldr x0, [sp, 24]
ldr w0, [x0, 16]
and w0, w0, 4096
cmp w0, 0
beq .L766
ldr x0, [sp, 24]
ldr w0, [x0, 32]
str w0, [sp, 48]
str wzr, [sp, 44]
b .L773
.L778:
ldr w0, [sp, 48]
lsr w0, w0, 24
str w0, [sp, 160]
mov w0, 8
str w0, [sp, 164]
ldr w0, [sp, 164]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 160]
cmp w1, w0
bls .L774
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3196
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L774:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 160]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 164]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L775
.L777:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L776
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L776:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L775:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L777
ldr w0, [sp, 48]
lsl w0, w0, 8
str w0, [sp, 48]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L773:
ldr w0, [sp, 44]
cmp w0, 3
bls .L778
b .L766
.L767:
str wzr, [sp, 56]
str wzr, [sp, 128]
mov w0, 3
str w0, [sp, 132]
ldr w0, [sp, 132]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 128]
cmp w1, w0
bls .L779
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3202
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L779:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 128]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 132]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L780
.L782:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L781
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L781:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L780:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L782
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 0
beq .L783
str wzr, [sp, 136]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
mov w1, 8
sub w0, w1, w0
str w0, [sp, 140]
ldr w0, [sp, 140]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 136]
cmp w1, w0
bls .L784
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3204
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L784:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 136]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 140]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L785
.L787:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L786
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L786:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L785:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L787
.L783:
mov w0, 2
str w0, [sp, 52]
b .L788
.L793:
ldr w0, [sp, 56]
and w0, w0, 65535
str w0, [sp, 144]
mov w0, 16
str w0, [sp, 148]
ldr w0, [sp, 148]
mov w1, 1
lsl w0, w1, w0
sub w0, w0, #1
ldr w1, [sp, 144]
cmp w1, w0
bls .L789
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3207
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __assert_fail
.L789:
ldr x0, [sp, 24]
ldr w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
ldr w2, [sp, 144]
lsl w0, w2, w0
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w1, [x0, 92]
ldr w0, [sp, 148]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 92]
b .L790
.L792:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcs .L791
ldr x0, [sp, 24]
ldr w3, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
add x2, x0, 1
ldr x1, [sp, 24]
str x2, [x1, 64]
and w1, w3, 255
strb w1, [x0]
.L791:
ldr x0, [sp, 24]
ldr w0, [x0, 96]
lsr w1, w0, 8
ldr x0, [sp, 24]
str w1, [x0, 96]
ldr x0, [sp, 24]
ldr w0, [x0, 92]
sub w1, w0, #8
ldr x0, [sp, 24]
str w1, [x0, 92]
.L790:
ldr x0, [sp, 24]
ldr w0, [x0, 92]
cmp w0, 7
bhi .L792
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 52]
ldr w0, [sp, 56]
eor w0, w0, 65535
str w0, [sp, 56]
.L788:
ldr w0, [sp, 52]
cmp w0, 0
bne .L793
.L766:
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 24]
ldr x0, [x0, 72]
cmp x1, x0
bcc .L794
adrp x0, __PRETTY_FUNCTION__.10
add x3, x0, :lo12:__PRETTY_FUNCTION__.10
mov w2, 3212
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl __assert_fail
.L794:
ldr x1, [sp, 24]
mov x0, 33226
add x0, x1, x0
mov x2, 576
mov w1, 0
bl memset
ldr x1, [sp, 24]
mov x0, 33802
add x0, x1, x0
mov x2, 64
mov w1, 0
bl memset
ldr x1, [sp, 24]
mov x0, 37546
add x0, x1, x0
add x1, x0, 1
ldr x0, [sp, 24]
str x1, [x0, 48]
ldr x1, [sp, 24]
mov x0, 37546
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 56]
ldr x0, [sp, 24]
mov w1, 8
str w1, [x0, 80]
ldr x0, [sp, 24]
ldr w1, [x0, 88]
ldr x0, [sp, 24]
ldr w0, [x0, 84]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 88]
ldr x0, [sp, 24]
str wzr, [x0, 84]
ldr x0, [sp, 24]
ldr w0, [x0, 124]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 124]
ldr x0, [sp, 24]
ldr x1, [x0, 64]
ldr x0, [sp, 176]
sub x0, x1, x0
str w0, [sp, 168]
ldr w0, [sp, 168]
cmp w0, 0
beq .L795
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
beq .L796
ldr x0, [sp, 24]
ldr x1, [x0, 176]
ldr x0, [sp, 24]
ldr x0, [x0, 136]
sub x1, x1, x0
ldr x0, [sp, 24]
ldr x0, [x0, 152]
str x1, [x0]
ldr x0, [sp, 24]
ldr x3, [x0]
ldr x1, [sp, 24]
mov x0, 37546
movk x0, 0x3, lsl 16
add x4, x1, x0
ldr x0, [sp, 24]
ldr x0, [x0, 8]
mov x2, x0
ldr w1, [sp, 168]
mov x0, x4
blr x3
cmp w0, 0
bne .L795
ldr x0, [sp, 24]
mov w1, -1
str w1, [x0, 132]
mov w0, -1
b .L797
.L796:
ldr x1, [sp, 24]
mov x0, 37546
movk x0, 0x3, lsl 16
add x0, x1, x0
ldr x1, [sp, 176]
cmp x1, x0
bne .L798
ldrsw x1, [sp, 168]
ldr x0, [sp, 24]
ldr x0, [x0, 160]
ldr x2, [x0]
ldr x0, [sp, 24]
ldr x0, [x0, 192]
sub x0, x2, x0
cmp x1, x0
bcc .L799
ldr x0, [sp, 24]
ldr x0, [x0, 160]
ldr x0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldr x0, [x0, 192]
sub w0, w1, w0
b .L800
.L799:
ldr w0, [sp, 168]
.L800:
str w0, [sp, 172]
ldr x0, [sp, 24]
ldr x1, [x0, 144]
ldr x0, [sp, 24]
ldr x0, [x0, 192]
add x3, x1, x0
ldr x1, [sp, 24]
mov x0, 37546
movk x0, 0x3, lsl 16
add x0, x1, x0
ldrsw x1, [sp, 172]
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 24]
ldr x1, [x0, 192]
ldrsw x0, [sp, 172]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 192]
ldr w1, [sp, 168]
ldr w0, [sp, 172]
sub w0, w1, w0
str w0, [sp, 168]
ldr w0, [sp, 168]
cmp w0, 0
beq .L795
ldr w1, [sp, 172]
ldr x0, [sp, 24]
str w1, [x0, 112]
ldr w1, [sp, 168]
ldr x0, [sp, 24]
str w1, [x0, 116]
b .L795
.L798:
ldr x0, [sp, 24]
ldr x1, [x0, 192]
ldrsw x0, [sp, 168]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 192]
.L795:
ldr x0, [sp, 24]
ldr w0, [x0, 116]
.L797:
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size tdefl_flush_block, .-tdefl_flush_block
.section .rodata
.align 3
.LC11:
.string "max_match_len <= TDEFL_MAX_MATCH_LEN"
.align 3
.LC12:
.string "(match_len >= TDEFL_MIN_MATCH_LEN) && (match_dist >= 1) && (match_dist <= TDEFL_LZ_DICT_SIZE)"
.align 3
.LC13:
.string "d->m_lookahead_size >= len_to_move"
.text
.align 2
.type tdefl_compress_normal, %function
tdefl_compress_normal:
.LFB44:
.cfi_startproc
stp x29, x30, [sp, -304]!
.cfi_def_cfa_offset 304
.cfi_offset 29, -304
.cfi_offset 30, -296
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 296]
mov x1, 0
ldr x0, [sp, 24]
ldr x0, [x0, 176]
str x0, [sp, 184]
ldr x0, [sp, 24]
ldr x0, [x0, 184]
str x0, [sp, 192]
ldr x0, [sp, 24]
ldr w0, [x0, 168]
str w0, [sp, 68]
b .L802
.L879:
ldr x0, [sp, 24]
ldr w1, [x0, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 44]
add w0, w1, w0
cmp w0, 1
bls .L810
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr x0, [sp, 24]
ldr w0, [x0, 40]
add w0, w1, w0
and w0, w0, 32767
str w0, [sp, 56]
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr x0, [sp, 24]
ldr w0, [x0, 40]
add w0, w1, w0
sub w0, w0, #2
str w0, [sp, 60]
ldr w0, [sp, 60]
and w0, w0, 32767
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
lsl w0, w0, 5
ldr w1, [sp, 60]
add w1, w1, 1
and w1, w1, 32767
ldr x2, [sp, 24]
uxtw x1, w1
add x1, x2, x1
ldrb w1, [x1, 200]
eor w0, w0, w1
str w0, [sp, 64]
ldr x0, [sp, 24]
ldr w0, [x0, 40]
mov w1, 258
sub w0, w1, w0
uxtw x0, w0
ldr x1, [sp, 192]
cmp x1, x0
bcs .L804
ldr x0, [sp, 192]
b .L805
.L804:
ldr x0, [sp, 24]
ldr w0, [x0, 40]
mov w1, 258
sub w0, w1, w0
.L805:
str w0, [sp, 84]
ldr w0, [sp, 84]
ldr x1, [sp, 184]
add x0, x1, x0
str x0, [sp, 200]
ldr w0, [sp, 84]
ldr x1, [sp, 192]
sub x0, x1, x0
str x0, [sp, 192]
ldr x0, [sp, 24]
ldr w1, [x0, 40]
ldr w0, [sp, 84]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 40]
b .L806
.L808:
ldr x0, [sp, 184]
add x1, x0, 1
str x1, [sp, 184]
ldrb w0, [x0]
strb w0, [sp, 38]
ldr x1, [sp, 24]
ldr w0, [sp, 56]
add x0, x1, x0
ldrb w1, [sp, 38]
strb w1, [x0, 200]
ldr w0, [sp, 56]
cmp w0, 256
bhi .L807
ldr w0, [sp, 56]
add w0, w0, 32768
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 38]
strb w1, [x0, 200]
.L807:
ldr w0, [sp, 64]
lsl w1, w0, 5
ldrb w0, [sp, 38]
eor w0, w1, w0
and w0, w0, 32767
str w0, [sp, 64]
ldr w0, [sp, 60]
and w4, w0, 32767
ldr x1, [sp, 24]
ldr w2, [sp, 64]
mov x0, 18768
movk x0, 0x1, lsl 16
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w3, [x0, 10]
ldr x1, [sp, 24]
uxtw x2, w4
mov x0, 51536
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
ldr w0, [sp, 60]
and w3, w0, 65535
ldr x1, [sp, 24]
ldr w2, [sp, 64]
mov x0, 18768
movk x0, 0x1, lsl 16
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
ldr w0, [sp, 56]
add w0, w0, 1
and w0, w0, 32767
str w0, [sp, 56]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L806:
ldr x1, [sp, 184]
ldr x0, [sp, 200]
cmp x1, x0
bne .L808
b .L809
.L812:
ldr x0, [sp, 184]
add x1, x0, 1
str x1, [sp, 184]
ldrb w0, [x0]
strb w0, [sp, 37]
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr x0, [sp, 24]
ldr w0, [x0, 40]
add w0, w1, w0
and w0, w0, 32767
str w0, [sp, 72]
ldr x0, [sp, 192]
sub x0, x0, #1
str x0, [sp, 192]
ldr x1, [sp, 24]
ldr w0, [sp, 72]
add x0, x1, x0
ldrb w1, [sp, 37]
strb w1, [x0, 200]
ldr w0, [sp, 72]
cmp w0, 256
bhi .L811
ldr w0, [sp, 72]
add w0, w0, 32768
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
ldrb w1, [sp, 37]
strb w1, [x0, 200]
.L811:
ldr x0, [sp, 24]
ldr w0, [x0, 40]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 40]
ldr x0, [sp, 24]
ldr w1, [x0, 40]
ldr x0, [sp, 24]
ldr w0, [x0, 44]
add w0, w1, w0
cmp w0, 2
bls .L810
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr x0, [sp, 24]
ldr w0, [x0, 40]
add w0, w1, w0
sub w0, w0, #3
str w0, [sp, 76]
ldr w0, [sp, 76]
and w0, w0, 32767
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
lsl w1, w0, 10
ldr w0, [sp, 76]
add w0, w0, 1
and w0, w0, 32767
ldr x2, [sp, 24]
uxtw x0, w0
add x0, x2, x0
ldrb w0, [x0, 200]
lsl w0, w0, 5
eor w1, w1, w0
ldrb w0, [sp, 37]
eor w0, w1, w0
and w0, w0, 32767
str w0, [sp, 80]
ldr w0, [sp, 76]
and w4, w0, 32767
ldr x1, [sp, 24]
ldr w2, [sp, 80]
mov x0, 18768
movk x0, 0x1, lsl 16
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w3, [x0, 10]
ldr x1, [sp, 24]
uxtw x2, w4
mov x0, 51536
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
ldr w0, [sp, 76]
and w3, w0, 65535
ldr x1, [sp, 24]
ldr w2, [sp, 80]
mov x0, 18768
movk x0, 0x1, lsl 16
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
.L810:
ldr x0, [sp, 192]
cmp x0, 0
beq .L809
ldr x0, [sp, 24]
ldr w0, [x0, 40]
cmp w0, 257
bls .L812
.L809:
ldr x0, [sp, 24]
ldr w1, [x0, 44]
ldr x0, [sp, 24]
ldr w0, [x0, 40]
mov w2, 32768
sub w0, w2, w0
cmp w1, w0
csel w1, w1, w0, ls
ldr x0, [sp, 24]
str w1, [x0, 44]
ldr w0, [sp, 68]
cmp w0, 0
bne .L813
ldr x0, [sp, 24]
ldr w0, [x0, 40]
cmp w0, 257
bls .L887
.L813:
mov w0, 1
str w0, [sp, 52]
str wzr, [sp, 44]
ldr x0, [sp, 24]
ldr w0, [x0, 104]
cmp w0, 0
beq .L815
ldr x0, [sp, 24]
ldr w0, [x0, 104]
b .L816
.L815:
mov w0, 2
.L816:
str w0, [sp, 48]
ldr x0, [sp, 24]
ldr w0, [x0, 36]
and w0, w0, 32767
str w0, [sp, 88]
ldr x0, [sp, 24]
ldr w1, [x0, 16]
mov w0, 589824
and w0, w1, w0
cmp w0, 0
beq .L817
ldr x0, [sp, 24]
ldr w0, [x0, 44]
cmp w0, 0
beq .L818
ldr x0, [sp, 24]
ldr w0, [x0, 16]
and w0, w0, 524288
cmp w0, 0
bne .L818
ldr w0, [sp, 88]
sub w0, w0, #1
and w0, w0, 32767
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
strb w0, [sp, 39]
str wzr, [sp, 48]
b .L819
.L822:
ldr w1, [sp, 48]
ldr w0, [sp, 88]
add w0, w1, w0
ldr x1, [sp, 24]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
ldrb w1, [sp, 39]
cmp w1, w0
bne .L888
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L819:
ldr x0, [sp, 24]
ldr w1, [x0, 40]
ldr w0, [sp, 48]
cmp w1, w0
bhi .L822
b .L821
.L888:
nop
.L821:
ldr w0, [sp, 48]
cmp w0, 2
bhi .L823
str wzr, [sp, 48]
b .L818
.L823:
mov w0, 1
str w0, [sp, 44]
b .L818
.L817:
ldr x0, [sp, 24]
ldr w2, [x0, 36]
ldr x0, [sp, 24]
ldr w1, [x0, 44]
ldr x0, [sp, 24]
ldr w0, [x0, 40]
ldr x3, [sp, 24]
str x3, [sp, 208]
str w2, [sp, 96]
str w1, [sp, 100]
str w0, [sp, 104]
add x0, sp, 44
str x0, [sp, 216]
add x0, sp, 48
str x0, [sp, 224]
ldr w0, [sp, 96]
and w0, w0, 32767
str w0, [sp, 108]
ldr x0, [sp, 224]
ldr w0, [x0]
str w0, [sp, 112]
ldr w0, [sp, 108]
str w0, [sp, 116]
ldr w0, [sp, 112]
cmp w0, 31
cset w0, hi
and w0, w0, 255
ldr x1, [sp, 208]
sxtw x0, w0
add x0, x0, 4
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0, 4]
str w0, [sp, 120]
ldr x0, [sp, 208]
add x1, x0, 200
ldr w0, [sp, 108]
add x0, x1, x0
str x0, [sp, 232]
ldr w1, [sp, 108]
ldr w0, [sp, 112]
add w0, w1, w0
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
strb w0, [sp, 40]
ldr w1, [sp, 108]
ldr w0, [sp, 112]
add w0, w1, w0
sub w0, w0, #1
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
strb w0, [sp, 41]
ldr w0, [sp, 104]
cmp w0, 258
bls .L824
adrp x0, __PRETTY_FUNCTION__.8
add x3, x0, :lo12:__PRETTY_FUNCTION__.8
mov w2, 3317
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl __assert_fail
.L824:
ldr w1, [sp, 104]
ldr w0, [sp, 112]
cmp w1, w0
bls .L889
.L825:
ldr w0, [sp, 120]
sub w0, w0, #1
str w0, [sp, 120]
ldr w0, [sp, 120]
cmp w0, 0
beq .L890
ldr x1, [sp, 208]
ldr w2, [sp, 116]
mov x0, 51536
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
str w0, [sp, 124]
ldr w0, [sp, 124]
cmp w0, 0
beq .L818
ldr w0, [sp, 96]
and w1, w0, 65535
ldr w0, [sp, 124]
and w0, w0, 65535
sub w0, w1, w0
and w0, w0, 65535
str w0, [sp, 128]
ldr w1, [sp, 100]
ldr w0, [sp, 128]
cmp w1, w0
bcc .L818
ldr w0, [sp, 124]
and w0, w0, 32767
str w0, [sp, 116]
ldr w1, [sp, 116]
ldr w0, [sp, 112]
add w0, w1, w0
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
ldrb w1, [sp, 40]
cmp w1, w0
bne .L830
ldr w1, [sp, 116]
ldr w0, [sp, 112]
add w0, w1, w0
sub w0, w0, #1
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
ldrb w1, [sp, 41]
cmp w1, w0
beq .L831
.L830:
ldr x1, [sp, 208]
ldr w2, [sp, 116]
mov x0, 51536
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
str w0, [sp, 124]
ldr w0, [sp, 124]
cmp w0, 0
beq .L818
ldr w0, [sp, 96]
and w1, w0, 65535
ldr w0, [sp, 124]
and w0, w0, 65535
sub w0, w1, w0
and w0, w0, 65535
str w0, [sp, 128]
ldr w1, [sp, 100]
ldr w0, [sp, 128]
cmp w1, w0
bcc .L818
ldr w0, [sp, 124]
and w0, w0, 32767
str w0, [sp, 116]
ldr w1, [sp, 112]
ldr w0, [sp, 116]
add w0, w1, w0
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
ldrb w1, [sp, 40]
cmp w1, w0
bne .L834
ldr w1, [sp, 112]
ldr w0, [sp, 116]
add w0, w1, w0
sub w0, w0, #1
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
ldrb w1, [sp, 41]
cmp w1, w0
beq .L831
.L834:
ldr x1, [sp, 208]
ldr w2, [sp, 116]
mov x0, 51536
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
str w0, [sp, 124]
ldr w0, [sp, 124]
cmp w0, 0
beq .L818
ldr w0, [sp, 96]
and w1, w0, 65535
ldr w0, [sp, 124]
and w0, w0, 65535
sub w0, w1, w0
and w0, w0, 65535
str w0, [sp, 128]
ldr w1, [sp, 100]
ldr w0, [sp, 128]
cmp w1, w0
bcc .L818
ldr w0, [sp, 124]
and w0, w0, 32767
str w0, [sp, 116]
ldr w1, [sp, 112]
ldr w0, [sp, 116]
add w0, w1, w0
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
ldrb w1, [sp, 40]
cmp w1, w0
bne .L825
ldr w1, [sp, 112]
ldr w0, [sp, 116]
add w0, w1, w0
sub w0, w0, #1
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
ldrb w1, [sp, 41]
cmp w1, w0
beq .L831
b .L825
.L831:
ldr w0, [sp, 128]
cmp w0, 0
beq .L891
ldr x0, [sp, 232]
str x0, [sp, 240]
ldr x0, [sp, 208]
add x1, x0, 200
ldr w0, [sp, 116]
add x0, x1, x0
str x0, [sp, 248]
str wzr, [sp, 132]
b .L839
.L842:
ldr x0, [sp, 240]
add x1, x0, 1
str x1, [sp, 240]
ldrb w1, [x0]
ldr x0, [sp, 248]
add x2, x0, 1
str x2, [sp, 248]
ldrb w0, [x0]
cmp w1, w0
bne .L892
ldr w0, [sp, 132]
add w0, w0, 1
str w0, [sp, 132]
.L839:
ldr w1, [sp, 104]
ldr w0, [sp, 132]
cmp w1, w0
bhi .L842
b .L841
.L892:
nop
.L841:
ldr w1, [sp, 112]
ldr w0, [sp, 132]
cmp w1, w0
bcs .L825
ldr x0, [sp, 216]
ldr w1, [sp, 128]
str w1, [x0]
ldr w0, [sp, 132]
str w0, [sp, 112]
ldr x0, [sp, 224]
ldr w1, [sp, 112]
str w1, [x0]
ldr x0, [sp, 224]
ldr w0, [x0]
ldr w1, [sp, 104]
cmp w1, w0
beq .L893
ldr w1, [sp, 108]
ldr w0, [sp, 112]
add w0, w1, w0
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
strb w0, [sp, 40]
ldr w1, [sp, 108]
ldr w0, [sp, 112]
add w0, w1, w0
sub w0, w0, #1
ldr x1, [sp, 208]
uxtw x0, w0
add x0, x1, x0
ldrb w0, [x0, 200]
strb w0, [sp, 41]
b .L825
.L889:
nop
b .L818
.L890:
nop
b .L818
.L891:
nop
b .L818
.L893:
nop
.L818:
ldr w0, [sp, 48]
cmp w0, 3
bne .L845
ldr w1, [sp, 44]
mov w0, 8191
cmp w1, w0
bhi .L846
.L845:
ldr w0, [sp, 44]
ldr w1, [sp, 88]
cmp w1, w0
beq .L846
ldr x0, [sp, 24]
ldr w0, [x0, 16]
and w0, w0, 131072
cmp w0, 0
beq .L847
ldr w0, [sp, 48]
cmp w0, 5
bhi .L847
.L846:
str wzr, [sp, 48]
ldr w0, [sp, 48]
str w0, [sp, 44]
.L847:
ldr x0, [sp, 24]
ldr w0, [x0, 104]
cmp w0, 0
beq .L848
ldr x0, [sp, 24]
ldr w1, [x0, 104]
ldr w0, [sp, 48]
cmp w1, w0
bcs .L849
ldr x0, [sp, 24]
ldr w0, [x0, 108]
and w1, w0, 255
ldr x0, [sp, 24]
str x0, [sp, 256]
mov w0, w1
strb w0, [sp, 42]
ldr x0, [sp, 256]
ldr w0, [x0, 84]
add w1, w0, 1
ldr x0, [sp, 256]
str w1, [x0, 84]
ldr x0, [sp, 256]
ldr x0, [x0, 48]
add x2, x0, 1
ldr x1, [sp, 256]
str x2, [x1, 48]
ldrb w1, [sp, 42]
strb w1, [x0]
ldr x0, [sp, 256]
ldr x0, [x0, 56]
ldrb w1, [x0]
ldr x0, [sp, 256]
ldr x0, [x0, 56]
lsr w1, w1, 1
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 256]
ldr w0, [x0, 80]
sub w1, w0, #1
ldr x0, [sp, 256]
str w1, [x0, 80]
ldr x0, [sp, 256]
ldr w0, [x0, 80]
cmp w0, 0
bne .L850
ldr x0, [sp, 256]
mov w1, 8
str w1, [x0, 80]
ldr x0, [sp, 256]
ldr x0, [x0, 48]
add x2, x0, 1
ldr x1, [sp, 256]
str x2, [x1, 48]
ldr x1, [sp, 256]
str x0, [x1, 56]
.L850:
ldrb w3, [sp, 42]
ldr x1, [sp, 256]
sxtw x2, w3
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
add w0, w0, 1
and w4, w0, 65535
ldr x1, [sp, 256]
sxtw x2, w3
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w4
strh w1, [x0, 10]
nop
ldr w0, [sp, 48]
cmp w0, 127
bls .L851
ldr w1, [sp, 48]
ldr w0, [sp, 44]
ldr x2, [sp, 24]
str x2, [sp, 264]
str w1, [sp, 136]
str w0, [sp, 140]
ldr w0, [sp, 136]
cmp w0, 2
bls .L852
ldr w0, [sp, 140]
cmp w0, 0
beq .L852
ldr w0, [sp, 140]
cmp w0, 32768
bls .L884
.L852:
adrp x0, __PRETTY_FUNCTION__.7
add x3, x0, :lo12:__PRETTY_FUNCTION__.7
mov w2, 3551
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl __assert_fail
.L884:
ldr x0, [sp, 264]
ldr w1, [x0, 84]
ldr w0, [sp, 136]
add w1, w1, w0
ldr x0, [sp, 264]
str w1, [x0, 84]
ldr w0, [sp, 136]
and w1, w0, 255
ldr x0, [sp, 264]
ldr x0, [x0, 48]
sub w1, w1, #3
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 140]
sub w0, w0, #1
str w0, [sp, 140]
ldr x0, [sp, 264]
ldr x0, [x0, 48]
add x0, x0, 1
ldr w1, [sp, 140]
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 140]
lsr w1, w0, 8
ldr x0, [sp, 264]
ldr x0, [x0, 48]
add x0, x0, 2
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 264]
ldr x0, [x0, 48]
add x1, x0, 3
ldr x0, [sp, 264]
str x1, [x0, 48]
ldr x0, [sp, 264]
ldr x0, [x0, 56]
ldrb w0, [x0]
lsr w0, w0, 1
and w1, w0, 255
ldr x0, [sp, 264]
ldr x0, [x0, 56]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 264]
ldr w0, [x0, 80]
sub w1, w0, #1
ldr x0, [sp, 264]
str w1, [x0, 80]
ldr x0, [sp, 264]
ldr w0, [x0, 80]
cmp w0, 0
bne .L854
ldr x0, [sp, 264]
mov w1, 8
str w1, [x0, 80]
ldr x0, [sp, 264]
ldr x0, [x0, 48]
add x2, x0, 1
ldr x1, [sp, 264]
str x2, [x1, 48]
ldr x1, [sp, 264]
str x0, [x1, 56]
.L854:
ldr w0, [sp, 140]
and w2, w0, 511
adrp x0, s_tdefl_small_dist_sym
add x1, x0, :lo12:s_tdefl_small_dist_sym
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 144]
ldr w0, [sp, 140]
lsr w0, w0, 8
and w2, w0, 127
adrp x0, s_tdefl_large_dist_sym
add x1, x0, :lo12:s_tdefl_large_dist_sym
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 148]
ldr w0, [sp, 140]
cmp w0, 511
bhi .L855
ldr w0, [sp, 144]
b .L856
.L855:
ldr w0, [sp, 148]
.L856:
ldr x2, [sp, 264]
uxtw x3, w0
mov x1, 16896
add x1, x3, x1
lsl x1, x1, 1
add x1, x2, x1
ldrh w1, [x1, 10]
add w1, w1, 1
and w3, w1, 65535
ldr x1, [sp, 264]
uxtw x2, w0
mov x0, 16896
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
ldr w0, [sp, 136]
cmp w0, 2
bls .L894
ldr w0, [sp, 136]
sub w1, w0, #3
adrp x0, s_tdefl_len_sym
add x0, x0, :lo12:s_tdefl_len_sym
uxtw x1, w1
ldrh w0, [x0, x1, lsl 1]
mov w4, w0
ldr x1, [sp, 264]
sxtw x2, w4
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
add w0, w0, 1
and w3, w0, 65535
ldr x1, [sp, 264]
sxtw x2, w4
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
.L894:
nop
ldr x0, [sp, 24]
str wzr, [x0, 104]
ldr w0, [sp, 48]
str w0, [sp, 52]
b .L858
.L851:
ldr x1, [sp, 24]
ldr w0, [sp, 88]
add x0, x1, x0
ldrb w0, [x0, 200]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 108]
ldr w1, [sp, 44]
ldr x0, [sp, 24]
str w1, [x0, 100]
ldr w1, [sp, 48]
ldr x0, [sp, 24]
str w1, [x0, 104]
b .L858
.L849:
ldr x0, [sp, 24]
ldr w1, [x0, 104]
ldr x0, [sp, 24]
ldr w0, [x0, 100]
ldr x2, [sp, 24]
str x2, [sp, 272]
str w1, [sp, 152]
str w0, [sp, 156]
ldr w0, [sp, 152]
cmp w0, 2
bls .L859
ldr w0, [sp, 156]
cmp w0, 0
beq .L859
ldr w0, [sp, 156]
cmp w0, 32768
bls .L885
.L859:
adrp x0, __PRETTY_FUNCTION__.7
add x3, x0, :lo12:__PRETTY_FUNCTION__.7
mov w2, 3551
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl __assert_fail
.L885:
ldr x0, [sp, 272]
ldr w1, [x0, 84]
ldr w0, [sp, 152]
add w1, w1, w0
ldr x0, [sp, 272]
str w1, [x0, 84]
ldr w0, [sp, 152]
and w1, w0, 255
ldr x0, [sp, 272]
ldr x0, [x0, 48]
sub w1, w1, #3
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 156]
sub w0, w0, #1
str w0, [sp, 156]
ldr x0, [sp, 272]
ldr x0, [x0, 48]
add x0, x0, 1
ldr w1, [sp, 156]
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 156]
lsr w1, w0, 8
ldr x0, [sp, 272]
ldr x0, [x0, 48]
add x0, x0, 2
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 272]
ldr x0, [x0, 48]
add x1, x0, 3
ldr x0, [sp, 272]
str x1, [x0, 48]
ldr x0, [sp, 272]
ldr x0, [x0, 56]
ldrb w0, [x0]
lsr w0, w0, 1
and w1, w0, 255
ldr x0, [sp, 272]
ldr x0, [x0, 56]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 272]
ldr w0, [x0, 80]
sub w1, w0, #1
ldr x0, [sp, 272]
str w1, [x0, 80]
ldr x0, [sp, 272]
ldr w0, [x0, 80]
cmp w0, 0
bne .L861
ldr x0, [sp, 272]
mov w1, 8
str w1, [x0, 80]
ldr x0, [sp, 272]
ldr x0, [x0, 48]
add x2, x0, 1
ldr x1, [sp, 272]
str x2, [x1, 48]
ldr x1, [sp, 272]
str x0, [x1, 56]
.L861:
ldr w0, [sp, 156]
and w2, w0, 511
adrp x0, s_tdefl_small_dist_sym
add x1, x0, :lo12:s_tdefl_small_dist_sym
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 160]
ldr w0, [sp, 156]
lsr w0, w0, 8
and w2, w0, 127
adrp x0, s_tdefl_large_dist_sym
add x1, x0, :lo12:s_tdefl_large_dist_sym
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 164]
ldr w0, [sp, 156]
cmp w0, 511
bhi .L862
ldr w0, [sp, 160]
b .L863
.L862:
ldr w0, [sp, 164]
.L863:
ldr x2, [sp, 272]
uxtw x3, w0
mov x1, 16896
add x1, x3, x1
lsl x1, x1, 1
add x1, x2, x1
ldrh w1, [x1, 10]
add w1, w1, 1
and w3, w1, 65535
ldr x1, [sp, 272]
uxtw x2, w0
mov x0, 16896
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
ldr w0, [sp, 152]
cmp w0, 2
bls .L895
ldr w0, [sp, 152]
sub w1, w0, #3
adrp x0, s_tdefl_len_sym
add x0, x0, :lo12:s_tdefl_len_sym
uxtw x1, w1
ldrh w0, [x0, x1, lsl 1]
mov w4, w0
ldr x1, [sp, 272]
sxtw x2, w4
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
add w0, w0, 1
and w3, w0, 65535
ldr x1, [sp, 272]
sxtw x2, w4
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
.L895:
nop
ldr x0, [sp, 24]
ldr w0, [x0, 104]
sub w0, w0, #1
str w0, [sp, 52]
ldr x0, [sp, 24]
str wzr, [x0, 104]
b .L858
.L848:
ldr w0, [sp, 44]
cmp w0, 0
bne .L865
ldr w3, [sp, 88]
mov w2, 33024
ldr w1, [sp, 88]
mov w0, 33024
cmp w3, w2
csel w0, w1, w0, ls
uxtw x0, w0
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w1, [x0, 200]
ldr x0, [sp, 24]
str x0, [sp, 280]
mov w0, w1
strb w0, [sp, 43]
ldr x0, [sp, 280]
ldr w0, [x0, 84]
add w1, w0, 1
ldr x0, [sp, 280]
str w1, [x0, 84]
ldr x0, [sp, 280]
ldr x0, [x0, 48]
add x2, x0, 1
ldr x1, [sp, 280]
str x2, [x1, 48]
ldrb w1, [sp, 43]
strb w1, [x0]
ldr x0, [sp, 280]
ldr x0, [x0, 56]
ldrb w1, [x0]
ldr x0, [sp, 280]
ldr x0, [x0, 56]
lsr w1, w1, 1
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 280]
ldr w0, [x0, 80]
sub w1, w0, #1
ldr x0, [sp, 280]
str w1, [x0, 80]
ldr x0, [sp, 280]
ldr w0, [x0, 80]
cmp w0, 0
bne .L866
ldr x0, [sp, 280]
mov w1, 8
str w1, [x0, 80]
ldr x0, [sp, 280]
ldr x0, [x0, 48]
add x2, x0, 1
ldr x1, [sp, 280]
str x2, [x1, 48]
ldr x1, [sp, 280]
str x0, [x1, 56]
.L866:
ldrb w3, [sp, 43]
ldr x1, [sp, 280]
sxtw x2, w3
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
add w0, w0, 1
and w4, w0, 65535
ldr x1, [sp, 280]
sxtw x2, w3
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w4
strh w1, [x0, 10]
b .L858
.L865:
ldr x0, [sp, 24]
ldr w0, [x0, 28]
cmp w0, 0
bne .L867
ldr x0, [sp, 24]
ldr w0, [x0, 16]
and w0, w0, 65536
cmp w0, 0
bne .L867
ldr w0, [sp, 48]
cmp w0, 127
bls .L868
.L867:
ldr w1, [sp, 48]
ldr w0, [sp, 44]
ldr x2, [sp, 24]
str x2, [sp, 288]
str w1, [sp, 168]
str w0, [sp, 172]
ldr w0, [sp, 168]
cmp w0, 2
bls .L869
ldr w0, [sp, 172]
cmp w0, 0
beq .L869
ldr w0, [sp, 172]
cmp w0, 32768
bls .L886
.L869:
adrp x0, __PRETTY_FUNCTION__.7
add x3, x0, :lo12:__PRETTY_FUNCTION__.7
mov w2, 3551
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl __assert_fail
.L886:
ldr x0, [sp, 288]
ldr w1, [x0, 84]
ldr w0, [sp, 168]
add w1, w1, w0
ldr x0, [sp, 288]
str w1, [x0, 84]
ldr w0, [sp, 168]
and w1, w0, 255
ldr x0, [sp, 288]
ldr x0, [x0, 48]
sub w1, w1, #3
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 172]
sub w0, w0, #1
str w0, [sp, 172]
ldr x0, [sp, 288]
ldr x0, [x0, 48]
add x0, x0, 1
ldr w1, [sp, 172]
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 172]
lsr w1, w0, 8
ldr x0, [sp, 288]
ldr x0, [x0, 48]
add x0, x0, 2
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 288]
ldr x0, [x0, 48]
add x1, x0, 3
ldr x0, [sp, 288]
str x1, [x0, 48]
ldr x0, [sp, 288]
ldr x0, [x0, 56]
ldrb w0, [x0]
lsr w0, w0, 1
and w1, w0, 255
ldr x0, [sp, 288]
ldr x0, [x0, 56]
orr w1, w1, -128
and w1, w1, 255
strb w1, [x0]
ldr x0, [sp, 288]
ldr w0, [x0, 80]
sub w1, w0, #1
ldr x0, [sp, 288]
str w1, [x0, 80]
ldr x0, [sp, 288]
ldr w0, [x0, 80]
cmp w0, 0
bne .L871
ldr x0, [sp, 288]
mov w1, 8
str w1, [x0, 80]
ldr x0, [sp, 288]
ldr x0, [x0, 48]
add x2, x0, 1
ldr x1, [sp, 288]
str x2, [x1, 48]
ldr x1, [sp, 288]
str x0, [x1, 56]
.L871:
ldr w0, [sp, 172]
and w2, w0, 511
adrp x0, s_tdefl_small_dist_sym
add x1, x0, :lo12:s_tdefl_small_dist_sym
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 176]
ldr w0, [sp, 172]
lsr w0, w0, 8
and w2, w0, 127
adrp x0, s_tdefl_large_dist_sym
add x1, x0, :lo12:s_tdefl_large_dist_sym
uxtw x0, w2
ldrb w0, [x1, x0]
str w0, [sp, 180]
ldr w0, [sp, 172]
cmp w0, 511
bhi .L872
ldr w0, [sp, 176]
b .L873
.L872:
ldr w0, [sp, 180]
.L873:
ldr x2, [sp, 288]
uxtw x3, w0
mov x1, 16896
add x1, x3, x1
lsl x1, x1, 1
add x1, x2, x1
ldrh w1, [x1, 10]
add w1, w1, 1
and w3, w1, 65535
ldr x1, [sp, 288]
uxtw x2, w0
mov x0, 16896
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
ldr w0, [sp, 168]
cmp w0, 2
bls .L896
ldr w0, [sp, 168]
sub w1, w0, #3
adrp x0, s_tdefl_len_sym
add x0, x0, :lo12:s_tdefl_len_sym
uxtw x1, w1
ldrh w0, [x0, x1, lsl 1]
mov w4, w0
ldr x1, [sp, 288]
sxtw x2, w4
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
ldrh w0, [x0, 10]
add w0, w0, 1
and w3, w0, 65535
ldr x1, [sp, 288]
sxtw x2, w4
mov x0, 16608
add x0, x2, x0
lsl x0, x0, 1
add x0, x1, x0
mov w1, w3
strh w1, [x0, 10]
.L896:
nop
ldr w0, [sp, 48]
str w0, [sp, 52]
b .L858
.L868:
ldr w3, [sp, 88]
mov w2, 33024
ldr w1, [sp, 88]
mov w0, 33024
cmp w3, w2
csel w0, w1, w0, ls
uxtw x0, w0
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0, 200]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 108]
ldr w1, [sp, 44]
ldr x0, [sp, 24]
str w1, [x0, 100]
ldr w1, [sp, 48]
ldr x0, [sp, 24]
str w1, [x0, 104]
.L858:
ldr x0, [sp, 24]
ldr w1, [x0, 36]
ldr w0, [sp, 52]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 36]
ldr x0, [sp, 24]
ldr w0, [x0, 40]
ldr w1, [sp, 52]
cmp w1, w0
bls .L875
adrp x0, __PRETTY_FUNCTION__.9
add x3, x0, :lo12:__PRETTY_FUNCTION__.9
mov w2, 3697
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl __assert_fail
.L875:
ldr x0, [sp, 24]
ldr w1, [x0, 40]
ldr w0, [sp, 52]
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 40]
ldr x0, [sp, 24]
ldr w1, [x0, 44]
ldr w0, [sp, 52]
add w0, w1, w0
mov w1, 32768
cmp w0, 32768
csel w1, w0, w1, ls
ldr x0, [sp, 24]
str w1, [x0, 44]
ldr x0, [sp, 24]
ldr x1, [x0, 48]
ldr x2, [sp, 24]
mov x0, 37538
movk x0, 0x1, lsl 16
add x0, x2, x0
cmp x1, x0
bhi .L876
ldr x0, [sp, 24]
ldr w1, [x0, 84]
mov w0, 31744
cmp w1, w0
bls .L802
ldr x0, [sp, 24]
ldr x1, [x0, 48]
ldr x2, [sp, 24]
mov x0, 37546
add x0, x2, x0
sub x0, x1, x0
mov w1, w0
mov w0, 115
mul w0, w1, w0
lsr w1, w0, 7
ldr x0, [sp, 24]
ldr w0, [x0, 84]
cmp w1, w0
bcs .L876
ldr x0, [sp, 24]
ldr w0, [x0, 16]
and w0, w0, 524288
cmp w0, 0
beq .L802
.L876:
ldr x0, [sp, 24]
ldr x1, [sp, 184]
str x1, [x0, 176]
ldr x0, [sp, 24]
ldr x1, [sp, 192]
str x1, [x0, 184]
mov w1, 0
ldr x0, [sp, 24]
bl tdefl_flush_block
str w0, [sp, 92]
ldr w0, [sp, 92]
cmp w0, 0
beq .L802
ldr w0, [sp, 92]
mvn w0, w0
lsr w0, w0, 31
and w0, w0, 255
b .L878
.L802:
ldr x0, [sp, 192]
cmp x0, 0
bne .L879
ldr w0, [sp, 68]
cmp w0, 0
beq .L814
ldr x0, [sp, 24]
ldr w0, [x0, 40]
cmp w0, 0
bne .L879
b .L814
.L887:
nop
.L814:
ldr x0, [sp, 24]
ldr x1, [sp, 184]
str x1, [x0, 176]
ldr x0, [sp, 24]
ldr x1, [sp, 192]
str x1, [x0, 184]
mov w0, 1
.L878:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 296]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L880
bl __stack_chk_fail
.L880:
mov w0, w1
ldp x29, x30, [sp], 304
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE44:
.size tdefl_compress_normal, .-tdefl_compress_normal
.align 2
.type tdefl_flush_output_buffer, %function
tdefl_flush_output_buffer:
.LFB45:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 152]
cmp x0, 0
beq .L898
ldr x0, [sp, 24]
ldr x1, [x0, 176]
ldr x0, [sp, 24]
ldr x0, [x0, 136]
sub x1, x1, x0
ldr x0, [sp, 24]
ldr x0, [x0, 152]
str x1, [x0]
.L898:
ldr x0, [sp, 24]
ldr x0, [x0, 160]
cmp x0, 0
beq .L899
ldr x0, [sp, 24]
ldr w0, [x0, 116]
uxtw x1, w0
ldr x0, [sp, 24]
ldr x0, [x0, 160]
ldr x2, [x0]
ldr x0, [sp, 24]
ldr x0, [x0, 192]
sub x0, x2, x0
cmp x1, x0
csel x0, x1, x0, ls
str x0, [sp, 40]
ldr x0, [sp, 24]
ldr x1, [x0, 144]
ldr x0, [sp, 24]
ldr x0, [x0, 192]
add x3, x1, x0
ldr x1, [sp, 24]
mov x0, 37546
movk x0, 0x3, lsl 16
add x1, x1, x0
ldr x0, [sp, 24]
ldr w0, [x0, 112]
uxtw x0, w0
add x0, x1, x0
ldr x2, [sp, 40]
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 24]
ldr w0, [x0, 112]
ldr x1, [sp, 40]
add w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 112]
ldr x0, [sp, 24]
ldr w0, [x0, 116]
ldr x1, [sp, 40]
sub w1, w0, w1
ldr x0, [sp, 24]
str w1, [x0, 116]
ldr x0, [sp, 24]
ldr x1, [x0, 192]
ldr x0, [sp, 40]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0, 192]
ldr x0, [sp, 24]
ldr x0, [x0, 160]
ldr x1, [sp, 24]
ldr x1, [x1, 192]
str x1, [x0]
.L899:
ldr x0, [sp, 24]
ldr w0, [x0, 120]
cmp w0, 0
beq .L900
ldr x0, [sp, 24]
ldr w0, [x0, 116]
cmp w0, 0
bne .L900
mov w0, 1
b .L902
.L900:
mov w0, 0
.L902:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE45:
.size tdefl_flush_output_buffer, .-tdefl_flush_output_buffer
.align 2
.global tdefl_compress
.type tdefl_compress, %function
tdefl_compress:
.LFB46:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str x4, [sp, 24]
str w5, [sp, 20]
ldr x0, [sp, 56]
cmp x0, 0
bne .L904
ldr x0, [sp, 40]
cmp x0, 0
beq .L905
ldr x0, [sp, 40]
str xzr, [x0]
.L905:
ldr x0, [sp, 24]
cmp x0, 0
beq .L906
ldr x0, [sp, 24]
str xzr, [x0]
.L906:
mov w0, -2
b .L907
.L904:
ldr x0, [sp, 56]
ldr x1, [sp, 48]
str x1, [x0, 136]
ldr x0, [sp, 56]
ldr x1, [sp, 40]
str x1, [x0, 152]
ldr x0, [sp, 56]
ldr x1, [sp, 32]
str x1, [x0, 144]
ldr x0, [sp, 56]
ldr x1, [sp, 24]
str x1, [x0, 160]
ldr x0, [sp, 56]
ldr x1, [sp, 48]
str x1, [x0, 176]
ldr x0, [sp, 40]
cmp x0, 0
beq .L908
ldr x0, [sp, 40]
ldr x0, [x0]
b .L909
.L908:
mov x0, 0
.L909:
ldr x1, [sp, 56]
str x0, [x1, 184]
ldr x0, [sp, 56]
str xzr, [x0, 192]
ldr x0, [sp, 56]
ldr w1, [sp, 20]
str w1, [x0, 168]
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x0, 0
cset w0, eq
and w1, w0, 255
ldr x0, [sp, 32]
cmp x0, 0
bne .L910
ldr x0, [sp, 24]
cmp x0, 0
beq .L911
.L910:
mov w0, 1
b .L912
.L911:
mov w0, 0
.L912:
and w0, w0, 1
and w0, w0, 255
eor w0, w1, w0
and w0, w0, 255
cmp w0, 0
bne .L913
ldr x0, [sp, 56]
ldr w0, [x0, 132]
cmp w0, 0
bne .L913
ldr x0, [sp, 56]
ldr w0, [x0, 128]
cmp w0, 0
beq .L914
ldr w0, [sp, 20]
cmp w0, 4
bne .L913
.L914:
ldr x0, [sp, 40]
cmp x0, 0
beq .L915
ldr x0, [sp, 40]
ldr x0, [x0]
cmp x0, 0
beq .L915
ldr x0, [sp, 48]
cmp x0, 0
beq .L913
.L915:
ldr x0, [sp, 24]
cmp x0, 0
beq .L916
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 0
beq .L916
ldr x0, [sp, 32]
cmp x0, 0
bne .L916
.L913:
ldr x0, [sp, 40]
cmp x0, 0
beq .L917
ldr x0, [sp, 40]
str xzr, [x0]
.L917:
ldr x0, [sp, 24]
cmp x0, 0
beq .L918
ldr x0, [sp, 24]
str xzr, [x0]
.L918:
ldr x0, [sp, 56]
mov w1, -2
str w1, [x0, 132]
ldr x0, [sp, 56]
ldr w0, [x0, 132]
b .L907
.L916:
ldr x0, [sp, 56]
ldr w0, [x0, 128]
ldr w1, [sp, 20]
cmp w1, 4
cset w1, eq
and w1, w1, 255
orr w1, w0, w1
ldr x0, [sp, 56]
str w1, [x0, 128]
ldr x0, [sp, 56]
ldr w0, [x0, 116]
cmp w0, 0
bne .L919
ldr x0, [sp, 56]
ldr w0, [x0, 120]
cmp w0, 0
beq .L920
.L919:
ldr x0, [sp, 56]
bl tdefl_flush_output_buffer
mov w1, w0
ldr x0, [sp, 56]
str w1, [x0, 132]
ldr x0, [sp, 56]
ldr w0, [x0, 132]
b .L907
.L920:
ldr x0, [sp, 56]
bl tdefl_compress_normal
cmp w0, 0
bne .L921
ldr x0, [sp, 56]
ldr w0, [x0, 132]
b .L907
.L921:
ldr x0, [sp, 56]
ldr w0, [x0, 16]
and w0, w0, 12288
cmp w0, 0
beq .L922
ldr x0, [sp, 48]
cmp x0, 0
beq .L922
ldr x0, [sp, 56]
ldr w0, [x0, 32]
uxtw x3, w0
ldr x0, [sp, 56]
ldr x1, [x0, 176]
ldr x0, [sp, 48]
sub x0, x1, x0
mov x2, x0
ldr x1, [sp, 48]
mov x0, x3
bl mz_adler32
mov w1, w0
ldr x0, [sp, 56]
str w1, [x0, 32]
.L922:
ldr w0, [sp, 20]
cmp w0, 0
beq .L923
ldr x0, [sp, 56]
ldr w0, [x0, 40]
cmp w0, 0
bne .L923
ldr x0, [sp, 56]
ldr x0, [x0, 184]
cmp x0, 0
bne .L923
ldr x0, [sp, 56]
ldr w0, [x0, 116]
cmp w0, 0
bne .L923
ldr w0, [sp, 20]
mov w1, w0
ldr x0, [sp, 56]
bl tdefl_flush_block
cmp w0, 0
bge .L924
ldr x0, [sp, 56]
ldr w0, [x0, 132]
b .L907
.L924:
ldr w0, [sp, 20]
cmp w0, 4
cset w0, eq
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 56]
str w1, [x0, 120]
ldr w0, [sp, 20]
cmp w0, 3
bne .L923
ldr x1, [sp, 56]
mov x0, 37546
movk x0, 0x2, lsl 16
add x0, x1, x0
mov x2, 65536
mov w1, 0
bl memset
ldr x1, [sp, 56]
mov x0, 37546
movk x0, 0x1, lsl 16
add x0, x1, x0
mov x2, 65536
mov w1, 0
bl memset
ldr x0, [sp, 56]
str wzr, [x0, 44]
.L923:
ldr x0, [sp, 56]
bl tdefl_flush_output_buffer
mov w1, w0
ldr x0, [sp, 56]
str w1, [x0, 132]
ldr x0, [sp, 56]
ldr w0, [x0, 132]
.L907:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE46:
.size tdefl_compress, .-tdefl_compress
.section .rodata
.align 3
.LC14:
.string "d->m_pPut_buf_func"
.text
.align 2
.global tdefl_compress_buffer
.type tdefl_compress_buffer, %function
tdefl_compress_buffer:
.LFB47:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
ldr x0, [sp, 40]
ldr x0, [x0]
cmp x0, 0
bne .L926
adrp x0, __PRETTY_FUNCTION__.6
add x3, x0, :lo12:__PRETTY_FUNCTION__.6
mov w2, 3815
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl __assert_fail
.L926:
add x0, sp, 24
ldr w5, [sp, 20]
mov x4, 0
mov x3, 0
mov x2, x0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl tdefl_compress
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE47:
.size tdefl_compress_buffer, .-tdefl_compress_buffer
.align 2
.global tdefl_init
.type tdefl_init, %function
tdefl_init:
.LFB48:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
ldr x0, [sp, 40]
ldr x1, [sp, 32]
str x1, [x0]
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0, 8]
ldr w1, [sp, 20]
ldr x0, [sp, 40]
str w1, [x0, 16]
ldr w0, [sp, 20]
and w0, w0, 4095
add w0, w0, 2
mov w1, 21846
movk w1, 0x5555, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w0, w0, 31
sub w0, w1, w0
add w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 20]
ldr w0, [sp, 20]
and w0, w0, 16384
cmp w0, 0
cset w0, ne
and w0, w0, 255
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 28]
ldr w0, [sp, 20]
asr w0, w0, 2
and w0, w0, 1023
add w0, w0, 2
mov w1, 21846
movk w1, 0x5555, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w0, w0, 31
sub w0, w1, w0
add w0, w0, 1
mov w1, w0
ldr x0, [sp, 40]
str w1, [x0, 24]
ldr w0, [sp, 20]
and w0, w0, 32768
cmp w0, 0
bne .L929
ldr x1, [sp, 40]
mov x0, 37546
movk x0, 0x2, lsl 16
add x0, x1, x0
mov x2, 65536
mov w1, 0
bl memset
.L929:
ldr x0, [sp, 40]
str wzr, [x0, 92]
ldr x0, [sp, 40]
ldr w1, [x0, 92]
ldr x0, [sp, 40]
str w1, [x0, 88]
ldr x0, [sp, 40]
ldr w1, [x0, 88]
ldr x0, [sp, 40]
str w1, [x0, 84]
ldr x0, [sp, 40]
ldr w1, [x0, 84]
ldr x0, [sp, 40]
str w1, [x0, 44]
ldr x0, [sp, 40]
ldr w1, [x0, 44]
ldr x0, [sp, 40]
str w1, [x0, 40]
ldr x0, [sp, 40]
ldr w1, [x0, 40]
ldr x0, [sp, 40]
str w1, [x0, 36]
ldr x0, [sp, 40]
str wzr, [x0, 128]
ldr x0, [sp, 40]
ldr w1, [x0, 128]
ldr x0, [sp, 40]
str w1, [x0, 96]
ldr x0, [sp, 40]
ldr w1, [x0, 96]
ldr x0, [sp, 40]
str w1, [x0, 124]
ldr x0, [sp, 40]
ldr w1, [x0, 124]
ldr x0, [sp, 40]
str w1, [x0, 120]
ldr x0, [sp, 40]
ldr w1, [x0, 120]
ldr x0, [sp, 40]
str w1, [x0, 116]
ldr x0, [sp, 40]
ldr w1, [x0, 116]
ldr x0, [sp, 40]
str w1, [x0, 112]
ldr x1, [sp, 40]
mov x0, 37546
add x0, x1, x0
add x1, x0, 1
ldr x0, [sp, 40]
str x1, [x0, 48]
ldr x1, [sp, 40]
mov x0, 37546
add x1, x1, x0
ldr x0, [sp, 40]
str x1, [x0, 56]
ldr x0, [sp, 40]
mov w1, 8
str w1, [x0, 80]
ldr x1, [sp, 40]
mov x0, 37546
movk x0, 0x3, lsl 16
add x1, x1, x0
ldr x0, [sp, 40]
str x1, [x0, 64]
ldr x1, [sp, 40]
mov x0, 37546
movk x0, 0x3, lsl 16
add x1, x1, x0
ldr x0, [sp, 40]
str x1, [x0, 72]
ldr x0, [sp, 40]
str wzr, [x0, 132]
ldr x0, [sp, 40]
str wzr, [x0, 108]
ldr x0, [sp, 40]
ldr w1, [x0, 108]
ldr x0, [sp, 40]
str w1, [x0, 104]
ldr x0, [sp, 40]
ldr w1, [x0, 104]
ldr x0, [sp, 40]
str w1, [x0, 100]
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0, 32]
ldr x0, [sp, 40]
str xzr, [x0, 136]
ldr x0, [sp, 40]
str xzr, [x0, 144]
ldr x0, [sp, 40]
str xzr, [x0, 152]
ldr x0, [sp, 40]
str xzr, [x0, 160]
ldr x0, [sp, 40]
str wzr, [x0, 168]
ldr x0, [sp, 40]
str xzr, [x0, 176]
ldr x0, [sp, 40]
str xzr, [x0, 184]
ldr x0, [sp, 40]
str xzr, [x0, 192]
ldr x1, [sp, 40]
mov x0, 33226
add x0, x1, x0
mov x2, 576
mov w1, 0
bl memset
ldr x1, [sp, 40]
mov x0, 33802
add x0, x1, x0
mov x2, 64
mov w1, 0
bl memset
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE48:
.size tdefl_init, .-tdefl_init
.align 2
.global tdefl_get_prev_return_status
.type tdefl_get_prev_return_status, %function
tdefl_get_prev_return_status:
.LFB49:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 132]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE49:
.size tdefl_get_prev_return_status, .-tdefl_get_prev_return_status
.align 2
.global tdefl_get_adler32
.type tdefl_get_adler32, %function
tdefl_get_adler32:
.LFB50:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 32]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE50:
.size tdefl_get_adler32, .-tdefl_get_adler32
.align 2
.global tdefl_compress_mem_to_output
.type tdefl_compress_mem_to_output, %function
tdefl_compress_mem_to_output:
.LFB51:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
ldr x0, [sp, 48]
cmp x0, 0
beq .L936
ldr x0, [sp, 56]
cmp x0, 0
beq .L937
.L936:
ldr x0, [sp, 40]
cmp x0, 0
bne .L938
.L937:
mov w0, 0
b .L939
.L938:
mov x0, 57208
movk x0, 0x4, lsl 16
bl malloc
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L940
mov w0, 0
b .L939
.L940:
ldr w3, [sp, 28]
ldr x2, [sp, 32]
ldr x1, [sp, 40]
ldr x0, [sp, 72]
bl tdefl_init
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
beq .L941
mov w3, 4
ldr x2, [sp, 48]
ldr x1, [sp, 56]
ldr x0, [sp, 72]
bl tdefl_compress_buffer
cmp w0, 1
bne .L941
mov w0, 1
b .L942
.L941:
mov w0, 0
.L942:
str w0, [sp, 68]
ldr x0, [sp, 72]
bl free
ldr w0, [sp, 68]
.L939:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE51:
.size tdefl_compress_mem_to_output, .-tdefl_compress_mem_to_output
.align 2
.type tdefl_output_buffer_putter, %function
tdefl_output_buffer_putter:
.LFB52:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
ldr x0, [sp, 24]
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr x1, [x0]
ldrsw x0, [sp, 36]
add x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 56]
ldr x0, [x0, 8]
ldr x1, [sp, 64]
cmp x1, x0
bls .L944
ldr x0, [sp, 56]
ldr x0, [x0, 8]
str x0, [sp, 48]
ldr x0, [sp, 56]
ldr w0, [x0, 24]
cmp w0, 0
bne .L945
mov w0, 0
b .L946
.L945:
ldr x0, [sp, 48]
lsl x0, x0, 1
mov x1, 128
cmp x0, 128
csel x0, x0, x1, cs
str x0, [sp, 48]
ldr x1, [sp, 64]
ldr x0, [sp, 48]
cmp x1, x0
bhi .L945
ldr x0, [sp, 56]
ldr x0, [x0, 16]
ldr x1, [sp, 48]
bl realloc
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L947
mov w0, 0
b .L946
.L947:
ldr x0, [sp, 56]
ldr x1, [sp, 72]
str x1, [x0, 16]
ldr x0, [sp, 56]
ldr x1, [sp, 48]
str x1, [x0, 8]
.L944:
ldr x0, [sp, 56]
ldr x1, [x0, 16]
ldr x0, [sp, 56]
ldr x0, [x0]
add x0, x1, x0
ldrsw x1, [sp, 36]
mov x2, x1
ldr x1, [sp, 40]
bl memcpy
ldr x0, [sp, 56]
ldr x1, [sp, 64]
str x1, [x0]
mov w0, 1
.L946:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE52:
.size tdefl_output_buffer_putter, .-tdefl_output_buffer_putter
.align 2
.global tdefl_compress_mem_to_heap
.type tdefl_compress_mem_to_heap, %function
tdefl_compress_mem_to_heap:
.LFB53:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
add x0, sp, 56
mov x2, 32
mov w1, 0
bl memset
ldr x0, [sp, 24]
cmp x0, 0
bne .L949
mov x0, 0
b .L952
.L949:
ldr x0, [sp, 24]
str xzr, [x0]
mov w0, 1
str w0, [sp, 80]
add x0, sp, 56
ldr w4, [sp, 20]
mov x3, x0
adrp x0, tdefl_output_buffer_putter
add x2, x0, :lo12:tdefl_output_buffer_putter
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl tdefl_compress_mem_to_output
cmp w0, 0
bne .L951
mov x0, 0
b .L952
.L951:
ldr x1, [sp, 56]
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 72]
.L952:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L953
bl __stack_chk_fail
.L953:
mov x0, x1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE53:
.size tdefl_compress_mem_to_heap, .-tdefl_compress_mem_to_heap
.align 2
.global tdefl_compress_mem_to_mem
.type tdefl_compress_mem_to_mem, %function
tdefl_compress_mem_to_mem:
.LFB54:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
add x0, sp, 72
mov x2, 32
mov w1, 0
bl memset
ldr x0, [sp, 56]
cmp x0, 0
bne .L955
mov x0, 0
b .L958
.L955:
ldr x0, [sp, 56]
str x0, [sp, 88]
ldr x0, [sp, 48]
str x0, [sp, 80]
add x0, sp, 72
ldr w4, [sp, 28]
mov x3, x0
adrp x0, tdefl_output_buffer_putter
add x2, x0, :lo12:tdefl_output_buffer_putter
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl tdefl_compress_mem_to_output
cmp w0, 0
bne .L957
mov x0, 0
b .L958
.L957:
ldr x0, [sp, 72]
.L958:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 104]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L959
bl __stack_chk_fail
.L959:
mov x0, x1
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE54:
.size tdefl_compress_mem_to_mem, .-tdefl_compress_mem_to_mem
.section .rodata
.align 3
.type s_tdefl_num_probes, %object
.size s_tdefl_num_probes, 44
s_tdefl_num_probes:
.word 0
.word 1
.word 6
.word 32
.word 16
.word 32
.word 128
.word 256
.word 512
.word 768
.word 1500
.text
.align 2
.global tdefl_create_comp_flags_from_zip_params
.type tdefl_create_comp_flags_from_zip_params, %function
tdefl_create_comp_flags_from_zip_params:
.LFB55:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
str w2, [sp, 4]
ldr w0, [sp, 12]
cmp w0, 0
blt .L961
ldr w2, [sp, 12]
ldr w1, [sp, 12]
mov w0, 10
cmp w2, 10
csel w0, w1, w0, le
b .L962
.L961:
mov w0, 6
.L962:
adrp x1, s_tdefl_num_probes
add x1, x1, :lo12:s_tdefl_num_probes
sxtw x0, w0
ldr w1, [x1, x0, lsl 2]
ldr w0, [sp, 12]
cmp w0, 3
bgt .L963
mov w0, 16384
b .L964
.L963:
mov w0, 0
.L964:
orr w0, w0, w1
str w0, [sp, 28]
ldr w0, [sp, 8]
cmp w0, 0
ble .L965
ldr w0, [sp, 28]
orr w0, w0, 4096
str w0, [sp, 28]
.L965:
ldr w0, [sp, 12]
cmp w0, 0
bne .L966
ldr w0, [sp, 28]
orr w0, w0, 524288
str w0, [sp, 28]
b .L967
.L966:
ldr w0, [sp, 4]
cmp w0, 1
bne .L968
ldr w0, [sp, 28]
orr w0, w0, 131072
str w0, [sp, 28]
b .L967
.L968:
ldr w0, [sp, 4]
cmp w0, 2
bne .L969
ldr w0, [sp, 28]
and w0, w0, -4096
str w0, [sp, 28]
b .L967
.L969:
ldr w0, [sp, 4]
cmp w0, 4
bne .L970
ldr w0, [sp, 28]
orr w0, w0, 262144
str w0, [sp, 28]
b .L967
.L970:
ldr w0, [sp, 4]
cmp w0, 3
bne .L967
ldr w0, [sp, 28]
orr w0, w0, 65536
str w0, [sp, 28]
.L967:
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE55:
.size tdefl_create_comp_flags_from_zip_params, .-tdefl_create_comp_flags_from_zip_params
.section .rodata
.align 3
.LC15:
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string "IEND\256B`\202"
.text
.align 2
.global tdefl_write_image_to_png_file_in_memory_ex
.type tdefl_write_image_to_png_file_in_memory_ex, %function
tdefl_write_image_to_png_file_in_memory_ex:
.LFB56:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
str x0, [sp, 56]
str w1, [sp, 52]
str w2, [sp, 48]
str w3, [sp, 44]
str x4, [sp, 32]
str w5, [sp, 40]
str w6, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 184]
mov x1, 0
mov x0, 57208
movk x0, 0x4, lsl 16
bl malloc
str x0, [sp, 96]
ldr w1, [sp, 52]
ldr w0, [sp, 44]
mul w0, w1, w0
str w0, [sp, 92]
ldr x0, [sp, 32]
str xzr, [x0]
ldr x0, [sp, 96]
cmp x0, 0
bne .L973
mov x0, 0
b .L988
.L973:
add x0, sp, 104
mov x2, 32
mov w1, 0
bl memset
mov w0, 1
str w0, [sp, 128]
ldr w0, [sp, 92]
add w1, w0, 1
ldr w0, [sp, 48]
mul w0, w1, w0
mov w1, 64
cmp w0, 64
csel w0, w0, w1, ge
add w0, w0, 57
sxtw x0, w0
str x0, [sp, 112]
ldr x0, [sp, 112]
bl malloc
str x0, [sp, 120]
ldr x0, [sp, 120]
cmp x0, 0
bne .L975
ldr x0, [sp, 96]
bl free
mov x0, 0
b .L988
.L975:
mov w0, 41
str w0, [sp, 76]
b .L976
.L977:
add x1, sp, 104
add x0, sp, 76
mov x2, x1
mov w1, 1
bl tdefl_output_buffer_putter
ldr w0, [sp, 76]
sub w0, w0, #1
str w0, [sp, 76]
.L976:
ldr w0, [sp, 76]
cmp w0, 0
bne .L977
ldr w2, [sp, 40]
ldr w1, [sp, 40]
mov w0, 10
cmp w2, 10
csel w1, w1, w0, ls
adrp x0, s_tdefl_png_num_probes.5
add x0, x0, :lo12:s_tdefl_png_num_probes.5
uxtw x1, w1
ldr w0, [x0, x1, lsl 2]
orr w0, w0, 4096
mov w1, w0
add x0, sp, 104
mov w3, w1
mov x2, x0
adrp x0, tdefl_output_buffer_putter
add x1, x0, :lo12:tdefl_output_buffer_putter
ldr x0, [sp, 96]
bl tdefl_init
str wzr, [sp, 84]
b .L978
.L981:
add x0, sp, 76
mov w3, 0
mov x2, 1
mov x1, x0
ldr x0, [sp, 96]
bl tdefl_compress_buffer
ldr w0, [sp, 28]
cmp w0, 0
beq .L979
ldr w0, [sp, 48]
sub w1, w0, #1
ldr w0, [sp, 84]
sub w0, w1, w0
b .L980
.L979:
ldr w0, [sp, 84]
.L980:
ldr w1, [sp, 92]
mul w0, w0, w1
sxtw x0, w0
ldr x1, [sp, 56]
add x0, x1, x0
ldrsw x1, [sp, 92]
mov w3, 0
mov x2, x1
mov x1, x0
ldr x0, [sp, 96]
bl tdefl_compress_buffer
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
.L978:
ldr w1, [sp, 84]
ldr w0, [sp, 48]
cmp w1, w0
blt .L981
mov w3, 4
mov x2, 0
mov x1, 0
ldr x0, [sp, 96]
bl tdefl_compress_buffer
cmp w0, 1
beq .L982
ldr x0, [sp, 96]
bl free
ldr x0, [sp, 120]
bl free
mov x0, 0
b .L988
.L982:
ldr x0, [sp, 104]
sub x1, x0, #41
ldr x0, [sp, 32]
str x1, [x0]
mov w0, -119
strb w0, [sp, 136]
mov w0, 80
strb w0, [sp, 137]
mov w0, 78
strb w0, [sp, 138]
mov w0, 71
strb w0, [sp, 139]
mov w0, 13
strb w0, [sp, 140]
mov w0, 10
strb w0, [sp, 141]
mov w0, 26
strb w0, [sp, 142]
mov w0, 10
strb w0, [sp, 143]
strb wzr, [sp, 144]
strb wzr, [sp, 145]
strb wzr, [sp, 146]
mov w0, 13
strb w0, [sp, 147]
mov w0, 73
strb w0, [sp, 148]
mov w0, 72
strb w0, [sp, 149]
mov w0, 68
strb w0, [sp, 150]
mov w0, 82
strb w0, [sp, 151]
strb wzr, [sp, 152]
strb wzr, [sp, 153]
ldr w0, [sp, 52]
asr w0, w0, 8
and w0, w0, 255
strb w0, [sp, 154]
ldr w0, [sp, 52]
and w0, w0, 255
strb w0, [sp, 155]
strb wzr, [sp, 156]
strb wzr, [sp, 157]
ldr w0, [sp, 48]
asr w0, w0, 8
and w0, w0, 255
strb w0, [sp, 158]
ldr w0, [sp, 48]
and w0, w0, 255
strb w0, [sp, 159]
mov w0, 8
strb w0, [sp, 160]
adrp x0, chans.4
add x1, x0, :lo12:chans.4
ldrsw x0, [sp, 44]
ldrb w0, [x1, x0]
strb w0, [sp, 161]
strb wzr, [sp, 162]
strb wzr, [sp, 163]
strb wzr, [sp, 164]
strb wzr, [sp, 165]
strb wzr, [sp, 166]
strb wzr, [sp, 167]
strb wzr, [sp, 168]
ldr x0, [sp, 32]
ldr x0, [x0]
lsr x0, x0, 24
and w0, w0, 255
strb w0, [sp, 169]
ldr x0, [sp, 32]
ldr x0, [x0]
lsr x0, x0, 16
and w0, w0, 255
strb w0, [sp, 170]
ldr x0, [sp, 32]
ldr x0, [x0]
lsr x0, x0, 8
and w0, w0, 255
strb w0, [sp, 171]
ldr x0, [sp, 32]
ldr x0, [x0]
and w0, w0, 255
strb w0, [sp, 172]
mov w0, 73
strb w0, [sp, 173]
mov w0, 68
strb w0, [sp, 174]
mov w0, 65
strb w0, [sp, 175]
mov w0, 84
strb w0, [sp, 176]
add x0, sp, 136
add x0, x0, 12
mov x2, 17
mov x1, x0
mov x0, 0
bl mz_crc32
str w0, [sp, 88]
str wzr, [sp, 80]
b .L983
.L984:
ldr w0, [sp, 88]
lsr w2, w0, 24
ldrsw x0, [sp, 80]
add x0, x0, 29
add x1, sp, 136
add x0, x1, x0
and w1, w2, 255
strb w1, [x0]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
ldr w0, [sp, 88]
lsl w0, w0, 8
str w0, [sp, 88]
.L983:
ldr w0, [sp, 80]
cmp w0, 3
ble .L984
ldr x0, [sp, 120]
mov x1, x0
add x0, sp, 136
ldp q0, q1, [x0]
stp q0, q1, [x1]
ldr q0, [x0, 25]
str q0, [x1, 25]
add x0, sp, 104
mov x2, x0
mov w1, 16
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl tdefl_output_buffer_putter
cmp w0, 0
bne .L985
ldr x0, [sp, 32]
str xzr, [x0]
ldr x0, [sp, 96]
bl free
ldr x0, [sp, 120]
bl free
mov x0, 0
b .L988
.L985:
ldr x0, [sp, 120]
add x1, x0, 37
ldr x0, [sp, 32]
ldr x0, [x0]
add x0, x0, 4
mov x2, x0
mov x0, 0
bl mz_crc32
str w0, [sp, 88]
str wzr, [sp, 80]
b .L986
.L987:
ldr w0, [sp, 88]
lsr w3, w0, 24
ldr x1, [sp, 120]
ldr x2, [sp, 104]
ldrsw x0, [sp, 80]
add x0, x2, x0
sub x0, x0, #16
add x0, x1, x0
and w1, w3, 255
strb w1, [x0]
ldr w0, [sp, 80]
add w0, w0, 1
str w0, [sp, 80]
ldr w0, [sp, 88]
lsl w0, w0, 8
str w0, [sp, 88]
.L986:
ldr w0, [sp, 80]
cmp w0, 3
ble .L987
ldr x0, [sp, 32]
ldr x0, [x0]
add x1, x0, 57
ldr x0, [sp, 32]
str x1, [x0]
ldr x0, [sp, 96]
bl free
ldr x0, [sp, 120]
.L988:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 184]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L989
bl __stack_chk_fail
.L989:
mov x0, x1
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE56:
.size tdefl_write_image_to_png_file_in_memory_ex, .-tdefl_write_image_to_png_file_in_memory_ex
.align 2
.global tdefl_write_image_to_png_file_in_memory
.type tdefl_write_image_to_png_file_in_memory, %function
tdefl_write_image_to_png_file_in_memory:
.LFB57:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str x4, [sp, 16]
mov w6, 0
mov w5, 6
ldr x4, [sp, 16]
ldr w3, [sp, 28]
ldr w2, [sp, 32]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl tdefl_write_image_to_png_file_in_memory_ex
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE57:
.size tdefl_write_image_to_png_file_in_memory, .-tdefl_write_image_to_png_file_in_memory
.section .rodata
.align 3
.LC16:
.string "pArray->m_element_size"
.text
.align 2
.type mz_zip_array_ensure_capacity, %function
mz_zip_array_ensure_capacity:
.LFB59:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
ldr x0, [sp, 24]
str x0, [sp, 48]
ldr x0, [sp, 32]
ldr w0, [x0, 24]
cmp w0, 0
bne .L993
adrp x0, __PRETTY_FUNCTION__.3
add x3, x0, :lo12:__PRETTY_FUNCTION__.3
mov w2, 4382
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L993:
ldr x0, [sp, 32]
ldr x0, [x0, 16]
ldr x1, [sp, 24]
cmp x1, x0
bhi .L994
mov w0, 1
b .L995
.L994:
ldr w0, [sp, 20]
cmp w0, 0
beq .L996
ldr x0, [sp, 32]
ldr x0, [x0, 16]
cmp x0, 0
beq .L997
ldr x0, [sp, 32]
ldr x0, [x0, 16]
b .L998
.L997:
mov x0, 1
.L998:
str x0, [sp, 48]
b .L999
.L1000:
ldr x0, [sp, 48]
lsl x0, x0, 1
str x0, [sp, 48]
.L999:
ldr x1, [sp, 48]
ldr x0, [sp, 24]
cmp x1, x0
bcc .L1000
.L996:
ldr x0, [sp, 40]
ldr x4, [x0, 56]
ldr x0, [sp, 40]
ldr x5, [x0, 64]
ldr x0, [sp, 32]
ldr x1, [x0]
ldr x0, [sp, 32]
ldr w0, [x0, 24]
uxtw x0, w0
ldr x3, [sp, 48]
mov x2, x0
mov x0, x5
blr x4
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L1001
mov w0, 0
b .L995
.L1001:
ldr x0, [sp, 32]
ldr x1, [sp, 56]
str x1, [x0]
ldr x0, [sp, 32]
ldr x1, [sp, 48]
str x1, [x0, 16]
mov w0, 1
.L995:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE59:
.size mz_zip_array_ensure_capacity, .-mz_zip_array_ensure_capacity
.align 2
.type mz_zip_dos_to_time_t, %function
mz_zip_dos_to_time_t:
.LFB64:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
add x0, sp, 32
mov x2, 56
mov w1, 0
bl memset
mov w0, -1
str w0, [sp, 64]
ldr w0, [sp, 24]
asr w0, w0, 9
and w0, w0, 127
add w0, w0, 80
str w0, [sp, 52]
ldr w0, [sp, 24]
asr w0, w0, 5
and w0, w0, 15
sub w0, w0, #1
str w0, [sp, 48]
ldr w0, [sp, 24]
and w0, w0, 31
str w0, [sp, 44]
ldr w0, [sp, 28]
asr w0, w0, 11
and w0, w0, 31
str w0, [sp, 40]
ldr w0, [sp, 28]
asr w0, w0, 5
and w0, w0, 63
str w0, [sp, 36]
ldr w0, [sp, 28]
lsl w0, w0, 1
and w0, w0, 62
str w0, [sp, 32]
add x0, sp, 32
bl mktime
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1004
bl __stack_chk_fail
.L1004:
mov x0, x1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE64:
.size mz_zip_dos_to_time_t, .-mz_zip_dos_to_time_t
.align 2
.type mz_zip_time_t_to_dos_time, %function
mz_zip_time_t_to_dos_time:
.LFB65:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
add x0, sp, 40
bl localtime
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr w0, [x0, 8]
and w0, w0, 65535
ubfiz w0, w0, 11, 5
and w1, w0, 65535
ldr x0, [sp, 56]
ldr w0, [x0, 4]
and w0, w0, 65535
ubfiz w0, w0, 5, 11
and w0, w0, 65535
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 56]
ldr w0, [x0]
asr w0, w0, 1
and w0, w0, 65535
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 32]
strh w1, [x0]
ldr x0, [sp, 56]
ldr w0, [x0, 20]
and w0, w0, 65535
sub w0, w0, #80
and w0, w0, 65535
ubfiz w0, w0, 9, 7
and w1, w0, 65535
ldr x0, [sp, 56]
ldr w0, [x0, 16]
and w0, w0, 65535
add w0, w0, 1
and w0, w0, 65535
ubfiz w0, w0, 5, 11
and w0, w0, 65535
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 56]
ldr w0, [x0, 12]
and w0, w0, 65535
add w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
strh w1, [x0]
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE65:
.size mz_zip_time_t_to_dos_time, .-mz_zip_time_t_to_dos_time
.align 2
.type mz_zip_get_file_modified_time, %function
mz_zip_get_file_modified_time:
.LFB66:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 168]
mov x1, 0
add x0, sp, 40
mov x1, x0
ldr x0, [sp, 24]
bl stat
cmp w0, 0
beq .L1007
mov w0, 0
b .L1009
.L1007:
ldr x1, [sp, 128]
ldr x0, [sp, 16]
str x1, [x0]
mov w0, 1
.L1009:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1010
bl __stack_chk_fail
.L1010:
mov w0, w1
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE66:
.size mz_zip_get_file_modified_time, .-mz_zip_get_file_modified_time
.align 2
.type mz_zip_set_file_times, %function
mz_zip_set_file_times:
.LFB67:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
add x0, sp, 56
mov x2, 16
mov w1, 0
bl memset
ldr x0, [sp, 32]
str x0, [sp, 56]
ldr x0, [sp, 24]
str x0, [sp, 64]
add x0, sp, 56
mov x1, x0
ldr x0, [sp, 40]
bl utime
cmp w0, 0
cset w0, eq
and w0, w0, 255
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1013
bl __stack_chk_fail
.L1013:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE67:
.size mz_zip_set_file_times, .-mz_zip_set_file_times
.align 2
.type mz_zip_reader_init_internal, %function
mz_zip_reader_init_internal:
.LFB69:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1015
ldr x0, [sp, 24]
ldr x0, [x0, 104]
cmp x0, 0
bne .L1015
ldr x0, [sp, 24]
ldr w0, [x0, 20]
cmp w0, 0
beq .L1016
.L1015:
mov w0, 0
b .L1017
.L1016:
ldr x0, [sp, 24]
ldr x0, [x0, 40]
cmp x0, 0
bne .L1018
ldr x0, [sp, 24]
adrp x1, def_alloc_func
add x1, x1, :lo12:def_alloc_func
str x1, [x0, 40]
.L1018:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
cmp x0, 0
bne .L1019
ldr x0, [sp, 24]
adrp x1, def_free_func
add x1, x1, :lo12:def_free_func
str x1, [x0, 48]
.L1019:
ldr x0, [sp, 24]
ldr x0, [x0, 56]
cmp x0, 0
bne .L1020
ldr x0, [sp, 24]
adrp x1, def_realloc_func
add x1, x1, :lo12:def_realloc_func
str x1, [x0, 56]
.L1020:
ldr x0, [sp, 24]
mov w1, 1
str w1, [x0, 20]
ldr x0, [sp, 24]
str xzr, [x0]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr x0, [sp, 24]
str wzr, [x0, 16]
ldr x0, [sp, 24]
ldr x3, [x0, 40]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
mov x2, 152
mov x1, 1
blr x3
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 104]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
cmp x0, 0
bne .L1021
mov w0, 0
b .L1017
.L1021:
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov x2, 152
mov w1, 0
bl memset
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov w1, 1
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov w1, 4
str w1, [x0, 56]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov w1, 4
str w1, [x0, 88]
mov w0, 1
.L1017:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE69:
.size mz_zip_reader_init_internal, .-mz_zip_reader_init_internal
.align 2
.type mz_zip_reader_sort_central_dir_offsets_by_filename, %function
mz_zip_reader_sort_central_dir_offsets_by_filename:
.LFB71:
.cfi_startproc
sub sp, sp, #320
.cfi_def_cfa_offset 320
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr x0, [x0, 104]
str x0, [sp, 128]
ldr x0, [sp, 128]
add x0, x0, 32
str x0, [sp, 136]
ldr x0, [sp, 128]
str x0, [sp, 144]
ldr x0, [sp, 128]
ldr x0, [x0, 64]
str x0, [sp, 152]
ldr x0, [sp, 8]
ldr w0, [x0, 16]
str w0, [sp, 40]
ldr w0, [sp, 40]
sub w0, w0, #2
asr w0, w0, 1
str w0, [sp, 24]
b .L1023
.L1052:
ldr w0, [sp, 24]
str w0, [sp, 32]
.L1051:
ldr w0, [sp, 32]
lsl w0, w0, 1
add w0, w0, 1
str w0, [sp, 56]
ldr w1, [sp, 56]
ldr w0, [sp, 40]
cmp w1, w0
bge .L1087
ldr w0, [sp, 56]
add w0, w0, 1
ldr w1, [sp, 40]
cmp w1, w0
ble .L1026
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 56]
add x0, x0, 1
lsl x0, x0, 2
ldr x2, [sp, 152]
add x0, x2, x0
ldr w0, [x0]
ldr x2, [sp, 144]
str x2, [sp, 160]
ldr x2, [sp, 136]
str x2, [sp, 168]
str w1, [sp, 64]
str w0, [sp, 68]
ldr x0, [sp, 160]
ldr x1, [x0]
ldr x0, [sp, 168]
ldr x2, [x0]
ldr w0, [sp, 64]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 176]
ldr x0, [sp, 160]
ldr x1, [x0]
ldr x0, [sp, 168]
ldr x2, [x0]
ldr w0, [sp, 68]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 184]
ldr x0, [sp, 176]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 176]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 72]
ldr x0, [sp, 184]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 184]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 76]
strb wzr, [sp, 16]
strb wzr, [sp, 17]
ldr x0, [sp, 176]
add x0, x0, 46
str x0, [sp, 176]
ldr x0, [sp, 184]
add x0, x0, 46
str x0, [sp, 184]
ldr w0, [sp, 76]
ldr w2, [sp, 72]
ldr w1, [sp, 72]
cmp w2, w0
csel w0, w1, w0, ls
uxtw x0, w0
ldr x1, [sp, 176]
add x0, x1, x0
str x0, [sp, 192]
b .L1027
.L1034:
ldr x0, [sp, 176]
ldrb w0, [x0]
cmp w0, 64
bls .L1028
ldr x0, [sp, 176]
ldrb w0, [x0]
cmp w0, 90
bhi .L1028
ldr x0, [sp, 176]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1029
.L1028:
ldr x0, [sp, 176]
ldrb w0, [x0]
.L1029:
strb w0, [sp, 16]
ldr x0, [sp, 184]
ldrb w0, [x0]
cmp w0, 64
bls .L1030
ldr x0, [sp, 184]
ldrb w0, [x0]
cmp w0, 90
bhi .L1030
ldr x0, [sp, 184]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1031
.L1030:
ldr x0, [sp, 184]
ldrb w0, [x0]
.L1031:
strb w0, [sp, 17]
ldrb w1, [sp, 16]
ldrb w0, [sp, 17]
cmp w1, w0
bne .L1088
ldr x0, [sp, 176]
add x0, x0, 1
str x0, [sp, 176]
ldr x0, [sp, 184]
add x0, x0, 1
str x0, [sp, 184]
.L1027:
ldr x1, [sp, 192]
ldr x0, [sp, 176]
cmp x1, x0
bhi .L1034
b .L1033
.L1088:
nop
.L1033:
ldr x1, [sp, 192]
ldr x0, [sp, 176]
cmp x1, x0
bne .L1035
ldr w1, [sp, 72]
ldr w0, [sp, 76]
cmp w1, w0
cset w0, cc
and w0, w0, 255
b .L1083
.L1035:
ldrb w1, [sp, 16]
ldrb w0, [sp, 17]
cmp w1, w0
cset w0, cc
and w0, w0, 255
.L1083:
cmp w0, 0
beq .L1026
mov w0, 1
b .L1038
.L1026:
mov w0, 0
.L1038:
ldr w1, [sp, 56]
add w0, w1, w0
str w0, [sp, 56]
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x2, [sp, 152]
add x0, x2, x0
ldr w0, [x0]
ldr x2, [sp, 144]
str x2, [sp, 200]
ldr x2, [sp, 136]
str x2, [sp, 208]
str w1, [sp, 80]
str w0, [sp, 84]
ldr x0, [sp, 200]
ldr x1, [x0]
ldr x0, [sp, 208]
ldr x2, [x0]
ldr w0, [sp, 80]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 216]
ldr x0, [sp, 200]
ldr x1, [x0]
ldr x0, [sp, 208]
ldr x2, [x0]
ldr w0, [sp, 84]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 224]
ldr x0, [sp, 216]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 216]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 88]
ldr x0, [sp, 224]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 224]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 92]
strb wzr, [sp, 18]
strb wzr, [sp, 19]
ldr x0, [sp, 216]
add x0, x0, 46
str x0, [sp, 216]
ldr x0, [sp, 224]
add x0, x0, 46
str x0, [sp, 224]
ldr w0, [sp, 92]
ldr w2, [sp, 88]
ldr w1, [sp, 88]
cmp w2, w0
csel w0, w1, w0, ls
uxtw x0, w0
ldr x1, [sp, 216]
add x0, x1, x0
str x0, [sp, 232]
b .L1039
.L1046:
ldr x0, [sp, 216]
ldrb w0, [x0]
cmp w0, 64
bls .L1040
ldr x0, [sp, 216]
ldrb w0, [x0]
cmp w0, 90
bhi .L1040
ldr x0, [sp, 216]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1041
.L1040:
ldr x0, [sp, 216]
ldrb w0, [x0]
.L1041:
strb w0, [sp, 18]
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 64
bls .L1042
ldr x0, [sp, 224]
ldrb w0, [x0]
cmp w0, 90
bhi .L1042
ldr x0, [sp, 224]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1043
.L1042:
ldr x0, [sp, 224]
ldrb w0, [x0]
.L1043:
strb w0, [sp, 19]
ldrb w1, [sp, 18]
ldrb w0, [sp, 19]
cmp w1, w0
bne .L1089
ldr x0, [sp, 216]
add x0, x0, 1
str x0, [sp, 216]
ldr x0, [sp, 224]
add x0, x0, 1
str x0, [sp, 224]
.L1039:
ldr x1, [sp, 232]
ldr x0, [sp, 216]
cmp x1, x0
bhi .L1046
b .L1045
.L1089:
nop
.L1045:
ldr x1, [sp, 232]
ldr x0, [sp, 216]
cmp x1, x0
bne .L1047
ldr w1, [sp, 88]
ldr w0, [sp, 92]
cmp w1, w0
cset w0, cc
and w0, w0, 255
b .L1084
.L1047:
ldrb w1, [sp, 18]
ldrb w0, [sp, 19]
cmp w1, w0
cset w0, cc
and w0, w0, 255
.L1084:
cmp w0, 0
beq .L1090
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 60]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x1, x1, x0
ldrsw x0, [sp, 32]
lsl x0, x0, 2
ldr x2, [sp, 152]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w1, [sp, 60]
str w1, [x0]
ldr w0, [sp, 56]
str w0, [sp, 32]
b .L1051
.L1087:
nop
b .L1025
.L1090:
nop
.L1025:
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
.L1023:
ldr w0, [sp, 24]
cmp w0, 0
bge .L1052
ldr w0, [sp, 40]
sub w0, w0, #1
str w0, [sp, 28]
b .L1053
.L1082:
str wzr, [sp, 36]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr x1, [sp, 152]
ldr w1, [x1]
str w1, [x0]
ldr x0, [sp, 152]
ldr w1, [sp, 44]
str w1, [x0]
.L1081:
ldr w0, [sp, 36]
lsl w0, w0, 1
add w0, w0, 1
str w0, [sp, 48]
ldr w1, [sp, 48]
ldr w0, [sp, 28]
cmp w1, w0
bge .L1091
ldr w0, [sp, 48]
add w0, w0, 1
ldr w1, [sp, 28]
cmp w1, w0
ble .L1056
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 48]
add x0, x0, 1
lsl x0, x0, 2
ldr x2, [sp, 152]
add x0, x2, x0
ldr w0, [x0]
ldr x2, [sp, 144]
str x2, [sp, 240]
ldr x2, [sp, 136]
str x2, [sp, 248]
str w1, [sp, 96]
str w0, [sp, 100]
ldr x0, [sp, 240]
ldr x1, [x0]
ldr x0, [sp, 248]
ldr x2, [x0]
ldr w0, [sp, 96]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 256]
ldr x0, [sp, 240]
ldr x1, [x0]
ldr x0, [sp, 248]
ldr x2, [x0]
ldr w0, [sp, 100]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 264]
ldr x0, [sp, 256]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 256]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 104]
ldr x0, [sp, 264]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 264]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 108]
strb wzr, [sp, 20]
strb wzr, [sp, 21]
ldr x0, [sp, 256]
add x0, x0, 46
str x0, [sp, 256]
ldr x0, [sp, 264]
add x0, x0, 46
str x0, [sp, 264]
ldr w0, [sp, 108]
ldr w2, [sp, 104]
ldr w1, [sp, 104]
cmp w2, w0
csel w0, w1, w0, ls
uxtw x0, w0
ldr x1, [sp, 256]
add x0, x1, x0
str x0, [sp, 272]
b .L1057
.L1064:
ldr x0, [sp, 256]
ldrb w0, [x0]
cmp w0, 64
bls .L1058
ldr x0, [sp, 256]
ldrb w0, [x0]
cmp w0, 90
bhi .L1058
ldr x0, [sp, 256]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1059
.L1058:
ldr x0, [sp, 256]
ldrb w0, [x0]
.L1059:
strb w0, [sp, 20]
ldr x0, [sp, 264]
ldrb w0, [x0]
cmp w0, 64
bls .L1060
ldr x0, [sp, 264]
ldrb w0, [x0]
cmp w0, 90
bhi .L1060
ldr x0, [sp, 264]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1061
.L1060:
ldr x0, [sp, 264]
ldrb w0, [x0]
.L1061:
strb w0, [sp, 21]
ldrb w1, [sp, 20]
ldrb w0, [sp, 21]
cmp w1, w0
bne .L1092
ldr x0, [sp, 256]
add x0, x0, 1
str x0, [sp, 256]
ldr x0, [sp, 264]
add x0, x0, 1
str x0, [sp, 264]
.L1057:
ldr x1, [sp, 272]
ldr x0, [sp, 256]
cmp x1, x0
bhi .L1064
b .L1063
.L1092:
nop
.L1063:
ldr x1, [sp, 272]
ldr x0, [sp, 256]
cmp x1, x0
bne .L1065
ldr w1, [sp, 104]
ldr w0, [sp, 108]
cmp w1, w0
cset w0, cc
and w0, w0, 255
b .L1085
.L1065:
ldrb w1, [sp, 20]
ldrb w0, [sp, 21]
cmp w1, w0
cset w0, cc
and w0, w0, 255
.L1085:
cmp w0, 0
beq .L1056
mov w0, 1
b .L1068
.L1056:
mov w0, 0
.L1068:
ldr w1, [sp, 48]
add w0, w1, w0
str w0, [sp, 48]
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x2, [sp, 152]
add x0, x2, x0
ldr w0, [x0]
ldr x2, [sp, 144]
str x2, [sp, 280]
ldr x2, [sp, 136]
str x2, [sp, 288]
str w1, [sp, 112]
str w0, [sp, 116]
ldr x0, [sp, 280]
ldr x1, [x0]
ldr x0, [sp, 288]
ldr x2, [x0]
ldr w0, [sp, 112]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 296]
ldr x0, [sp, 280]
ldr x1, [x0]
ldr x0, [sp, 288]
ldr x2, [x0]
ldr w0, [sp, 116]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 304]
ldr x0, [sp, 296]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 296]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 120]
ldr x0, [sp, 304]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 304]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 124]
strb wzr, [sp, 22]
strb wzr, [sp, 23]
ldr x0, [sp, 296]
add x0, x0, 46
str x0, [sp, 296]
ldr x0, [sp, 304]
add x0, x0, 46
str x0, [sp, 304]
ldr w0, [sp, 124]
ldr w2, [sp, 120]
ldr w1, [sp, 120]
cmp w2, w0
csel w0, w1, w0, ls
uxtw x0, w0
ldr x1, [sp, 296]
add x0, x1, x0
str x0, [sp, 312]
b .L1069
.L1076:
ldr x0, [sp, 296]
ldrb w0, [x0]
cmp w0, 64
bls .L1070
ldr x0, [sp, 296]
ldrb w0, [x0]
cmp w0, 90
bhi .L1070
ldr x0, [sp, 296]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1071
.L1070:
ldr x0, [sp, 296]
ldrb w0, [x0]
.L1071:
strb w0, [sp, 22]
ldr x0, [sp, 304]
ldrb w0, [x0]
cmp w0, 64
bls .L1072
ldr x0, [sp, 304]
ldrb w0, [x0]
cmp w0, 90
bhi .L1072
ldr x0, [sp, 304]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1073
.L1072:
ldr x0, [sp, 304]
ldrb w0, [x0]
.L1073:
strb w0, [sp, 23]
ldrb w1, [sp, 22]
ldrb w0, [sp, 23]
cmp w1, w0
bne .L1093
ldr x0, [sp, 296]
add x0, x0, 1
str x0, [sp, 296]
ldr x0, [sp, 304]
add x0, x0, 1
str x0, [sp, 304]
.L1069:
ldr x1, [sp, 312]
ldr x0, [sp, 296]
cmp x1, x0
bhi .L1076
b .L1075
.L1093:
nop
.L1075:
ldr x1, [sp, 312]
ldr x0, [sp, 296]
cmp x1, x0
bne .L1077
ldr w1, [sp, 120]
ldr w0, [sp, 124]
cmp w1, w0
cset w0, cc
and w0, w0, 255
b .L1086
.L1077:
ldrb w1, [sp, 22]
ldrb w0, [sp, 23]
cmp w1, w0
cset w0, cc
and w0, w0, 255
.L1086:
cmp w0, 0
beq .L1094
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 52]
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x1, x1, x0
ldrsw x0, [sp, 36]
lsl x0, x0, 2
ldr x2, [sp, 152]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 152]
add x0, x1, x0
ldr w1, [sp, 52]
str w1, [x0]
ldr w0, [sp, 48]
str w0, [sp, 36]
b .L1081
.L1091:
nop
b .L1055
.L1094:
nop
.L1055:
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
.L1053:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L1082
nop
nop
add sp, sp, 320
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE71:
.size mz_zip_reader_sort_central_dir_offsets_by_filename, .-mz_zip_reader_sort_central_dir_offsets_by_filename
.align 2
.type mz_zip_reader_locate_header_sig, %function
mz_zip_reader_locate_header_sig:
.LFB72:
.cfi_startproc
mov x12, 4192
sub sp, sp, x12
.cfi_def_cfa_offset 4192
stp x29, x30, [sp]
.cfi_offset 29, -4192
.cfi_offset 30, -4184
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str x3, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 4184]
mov x1, 0
add x0, sp, 88
str x0, [sp, 80]
ldr x0, [sp, 40]
ldr x1, [x0]
ldr w0, [sp, 32]
cmp x1, x0
bcs .L1096
mov w0, 0
b .L1112
.L1096:
ldr x0, [sp, 40]
ldr x0, [x0]
mov x1, 4096
cmp x0, 4096
csel x0, x0, x1, ge
sub x0, x0, #4096
str x0, [sp, 72]
.L1111:
ldr x0, [sp, 40]
ldr x1, [x0]
ldr x0, [sp, 72]
sub x0, x1, x0
cmp x0, 4096
bhi .L1098
ldr x0, [sp, 40]
ldr x0, [x0]
mov w1, w0
ldr x0, [sp, 72]
sub w0, w1, w0
b .L1099
.L1098:
mov w0, 4096
.L1099:
str w0, [sp, 64]
ldr x0, [sp, 40]
ldr x4, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 96]
ldr x1, [sp, 72]
ldrsw x2, [sp, 64]
mov x3, x2
ldr x2, [sp, 80]
blr x4
mov x1, x0
ldr w0, [sp, 64]
uxtw x0, w0
cmp x1, x0
beq .L1100
mov w0, 0
b .L1112
.L1100:
ldr w0, [sp, 64]
sub w0, w0, #4
str w0, [sp, 60]
b .L1101
.L1104:
ldrsw x0, [sp, 60]
ldr x1, [sp, 80]
add x0, x1, x0
ldrb w0, [x0]
mov w2, w0
ldrsw x0, [sp, 60]
add x0, x0, 1
ldr x1, [sp, 80]
add x0, x1, x0
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w2, w0
ldrsw x0, [sp, 60]
add x0, x0, 2
ldr x2, [sp, 80]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldrsw x0, [sp, 60]
add x0, x0, 3
ldr x2, [sp, 80]
add x0, x2, x0
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
str w0, [sp, 68]
ldr w1, [sp, 68]
ldr w0, [sp, 36]
cmp w1, w0
bne .L1102
ldr x0, [sp, 40]
ldr x0, [x0]
ldrsw x2, [sp, 60]
ldr x1, [sp, 72]
add x1, x2, x1
sub x1, x0, x1
ldr w0, [sp, 32]
cmp x1, x0
bcs .L1114
.L1102:
ldr w0, [sp, 60]
sub w0, w0, #1
str w0, [sp, 60]
.L1101:
ldr w0, [sp, 60]
cmp w0, 0
bge .L1104
b .L1103
.L1114:
nop
.L1103:
ldr w0, [sp, 60]
cmp w0, 0
blt .L1105
ldrsw x0, [sp, 60]
ldr x1, [sp, 72]
add x0, x1, x0
str x0, [sp, 72]
nop
ldr x0, [sp, 24]
ldr x1, [sp, 72]
str x1, [x0]
mov w0, 1
b .L1112
.L1105:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1107
ldr x0, [sp, 40]
ldr x1, [x0]
ldr x0, [sp, 72]
sub x1, x1, x0
ldr w2, [sp, 32]
mov w0, 65535
add w0, w2, w0
uxtw x0, w0
cmp x1, x0
bcc .L1108
.L1107:
mov w0, 0
b .L1112
.L1108:
ldr x0, [sp, 72]
cmp x0, 4093
beq .L1109
ldr x0, [sp, 72]
sub x0, x0, #4093
b .L1110
.L1109:
mov x0, 0
.L1110:
str x0, [sp, 72]
b .L1111
.L1112:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 4184]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1113
bl __stack_chk_fail
.L1113:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 4192
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE72:
.size mz_zip_reader_locate_header_sig, .-mz_zip_reader_locate_header_sig
.align 2
.type mz_zip_reader_read_central_dir, %function
mz_zip_reader_read_central_dir:
.LFB73:
.cfi_startproc
mov x12, 4816
sub sp, sp, x12
.cfi_def_cfa_offset 4816
stp x29, x30, [sp]
.cfi_offset 29, -4816
.cfi_offset 30, -4808
mov x29, sp
str x0, [sp, 24]
str w1, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 4808]
mov x1, 0
str wzr, [sp, 32]
str wzr, [sp, 36]
str wzr, [sp, 40]
str wzr, [sp, 44]
str xzr, [sp, 224]
str xzr, [sp, 216]
add x0, sp, 712
str x0, [sp, 256]
ldr w0, [sp, 20]
and w0, w0, 2048
cmp w0, 0
cset w0, eq
and w0, w0, 255
str w0, [sp, 60]
add x0, sp, 632
str x0, [sp, 264]
add x0, sp, 656
str x0, [sp, 272]
str xzr, [sp, 280]
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x0, 21
bhi .L1116
ldr x0, [sp, 24]
str x0, [sp, 344]
mov w0, 8
str w0, [sp, 96]
ldr x0, [sp, 344]
cmp x0, 0
beq .L1117
ldr x0, [sp, 344]
ldr w1, [sp, 96]
str w1, [x0, 28]
.L1117:
mov w0, 0
b .L1223
.L1116:
add x0, sp, 216
mov x3, x0
mov w2, 22
mov w1, 19280
movk w1, 0x605, lsl 16
ldr x0, [sp, 24]
bl mz_zip_reader_locate_header_sig
cmp w0, 0
bne .L1120
ldr x0, [sp, 24]
str x0, [sp, 352]
mov w0, 7
str w0, [sp, 100]
ldr x0, [sp, 352]
cmp x0, 0
beq .L1121
ldr x0, [sp, 352]
ldr w1, [sp, 100]
str w1, [x0, 28]
.L1121:
mov w0, 0
b .L1223
.L1120:
ldr x0, [sp, 24]
ldr x4, [x0, 72]
ldr x0, [sp, 24]
ldr x0, [x0, 96]
ldr x1, [sp, 216]
mov x3, 22
ldr x2, [sp, 256]
blr x4
cmp x0, 22
beq .L1123
ldr x0, [sp, 24]
str x0, [sp, 360]
mov w0, 20
str w0, [sp, 104]
ldr x0, [sp, 360]
cmp x0, 0
beq .L1124
ldr x0, [sp, 360]
ldr w1, [sp, 104]
str w1, [x0, 28]
.L1124:
mov w0, 0
b .L1223
.L1123:
ldr x0, [sp, 256]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 256]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 256]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 256]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
mov w0, 19280
movk w0, 0x605, lsl 16
cmp w1, w0
beq .L1126
ldr x0, [sp, 24]
str x0, [sp, 368]
mov w0, 8
str w0, [sp, 108]
ldr x0, [sp, 368]
cmp x0, 0
beq .L1127
ldr x0, [sp, 368]
ldr w1, [sp, 108]
str w1, [x0, 28]
.L1127:
mov w0, 0
b .L1223
.L1126:
ldr x0, [sp, 216]
cmp x0, 75
ble .L1129
ldr x0, [sp, 24]
ldr x4, [x0, 72]
ldr x0, [sp, 24]
ldr x5, [x0, 96]
ldr x0, [sp, 216]
sub x0, x0, #20
mov x3, 20
ldr x2, [sp, 264]
mov x1, x0
mov x0, x5
blr x4
cmp x0, 20
bne .L1129
ldr x0, [sp, 264]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 264]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 264]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 264]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
mov w0, 19280
movk w0, 0x706, lsl 16
cmp w1, w0
bne .L1129
ldr x0, [sp, 264]
add x0, x0, 8
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 264]
add x0, x0, 9
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 264]
add x0, x0, 10
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 264]
add x0, x0, 11
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 264]
add x0, x0, 12
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 264]
add x0, x0, 13
ldrb w0, [x0]
lsl w0, w0, 8
orr w2, w2, w0
ldr x0, [sp, 264]
add x0, x0, 14
ldrb w0, [x0]
lsl w0, w0, 16
orr w2, w2, w0
ldr x0, [sp, 264]
add x0, x0, 15
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w2, w0
uxtw x0, w0
lsl x0, x0, 32
orr x0, x1, x0
str x0, [sp, 280]
ldr x0, [sp, 24]
ldr x0, [x0]
sub x0, x0, #56
ldr x1, [sp, 280]
cmp x1, x0
bls .L1130
ldr x0, [sp, 24]
str x0, [sp, 376]
mov w0, 8
str w0, [sp, 112]
ldr x0, [sp, 376]
cmp x0, 0
beq .L1131
ldr x0, [sp, 376]
ldr w1, [sp, 112]
str w1, [x0, 28]
.L1131:
mov w0, 0
b .L1223
.L1130:
ldr x0, [sp, 24]
ldr x4, [x0, 72]
ldr x0, [sp, 24]
ldr x0, [x0, 96]
mov x3, 56
ldr x2, [sp, 272]
ldr x1, [sp, 280]
blr x4
cmp x0, 56
bne .L1129
ldr x0, [sp, 272]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 272]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
mov w0, 19280
movk w0, 0x606, lsl 16
cmp w1, w0
bne .L1129
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov w1, 1
str w1, [x0, 100]
.L1129:
ldr x0, [sp, 256]
add x0, x0, 10
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 256]
add x0, x0, 11
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 16]
ldr x0, [sp, 256]
add x0, x0, 8
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 256]
add x0, x0, 9
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 36]
ldr x0, [sp, 256]
add x0, x0, 4
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 256]
add x0, x0, 5
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 40]
ldr x0, [sp, 256]
add x0, x0, 6
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 256]
add x0, x0, 7
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 44]
ldr x0, [sp, 256]
add x0, x0, 12
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 256]
add x0, x0, 13
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 256]
add x0, x0, 14
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 256]
add x0, x0, 15
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
str w0, [sp, 32]
ldr x0, [sp, 256]
add x0, x0, 16
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 256]
add x0, x0, 17
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 256]
add x0, x0, 18
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 256]
add x0, x0, 19
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x0, w0
str x0, [sp, 224]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
ldr w0, [x0, 100]
cmp w0, 0
beq .L1133
ldr x0, [sp, 264]
add x0, x0, 16
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 264]
add x0, x0, 17
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 264]
add x0, x0, 18
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 264]
add x0, x0, 19
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
str w0, [sp, 64]
ldr x0, [sp, 272]
add x0, x0, 32
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 272]
add x0, x0, 33
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 34
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 35
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 272]
add x0, x0, 36
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 272]
add x0, x0, 37
ldrb w0, [x0]
lsl w0, w0, 8
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 38
ldrb w0, [x0]
lsl w0, w0, 16
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 39
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w2, w0
uxtw x0, w0
lsl x0, x0, 32
orr x0, x1, x0
str x0, [sp, 288]
ldr x0, [sp, 272]
add x0, x0, 24
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 272]
add x0, x0, 25
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 26
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 27
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 272]
add x0, x0, 28
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 272]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 30
ldrb w0, [x0]
lsl w0, w0, 16
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 31
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w2, w0
uxtw x0, w0
lsl x0, x0, 32
orr x0, x1, x0
str x0, [sp, 296]
ldr x0, [sp, 272]
add x0, x0, 4
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 272]
add x0, x0, 5
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 6
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 7
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 272]
add x0, x0, 8
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 272]
add x0, x0, 9
ldrb w0, [x0]
lsl w0, w0, 8
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 10
ldrb w0, [x0]
lsl w0, w0, 16
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 11
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w2, w0
uxtw x0, w0
lsl x0, x0, 32
orr x0, x1, x0
str x0, [sp, 304]
ldr x0, [sp, 272]
add x0, x0, 40
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 272]
add x0, x0, 41
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 42
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 43
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 272]
add x0, x0, 44
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 272]
add x0, x0, 45
ldrb w0, [x0]
lsl w0, w0, 8
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 46
ldrb w0, [x0]
lsl w0, w0, 16
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 47
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w2, w0
uxtw x0, w0
lsl x0, x0, 32
orr x0, x1, x0
str x0, [sp, 312]
ldr x0, [sp, 304]
cmp x0, 43
bhi .L1134
ldr x0, [sp, 24]
str x0, [sp, 384]
mov w0, 9
str w0, [sp, 116]
ldr x0, [sp, 384]
cmp x0, 0
beq .L1135
ldr x0, [sp, 384]
ldr w1, [sp, 116]
str w1, [x0, 28]
.L1135:
mov w0, 0
b .L1223
.L1134:
ldr w0, [sp, 64]
cmp w0, 1
beq .L1137
ldr x0, [sp, 24]
str x0, [sp, 392]
mov w0, 10
str w0, [sp, 120]
ldr x0, [sp, 392]
cmp x0, 0
beq .L1138
ldr x0, [sp, 392]
ldr w1, [sp, 120]
str w1, [x0, 28]
.L1138:
mov w0, 0
b .L1223
.L1137:
ldr x1, [sp, 288]
mov x0, 4294967295
cmp x1, x0
bls .L1140
ldr x0, [sp, 24]
str x0, [sp, 400]
mov w0, 2
str w0, [sp, 124]
ldr x0, [sp, 400]
cmp x0, 0
beq .L1141
ldr x0, [sp, 400]
ldr w1, [sp, 124]
str w1, [x0, 28]
.L1141:
mov w0, 0
b .L1223
.L1140:
ldr x0, [sp, 288]
mov w1, w0
ldr x0, [sp, 24]
str w1, [x0, 16]
ldr x1, [sp, 296]
mov x0, 4294967295
cmp x1, x0
bls .L1143
ldr x0, [sp, 24]
str x0, [sp, 408]
mov w0, 2
str w0, [sp, 128]
ldr x0, [sp, 408]
cmp x0, 0
beq .L1144
ldr x0, [sp, 408]
ldr w1, [sp, 128]
str w1, [x0, 28]
.L1144:
mov w0, 0
b .L1223
.L1143:
ldr x0, [sp, 296]
str w0, [sp, 36]
ldr x1, [sp, 312]
mov x0, 4294967295
cmp x1, x0
bls .L1146
ldr x0, [sp, 24]
str x0, [sp, 416]
mov w0, 15
str w0, [sp, 132]
ldr x0, [sp, 416]
cmp x0, 0
beq .L1147
ldr x0, [sp, 416]
ldr w1, [sp, 132]
str w1, [x0, 28]
.L1147:
mov w0, 0
b .L1223
.L1146:
ldr x0, [sp, 312]
str w0, [sp, 32]
ldr x0, [sp, 272]
add x0, x0, 16
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 272]
add x0, x0, 17
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 18
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 19
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
str w0, [sp, 40]
ldr x0, [sp, 272]
add x0, x0, 20
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 272]
add x0, x0, 21
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 22
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 23
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
str w0, [sp, 44]
ldr x0, [sp, 272]
add x0, x0, 48
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 272]
add x0, x0, 49
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 50
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 272]
add x0, x0, 51
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 272]
add x0, x0, 52
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 272]
add x0, x0, 53
ldrb w0, [x0]
lsl w0, w0, 8
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 54
ldrb w0, [x0]
lsl w0, w0, 16
orr w2, w2, w0
ldr x0, [sp, 272]
add x0, x0, 55
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w2, w0
uxtw x0, w0
lsl x0, x0, 32
orr x0, x1, x0
str x0, [sp, 224]
.L1133:
ldr x0, [sp, 24]
ldr w0, [x0, 16]
ldr w1, [sp, 36]
cmp w1, w0
beq .L1149
ldr x0, [sp, 24]
str x0, [sp, 424]
mov w0, 10
str w0, [sp, 136]
ldr x0, [sp, 424]
cmp x0, 0
beq .L1150
ldr x0, [sp, 424]
ldr w1, [sp, 136]
str w1, [x0, 28]
.L1150:
mov w0, 0
b .L1223
.L1149:
ldr w1, [sp, 40]
ldr w0, [sp, 44]
orr w0, w1, w0
cmp w0, 0
beq .L1152
ldr w0, [sp, 40]
cmp w0, 1
bne .L1153
ldr w0, [sp, 44]
cmp w0, 1
beq .L1152
.L1153:
ldr x0, [sp, 24]
str x0, [sp, 432]
mov w0, 10
str w0, [sp, 140]
ldr x0, [sp, 432]
cmp x0, 0
beq .L1154
ldr x0, [sp, 432]
ldr w1, [sp, 140]
str w1, [x0, 28]
.L1154:
mov w0, 0
b .L1223
.L1152:
ldr x0, [sp, 24]
ldr w1, [x0, 16]
mov w0, 46
mul w0, w1, w0
ldr w1, [sp, 32]
cmp w1, w0
bcs .L1156
ldr x0, [sp, 24]
str x0, [sp, 440]
mov w0, 9
str w0, [sp, 144]
ldr x0, [sp, 440]
cmp x0, 0
beq .L1157
ldr x0, [sp, 440]
ldr w1, [sp, 144]
str w1, [x0, 28]
.L1157:
mov w0, 0
b .L1223
.L1156:
ldr w1, [sp, 32]
ldr x0, [sp, 224]
add x1, x1, x0
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x1, x0
bls .L1159
ldr x0, [sp, 24]
str x0, [sp, 448]
mov w0, 9
str w0, [sp, 148]
ldr x0, [sp, 448]
cmp x0, 0
beq .L1160
ldr x0, [sp, 448]
ldr w1, [sp, 148]
str w1, [x0, 28]
.L1160:
mov w0, 0
b .L1223
.L1159:
ldr x0, [sp, 24]
ldr x1, [sp, 224]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
cmp w0, 0
beq .L1162
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov x2, x0
ldr w0, [sp, 32]
ldr x1, [sp, 24]
str x1, [sp, 456]
str x2, [sp, 464]
str x0, [sp, 472]
str wzr, [sp, 152]
ldr x0, [sp, 464]
ldr x0, [x0, 16]
ldr x1, [sp, 472]
cmp x1, x0
bls .L1163
ldr w3, [sp, 152]
ldr x2, [sp, 472]
ldr x1, [sp, 464]
ldr x0, [sp, 456]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1163
mov w0, 0
b .L1164
.L1163:
ldr x0, [sp, 464]
ldr x1, [sp, 472]
str x1, [x0, 8]
mov w0, 1
.L1164:
cmp w0, 0
beq .L1165
ldr x0, [sp, 24]
ldr x0, [x0, 104]
add x1, x0, 32
ldr x0, [sp, 24]
ldr w0, [x0, 16]
uxtw x0, w0
ldr x2, [sp, 24]
str x2, [sp, 480]
str x1, [sp, 488]
str x0, [sp, 496]
str wzr, [sp, 156]
ldr x0, [sp, 488]
ldr x0, [x0, 16]
ldr x1, [sp, 496]
cmp x1, x0
bls .L1166
ldr w3, [sp, 156]
ldr x2, [sp, 496]
ldr x1, [sp, 488]
ldr x0, [sp, 480]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1166
mov w0, 0
b .L1167
.L1166:
ldr x0, [sp, 488]
ldr x1, [sp, 496]
str x1, [x0, 8]
mov w0, 1
.L1167:
cmp w0, 0
bne .L1168
.L1165:
ldr x0, [sp, 24]
str x0, [sp, 504]
mov w0, 16
str w0, [sp, 160]
ldr x0, [sp, 504]
cmp x0, 0
beq .L1169
ldr x0, [sp, 504]
ldr w1, [sp, 160]
str w1, [x0, 28]
.L1169:
mov w0, 0
b .L1223
.L1168:
ldr w0, [sp, 60]
cmp w0, 0
beq .L1171
ldr x0, [sp, 24]
ldr x0, [x0, 104]
add x1, x0, 64
ldr x0, [sp, 24]
ldr w0, [x0, 16]
uxtw x0, w0
ldr x2, [sp, 24]
str x2, [sp, 512]
str x1, [sp, 520]
str x0, [sp, 528]
str wzr, [sp, 164]
ldr x0, [sp, 520]
ldr x0, [x0, 16]
ldr x1, [sp, 528]
cmp x1, x0
bls .L1172
ldr w3, [sp, 164]
ldr x2, [sp, 528]
ldr x1, [sp, 520]
ldr x0, [sp, 512]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1172
mov w0, 0
b .L1173
.L1172:
ldr x0, [sp, 520]
ldr x1, [sp, 528]
str x1, [x0, 8]
mov w0, 1
.L1173:
cmp w0, 0
bne .L1171
ldr x0, [sp, 24]
str x0, [sp, 536]
mov w0, 16
str w0, [sp, 168]
ldr x0, [sp, 536]
cmp x0, 0
beq .L1174
ldr x0, [sp, 536]
ldr w1, [sp, 168]
str w1, [x0, 28]
.L1174:
mov w0, 0
b .L1223
.L1171:
ldr x0, [sp, 24]
ldr x4, [x0, 72]
ldr x0, [sp, 24]
ldr x5, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
ldr x0, [x0]
ldr w1, [sp, 32]
mov x3, x1
mov x2, x0
ldr x1, [sp, 224]
mov x0, x5
blr x4
mov x1, x0
ldr w0, [sp, 32]
cmp x1, x0
beq .L1176
ldr x0, [sp, 24]
str x0, [sp, 544]
mov w0, 20
str w0, [sp, 172]
ldr x0, [sp, 544]
cmp x0, 0
beq .L1177
ldr x0, [sp, 544]
ldr w1, [sp, 172]
str w1, [x0, 28]
.L1177:
mov w0, 0
b .L1223
.L1176:
ldr x0, [sp, 24]
ldr x0, [x0, 104]
ldr x0, [x0]
str x0, [sp, 232]
ldr w0, [sp, 32]
str w0, [sp, 52]
str wzr, [sp, 48]
b .L1179
.L1221:
ldr w0, [sp, 52]
cmp w0, 45
bls .L1180
ldr x0, [sp, 232]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
mov w0, 19280
movk w0, 0x201, lsl 16
cmp w1, w0
beq .L1181
.L1180:
ldr x0, [sp, 24]
str x0, [sp, 552]
mov w0, 9
str w0, [sp, 176]
ldr x0, [sp, 552]
cmp x0, 0
beq .L1182
ldr x0, [sp, 552]
ldr w1, [sp, 176]
str w1, [x0, 28]
.L1182:
mov w0, 0
b .L1223
.L1181:
ldr x0, [sp, 24]
ldr x0, [x0, 104]
ldr x0, [x0]
ldr x1, [sp, 232]
sub x2, x1, x0
ldr x0, [sp, 24]
ldr x0, [x0, 104]
ldr x1, [x0, 32]
ldr w0, [sp, 48]
lsl x0, x0, 2
add x0, x1, x0
mov w1, w2
str w1, [x0]
ldr w0, [sp, 60]
cmp w0, 0
beq .L1184
ldr x0, [sp, 24]
ldr x0, [x0, 104]
ldr x1, [x0, 64]
ldr w0, [sp, 48]
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [sp, 48]
str w1, [x0]
.L1184:
ldr x0, [sp, 232]
add x0, x0, 20
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 21
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 22
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 23
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x0, w0
str x0, [sp, 320]
ldr x0, [sp, 232]
add x0, x0, 24
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 25
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 26
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 27
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x0, w0
str x0, [sp, 328]
ldr x0, [sp, 232]
add x0, x0, 42
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 43
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 44
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 45
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x0, w0
str x0, [sp, 336]
ldr x0, [sp, 232]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 68]
ldr x0, [sp, 232]
add x0, x0, 30
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 31
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 72]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
ldr w0, [x0, 104]
cmp w0, 0
bne .L1185
ldr w0, [sp, 72]
cmp w0, 0
beq .L1185
ldr x0, [sp, 320]
ldr x2, [sp, 328]
ldr x1, [sp, 328]
cmp x2, x0
csel x0, x1, x0, cs
ldr x2, [sp, 336]
ldr x1, [sp, 336]
cmp x2, x0
csel x1, x1, x0, cs
mov x0, 4294967295
cmp x1, x0
bne .L1185
ldr w0, [sp, 72]
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
beq .L1185
str xzr, [sp, 248]
ldr w1, [sp, 68]
ldr w0, [sp, 72]
add w0, w1, w0
add w0, w0, 46
ldr w1, [sp, 52]
cmp w1, w0
bcs .L1186
ldr w0, [sp, 72]
bl malloc
str x0, [sp, 248]
ldr x0, [sp, 248]
cmp x0, 0
bne .L1187
ldr x0, [sp, 24]
str x0, [sp, 560]
mov w0, 16
str w0, [sp, 180]
ldr x0, [sp, 560]
cmp x0, 0
beq .L1188
ldr x0, [sp, 560]
ldr w1, [sp, 180]
str w1, [x0, 28]
.L1188:
mov w0, 0
b .L1223
.L1187:
ldr x0, [sp, 24]
ldr x4, [x0, 72]
ldr x0, [sp, 24]
ldr x5, [x0, 96]
ldr w1, [sp, 68]
ldr x0, [sp, 224]
add x0, x1, x0
add x0, x0, 46
ldr w1, [sp, 72]
mov x3, x1
ldr x2, [sp, 248]
mov x1, x0
mov x0, x5
blr x4
mov x1, x0
ldr w0, [sp, 72]
cmp x1, x0
beq .L1190
ldr x0, [sp, 248]
bl free
ldr x0, [sp, 24]
str x0, [sp, 568]
mov w0, 20
str w0, [sp, 184]
ldr x0, [sp, 568]
cmp x0, 0
beq .L1191
ldr x0, [sp, 568]
ldr w1, [sp, 184]
str w1, [x0, 28]
.L1191:
mov w0, 0
b .L1223
.L1190:
ldr x0, [sp, 248]
str x0, [sp, 240]
b .L1202
.L1186:
ldr w0, [sp, 68]
add x0, x0, 46
ldr x1, [sp, 232]
add x0, x1, x0
str x0, [sp, 240]
.L1202:
ldr w0, [sp, 56]
cmp w0, 3
bhi .L1194
ldr x0, [sp, 248]
bl free
ldr x0, [sp, 24]
str x0, [sp, 576]
mov w0, 9
str w0, [sp, 188]
ldr x0, [sp, 576]
cmp x0, 0
beq .L1195
ldr x0, [sp, 576]
ldr w1, [sp, 188]
str w1, [x0, 28]
.L1195:
mov w0, 0
b .L1223
.L1194:
ldr x0, [sp, 240]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 240]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 76]
ldr x0, [sp, 240]
add x0, x0, 2
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 240]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 80]
ldr w0, [sp, 80]
add x1, x0, 4
ldr w0, [sp, 56]
cmp x1, x0
bls .L1197
ldr x0, [sp, 248]
bl free
ldr x0, [sp, 24]
str x0, [sp, 584]
mov w0, 9
str w0, [sp, 192]
ldr x0, [sp, 584]
cmp x0, 0
beq .L1198
ldr x0, [sp, 584]
ldr w1, [sp, 192]
str w1, [x0, 28]
.L1198:
mov w0, 0
b .L1223
.L1197:
ldr w0, [sp, 76]
cmp w0, 1
bne .L1200
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov w1, 1
str w1, [x0, 100]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov w1, 1
str w1, [x0, 104]
b .L1201
.L1200:
ldr w0, [sp, 80]
add x0, x0, 4
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr w1, [sp, 56]
ldr w0, [sp, 80]
sub w0, w1, w0
sub w0, w0, #4
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bne .L1202
.L1201:
ldr x0, [sp, 248]
bl free
.L1185:
ldr x1, [sp, 320]
mov x0, 4294967295
cmp x1, x0
beq .L1203
ldr x1, [sp, 328]
mov x0, 4294967295
cmp x1, x0
beq .L1203
ldr x0, [sp, 232]
add x0, x0, 10
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 11
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 12
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 13
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
cmp w0, 0
bne .L1204
ldr x1, [sp, 328]
ldr x0, [sp, 320]
cmp x1, x0
bne .L1205
.L1204:
ldr x0, [sp, 328]
cmp x0, 0
beq .L1203
ldr x0, [sp, 320]
cmp x0, 0
bne .L1203
.L1205:
ldr x0, [sp, 24]
str x0, [sp, 592]
mov w0, 9
str w0, [sp, 196]
ldr x0, [sp, 592]
cmp x0, 0
beq .L1206
ldr x0, [sp, 592]
ldr w1, [sp, 196]
str w1, [x0, 28]
.L1206:
mov w0, 0
b .L1223
.L1203:
ldr x0, [sp, 232]
add x0, x0, 34
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 35
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 84]
ldr w1, [sp, 84]
mov w0, 65535
cmp w1, w0
beq .L1208
ldr w1, [sp, 84]
ldr w0, [sp, 40]
cmp w1, w0
beq .L1209
ldr w0, [sp, 84]
cmp w0, 1
beq .L1209
.L1208:
ldr x0, [sp, 24]
str x0, [sp, 600]
mov w0, 10
str w0, [sp, 200]
ldr x0, [sp, 600]
cmp x0, 0
beq .L1210
ldr x0, [sp, 600]
ldr w1, [sp, 200]
str w1, [x0, 28]
.L1210:
mov w0, 0
b .L1223
.L1209:
ldr x1, [sp, 320]
mov x0, 4294967295
cmp x1, x0
beq .L1212
ldr x0, [sp, 232]
add x0, x0, 42
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 43
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 44
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 45
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 320]
add x0, x1, x0
add x1, x0, 30
ldr x0, [sp, 24]
ldr x0, [x0]
cmp x1, x0
bls .L1212
ldr x0, [sp, 24]
str x0, [sp, 608]
mov w0, 9
str w0, [sp, 204]
ldr x0, [sp, 608]
cmp x0, 0
beq .L1213
ldr x0, [sp, 608]
ldr w1, [sp, 204]
str w1, [x0, 28]
.L1213:
mov w0, 0
b .L1223
.L1212:
ldr x0, [sp, 232]
add x0, x0, 8
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 9
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 88]
ldr w0, [sp, 88]
and w0, w0, 8192
cmp w0, 0
beq .L1215
ldr x0, [sp, 24]
str x0, [sp, 616]
mov w0, 5
str w0, [sp, 208]
ldr x0, [sp, 616]
cmp x0, 0
beq .L1216
ldr x0, [sp, 616]
ldr w1, [sp, 208]
str w1, [x0, 28]
.L1216:
mov w0, 0
b .L1223
.L1215:
ldr x0, [sp, 232]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 232]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 30
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 232]
add x0, x0, 31
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w2, w0
add w1, w1, w0
ldr x0, [sp, 232]
add x0, x0, 32
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 232]
add x0, x0, 33
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w2, w0
add w0, w1, w0
add w0, w0, 46
str w0, [sp, 92]
ldr w1, [sp, 92]
ldr w0, [sp, 52]
cmp w1, w0
bls .L1218
ldr x0, [sp, 24]
str x0, [sp, 624]
mov w0, 9
str w0, [sp, 212]
ldr x0, [sp, 624]
cmp x0, 0
beq .L1219
ldr x0, [sp, 624]
ldr w1, [sp, 212]
str w1, [x0, 28]
.L1219:
mov w0, 0
b .L1223
.L1218:
ldr w1, [sp, 52]
ldr w0, [sp, 92]
sub w0, w1, w0
str w0, [sp, 52]
ldr w0, [sp, 92]
ldr x1, [sp, 232]
add x0, x1, x0
str x0, [sp, 232]
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L1179:
ldr x0, [sp, 24]
ldr w0, [x0, 16]
ldr w1, [sp, 48]
cmp w1, w0
bcc .L1221
.L1162:
ldr w0, [sp, 60]
cmp w0, 0
beq .L1222
ldr x0, [sp, 24]
bl mz_zip_reader_sort_central_dir_offsets_by_filename
.L1222:
mov w0, 1
.L1223:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 4808]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1224
bl __stack_chk_fail
.L1224:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 4816
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE73:
.size mz_zip_reader_read_central_dir, .-mz_zip_reader_read_central_dir
.align 2
.global mz_zip_reader_init
.type mz_zip_reader_init, %function
mz_zip_reader_init:
.LFB74:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1226
ldr x0, [sp, 40]
ldr x0, [x0, 72]
cmp x0, 0
bne .L1227
.L1226:
mov w0, 0
b .L1228
.L1227:
ldr w1, [sp, 28]
ldr x0, [sp, 40]
bl mz_zip_reader_init_internal
cmp w0, 0
bne .L1229
mov w0, 0
b .L1228
.L1229:
ldr x0, [sp, 40]
ldr x1, [sp, 32]
str x1, [x0]
ldr w1, [sp, 28]
ldr x0, [sp, 40]
bl mz_zip_reader_read_central_dir
cmp w0, 0
bne .L1230
ldr x0, [sp, 40]
bl mz_zip_reader_end
mov w0, 0
b .L1228
.L1230:
mov w0, 1
.L1228:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE74:
.size mz_zip_reader_init, .-mz_zip_reader_init
.align 2
.type mz_zip_mem_read_func, %function
mz_zip_mem_read_func:
.LFB75:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x0, [sp, 40]
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr x0, [x0]
ldr x1, [sp, 32]
cmp x1, x0
bcs .L1232
ldr x0, [sp, 48]
ldr x1, [x0]
ldr x0, [sp, 32]
sub x0, x1, x0
ldr x2, [sp, 16]
ldr x1, [sp, 16]
cmp x2, x0
csel x0, x1, x0, ls
b .L1233
.L1232:
mov x0, 0
.L1233:
str x0, [sp, 56]
ldr x0, [sp, 48]
ldr x0, [x0, 104]
ldr x1, [x0, 128]
ldr x0, [sp, 32]
add x0, x1, x0
ldr x2, [sp, 56]
mov x1, x0
ldr x0, [sp, 24]
bl memcpy
ldr x0, [sp, 56]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE75:
.size mz_zip_mem_read_func, .-mz_zip_mem_read_func
.align 2
.global mz_zip_reader_init_mem
.type mz_zip_reader_init_mem, %function
mz_zip_reader_init_mem:
.LFB76:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
ldr w1, [sp, 20]
ldr x0, [sp, 40]
bl mz_zip_reader_init_internal
cmp w0, 0
bne .L1236
mov w0, 0
b .L1237
.L1236:
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0]
ldr x0, [sp, 40]
adrp x1, mz_zip_mem_read_func
add x1, x1, :lo12:mz_zip_mem_read_func
str x1, [x0, 72]
ldr x0, [sp, 40]
ldr x1, [sp, 40]
str x1, [x0, 96]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [sp, 32]
str x1, [x0, 128]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [sp, 24]
str x1, [x0, 136]
ldr w1, [sp, 20]
ldr x0, [sp, 40]
bl mz_zip_reader_read_central_dir
cmp w0, 0
bne .L1238
ldr x0, [sp, 40]
bl mz_zip_reader_end
mov w0, 0
b .L1237
.L1238:
mov w0, 1
.L1237:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE76:
.size mz_zip_reader_init_mem, .-mz_zip_reader_init_mem
.align 2
.type mz_zip_file_read_func, %function
mz_zip_file_read_func:
.LFB77:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x0, [sp, 40]
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr x0, [x0, 104]
ldr x0, [x0, 112]
bl ftello
str x0, [sp, 56]
ldr x0, [sp, 32]
cmp x0, 0
blt .L1240
ldr x0, [sp, 32]
ldr x1, [sp, 56]
cmp x1, x0
beq .L1241
ldr x0, [sp, 48]
ldr x0, [x0, 104]
ldr x0, [x0, 112]
ldr x1, [sp, 32]
mov w2, 0
bl fseeko
cmp w0, 0
beq .L1241
.L1240:
mov x0, 0
b .L1242
.L1241:
ldr x0, [sp, 48]
ldr x0, [x0, 104]
ldr x0, [x0, 112]
mov x3, x0
ldr x2, [sp, 16]
mov x1, 1
ldr x0, [sp, 24]
bl fread
.L1242:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE77:
.size mz_zip_file_read_func, .-mz_zip_file_read_func
.section .rodata
.align 3
.LC17:
.string "rb"
.text
.align 2
.global mz_zip_reader_init_file
.type mz_zip_reader_init_file, %function
mz_zip_reader_init_file:
.LFB78:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
adrp x0, .LC17
add x1, x0, :lo12:.LC17
ldr x0, [sp, 32]
bl fopen
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L1244
mov w0, 0
b .L1245
.L1244:
mov w2, 2
mov x1, 0
ldr x0, [sp, 48]
bl fseeko
cmp w0, 0
beq .L1246
ldr x0, [sp, 48]
bl fclose
mov w0, 0
b .L1245
.L1246:
ldr x0, [sp, 48]
bl ftello
str x0, [sp, 56]
ldr w1, [sp, 28]
ldr x0, [sp, 40]
bl mz_zip_reader_init_internal
cmp w0, 0
bne .L1247
ldr x0, [sp, 48]
bl fclose
mov w0, 0
b .L1245
.L1247:
ldr x0, [sp, 40]
adrp x1, mz_zip_file_read_func
add x1, x1, :lo12:mz_zip_file_read_func
str x1, [x0, 72]
ldr x0, [sp, 40]
ldr x1, [sp, 40]
str x1, [x0, 96]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [sp, 48]
str x1, [x0, 112]
ldr x0, [sp, 40]
ldr x1, [sp, 56]
str x1, [x0]
ldr w1, [sp, 28]
ldr x0, [sp, 40]
bl mz_zip_reader_read_central_dir
cmp w0, 0
bne .L1248
ldr x0, [sp, 40]
bl mz_zip_reader_end
mov w0, 0
b .L1245
.L1248:
mov w0, 1
.L1245:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE78:
.size mz_zip_reader_init_file, .-mz_zip_reader_init_file
.align 2
.global mz_zip_reader_get_num_files
.type mz_zip_reader_get_num_files, %function
mz_zip_reader_get_num_files:
.LFB79:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
cmp x0, 0
beq .L1250
ldr x0, [sp, 8]
ldr w0, [x0, 16]
b .L1252
.L1250:
mov w0, 0
.L1252:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE79:
.size mz_zip_reader_get_num_files, .-mz_zip_reader_get_num_files
.align 2
.global mz_zip_reader_is_file_encrypted
.type mz_zip_reader_is_file_encrypted, %function
mz_zip_reader_is_file_encrypted:
.LFB81:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
str x0, [sp, 40]
ldr w0, [sp, 4]
str w0, [sp, 28]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1254
ldr x0, [sp, 40]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1254
ldr x0, [sp, 40]
ldr w0, [x0, 16]
ldr w1, [sp, 28]
cmp w1, w0
bcs .L1254
ldr x0, [sp, 40]
ldr w0, [x0, 20]
cmp w0, 1
beq .L1255
.L1254:
mov x0, 0
b .L1256
.L1255:
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x2, [x0, 32]
ldr w0, [sp, 28]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
.L1256:
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L1257
mov w0, 0
b .L1258
.L1257:
ldr x0, [sp, 32]
add x0, x0, 8
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 32]
add x0, x0, 9
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 24]
ldr w0, [sp, 24]
and w0, w0, 1
.L1258:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE81:
.size mz_zip_reader_is_file_encrypted, .-mz_zip_reader_is_file_encrypted
.align 2
.global mz_zip_reader_is_file_a_directory
.type mz_zip_reader_is_file_a_directory, %function
mz_zip_reader_is_file_a_directory:
.LFB82:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
str x0, [sp, 40]
ldr w0, [sp, 4]
str w0, [sp, 28]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1260
ldr x0, [sp, 40]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1260
ldr x0, [sp, 40]
ldr w0, [x0, 16]
ldr w1, [sp, 28]
cmp w1, w0
bcs .L1260
ldr x0, [sp, 40]
ldr w0, [x0, 20]
cmp w0, 1
beq .L1261
.L1260:
mov x0, 0
b .L1262
.L1261:
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x2, [x0, 32]
ldr w0, [sp, 28]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
.L1262:
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L1263
mov w0, 0
b .L1264
.L1263:
ldr x0, [sp, 32]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 32]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 20]
ldr w0, [sp, 20]
cmp w0, 0
beq .L1265
ldr w0, [sp, 20]
add x0, x0, 45
ldr x1, [sp, 32]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bne .L1265
mov w0, 1
b .L1264
.L1265:
ldr x0, [sp, 32]
add x0, x0, 38
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 32]
add x0, x0, 39
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 32]
add x0, x0, 40
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 32]
add x0, x0, 41
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
str w0, [sp, 24]
ldr w0, [sp, 24]
and w0, w0, 16
cmp w0, 0
beq .L1266
mov w0, 1
b .L1264
.L1266:
mov w0, 0
.L1264:
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE82:
.size mz_zip_reader_is_file_a_directory, .-mz_zip_reader_is_file_a_directory
.align 2
.global mz_zip_reader_file_stat
.type mz_zip_reader_file_stat, %function
mz_zip_reader_file_stat:
.LFB83:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
ldr x0, [sp, 40]
str x0, [sp, 72]
ldr w0, [sp, 36]
str w0, [sp, 60]
ldr x0, [sp, 72]
cmp x0, 0
beq .L1268
ldr x0, [sp, 72]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1268
ldr x0, [sp, 72]
ldr w0, [x0, 16]
ldr w1, [sp, 60]
cmp w1, w0
bcs .L1268
ldr x0, [sp, 72]
ldr w0, [x0, 20]
cmp w0, 1
beq .L1269
.L1268:
mov x0, 0
b .L1270
.L1269:
ldr x0, [sp, 72]
ldr x0, [x0, 104]
ldr x1, [x0]
ldr x0, [sp, 72]
ldr x0, [x0, 104]
ldr x2, [x0, 32]
ldr w0, [sp, 60]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
.L1270:
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
beq .L1271
ldr x0, [sp, 24]
cmp x0, 0
bne .L1272
.L1271:
mov w0, 0
b .L1273
.L1272:
ldr x0, [sp, 24]
ldr w1, [sp, 36]
str w1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [x0, 32]
ldr w0, [sp, 36]
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 24]
str w1, [x0, 4]
ldr x0, [sp, 64]
add x0, x0, 4
ldrb w0, [x0]
and w1, w0, 65535
ldr x0, [sp, 64]
add x0, x0, 5
ldrb w0, [x0]
and w0, w0, 65535
ubfiz w0, w0, 8, 8
and w0, w0, 65535
orr w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
strh w1, [x0, 8]
ldr x0, [sp, 64]
add x0, x0, 6
ldrb w0, [x0]
and w1, w0, 65535
ldr x0, [sp, 64]
add x0, x0, 7
ldrb w0, [x0]
and w0, w0, 65535
ubfiz w0, w0, 8, 8
and w0, w0, 65535
orr w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
strh w1, [x0, 10]
ldr x0, [sp, 64]
add x0, x0, 8
ldrb w0, [x0]
and w1, w0, 65535
ldr x0, [sp, 64]
add x0, x0, 9
ldrb w0, [x0]
and w0, w0, 65535
ubfiz w0, w0, 8, 8
and w0, w0, 65535
orr w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
strh w1, [x0, 12]
ldr x0, [sp, 64]
add x0, x0, 10
ldrb w0, [x0]
and w1, w0, 65535
ldr x0, [sp, 64]
add x0, x0, 11
ldrb w0, [x0]
and w0, w0, 65535
ubfiz w0, w0, 8, 8
and w0, w0, 65535
orr w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
strh w1, [x0, 14]
ldr x0, [sp, 64]
add x0, x0, 12
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 13
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
mov w2, w0
ldr x0, [sp, 64]
add x0, x0, 14
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 15
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
mov w1, w0
mov w0, w2
bl mz_zip_dos_to_time_t
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 16]
ldr x0, [sp, 64]
add x0, x0, 16
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 17
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 18
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 19
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 24]
ldr x0, [sp, 64]
add x0, x0, 20
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 21
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 22
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 23
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 24]
str x1, [x0, 32]
ldr x0, [sp, 64]
add x0, x0, 24
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 25
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 26
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 27
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 24]
str x1, [x0, 40]
ldr x0, [sp, 64]
add x0, x0, 36
ldrb w0, [x0]
and w1, w0, 65535
ldr x0, [sp, 64]
add x0, x0, 37
ldrb w0, [x0]
and w0, w0, 65535
ubfiz w0, w0, 8, 8
and w0, w0, 65535
orr w0, w1, w0
and w1, w0, 65535
ldr x0, [sp, 24]
strh w1, [x0, 48]
ldr x0, [sp, 64]
add x0, x0, 38
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 39
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 40
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 41
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 52]
ldr x0, [sp, 64]
add x0, x0, 42
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 43
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 44
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 45
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 24]
str x1, [x0, 56]
ldr x0, [sp, 64]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 56]
ldr w2, [sp, 56]
ldr w1, [sp, 56]
mov w0, 259
cmp w2, 259
csel w0, w1, w0, ls
str w0, [sp, 56]
ldr x0, [sp, 24]
add x3, x0, 68
ldr x0, [sp, 64]
add x0, x0, 46
ldr w1, [sp, 56]
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr x1, [sp, 24]
ldr w0, [sp, 56]
add x0, x1, x0
strb wzr, [x0, 68]
ldr x0, [sp, 64]
add x0, x0, 32
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 33
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 56]
ldr w2, [sp, 56]
ldr w1, [sp, 56]
mov w0, 255
cmp w2, 255
csel w0, w1, w0, ls
str w0, [sp, 56]
ldr x0, [sp, 24]
ldr w1, [sp, 56]
str w1, [x0, 64]
ldr x0, [sp, 24]
add x3, x0, 328
ldr x0, [sp, 64]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
uxtw x1, w0
ldr x0, [sp, 64]
add x0, x0, 30
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 64]
add x0, x0, 31
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w2, w0
uxtw x0, w0
add x0, x1, x0
add x0, x0, 46
ldr x1, [sp, 64]
add x0, x1, x0
ldr w1, [sp, 56]
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
ldr x1, [sp, 24]
ldr w0, [sp, 56]
add x0, x1, x0
strb wzr, [x0, 328]
mov w0, 1
.L1273:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE83:
.size mz_zip_reader_file_stat, .-mz_zip_reader_file_stat
.align 2
.global mz_zip_reader_get_filename
.type mz_zip_reader_get_filename, %function
mz_zip_reader_get_filename:
.LFB84:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str w3, [sp, 32]
ldr x0, [sp, 40]
str x0, [sp, 72]
ldr w0, [sp, 36]
str w0, [sp, 60]
ldr x0, [sp, 72]
cmp x0, 0
beq .L1275
ldr x0, [sp, 72]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1275
ldr x0, [sp, 72]
ldr w0, [x0, 16]
ldr w1, [sp, 60]
cmp w1, w0
bcs .L1275
ldr x0, [sp, 72]
ldr w0, [x0, 20]
cmp w0, 1
beq .L1276
.L1275:
mov x0, 0
b .L1277
.L1276:
ldr x0, [sp, 72]
ldr x0, [x0, 104]
ldr x1, [x0]
ldr x0, [sp, 72]
ldr x0, [x0, 104]
ldr x2, [x0, 32]
ldr w0, [sp, 60]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
.L1277:
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L1278
ldr w0, [sp, 32]
cmp w0, 0
beq .L1279
ldr x0, [sp, 24]
strb wzr, [x0]
.L1279:
mov w0, 0
b .L1280
.L1278:
ldr x0, [sp, 64]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 56]
ldr w0, [sp, 32]
cmp w0, 0
beq .L1281
ldr w0, [sp, 32]
sub w0, w0, #1
ldr w2, [sp, 56]
ldr w1, [sp, 56]
cmp w2, w0
csel w0, w1, w0, ls
str w0, [sp, 56]
ldr x0, [sp, 64]
add x0, x0, 46
ldr w1, [sp, 56]
mov x2, x1
mov x1, x0
ldr x0, [sp, 24]
bl memcpy
ldr w0, [sp, 56]
ldr x1, [sp, 24]
add x0, x1, x0
strb wzr, [x0]
.L1281:
ldr w0, [sp, 56]
add w0, w0, 1
.L1280:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE84:
.size mz_zip_reader_get_filename, .-mz_zip_reader_get_filename
.align 2
.type mz_zip_reader_locate_file_binary_search, %function
mz_zip_reader_locate_file_binary_search:
.LFB87:
.cfi_startproc
stp x29, x30, [sp, -160]!
.cfi_def_cfa_offset 160
.cfi_offset 29, -160
.cfi_offset 30, -152
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
str x0, [sp, 88]
ldr x0, [sp, 88]
add x0, x0, 32
str x0, [sp, 96]
ldr x0, [sp, 88]
str x0, [sp, 104]
ldr x0, [sp, 88]
ldr x0, [x0, 64]
str x0, [sp, 112]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
str w0, [sp, 56]
ldr x0, [sp, 16]
bl strlen
str w0, [sp, 60]
str wzr, [sp, 48]
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 52]
b .L1283
.L1298:
ldr w1, [sp, 48]
ldr w0, [sp, 52]
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 64]
ldrsw x0, [sp, 64]
lsl x0, x0, 2
ldr x1, [sp, 112]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 68]
ldr w0, [sp, 68]
ldr x1, [sp, 104]
str x1, [sp, 120]
ldr x1, [sp, 96]
str x1, [sp, 128]
str w0, [sp, 76]
ldr x0, [sp, 16]
str x0, [sp, 136]
ldr w0, [sp, 60]
str w0, [sp, 80]
ldr x0, [sp, 120]
ldr x1, [x0]
ldr x0, [sp, 128]
ldr x2, [x0]
ldr w0, [sp, 76]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 144]
ldr x0, [sp, 144]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 144]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 84]
strb wzr, [sp, 46]
strb wzr, [sp, 47]
ldr x0, [sp, 144]
add x0, x0, 46
str x0, [sp, 144]
ldr w0, [sp, 84]
ldr w2, [sp, 80]
ldr w1, [sp, 80]
cmp w2, w0
csel w0, w1, w0, ls
uxtw x0, w0
ldr x1, [sp, 144]
add x0, x1, x0
str x0, [sp, 152]
b .L1284
.L1291:
ldr x0, [sp, 144]
ldrb w0, [x0]
cmp w0, 64
bls .L1285
ldr x0, [sp, 144]
ldrb w0, [x0]
cmp w0, 90
bhi .L1285
ldr x0, [sp, 144]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1286
.L1285:
ldr x0, [sp, 144]
ldrb w0, [x0]
.L1286:
strb w0, [sp, 46]
ldr x0, [sp, 136]
ldrb w0, [x0]
cmp w0, 64
bls .L1287
ldr x0, [sp, 136]
ldrb w0, [x0]
cmp w0, 90
bhi .L1287
ldr x0, [sp, 136]
ldrb w0, [x0]
add w0, w0, 32
and w0, w0, 255
b .L1288
.L1287:
ldr x0, [sp, 136]
ldrb w0, [x0]
.L1288:
strb w0, [sp, 47]
ldrb w1, [sp, 46]
ldrb w0, [sp, 47]
cmp w1, w0
bne .L1300
ldr x0, [sp, 144]
add x0, x0, 1
str x0, [sp, 144]
ldr x0, [sp, 136]
add x0, x0, 1
str x0, [sp, 136]
.L1284:
ldr x1, [sp, 152]
ldr x0, [sp, 144]
cmp x1, x0
bhi .L1291
b .L1290
.L1300:
nop
.L1290:
ldr x1, [sp, 152]
ldr x0, [sp, 144]
cmp x1, x0
bne .L1292
ldr w1, [sp, 84]
ldr w0, [sp, 80]
sub w0, w1, w0
b .L1299
.L1292:
ldrb w1, [sp, 46]
ldrb w0, [sp, 47]
sub w0, w1, w0
.L1299:
str w0, [sp, 72]
ldr w0, [sp, 72]
cmp w0, 0
bne .L1295
ldr w0, [sp, 68]
b .L1296
.L1295:
ldr w0, [sp, 72]
cmp w0, 0
bge .L1297
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 48]
b .L1283
.L1297:
ldr w0, [sp, 64]
sub w0, w0, #1
str w0, [sp, 52]
.L1283:
ldr w1, [sp, 48]
ldr w0, [sp, 52]
cmp w1, w0
ble .L1298
mov w0, -1
.L1296:
ldp x29, x30, [sp], 160
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE87:
.size mz_zip_reader_locate_file_binary_search, .-mz_zip_reader_locate_file_binary_search
.align 2
.global mz_zip_reader_locate_file
.type mz_zip_reader_locate_file, %function
mz_zip_reader_locate_file:
.LFB88:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1302
ldr x0, [sp, 40]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1302
ldr x0, [sp, 32]
cmp x0, 0
beq .L1302
ldr x0, [sp, 40]
ldr w0, [x0, 20]
cmp w0, 1
beq .L1303
.L1302:
mov w0, -1
b .L1304
.L1303:
ldr w0, [sp, 20]
and w0, w0, 768
cmp w0, 0
bne .L1305
ldr x0, [sp, 24]
cmp x0, 0
bne .L1305
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x0, [x0, 72]
cmp x0, 0
beq .L1305
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl mz_zip_reader_locate_file_binary_search
b .L1304
.L1305:
ldr x0, [sp, 32]
bl strlen
str x0, [sp, 112]
ldr x1, [sp, 112]
mov x0, 65535
cmp x1, x0
bls .L1306
mov w0, -1
b .L1304
.L1306:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1307
ldr x0, [sp, 24]
bl strlen
b .L1308
.L1307:
mov x0, 0
.L1308:
str x0, [sp, 120]
ldr x1, [sp, 120]
mov x0, 65535
cmp x1, x0
bls .L1309
mov w0, -1
b .L1304
.L1309:
str wzr, [sp, 60]
b .L1310
.L1336:
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x2, [x0, 32]
ldr w0, [sp, 60]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
str x0, [sp, 128]
ldr x0, [sp, 128]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 128]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 64]
ldr x0, [sp, 128]
add x0, x0, 46
str x0, [sp, 104]
ldr w0, [sp, 64]
ldr x1, [sp, 112]
cmp x1, x0
bhi .L1337
ldr x0, [sp, 120]
cmp x0, 0
beq .L1313
ldr x0, [sp, 128]
add x0, x0, 30
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 128]
add x0, x0, 31
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 72]
ldr x0, [sp, 128]
add x0, x0, 32
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 128]
add x0, x0, 33
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 76]
ldr w1, [sp, 64]
ldr w0, [sp, 72]
add x0, x1, x0
ldr x1, [sp, 104]
add x0, x1, x0
str x0, [sp, 136]
ldr w0, [sp, 76]
ldr x1, [sp, 120]
cmp x1, x0
bne .L1338
ldr x0, [sp, 24]
str x0, [sp, 144]
ldr x0, [sp, 136]
str x0, [sp, 152]
ldr w0, [sp, 76]
str w0, [sp, 80]
ldr w0, [sp, 20]
str w0, [sp, 84]
ldr w0, [sp, 84]
and w0, w0, 256
cmp w0, 0
beq .L1315
ldr w0, [sp, 80]
mov x2, x0
ldr x1, [sp, 152]
ldr x0, [sp, 144]
bl memcmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
b .L1316
.L1315:
str wzr, [sp, 88]
b .L1317
.L1323:
ldr w0, [sp, 88]
ldr x1, [sp, 144]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 64
bls .L1318
ldr w0, [sp, 88]
ldr x1, [sp, 144]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 90
bhi .L1318
ldr w0, [sp, 88]
ldr x1, [sp, 144]
add x0, x1, x0
ldrb w0, [x0]
add w1, w0, 32
b .L1319
.L1318:
ldr w0, [sp, 88]
ldr x1, [sp, 144]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
.L1319:
ldr w0, [sp, 88]
ldr x2, [sp, 152]
add x0, x2, x0
ldrb w0, [x0]
cmp w0, 64
bls .L1320
ldr w0, [sp, 88]
ldr x2, [sp, 152]
add x0, x2, x0
ldrb w0, [x0]
cmp w0, 90
bhi .L1320
ldr w0, [sp, 88]
ldr x2, [sp, 152]
add x0, x2, x0
ldrb w0, [x0]
add w0, w0, 32
b .L1321
.L1320:
ldr w0, [sp, 88]
ldr x2, [sp, 152]
add x0, x2, x0
ldrb w0, [x0]
.L1321:
cmp w1, w0
beq .L1322
mov w0, 0
b .L1316
.L1322:
ldr w0, [sp, 88]
add w0, w0, 1
str w0, [sp, 88]
.L1317:
ldr w1, [sp, 80]
ldr w0, [sp, 88]
cmp w1, w0
bhi .L1323
mov w0, 1
.L1316:
cmp w0, 0
beq .L1338
.L1313:
ldr w0, [sp, 20]
and w0, w0, 512
cmp w0, 0
beq .L1324
ldr w0, [sp, 64]
cmp w0, 0
beq .L1324
ldr w0, [sp, 64]
sub w0, w0, #1
str w0, [sp, 68]
.L1326:
ldrsw x0, [sp, 68]
ldr x1, [sp, 104]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
beq .L1325
ldrsw x0, [sp, 68]
ldr x1, [sp, 104]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 92
beq .L1325
ldrsw x0, [sp, 68]
ldr x1, [sp, 104]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 58
beq .L1325
ldr w0, [sp, 68]
sub w0, w0, #1
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
bge .L1326
.L1325:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
ldrsw x0, [sp, 68]
ldr x1, [sp, 104]
add x0, x1, x0
str x0, [sp, 104]
ldr w0, [sp, 68]
ldr w1, [sp, 64]
sub w0, w1, w0
str w0, [sp, 64]
.L1324:
ldr w0, [sp, 64]
ldr x1, [sp, 112]
cmp x1, x0
bne .L1312
ldr x0, [sp, 32]
str x0, [sp, 160]
ldr x0, [sp, 104]
str x0, [sp, 168]
ldr w0, [sp, 64]
str w0, [sp, 92]
ldr w0, [sp, 20]
str w0, [sp, 96]
ldr w0, [sp, 96]
and w0, w0, 256
cmp w0, 0
beq .L1327
ldr w0, [sp, 92]
mov x2, x0
ldr x1, [sp, 168]
ldr x0, [sp, 160]
bl memcmp
cmp w0, 0
cset w0, eq
and w0, w0, 255
b .L1328
.L1327:
str wzr, [sp, 100]
b .L1329
.L1335:
ldr w0, [sp, 100]
ldr x1, [sp, 160]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 64
bls .L1330
ldr w0, [sp, 100]
ldr x1, [sp, 160]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 90
bhi .L1330
ldr w0, [sp, 100]
ldr x1, [sp, 160]
add x0, x1, x0
ldrb w0, [x0]
add w1, w0, 32
b .L1331
.L1330:
ldr w0, [sp, 100]
ldr x1, [sp, 160]
add x0, x1, x0
ldrb w0, [x0]
mov w1, w0
.L1331:
ldr w0, [sp, 100]
ldr x2, [sp, 168]
add x0, x2, x0
ldrb w0, [x0]
cmp w0, 64
bls .L1332
ldr w0, [sp, 100]
ldr x2, [sp, 168]
add x0, x2, x0
ldrb w0, [x0]
cmp w0, 90
bhi .L1332
ldr w0, [sp, 100]
ldr x2, [sp, 168]
add x0, x2, x0
ldrb w0, [x0]
add w0, w0, 32
b .L1333
.L1332:
ldr w0, [sp, 100]
ldr x2, [sp, 168]
add x0, x2, x0
ldrb w0, [x0]
.L1333:
cmp w1, w0
beq .L1334
mov w0, 0
b .L1328
.L1334:
ldr w0, [sp, 100]
add w0, w0, 1
str w0, [sp, 100]
.L1329:
ldr w1, [sp, 92]
ldr w0, [sp, 100]
cmp w1, w0
bhi .L1335
mov w0, 1
.L1328:
cmp w0, 0
beq .L1312
ldr w0, [sp, 60]
b .L1304
.L1337:
nop
b .L1312
.L1338:
nop
.L1312:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L1310:
ldr x0, [sp, 40]
ldr w0, [x0, 16]
ldr w1, [sp, 60]
cmp w1, w0
bcc .L1336
mov w0, -1
.L1304:
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE88:
.size mz_zip_reader_locate_file, .-mz_zip_reader_locate_file
.align 2
.global mz_zip_reader_extract_to_mem_no_alloc
.type mz_zip_reader_extract_to_mem_no_alloc, %function
mz_zip_reader_extract_to_mem_no_alloc:
.LFB89:
.cfi_startproc
mov x12, 11792
sub sp, sp, x12
.cfi_def_cfa_offset 11792
stp x29, x30, [sp]
.cfi_offset 29, -11792
.cfi_offset 30, -11784
mov x29, sp
str x0, [sp, 56]
str w1, [sp, 52]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 48]
str x5, [sp, 24]
str x6, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 11784]
mov x1, 0
str wzr, [sp, 76]
str xzr, [sp, 112]
str xzr, [sp, 128]
add x0, sp, 168
str x0, [sp, 152]
ldr x0, [sp, 32]
cmp x0, 0
beq .L1340
ldr x0, [sp, 40]
cmp x0, 0
bne .L1340
mov w0, 0
b .L1373
.L1340:
add x0, sp, 200
mov x2, x0
ldr w1, [sp, 52]
ldr x0, [sp, 56]
bl mz_zip_reader_file_stat
cmp w0, 0
bne .L1342
mov w0, 0
b .L1373
.L1342:
ldr x0, [sp, 232]
cmp x0, 0
bne .L1343
mov w0, 1
b .L1373
.L1343:
ldr w1, [sp, 52]
ldr x0, [sp, 56]
bl mz_zip_reader_is_file_a_directory
cmp w0, 0
beq .L1344
mov w0, 1
b .L1373
.L1344:
ldrh w0, [sp, 212]
mov w1, w0
mov w0, 33
and w0, w1, w0
cmp w0, 0
beq .L1345
mov w0, 0
b .L1373
.L1345:
ldr w0, [sp, 48]
and w0, w0, 1024
cmp w0, 0
bne .L1346
ldrh w0, [sp, 214]
cmp w0, 0
beq .L1346
ldrh w0, [sp, 214]
cmp w0, 8
beq .L1346
mov w0, 0
b .L1373
.L1346:
ldr w0, [sp, 48]
and w0, w0, 1024
cmp w0, 0
beq .L1347
ldr x0, [sp, 232]
b .L1348
.L1347:
ldr x0, [sp, 240]
.L1348:
str x0, [sp, 160]
ldr x1, [sp, 32]
ldr x0, [sp, 160]
cmp x1, x0
bcs .L1349
mov w0, 0
b .L1373
.L1349:
ldr x0, [sp, 256]
str x0, [sp, 96]
ldr x0, [sp, 56]
ldr x4, [x0, 72]
ldr x0, [sp, 56]
ldr x0, [x0, 96]
mov x3, 30
ldr x2, [sp, 152]
ldr x1, [sp, 96]
blr x4
cmp x0, 30
beq .L1350
mov w0, 0
b .L1373
.L1350:
ldr x0, [sp, 152]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 152]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 152]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 152]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
mov w0, 19280
movk w0, 0x403, lsl 16
cmp w1, w0
beq .L1351
mov w0, 0
b .L1373
.L1351:
ldr x0, [sp, 152]
add x0, x0, 26
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 152]
add x0, x0, 27
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 152]
add x0, x0, 28
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 152]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w2, w0
add w0, w1, w0
add w0, w0, 30
uxtw x0, w0
ldr x1, [sp, 96]
add x0, x1, x0
str x0, [sp, 96]
ldr x1, [sp, 232]
ldr x0, [sp, 96]
add x1, x1, x0
ldr x0, [sp, 56]
ldr x0, [x0]
cmp x1, x0
bls .L1352
mov w0, 0
b .L1373
.L1352:
ldr w0, [sp, 48]
and w0, w0, 1024
cmp w0, 0
bne .L1353
ldrh w0, [sp, 214]
cmp w0, 0
bne .L1354
.L1353:
ldr x0, [sp, 56]
ldr x4, [x0, 72]
ldr x0, [sp, 56]
ldr x0, [x0, 96]
ldr x3, [sp, 160]
ldr x2, [sp, 40]
ldr x1, [sp, 96]
blr x4
mov x1, x0
ldr x0, [sp, 160]
cmp x0, x1
beq .L1355
mov w0, 0
b .L1373
.L1355:
ldr w0, [sp, 48]
and w0, w0, 1024
cmp w0, 0
bne .L1356
ldr x0, [sp, 240]
mov x2, x0
ldr x1, [sp, 40]
mov x0, 0
bl mz_crc32
mov x1, x0
ldr w0, [sp, 224]
uxtw x0, w0
cmp x1, x0
bne .L1357
.L1356:
mov w0, 1
b .L1373
.L1357:
mov w0, 0
b .L1373
.L1354:
str wzr, [sp, 784]
ldr x0, [sp, 56]
ldr x0, [x0, 104]
ldr x0, [x0, 128]
cmp x0, 0
beq .L1359
ldr x0, [sp, 56]
ldr x0, [x0, 104]
ldr x1, [x0, 128]
ldr x0, [sp, 96]
add x0, x1, x0
str x0, [sp, 144]
ldr x0, [sp, 232]
str x0, [sp, 136]
ldr x0, [sp, 136]
str x0, [sp, 120]
str xzr, [sp, 104]
b .L1369
.L1359:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1361
ldr x0, [sp, 16]
cmp x0, 0
bne .L1362
mov w0, 0
b .L1373
.L1362:
ldr x0, [sp, 24]
str x0, [sp, 144]
ldr x0, [sp, 16]
str x0, [sp, 120]
str xzr, [sp, 136]
ldr x0, [sp, 232]
str x0, [sp, 104]
b .L1369
.L1361:
ldr x0, [sp, 232]
mov x1, 65536
cmp x0, 65536
csel x0, x0, x1, ls
str x0, [sp, 120]
ldr x0, [sp, 56]
ldr x3, [x0, 40]
ldr x0, [sp, 56]
ldr x0, [x0, 64]
ldr x2, [sp, 120]
mov x1, 1
blr x3
str x0, [sp, 144]
ldr x0, [sp, 144]
cmp x0, 0
bne .L1363
mov w0, 0
b .L1373
.L1363:
str xzr, [sp, 136]
ldr x0, [sp, 232]
str x0, [sp, 104]
.L1369:
ldr x1, [sp, 240]
ldr x0, [sp, 112]
sub x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 136]
cmp x0, 0
bne .L1364
ldr x0, [sp, 56]
ldr x0, [x0, 104]
ldr x0, [x0, 128]
cmp x0, 0
bne .L1364
ldr x0, [sp, 120]
ldr x2, [sp, 104]
ldr x1, [sp, 104]
cmp x2, x0
csel x0, x1, x0, ls
str x0, [sp, 136]
ldr x0, [sp, 56]
ldr x4, [x0, 72]
ldr x0, [sp, 56]
ldr x0, [x0, 96]
ldr x3, [sp, 136]
ldr x2, [sp, 144]
ldr x1, [sp, 96]
blr x4
mov x1, x0
ldr x0, [sp, 136]
cmp x0, x1
beq .L1365
mov w0, -1
str w0, [sp, 76]
b .L1366
.L1365:
ldr x1, [sp, 96]
ldr x0, [sp, 136]
add x0, x1, x0
str x0, [sp, 96]
ldr x1, [sp, 104]
ldr x0, [sp, 136]
sub x0, x1, x0
str x0, [sp, 104]
str xzr, [sp, 128]
.L1364:
ldr x0, [sp, 136]
str x0, [sp, 80]
ldr x1, [sp, 144]
ldr x0, [sp, 128]
add x8, x1, x0
ldr x1, [sp, 40]
ldr x0, [sp, 112]
add x2, x1, x0
ldr x0, [sp, 104]
cmp x0, 0
beq .L1367
mov w0, 6
b .L1368
.L1367:
mov w0, 4
.L1368:
add x3, sp, 88
add x1, sp, 80
add x7, sp, 784
mov w6, w0
mov x5, x3
mov x4, x2
ldr x3, [sp, 40]
mov x2, x1
mov x1, x8
mov x0, x7
bl tinfl_decompress
str w0, [sp, 76]
ldr x0, [sp, 80]
ldr x1, [sp, 136]
sub x0, x1, x0
str x0, [sp, 136]
ldr x0, [sp, 80]
ldr x1, [sp, 128]
add x0, x1, x0
str x0, [sp, 128]
ldr x0, [sp, 88]
ldr x1, [sp, 112]
add x0, x1, x0
str x0, [sp, 112]
ldr w0, [sp, 76]
cmp w0, 1
beq .L1369
.L1366:
ldr w0, [sp, 76]
cmp w0, 0
bne .L1370
ldr x0, [sp, 240]
ldr x1, [sp, 112]
cmp x1, x0
bne .L1371
ldr x0, [sp, 240]
mov x2, x0
ldr x1, [sp, 40]
mov x0, 0
bl mz_crc32
mov x1, x0
ldr w0, [sp, 224]
uxtw x0, w0
cmp x1, x0
beq .L1370
.L1371:
mov w0, -1
str w0, [sp, 76]
.L1370:
ldr x0, [sp, 56]
ldr x0, [x0, 104]
ldr x0, [x0, 128]
cmp x0, 0
bne .L1372
ldr x0, [sp, 24]
cmp x0, 0
bne .L1372
ldr x0, [sp, 56]
ldr x2, [x0, 48]
ldr x0, [sp, 56]
ldr x0, [x0, 64]
ldr x1, [sp, 144]
blr x2
.L1372:
ldr w0, [sp, 76]
cmp w0, 0
cset w0, eq
and w0, w0, 255
.L1373:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 11784]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1374
bl __stack_chk_fail
.L1374:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 11792
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE89:
.size mz_zip_reader_extract_to_mem_no_alloc, .-mz_zip_reader_extract_to_mem_no_alloc
.align 2
.global mz_zip_reader_extract_file_to_mem_no_alloc
.type mz_zip_reader_extract_file_to_mem_no_alloc, %function
mz_zip_reader_extract_file_to_mem_no_alloc:
.LFB90:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str x3, [sp, 48]
str w4, [sp, 44]
str x5, [sp, 32]
str x6, [sp, 24]
ldr w3, [sp, 44]
mov x2, 0
ldr x1, [sp, 64]
ldr x0, [sp, 72]
bl mz_zip_reader_locate_file
str w0, [sp, 92]
ldr w0, [sp, 92]
cmp w0, 0
bge .L1376
mov w0, 0
b .L1377
.L1376:
ldr w0, [sp, 92]
ldr x6, [sp, 24]
ldr x5, [sp, 32]
ldr w4, [sp, 44]
ldr x3, [sp, 48]
ldr x2, [sp, 56]
mov w1, w0
ldr x0, [sp, 72]
bl mz_zip_reader_extract_to_mem_no_alloc
.L1377:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE90:
.size mz_zip_reader_extract_file_to_mem_no_alloc, .-mz_zip_reader_extract_file_to_mem_no_alloc
.align 2
.global mz_zip_reader_extract_to_mem
.type mz_zip_reader_extract_to_mem, %function
mz_zip_reader_extract_to_mem:
.LFB91:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str x3, [sp, 16]
str w4, [sp, 32]
mov x6, 0
mov x5, 0
ldr w4, [sp, 32]
ldr x3, [sp, 16]
ldr x2, [sp, 24]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl mz_zip_reader_extract_to_mem_no_alloc
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE91:
.size mz_zip_reader_extract_to_mem, .-mz_zip_reader_extract_to_mem
.align 2
.global mz_zip_reader_extract_file_to_mem
.type mz_zip_reader_extract_file_to_mem, %function
mz_zip_reader_extract_file_to_mem:
.LFB92:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
mov x6, 0
mov x5, 0
ldr w4, [sp, 28]
ldr x3, [sp, 32]
ldr x2, [sp, 40]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl mz_zip_reader_extract_file_to_mem_no_alloc
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE92:
.size mz_zip_reader_extract_file_to_mem, .-mz_zip_reader_extract_file_to_mem
.align 2
.global mz_zip_reader_extract_to_heap
.type mz_zip_reader_extract_to_heap, %function
mz_zip_reader_extract_to_heap:
.LFB93:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str w3, [sp, 32]
ldr x0, [sp, 40]
str x0, [sp, 104]
ldr w0, [sp, 36]
str w0, [sp, 60]
ldr x0, [sp, 104]
cmp x0, 0
beq .L1383
ldr x0, [sp, 104]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1383
ldr x0, [sp, 104]
ldr w0, [x0, 16]
ldr w1, [sp, 60]
cmp w1, w0
bcs .L1383
ldr x0, [sp, 104]
ldr w0, [x0, 20]
cmp w0, 1
beq .L1384
.L1383:
mov x0, 0
b .L1385
.L1384:
ldr x0, [sp, 104]
ldr x0, [x0, 104]
ldr x1, [x0]
ldr x0, [sp, 104]
ldr x0, [x0, 104]
ldr x2, [x0, 32]
ldr w0, [sp, 60]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
.L1385:
str x0, [sp, 64]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1386
ldr x0, [sp, 24]
str xzr, [x0]
.L1386:
ldr x0, [sp, 64]
cmp x0, 0
bne .L1387
mov x0, 0
b .L1388
.L1387:
ldr x0, [sp, 64]
add x0, x0, 20
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 21
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 22
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 23
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x0, w0
str x0, [sp, 72]
ldr x0, [sp, 64]
add x0, x0, 24
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
add x0, x0, 25
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 26
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 64]
add x0, x0, 27
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x0, w0
str x0, [sp, 80]
ldr w0, [sp, 32]
and w0, w0, 1024
cmp w0, 0
beq .L1389
ldr x0, [sp, 72]
b .L1390
.L1389:
ldr x0, [sp, 80]
.L1390:
str x0, [sp, 88]
ldr x0, [sp, 40]
ldr x3, [x0, 40]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x2, [sp, 88]
mov x1, 1
blr x3
str x0, [sp, 96]
ldr x0, [sp, 96]
cmp x0, 0
bne .L1391
mov x0, 0
b .L1388
.L1391:
ldr w4, [sp, 32]
ldr x3, [sp, 88]
ldr x2, [sp, 96]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl mz_zip_reader_extract_to_mem
cmp w0, 0
bne .L1392
ldr x0, [sp, 40]
ldr x2, [x0, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x1, [sp, 96]
blr x2
mov x0, 0
b .L1388
.L1392:
ldr x0, [sp, 24]
cmp x0, 0
beq .L1393
ldr x0, [sp, 24]
ldr x1, [sp, 88]
str x1, [x0]
.L1393:
ldr x0, [sp, 96]
.L1388:
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE93:
.size mz_zip_reader_extract_to_heap, .-mz_zip_reader_extract_to_heap
.align 2
.global mz_zip_reader_extract_file_to_heap
.type mz_zip_reader_extract_file_to_heap, %function
mz_zip_reader_extract_file_to_heap:
.LFB94:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
ldr w3, [sp, 20]
mov x2, 0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl mz_zip_reader_locate_file
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L1395
ldr x0, [sp, 24]
cmp x0, 0
beq .L1396
ldr x0, [sp, 24]
str xzr, [x0]
.L1396:
mov x0, 0
b .L1397
.L1395:
ldr w0, [sp, 60]
ldr w3, [sp, 20]
ldr x2, [sp, 24]
mov w1, w0
ldr x0, [sp, 40]
bl mz_zip_reader_extract_to_heap
.L1397:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE94:
.size mz_zip_reader_extract_file_to_heap, .-mz_zip_reader_extract_file_to_heap
.align 2
.global mz_zip_reader_extract_to_callback
.type mz_zip_reader_extract_to_callback, %function
mz_zip_reader_extract_to_callback:
.LFB95:
.cfi_startproc
mov x12, 11776
sub sp, sp, x12
.cfi_def_cfa_offset 11776
stp x29, x30, [sp]
.cfi_offset 29, -11776
.cfi_offset 30, -11768
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str x3, [sp, 16]
str w4, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 11768]
mov x1, 0
str wzr, [sp, 48]
str wzr, [sp, 52]
str xzr, [sp, 80]
str xzr, [sp, 104]
str xzr, [sp, 120]
str xzr, [sp, 128]
add x0, sp, 152
str x0, [sp, 136]
add x0, sp, 184
mov x2, x0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl mz_zip_reader_file_stat
cmp w0, 0
bne .L1399
mov w0, 0
b .L1437
.L1399:
ldr x0, [sp, 216]
cmp x0, 0
bne .L1401
mov w0, 1
b .L1437
.L1401:
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl mz_zip_reader_is_file_a_directory
cmp w0, 0
beq .L1402
mov w0, 1
b .L1437
.L1402:
ldrh w0, [sp, 196]
mov w1, w0
mov w0, 33
and w0, w1, w0
cmp w0, 0
beq .L1403
mov w0, 0
b .L1437
.L1403:
ldr w0, [sp, 32]
and w0, w0, 1024
cmp w0, 0
bne .L1404
ldrh w0, [sp, 198]
cmp w0, 0
beq .L1404
ldrh w0, [sp, 198]
cmp w0, 8
beq .L1404
mov w0, 0
b .L1437
.L1404:
ldr x0, [sp, 240]
str x0, [sp, 112]
ldr x0, [sp, 40]
ldr x4, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 96]
mov x3, 30
ldr x2, [sp, 136]
ldr x1, [sp, 112]
blr x4
cmp x0, 30
beq .L1405
mov w0, 0
b .L1437
.L1405:
ldr x0, [sp, 136]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 136]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 136]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 136]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
mov w0, 19280
movk w0, 0x403, lsl 16
cmp w1, w0
beq .L1406
mov w0, 0
b .L1437
.L1406:
ldr x0, [sp, 136]
add x0, x0, 26
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 136]
add x0, x0, 27
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 136]
add x0, x0, 28
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 136]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w2, w0
add w0, w1, w0
add w0, w0, 30
uxtw x0, w0
ldr x1, [sp, 112]
add x0, x1, x0
str x0, [sp, 112]
ldr x1, [sp, 216]
ldr x0, [sp, 112]
add x1, x1, x0
ldr x0, [sp, 40]
ldr x0, [x0]
cmp x1, x0
bls .L1407
mov w0, 0
b .L1437
.L1407:
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x0, [x0, 128]
cmp x0, 0
beq .L1408
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [x0, 128]
ldr x0, [sp, 112]
add x0, x1, x0
str x0, [sp, 120]
ldr x0, [sp, 216]
str x0, [sp, 88]
ldr x0, [sp, 88]
str x0, [sp, 72]
str xzr, [sp, 96]
b .L1409
.L1408:
ldr x0, [sp, 216]
mov x1, 65536
cmp x0, 65536
csel x0, x0, x1, ls
str x0, [sp, 72]
ldr x0, [sp, 40]
ldr x3, [x0, 40]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x2, [sp, 72]
mov x1, 1
blr x3
str x0, [sp, 120]
ldr x0, [sp, 120]
cmp x0, 0
bne .L1410
mov w0, 0
b .L1437
.L1410:
str xzr, [sp, 88]
ldr x0, [sp, 216]
str x0, [sp, 96]
.L1409:
ldr w0, [sp, 32]
and w0, w0, 1024
cmp w0, 0
bne .L1411
ldrh w0, [sp, 198]
cmp w0, 0
bne .L1412
.L1411:
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x0, [x0, 128]
cmp x0, 0
beq .L1417
ldr x0, [sp, 216]
ldr x4, [sp, 24]
mov x3, x0
ldr x2, [sp, 120]
ldr x1, [sp, 104]
ldr x0, [sp, 16]
blr x4
mov x1, x0
ldr x0, [sp, 216]
cmp x1, x0
beq .L1414
mov w0, -1
str w0, [sp, 48]
b .L1415
.L1414:
ldr w0, [sp, 32]
and w0, w0, 1024
cmp w0, 0
bne .L1415
ldr w0, [sp, 52]
ldr x1, [sp, 216]
mov x2, x1
ldr x1, [sp, 120]
bl mz_crc32
str w0, [sp, 52]
.L1415:
ldr x0, [sp, 216]
ldr x1, [sp, 104]
add x0, x1, x0
str x0, [sp, 104]
b .L1422
.L1421:
ldr x0, [sp, 72]
ldr x2, [sp, 96]
ldr x1, [sp, 96]
cmp x2, x0
csel x0, x1, x0, ls
str x0, [sp, 88]
ldr x0, [sp, 40]
ldr x4, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 96]
ldr x3, [sp, 88]
ldr x2, [sp, 120]
ldr x1, [sp, 112]
blr x4
mov x1, x0
ldr x0, [sp, 88]
cmp x0, x1
beq .L1418
mov w0, -1
str w0, [sp, 48]
b .L1416
.L1418:
ldr w0, [sp, 32]
and w0, w0, 1024
cmp w0, 0
bne .L1419
ldr w0, [sp, 52]
ldr x2, [sp, 88]
ldr x1, [sp, 120]
bl mz_crc32
str w0, [sp, 52]
.L1419:
ldr x4, [sp, 24]
ldr x3, [sp, 88]
ldr x2, [sp, 120]
ldr x1, [sp, 104]
ldr x0, [sp, 16]
blr x4
mov x1, x0
ldr x0, [sp, 88]
cmp x0, x1
beq .L1420
mov w0, -1
str w0, [sp, 48]
b .L1416
.L1420:
ldr x1, [sp, 112]
ldr x0, [sp, 88]
add x0, x1, x0
str x0, [sp, 112]
ldr x1, [sp, 104]
ldr x0, [sp, 88]
add x0, x1, x0
str x0, [sp, 104]
ldr x1, [sp, 96]
ldr x0, [sp, 88]
sub x0, x1, x0
str x0, [sp, 96]
.L1417:
ldr x0, [sp, 96]
cmp x0, 0
bne .L1421
b .L1422
.L1416:
b .L1422
.L1412:
str wzr, [sp, 768]
ldr x0, [sp, 40]
ldr x3, [x0, 40]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
mov x2, 32768
mov x1, 1
blr x3
str x0, [sp, 128]
ldr x0, [sp, 128]
cmp x0, 0
bne .L1423
mov w0, -1
str w0, [sp, 48]
b .L1422
.L1423:
ldr x0, [sp, 104]
and x0, x0, 32767
ldr x1, [sp, 128]
add x0, x1, x0
str x0, [sp, 144]
ldr x0, [sp, 104]
and x0, x0, 32767
mov x1, 32768
sub x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 88]
cmp x0, 0
bne .L1425
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x0, [x0, 128]
cmp x0, 0
bne .L1425
ldr x0, [sp, 72]
ldr x2, [sp, 96]
ldr x1, [sp, 96]
cmp x2, x0
csel x0, x1, x0, ls
str x0, [sp, 88]
ldr x0, [sp, 40]
ldr x4, [x0, 72]
ldr x0, [sp, 40]
ldr x0, [x0, 96]
ldr x3, [sp, 88]
ldr x2, [sp, 120]
ldr x1, [sp, 112]
blr x4
mov x1, x0
ldr x0, [sp, 88]
cmp x0, x1
beq .L1426
mov w0, -1
str w0, [sp, 48]
b .L1422
.L1426:
ldr x1, [sp, 112]
ldr x0, [sp, 88]
add x0, x1, x0
str x0, [sp, 112]
ldr x1, [sp, 96]
ldr x0, [sp, 88]
sub x0, x1, x0
str x0, [sp, 96]
str xzr, [sp, 80]
.L1425:
ldr x0, [sp, 88]
str x0, [sp, 56]
ldr x1, [sp, 120]
ldr x0, [sp, 80]
add x1, x1, x0
ldr x0, [sp, 96]
cmp x0, 0
beq .L1428
mov w0, 2
b .L1429
.L1428:
mov w0, 0
.L1429:
add x3, sp, 64
add x2, sp, 56
add x7, sp, 768
mov w6, w0
mov x5, x3
ldr x4, [sp, 144]
ldr x3, [sp, 128]
mov x0, x7
bl tinfl_decompress
str w0, [sp, 48]
ldr x0, [sp, 56]
ldr x1, [sp, 88]
sub x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 56]
ldr x1, [sp, 80]
add x0, x1, x0
str x0, [sp, 80]
ldr x0, [sp, 64]
cmp x0, 0
beq .L1430
ldr x0, [sp, 64]
ldr x4, [sp, 24]
mov x3, x0
ldr x2, [sp, 144]
ldr x1, [sp, 104]
ldr x0, [sp, 16]
blr x4
mov x1, x0
ldr x0, [sp, 64]
cmp x1, x0
beq .L1431
mov w0, -1
str w0, [sp, 48]
b .L1422
.L1431:
ldr w0, [sp, 52]
ldr x1, [sp, 64]
mov x2, x1
ldr x1, [sp, 144]
bl mz_crc32
str w0, [sp, 52]
ldr x0, [sp, 64]
ldr x1, [sp, 104]
add x0, x1, x0
str x0, [sp, 104]
ldr x0, [sp, 224]
ldr x1, [sp, 104]
cmp x1, x0
bls .L1430
mov w0, -1
str w0, [sp, 48]
b .L1422
.L1430:
ldr w0, [sp, 48]
cmp w0, 1
beq .L1423
ldr w0, [sp, 48]
cmp w0, 2
beq .L1423
.L1422:
ldr w0, [sp, 48]
cmp w0, 0
bne .L1433
ldr w0, [sp, 32]
and w0, w0, 1024
cmp w0, 0
bne .L1433
ldr x0, [sp, 224]
ldr x1, [sp, 104]
cmp x1, x0
bne .L1434
ldr w0, [sp, 208]
ldr w1, [sp, 52]
cmp w1, w0
beq .L1433
.L1434:
mov w0, -1
str w0, [sp, 48]
.L1433:
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x0, [x0, 128]
cmp x0, 0
bne .L1435
ldr x0, [sp, 40]
ldr x2, [x0, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x1, [sp, 120]
blr x2
.L1435:
ldr x0, [sp, 128]
cmp x0, 0
beq .L1436
ldr x0, [sp, 40]
ldr x2, [x0, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x1, [sp, 128]
blr x2
.L1436:
ldr w0, [sp, 48]
cmp w0, 0
cset w0, eq
and w0, w0, 255
.L1437:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 11768]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1438
bl __stack_chk_fail
.L1438:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 11776
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE95:
.size mz_zip_reader_extract_to_callback, .-mz_zip_reader_extract_to_callback
.align 2
.global mz_zip_reader_extract_file_to_callback
.type mz_zip_reader_extract_file_to_callback, %function
mz_zip_reader_extract_file_to_callback:
.LFB96:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 28]
ldr w3, [sp, 28]
mov x2, 0
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl mz_zip_reader_locate_file
str w0, [sp, 76]
ldr w0, [sp, 76]
cmp w0, 0
bge .L1440
mov w0, 0
b .L1441
.L1440:
ldr w0, [sp, 76]
ldr w4, [sp, 28]
ldr x3, [sp, 32]
ldr x2, [sp, 40]
mov w1, w0
ldr x0, [sp, 56]
bl mz_zip_reader_extract_to_callback
.L1441:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE96:
.size mz_zip_reader_extract_file_to_callback, .-mz_zip_reader_extract_file_to_callback
.align 2
.type mz_zip_file_write_callback, %function
mz_zip_file_write_callback:
.LFB97:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x3, [sp, 40]
ldr x2, [sp, 16]
mov x1, 1
ldr x0, [sp, 24]
bl fwrite
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE97:
.size mz_zip_file_write_callback, .-mz_zip_file_write_callback
.section .rodata
.align 3
.LC18:
.string "wb"
.text
.align 2
.global mz_zip_reader_extract_to_file
.type mz_zip_reader_extract_to_file, %function
mz_zip_reader_extract_to_file:
.LFB98:
.cfi_startproc
sub sp, sp, #656
.cfi_def_cfa_offset 656
stp x29, x30, [sp]
.cfi_offset 29, -656
.cfi_offset 30, -648
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
str w3, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 648]
mov x1, 0
add x0, sp, 64
mov x2, x0
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl mz_zip_reader_file_stat
cmp w0, 0
bne .L1445
mov w0, 0
b .L1450
.L1445:
adrp x0, .LC18
add x1, x0, :lo12:.LC18
ldr x0, [sp, 24]
bl fopen
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L1447
mov w0, 0
b .L1450
.L1447:
ldr w4, [sp, 32]
ldr x3, [sp, 56]
adrp x0, mz_zip_file_write_callback
add x2, x0, :lo12:mz_zip_file_write_callback
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl mz_zip_reader_extract_to_callback
str w0, [sp, 52]
ldr x0, [sp, 56]
bl fclose
cmn w0, #1
bne .L1448
mov w0, 0
b .L1450
.L1448:
ldr w0, [sp, 52]
cmp w0, 0
beq .L1449
ldr x0, [sp, 80]
ldr x1, [sp, 80]
mov x2, x1
mov x1, x0
ldr x0, [sp, 24]
bl mz_zip_set_file_times
.L1449:
ldr w0, [sp, 52]
.L1450:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 648]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1451
bl __stack_chk_fail
.L1451:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 656
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE98:
.size mz_zip_reader_extract_to_file, .-mz_zip_reader_extract_to_file
.align 2
.global mz_zip_reader_end
.type mz_zip_reader_end, %function
mz_zip_reader_end:
.LFB99:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1453
ldr x0, [sp, 24]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1453
ldr x0, [sp, 24]
ldr x0, [x0, 40]
cmp x0, 0
beq .L1453
ldr x0, [sp, 24]
ldr x0, [x0, 48]
cmp x0, 0
beq .L1453
ldr x0, [sp, 24]
ldr w0, [x0, 20]
cmp w0, 1
beq .L1454
.L1453:
mov w0, 0
b .L1455
.L1454:
ldr x0, [sp, 24]
ldr x0, [x0, 104]
str x0, [sp, 40]
ldr x0, [sp, 24]
str xzr, [x0, 104]
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [sp, 80]
str x0, [sp, 88]
ldr x0, [sp, 80]
ldr x2, [x0, 48]
ldr x0, [sp, 80]
ldr x3, [x0, 64]
ldr x0, [sp, 88]
ldr x0, [x0]
mov x1, x0
mov x0, x3
blr x2
mov x2, 32
mov w1, 0
ldr x0, [sp, 88]
bl memset
nop
ldr x0, [sp, 40]
add x0, x0, 32
ldr x1, [sp, 24]
str x1, [sp, 64]
str x0, [sp, 72]
ldr x0, [sp, 64]
ldr x2, [x0, 48]
ldr x0, [sp, 64]
ldr x3, [x0, 64]
ldr x0, [sp, 72]
ldr x0, [x0]
mov x1, x0
mov x0, x3
blr x2
mov x2, 32
mov w1, 0
ldr x0, [sp, 72]
bl memset
nop
ldr x0, [sp, 40]
add x0, x0, 64
ldr x1, [sp, 24]
str x1, [sp, 48]
str x0, [sp, 56]
ldr x0, [sp, 48]
ldr x2, [x0, 48]
ldr x0, [sp, 48]
ldr x3, [x0, 64]
ldr x0, [sp, 56]
ldr x0, [x0]
mov x1, x0
mov x0, x3
blr x2
mov x2, 32
mov w1, 0
ldr x0, [sp, 56]
bl memset
nop
ldr x0, [sp, 40]
ldr x0, [x0, 112]
cmp x0, 0
beq .L1456
ldr x0, [sp, 40]
ldr x0, [x0, 112]
bl fclose
ldr x0, [sp, 40]
str xzr, [x0, 112]
.L1456:
ldr x0, [sp, 24]
ldr x2, [x0, 48]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
ldr x1, [sp, 40]
blr x2
ldr x0, [sp, 24]
str wzr, [x0, 20]
mov w0, 1
.L1455:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE99:
.size mz_zip_reader_end, .-mz_zip_reader_end
.align 2
.global mz_zip_reader_extract_file_to_file
.type mz_zip_reader_extract_file_to_file, %function
mz_zip_reader_extract_file_to_file:
.LFB100:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
ldr w3, [sp, 20]
mov x2, 0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl mz_zip_reader_locate_file
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L1458
mov w0, 0
b .L1459
.L1458:
ldr w0, [sp, 60]
ldr w3, [sp, 20]
ldr x2, [sp, 24]
mov w1, w0
ldr x0, [sp, 40]
bl mz_zip_reader_extract_to_file
.L1459:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE100:
.size mz_zip_reader_extract_file_to_file, .-mz_zip_reader_extract_file_to_file
.align 2
.type mz_write_le16, %function
mz_write_le16:
.LFB101:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
strh w1, [sp, 6]
ldrh w0, [sp, 6]
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0]
ldrh w0, [sp, 6]
lsr w0, w0, 8
and w1, w0, 65535
ldr x0, [sp, 8]
add x0, x0, 1
and w1, w1, 255
strb w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE101:
.size mz_write_le16, .-mz_write_le16
.align 2
.type mz_write_le32, %function
mz_write_le32:
.LFB102:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr w0, [sp, 4]
and w1, w0, 255
ldr x0, [sp, 8]
strb w1, [x0]
ldr w0, [sp, 4]
lsr w1, w0, 8
ldr x0, [sp, 8]
add x0, x0, 1
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 4]
lsr w1, w0, 16
ldr x0, [sp, 8]
add x0, x0, 2
and w1, w1, 255
strb w1, [x0]
ldr w0, [sp, 4]
lsr w1, w0, 24
ldr x0, [sp, 8]
add x0, x0, 3
and w1, w1, 255
strb w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE102:
.size mz_write_le32, .-mz_write_le32
.align 2
.global mz_zip_writer_init
.type mz_zip_writer_init, %function
mz_zip_writer_init:
.LFB103:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1463
ldr x0, [sp, 24]
ldr x0, [x0, 104]
cmp x0, 0
bne .L1463
ldr x0, [sp, 24]
ldr x0, [x0, 80]
cmp x0, 0
beq .L1463
ldr x0, [sp, 24]
ldr w0, [x0, 20]
cmp w0, 0
beq .L1464
.L1463:
mov w0, 0
b .L1465
.L1464:
ldr x0, [sp, 24]
ldr x0, [x0, 32]
cmp x0, 0
beq .L1466
ldr x0, [sp, 24]
ldr x1, [x0, 32]
ldr x0, [sp, 24]
ldr x0, [x0, 32]
sub x0, x0, #1
and x0, x1, x0
cmp x0, 0
beq .L1466
mov w0, 0
b .L1465
.L1466:
ldr x0, [sp, 24]
ldr x0, [x0, 40]
cmp x0, 0
bne .L1467
ldr x0, [sp, 24]
adrp x1, def_alloc_func
add x1, x1, :lo12:def_alloc_func
str x1, [x0, 40]
.L1467:
ldr x0, [sp, 24]
ldr x0, [x0, 48]
cmp x0, 0
bne .L1468
ldr x0, [sp, 24]
adrp x1, def_free_func
add x1, x1, :lo12:def_free_func
str x1, [x0, 48]
.L1468:
ldr x0, [sp, 24]
ldr x0, [x0, 56]
cmp x0, 0
bne .L1469
ldr x0, [sp, 24]
adrp x1, def_realloc_func
add x1, x1, :lo12:def_realloc_func
str x1, [x0, 56]
.L1469:
ldr x0, [sp, 24]
mov w1, 2
str w1, [x0, 20]
ldr x0, [sp, 24]
ldr x1, [sp, 16]
str x1, [x0]
ldr x0, [sp, 24]
str xzr, [x0, 8]
ldr x0, [sp, 24]
str wzr, [x0, 16]
ldr x0, [sp, 24]
ldr x3, [x0, 40]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
mov x2, 152
mov x1, 1
blr x3
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 104]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
cmp x0, 0
bne .L1470
mov w0, 0
b .L1465
.L1470:
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov x2, 152
mov w1, 0
bl memset
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov w1, 1
str w1, [x0, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov w1, 4
str w1, [x0, 56]
ldr x0, [sp, 24]
ldr x0, [x0, 104]
mov w1, 4
str w1, [x0, 88]
mov w0, 1
.L1465:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE103:
.size mz_zip_writer_init, .-mz_zip_writer_init
.align 2
.type mz_zip_heap_write_func, %function
mz_zip_heap_write_func:
.LFB104:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x0, [sp, 40]
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr x0, [x0, 104]
str x0, [sp, 72]
ldr x0, [sp, 72]
ldr x1, [x0, 136]
ldr x2, [sp, 32]
ldr x0, [sp, 16]
add x0, x2, x0
cmp x1, x0
csel x0, x1, x0, cs
str x0, [sp, 80]
ldr x0, [sp, 16]
cmp x0, 0
bne .L1472
mov x0, 0
b .L1473
.L1472:
ldr x0, [sp, 72]
ldr x0, [x0, 144]
ldr x1, [sp, 80]
cmp x1, x0
bls .L1474
ldr x0, [sp, 72]
ldr x0, [x0, 144]
mov x1, 64
cmp x0, 64
csel x0, x0, x1, cs
str x0, [sp, 56]
b .L1475
.L1476:
ldr x0, [sp, 56]
lsl x0, x0, 1
str x0, [sp, 56]
.L1475:
ldr x1, [sp, 56]
ldr x0, [sp, 80]
cmp x1, x0
bcc .L1476
ldr x0, [sp, 64]
ldr x4, [x0, 56]
ldr x0, [sp, 64]
ldr x5, [x0, 64]
ldr x0, [sp, 72]
ldr x0, [x0, 128]
ldr x3, [sp, 56]
mov x2, 1
mov x1, x0
mov x0, x5
blr x4
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L1477
mov x0, 0
b .L1473
.L1477:
ldr x0, [sp, 72]
ldr x1, [sp, 88]
str x1, [x0, 128]
ldr x0, [sp, 72]
ldr x1, [sp, 56]
str x1, [x0, 144]
.L1474:
ldr x0, [sp, 72]
ldr x1, [x0, 128]
ldr x0, [sp, 32]
add x0, x1, x0
ldr x2, [sp, 16]
ldr x1, [sp, 24]
bl memcpy
ldr x0, [sp, 72]
ldr x1, [sp, 80]
str x1, [x0, 136]
ldr x0, [sp, 16]
.L1473:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE104:
.size mz_zip_heap_write_func, .-mz_zip_heap_write_func
.align 2
.global mz_zip_writer_init_heap
.type mz_zip_writer_init_heap, %function
mz_zip_writer_init_heap:
.LFB105:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 40]
ldr x0, [sp, 56]
adrp x1, mz_zip_heap_write_func
add x1, x1, :lo12:mz_zip_heap_write_func
str x1, [x0, 80]
ldr x0, [sp, 56]
ldr x1, [sp, 56]
str x1, [x0, 96]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl mz_zip_writer_init
cmp w0, 0
bne .L1479
mov w0, 0
b .L1480
.L1479:
ldr x0, [sp, 40]
ldr x2, [sp, 48]
ldr x1, [sp, 48]
cmp x2, x0
csel x0, x1, x0, cs
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1481
ldr x0, [sp, 56]
ldr x3, [x0, 40]
ldr x0, [sp, 56]
ldr x4, [x0, 64]
ldr x0, [sp, 56]
ldr x19, [x0, 104]
ldr x2, [sp, 40]
mov x1, 1
mov x0, x4
blr x3
str x0, [x19, 128]
ldr x0, [x19, 128]
cmp x0, 0
bne .L1482
ldr x0, [sp, 56]
bl mz_zip_writer_end
mov w0, 0
b .L1480
.L1482:
ldr x0, [sp, 56]
ldr x0, [x0, 104]
ldr x1, [sp, 40]
str x1, [x0, 144]
.L1481:
mov w0, 1
.L1480:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE105:
.size mz_zip_writer_init_heap, .-mz_zip_writer_init_heap
.align 2
.type mz_zip_file_write_func, %function
mz_zip_file_write_func:
.LFB106:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x0, [sp, 40]
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr x0, [x0, 104]
ldr x0, [x0, 112]
bl ftello
str x0, [sp, 56]
ldr x0, [sp, 32]
cmp x0, 0
blt .L1484
ldr x0, [sp, 32]
ldr x1, [sp, 56]
cmp x1, x0
beq .L1485
ldr x0, [sp, 48]
ldr x0, [x0, 104]
ldr x0, [x0, 112]
ldr x1, [sp, 32]
mov w2, 0
bl fseeko
cmp w0, 0
beq .L1485
.L1484:
mov x0, 0
b .L1486
.L1485:
ldr x0, [sp, 48]
ldr x0, [x0, 104]
ldr x0, [x0, 112]
mov x3, x0
ldr x2, [sp, 16]
mov x1, 1
ldr x0, [sp, 24]
bl fwrite
.L1486:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE106:
.size mz_zip_file_write_func, .-mz_zip_file_write_func
.align 2
.global mz_zip_writer_init_file
.type mz_zip_writer_init_file, %function
mz_zip_writer_init_file:
.LFB107:
.cfi_startproc
mov x12, 4176
sub sp, sp, x12
.cfi_def_cfa_offset 4176
stp x29, x30, [sp]
.cfi_offset 29, -4176
.cfi_offset 30, -4168
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 4168]
mov x1, 0
ldr x0, [sp, 40]
adrp x1, mz_zip_file_write_func
add x1, x1, :lo12:mz_zip_file_write_func
str x1, [x0, 80]
ldr x0, [sp, 40]
ldr x1, [sp, 40]
str x1, [x0, 96]
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl mz_zip_writer_init
cmp w0, 0
bne .L1488
mov w0, 0
b .L1489
.L1488:
adrp x0, .LC18
add x1, x0, :lo12:.LC18
ldr x0, [sp, 32]
bl fopen
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L1490
ldr x0, [sp, 40]
bl mz_zip_writer_end
mov w0, 0
b .L1489
.L1490:
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [sp, 56]
str x1, [x0, 112]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1491
str xzr, [sp, 48]
add x0, sp, 72
mov x2, 4096
mov w1, 0
bl memset
.L1493:
ldr x2, [sp, 24]
ldr x1, [sp, 24]
mov x0, 4096
cmp x2, 4096
csel x0, x1, x0, ls
str x0, [sp, 64]
ldr x0, [sp, 40]
ldr x4, [x0, 80]
ldr x0, [sp, 40]
ldr x0, [x0, 96]
add x1, sp, 72
ldr x3, [sp, 64]
mov x2, x1
ldr x1, [sp, 48]
blr x4
mov x1, x0
ldr x0, [sp, 64]
cmp x0, x1
beq .L1492
ldr x0, [sp, 40]
bl mz_zip_writer_end
mov w0, 0
b .L1489
.L1492:
ldr x1, [sp, 48]
ldr x0, [sp, 64]
add x0, x1, x0
str x0, [sp, 48]
ldr x1, [sp, 24]
ldr x0, [sp, 64]
sub x0, x1, x0
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L1493
.L1491:
mov w0, 1
.L1489:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 4168]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1494
bl __stack_chk_fail
.L1494:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 4176
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE107:
.size mz_zip_writer_init_file, .-mz_zip_writer_init_file
.section .rodata
.align 3
.LC19:
.string "r+b"
.text
.align 2
.global mz_zip_writer_init_from_reader
.type mz_zip_writer_init_from_reader, %function
mz_zip_writer_init_from_reader:
.LFB108:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1496
ldr x0, [sp, 24]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1496
ldr x0, [sp, 24]
ldr w0, [x0, 20]
cmp w0, 1
beq .L1497
.L1496:
mov w0, 0
b .L1498
.L1497:
ldr x0, [sp, 24]
ldr w1, [x0, 16]
mov w0, 65535
cmp w1, w0
beq .L1499
ldr x0, [sp, 24]
ldr x0, [x0]
add x1, x0, 76
mov x0, 4294967295
cmp x1, x0
bls .L1500
.L1499:
mov w0, 0
b .L1498
.L1500:
ldr x0, [sp, 24]
ldr x0, [x0, 104]
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr x0, [x0, 112]
cmp x0, 0
beq .L1501
ldr x0, [sp, 24]
ldr x0, [x0, 96]
ldr x1, [sp, 24]
cmp x1, x0
beq .L1502
mov w0, 0
b .L1498
.L1502:
ldr x0, [sp, 16]
cmp x0, 0
bne .L1503
mov w0, 0
b .L1498
.L1503:
ldr x0, [sp, 24]
adrp x1, mz_zip_file_write_func
add x1, x1, :lo12:mz_zip_file_write_func
str x1, [x0, 80]
ldr x0, [sp, 40]
ldr x0, [x0, 112]
mov x2, x0
adrp x0, .LC19
add x1, x0, :lo12:.LC19
ldr x0, [sp, 16]
bl freopen
mov x1, x0
ldr x0, [sp, 40]
str x1, [x0, 112]
ldr x0, [sp, 40]
ldr x0, [x0, 112]
cmp x0, 0
bne .L1504
ldr x0, [sp, 24]
bl mz_zip_reader_end
mov w0, 0
b .L1498
.L1501:
ldr x0, [sp, 40]
ldr x0, [x0, 128]
cmp x0, 0
beq .L1505
ldr x0, [sp, 24]
ldr x0, [x0, 96]
ldr x1, [sp, 24]
cmp x1, x0
beq .L1506
mov w0, 0
b .L1498
.L1506:
ldr x0, [sp, 40]
ldr x1, [x0, 136]
ldr x0, [sp, 40]
str x1, [x0, 144]
ldr x0, [sp, 24]
adrp x1, mz_zip_heap_write_func
add x1, x1, :lo12:mz_zip_heap_write_func
str x1, [x0, 80]
b .L1504
.L1505:
ldr x0, [sp, 24]
ldr x0, [x0, 80]
cmp x0, 0
bne .L1504
mov w0, 0
b .L1498
.L1504:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
mov w1, 2
str w1, [x0, 20]
ldr x0, [sp, 24]
str xzr, [x0, 8]
mov w0, 1
.L1498:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE108:
.size mz_zip_writer_init_from_reader, .-mz_zip_writer_init_from_reader
.align 2
.global mz_zip_writer_add_mem
.type mz_zip_writer_add_mem, %function
mz_zip_writer_add_mem:
.LFB109:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, 16]
.cfi_offset 29, -64
.cfi_offset 30, -56
add x29, sp, 16
str x0, [sp, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str x3, [sp, 48]
str w4, [sp, 44]
str wzr, [sp]
mov x7, 0
ldr w6, [sp, 44]
mov w5, 0
mov x4, 0
ldr x3, [sp, 48]
ldr x2, [sp, 56]
ldr x1, [sp, 64]
ldr x0, [sp, 72]
bl mz_zip_writer_add_mem_ex
ldp x29, x30, [sp, 16]
add sp, sp, 80
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE109:
.size mz_zip_writer_add_mem, .-mz_zip_writer_add_mem
.align 2
.type mz_zip_writer_add_put_buf_callback, %function
mz_zip_writer_add_put_buf_callback:
.LFB110:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str x2, [sp, 24]
ldr x0, [sp, 24]
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr x0, [x0]
ldr x4, [x0, 80]
ldr x0, [sp, 56]
ldr x0, [x0]
ldr x5, [x0, 96]
ldr x0, [sp, 56]
ldr x0, [x0, 8]
ldrsw x1, [sp, 36]
mov x3, x1
ldr x2, [sp, 40]
mov x1, x0
mov x0, x5
blr x4
mov w1, w0
ldr w0, [sp, 36]
cmp w0, w1
beq .L1510
mov w0, 0
b .L1511
.L1510:
ldr x0, [sp, 56]
ldr x1, [x0, 8]
ldrsw x0, [sp, 36]
add x1, x1, x0
ldr x0, [sp, 56]
str x1, [x0, 8]
ldr x0, [sp, 56]
ldr x1, [x0, 16]
ldrsw x0, [sp, 36]
add x1, x1, x0
ldr x0, [sp, 56]
str x1, [x0, 16]
mov w0, 1
.L1511:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE110:
.size mz_zip_writer_add_put_buf_callback, .-mz_zip_writer_add_put_buf_callback
.align 2
.type mz_zip_writer_create_local_dir_header, %function
mz_zip_writer_create_local_dir_header:
.LFB111:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
strh w2, [sp, 46]
strh w3, [sp, 44]
str x4, [sp, 32]
str x5, [sp, 24]
str w6, [sp, 40]
strh w7, [sp, 22]
mov x2, 30
mov w1, 0
ldr x0, [sp, 48]
bl memset
mov w1, 19280
movk w1, 0x403, lsl 16
ldr x0, [sp, 48]
bl mz_write_le32
ldr x0, [sp, 48]
add x2, x0, 4
ldrh w0, [sp, 22]
cmp w0, 0
beq .L1513
mov w0, 20
b .L1514
.L1513:
mov w0, 0
.L1514:
mov w1, w0
mov x0, x2
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 6
ldrh w1, [sp, 64]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 8
ldrh w1, [sp, 22]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 10
ldrh w1, [sp, 72]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 12
ldrh w1, [sp, 80]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 14
ldr w1, [sp, 40]
bl mz_write_le32
ldr x0, [sp, 48]
add x0, x0, 18
ldr x1, [sp, 24]
bl mz_write_le32
ldr x0, [sp, 48]
add x0, x0, 22
ldr x1, [sp, 32]
bl mz_write_le32
ldr x0, [sp, 48]
add x0, x0, 26
ldrh w1, [sp, 46]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 28
ldrh w1, [sp, 44]
bl mz_write_le16
mov w0, 1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE111:
.size mz_zip_writer_create_local_dir_header, .-mz_zip_writer_create_local_dir_header
.align 2
.type mz_zip_writer_create_central_dir_header, %function
mz_zip_writer_create_central_dir_header:
.LFB112:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
strh w2, [sp, 46]
strh w3, [sp, 44]
strh w4, [sp, 42]
str x5, [sp, 32]
str x6, [sp, 24]
str w7, [sp, 20]
mov w0, 91
strh w0, [sp, 78]
ldrh w0, [sp, 78]
orr w0, w0, 768
strh w0, [sp, 78]
mov x2, 46
mov w1, 0
ldr x0, [sp, 48]
bl memset
mov w1, 19280
movk w1, 0x201, lsl 16
ldr x0, [sp, 48]
bl mz_write_le32
ldr x0, [sp, 48]
add x0, x0, 4
ldrh w1, [sp, 78]
bl mz_write_le16
ldr x0, [sp, 48]
add x2, x0, 6
ldrh w0, [sp, 80]
cmp w0, 0
beq .L1517
mov w0, 20
b .L1518
.L1517:
mov w0, 0
.L1518:
mov w1, w0
mov x0, x2
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 8
ldrh w1, [sp, 88]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 10
ldrh w1, [sp, 80]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 12
ldrh w1, [sp, 96]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 14
ldrh w1, [sp, 104]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 16
ldr w1, [sp, 20]
bl mz_write_le32
ldr x0, [sp, 48]
add x0, x0, 20
ldr x1, [sp, 24]
bl mz_write_le32
ldr x0, [sp, 48]
add x0, x0, 24
ldr x1, [sp, 32]
bl mz_write_le32
ldr x0, [sp, 48]
add x0, x0, 28
ldrh w1, [sp, 46]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 30
ldrh w1, [sp, 44]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 32
ldrh w1, [sp, 42]
bl mz_write_le16
ldr x0, [sp, 48]
add x0, x0, 38
ldr w1, [sp, 120]
bl mz_write_le32
ldr x0, [sp, 48]
add x0, x0, 42
ldr x1, [sp, 112]
bl mz_write_le32
mov w0, 1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE112:
.size mz_zip_writer_create_central_dir_header, .-mz_zip_writer_create_central_dir_header
.align 2
.type mz_zip_writer_add_to_central_dir, %function
mz_zip_writer_add_to_central_dir:
.LFB113:
.cfi_startproc
sub sp, sp, #560
.cfi_def_cfa_offset 560
stp x29, x30, [sp, 48]
.cfi_offset 29, -512
.cfi_offset 30, -504
add x29, sp, 48
str x0, [sp, 104]
str x1, [sp, 96]
strh w2, [sp, 94]
str x3, [sp, 80]
strh w4, [sp, 92]
str x5, [sp, 72]
strh w6, [sp, 90]
str x7, [sp, 64]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 552]
mov x1, 0
ldr x0, [sp, 104]
ldr x0, [x0, 104]
str x0, [sp, 144]
ldr x0, [sp, 144]
ldr x0, [x0, 8]
str w0, [sp, 116]
ldr x0, [sp, 144]
ldr x0, [x0, 8]
str x0, [sp, 152]
ldr x1, [sp, 608]
mov x0, 4294967295
cmp x1, x0
bhi .L1521
ldr x0, [sp, 144]
ldr x1, [x0, 8]
ldrh w0, [sp, 94]
add x1, x1, x0
ldrh w0, [sp, 92]
add x1, x1, x0
ldrh w0, [sp, 90]
add x0, x1, x0
add x1, x0, 46
mov x0, 4294967295
cmp x1, x0
bls .L1522
.L1521:
mov w0, 0
b .L1559
.L1522:
add x1, sp, 504
ldr w0, [sp, 616]
str w0, [sp, 40]
ldr x0, [sp, 608]
str x0, [sp, 32]
ldrh w0, [sp, 600]
strh w0, [sp, 24]
ldrh w0, [sp, 592]
strh w0, [sp, 16]
ldrh w0, [sp, 584]
strh w0, [sp, 8]
ldrh w0, [sp, 576]
strh w0, [sp]
ldr w7, [sp, 568]
ldr x6, [sp, 560]
ldr x5, [sp, 64]
ldrh w4, [sp, 90]
ldrh w3, [sp, 92]
ldrh w2, [sp, 94]
ldr x0, [sp, 104]
bl mz_zip_writer_create_central_dir_header
cmp w0, 0
bne .L1524
mov w0, 0
b .L1559
.L1524:
ldr x0, [sp, 144]
ldr x1, [sp, 104]
str x1, [sp, 160]
str x0, [sp, 168]
add x0, sp, 504
str x0, [sp, 176]
mov x0, 46
str x0, [sp, 184]
ldr x0, [sp, 184]
cmp x0, 0
bne .L1525
mov w0, 1
b .L1526
.L1525:
ldr x0, [sp, 176]
cmp x0, 0
bne .L1527
mov w0, 0
b .L1526
.L1527:
ldr x0, [sp, 168]
ldr x0, [x0, 8]
str x0, [sp, 192]
ldr x1, [sp, 184]
ldr x0, [sp, 192]
add x0, x1, x0
ldr x1, [sp, 160]
str x1, [sp, 200]
ldr x1, [sp, 168]
str x1, [sp, 208]
str x0, [sp, 216]
mov w0, 1
str w0, [sp, 120]
ldr x0, [sp, 208]
ldr x0, [x0, 16]
ldr x1, [sp, 216]
cmp x1, x0
bls .L1528
ldr w3, [sp, 120]
ldr x2, [sp, 216]
ldr x1, [sp, 208]
ldr x0, [sp, 200]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1528
mov w0, 0
b .L1529
.L1528:
ldr x0, [sp, 208]
ldr x1, [sp, 216]
str x1, [x0, 8]
mov w0, 1
.L1529:
cmp w0, 0
bne .L1530
mov w0, 0
b .L1526
.L1530:
ldr x0, [sp, 168]
ldr x1, [x0]
ldr x0, [sp, 168]
ldr w0, [x0, 24]
uxtw x2, w0
ldr x0, [sp, 192]
mul x0, x2, x0
add x3, x1, x0
ldr x0, [sp, 168]
ldr w0, [x0, 24]
uxtw x1, w0
ldr x0, [sp, 184]
mul x0, x1, x0
mov x2, x0
ldr x1, [sp, 176]
mov x0, x3
bl memcpy
mov w0, 1
.L1526:
cmp w0, 0
beq .L1531
ldr x1, [sp, 144]
ldrh w0, [sp, 94]
ldr x2, [sp, 104]
str x2, [sp, 224]
str x1, [sp, 232]
ldr x1, [sp, 96]
str x1, [sp, 240]
str x0, [sp, 248]
ldr x0, [sp, 248]
cmp x0, 0
bne .L1532
mov w0, 1
b .L1533
.L1532:
ldr x0, [sp, 240]
cmp x0, 0
bne .L1534
mov w0, 0
b .L1533
.L1534:
ldr x0, [sp, 232]
ldr x0, [x0, 8]
str x0, [sp, 256]
ldr x1, [sp, 248]
ldr x0, [sp, 256]
add x0, x1, x0
ldr x1, [sp, 224]
str x1, [sp, 264]
ldr x1, [sp, 232]
str x1, [sp, 272]
str x0, [sp, 280]
mov w0, 1
str w0, [sp, 124]
ldr x0, [sp, 272]
ldr x0, [x0, 16]
ldr x1, [sp, 280]
cmp x1, x0
bls .L1535
ldr w3, [sp, 124]
ldr x2, [sp, 280]
ldr x1, [sp, 272]
ldr x0, [sp, 264]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1535
mov w0, 0
b .L1536
.L1535:
ldr x0, [sp, 272]
ldr x1, [sp, 280]
str x1, [x0, 8]
mov w0, 1
.L1536:
cmp w0, 0
bne .L1537
mov w0, 0
b .L1533
.L1537:
ldr x0, [sp, 232]
ldr x1, [x0]
ldr x0, [sp, 232]
ldr w0, [x0, 24]
uxtw x2, w0
ldr x0, [sp, 256]
mul x0, x2, x0
add x3, x1, x0
ldr x0, [sp, 232]
ldr w0, [x0, 24]
uxtw x1, w0
ldr x0, [sp, 248]
mul x0, x1, x0
mov x2, x0
ldr x1, [sp, 240]
mov x0, x3
bl memcpy
mov w0, 1
.L1533:
cmp w0, 0
beq .L1531
ldr x1, [sp, 144]
ldrh w0, [sp, 92]
ldr x2, [sp, 104]
str x2, [sp, 288]
str x1, [sp, 296]
ldr x1, [sp, 80]
str x1, [sp, 304]
str x0, [sp, 312]
ldr x0, [sp, 312]
cmp x0, 0
bne .L1538
mov w0, 1
b .L1539
.L1538:
ldr x0, [sp, 304]
cmp x0, 0
bne .L1540
mov w0, 0
b .L1539
.L1540:
ldr x0, [sp, 296]
ldr x0, [x0, 8]
str x0, [sp, 320]
ldr x1, [sp, 312]
ldr x0, [sp, 320]
add x0, x1, x0
ldr x1, [sp, 288]
str x1, [sp, 328]
ldr x1, [sp, 296]
str x1, [sp, 336]
str x0, [sp, 344]
mov w0, 1
str w0, [sp, 128]
ldr x0, [sp, 336]
ldr x0, [x0, 16]
ldr x1, [sp, 344]
cmp x1, x0
bls .L1541
ldr w3, [sp, 128]
ldr x2, [sp, 344]
ldr x1, [sp, 336]
ldr x0, [sp, 328]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1541
mov w0, 0
b .L1542
.L1541:
ldr x0, [sp, 336]
ldr x1, [sp, 344]
str x1, [x0, 8]
mov w0, 1
.L1542:
cmp w0, 0
bne .L1543
mov w0, 0
b .L1539
.L1543:
ldr x0, [sp, 296]
ldr x1, [x0]
ldr x0, [sp, 296]
ldr w0, [x0, 24]
uxtw x2, w0
ldr x0, [sp, 320]
mul x0, x2, x0
add x3, x1, x0
ldr x0, [sp, 296]
ldr w0, [x0, 24]
uxtw x1, w0
ldr x0, [sp, 312]
mul x0, x1, x0
mov x2, x0
ldr x1, [sp, 304]
mov x0, x3
bl memcpy
mov w0, 1
.L1539:
cmp w0, 0
beq .L1531
ldr x1, [sp, 144]
ldrh w0, [sp, 90]
ldr x2, [sp, 104]
str x2, [sp, 352]
str x1, [sp, 360]
ldr x1, [sp, 72]
str x1, [sp, 368]
str x0, [sp, 376]
ldr x0, [sp, 376]
cmp x0, 0
bne .L1544
mov w0, 1
b .L1545
.L1544:
ldr x0, [sp, 368]
cmp x0, 0
bne .L1546
mov w0, 0
b .L1545
.L1546:
ldr x0, [sp, 360]
ldr x0, [x0, 8]
str x0, [sp, 384]
ldr x1, [sp, 376]
ldr x0, [sp, 384]
add x0, x1, x0
ldr x1, [sp, 352]
str x1, [sp, 392]
ldr x1, [sp, 360]
str x1, [sp, 400]
str x0, [sp, 408]
mov w0, 1
str w0, [sp, 132]
ldr x0, [sp, 400]
ldr x0, [x0, 16]
ldr x1, [sp, 408]
cmp x1, x0
bls .L1547
ldr w3, [sp, 132]
ldr x2, [sp, 408]
ldr x1, [sp, 400]
ldr x0, [sp, 392]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1547
mov w0, 0
b .L1548
.L1547:
ldr x0, [sp, 400]
ldr x1, [sp, 408]
str x1, [x0, 8]
mov w0, 1
.L1548:
cmp w0, 0
bne .L1549
mov w0, 0
b .L1545
.L1549:
ldr x0, [sp, 360]
ldr x1, [x0]
ldr x0, [sp, 360]
ldr w0, [x0, 24]
uxtw x2, w0
ldr x0, [sp, 384]
mul x0, x2, x0
add x3, x1, x0
ldr x0, [sp, 360]
ldr w0, [x0, 24]
uxtw x1, w0
ldr x0, [sp, 376]
mul x0, x1, x0
mov x2, x0
ldr x1, [sp, 368]
mov x0, x3
bl memcpy
mov w0, 1
.L1545:
cmp w0, 0
beq .L1531
ldr x0, [sp, 144]
add x0, x0, 32
ldr x1, [sp, 104]
str x1, [sp, 416]
str x0, [sp, 424]
add x0, sp, 116
str x0, [sp, 432]
mov x0, 1
str x0, [sp, 440]
ldr x0, [sp, 440]
cmp x0, 0
bne .L1550
mov w0, 1
b .L1551
.L1550:
ldr x0, [sp, 432]
cmp x0, 0
bne .L1552
mov w0, 0
b .L1551
.L1552:
ldr x0, [sp, 424]
ldr x0, [x0, 8]
str x0, [sp, 448]
ldr x1, [sp, 440]
ldr x0, [sp, 448]
add x0, x1, x0
ldr x1, [sp, 416]
str x1, [sp, 456]
ldr x1, [sp, 424]
str x1, [sp, 464]
str x0, [sp, 472]
mov w0, 1
str w0, [sp, 136]
ldr x0, [sp, 464]
ldr x0, [x0, 16]
ldr x1, [sp, 472]
cmp x1, x0
bls .L1553
ldr w3, [sp, 136]
ldr x2, [sp, 472]
ldr x1, [sp, 464]
ldr x0, [sp, 456]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1553
mov w0, 0
b .L1554
.L1553:
ldr x0, [sp, 464]
ldr x1, [sp, 472]
str x1, [x0, 8]
mov w0, 1
.L1554:
cmp w0, 0
bne .L1555
mov w0, 0
b .L1551
.L1555:
ldr x0, [sp, 424]
ldr x1, [x0]
ldr x0, [sp, 424]
ldr w0, [x0, 24]
uxtw x2, w0
ldr x0, [sp, 448]
mul x0, x2, x0
add x3, x1, x0
ldr x0, [sp, 424]
ldr w0, [x0, 24]
uxtw x1, w0
ldr x0, [sp, 440]
mul x0, x1, x0
mov x2, x0
ldr x1, [sp, 432]
mov x0, x3
bl memcpy
mov w0, 1
.L1551:
cmp w0, 0
bne .L1556
.L1531:
ldr x0, [sp, 144]
ldr x1, [sp, 104]
str x1, [sp, 480]
str x0, [sp, 488]
ldr x0, [sp, 152]
str x0, [sp, 496]
str wzr, [sp, 140]
ldr x0, [sp, 488]
ldr x0, [x0, 16]
ldr x1, [sp, 496]
cmp x1, x0
bls .L1557
ldr w3, [sp, 140]
ldr x2, [sp, 496]
ldr x1, [sp, 488]
ldr x0, [sp, 480]
bl mz_zip_array_ensure_capacity
cmp w0, 0
beq .L1561
.L1557:
ldr x0, [sp, 488]
ldr x1, [sp, 496]
str x1, [x0, 8]
b .L1558
.L1561:
nop
.L1558:
mov w0, 0
b .L1559
.L1556:
mov w0, 1
.L1559:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 552]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1560
bl __stack_chk_fail
.L1560:
mov w0, w1
ldp x29, x30, [sp, 48]
add sp, sp, 560
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE113:
.size mz_zip_writer_add_to_central_dir, .-mz_zip_writer_add_to_central_dir
.align 2
.type mz_zip_writer_validate_archive_name, %function
mz_zip_writer_validate_archive_name:
.LFB114:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 47
bne .L1565
mov w0, 0
b .L1564
.L1568:
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 92
beq .L1566
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 58
bne .L1567
.L1566:
mov w0, 0
b .L1564
.L1567:
ldr x0, [sp, 8]
add x0, x0, 1
str x0, [sp, 8]
.L1565:
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 0
bne .L1568
mov w0, 1
.L1564:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE114:
.size mz_zip_writer_validate_archive_name, .-mz_zip_writer_validate_archive_name
.align 2
.type mz_zip_writer_compute_padding_needed_for_file_alignment, %function
mz_zip_writer_compute_padding_needed_for_file_alignment:
.LFB115:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr x0, [x0, 32]
cmp x0, 0
bne .L1570
mov w0, 0
b .L1571
.L1570:
ldr x0, [sp, 8]
ldr x0, [x0]
mov w1, w0
ldr x0, [sp, 8]
ldr x0, [x0, 32]
sub w0, w0, #1
and w0, w1, w0
str w0, [sp, 28]
ldr x0, [sp, 8]
ldr x0, [x0, 32]
mov w1, w0
ldr w0, [sp, 28]
sub w1, w1, w0
ldr x0, [sp, 8]
ldr x0, [x0, 32]
sub w0, w0, #1
and w0, w1, w0
.L1571:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE115:
.size mz_zip_writer_compute_padding_needed_for_file_alignment, .-mz_zip_writer_compute_padding_needed_for_file_alignment
.align 2
.type mz_zip_writer_write_zeros, %function
mz_zip_writer_write_zeros:
.LFB116:
.cfi_startproc
mov x12, 4160
sub sp, sp, x12
.cfi_def_cfa_offset 4160
stp x29, x30, [sp]
.cfi_offset 29, -4160
.cfi_offset 30, -4152
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 4152]
mov x1, 0
ldr w2, [sp, 28]
ldr w1, [sp, 28]
mov w0, 4096
cmp w2, 4096
csel w0, w1, w0, ls
uxtw x1, w0
add x0, sp, 56
mov x2, x1
mov w1, 0
bl memset
b .L1573
.L1576:
ldr w2, [sp, 28]
ldr w1, [sp, 28]
mov w0, 4096
cmp w2, 4096
csel w0, w1, w0, ls
str w0, [sp, 52]
ldr x0, [sp, 40]
ldr x4, [x0, 80]
ldr x0, [sp, 40]
ldr x0, [x0, 96]
ldr w2, [sp, 52]
add x1, sp, 56
mov x3, x2
mov x2, x1
ldr x1, [sp, 32]
blr x4
mov x1, x0
ldr w0, [sp, 52]
cmp x1, x0
beq .L1574
mov w0, 0
b .L1577
.L1574:
ldr w0, [sp, 52]
ldr x1, [sp, 32]
add x0, x1, x0
str x0, [sp, 32]
ldr w1, [sp, 28]
ldr w0, [sp, 52]
sub w0, w1, w0
str w0, [sp, 28]
.L1573:
ldr w0, [sp, 28]
cmp w0, 0
bne .L1576
mov w0, 1
.L1577:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 4152]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1578
bl __stack_chk_fail
.L1578:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 4160
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE116:
.size mz_zip_writer_write_zeros, .-mz_zip_writer_write_zeros
.section .rodata
.align 3
.LC20:
.string "(local_dir_header_ofs & (pZip->m_file_offset_alignment - 1)) == 0"
.text
.align 2
.global mz_zip_writer_add_mem_ex
.type mz_zip_writer_add_mem_ex, %function
mz_zip_writer_add_mem_ex:
.LFB117:
.cfi_startproc
sub sp, sp, #384
.cfi_def_cfa_offset 384
stp x29, x30, [sp, 64]
.cfi_offset 29, -320
.cfi_offset 30, -312
add x29, sp, 64
str x0, [sp, 136]
str x1, [sp, 128]
str x2, [sp, 120]
str x3, [sp, 112]
str x4, [sp, 104]
strh w5, [sp, 102]
str w6, [sp, 96]
str x7, [sp, 88]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 376]
mov x1, 0
str wzr, [sp, 152]
strh wzr, [sp, 150]
strh wzr, [sp, 146]
strh wzr, [sp, 148]
str xzr, [sp, 184]
str xzr, [sp, 192]
ldr w0, [sp, 96]
cmp w0, 0
bge .L1580
mov w0, 6
str w0, [sp, 96]
.L1580:
ldr w0, [sp, 96]
and w0, w0, 15
str w0, [sp, 156]
ldr w0, [sp, 156]
cmp w0, 0
beq .L1581
ldr w0, [sp, 96]
and w0, w0, 1024
cmp w0, 0
beq .L1582
.L1581:
mov w0, 1
b .L1583
.L1582:
mov w0, 0
.L1583:
str w0, [sp, 160]
ldr x0, [sp, 136]
cmp x0, 0
beq .L1584
ldr x0, [sp, 136]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1584
ldr x0, [sp, 136]
ldr w0, [x0, 20]
cmp w0, 2
bne .L1584
ldr x0, [sp, 112]
cmp x0, 0
beq .L1585
ldr x0, [sp, 120]
cmp x0, 0
beq .L1584
.L1585:
ldr x0, [sp, 128]
cmp x0, 0
beq .L1584
ldrh w0, [sp, 102]
cmp w0, 0
beq .L1586
ldr x0, [sp, 104]
cmp x0, 0
beq .L1584
.L1586:
ldr x0, [sp, 136]
ldr w1, [x0, 16]
mov w0, 65535
cmp w1, w0
beq .L1584
ldr w0, [sp, 156]
cmp w0, 10
bls .L1587
.L1584:
mov w0, 0
b .L1621
.L1587:
ldr x0, [sp, 136]
ldr x0, [x0]
str x0, [sp, 176]
ldr x0, [sp, 176]
str x0, [sp, 200]
ldr x0, [sp, 136]
ldr x0, [x0, 104]
str x0, [sp, 208]
ldr w0, [sp, 96]
and w0, w0, 1024
cmp w0, 0
bne .L1589
ldr x0, [sp, 88]
cmp x0, 0
beq .L1589
mov w0, 0
b .L1621
.L1589:
ldr x1, [sp, 112]
mov x0, 4294967295
cmp x1, x0
bhi .L1590
ldr x1, [sp, 88]
mov x0, 4294967295
cmp x1, x0
bls .L1591
.L1590:
mov w0, 0
b .L1621
.L1591:
ldr x0, [sp, 128]
bl mz_zip_writer_validate_archive_name
cmp w0, 0
bne .L1592
mov w0, 0
b .L1621
.L1592:
add x0, sp, 320
bl time
ldr x0, [sp, 320]
add x2, sp, 148
add x1, sp, 146
bl mz_zip_time_t_to_dos_time
ldr x0, [sp, 128]
bl strlen
str x0, [sp, 216]
ldr x1, [sp, 216]
mov x0, 65535
cmp x1, x0
bls .L1593
mov w0, 0
b .L1621
.L1593:
ldr x0, [sp, 136]
bl mz_zip_writer_compute_padding_needed_for_file_alignment
str w0, [sp, 164]
ldr x0, [sp, 136]
ldr w1, [x0, 16]
mov w0, 65535
cmp w1, w0
beq .L1594
ldr x0, [sp, 136]
ldr x1, [x0]
ldr w0, [sp, 164]
add x1, x1, x0
ldrh w0, [sp, 102]
add x1, x1, x0
ldr x0, [sp, 216]
add x0, x1, x0
add x1, x0, 76
mov x0, 4294967295
cmp x1, x0
bls .L1595
.L1594:
mov w0, 0
b .L1621
.L1595:
ldr x0, [sp, 216]
cmp x0, 0
beq .L1596
ldr x0, [sp, 216]
sub x0, x0, #1
ldr x1, [sp, 128]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bne .L1596
ldr w0, [sp, 152]
orr w0, w0, 16
str w0, [sp, 152]
ldr x0, [sp, 112]
cmp x0, 0
bne .L1597
ldr x0, [sp, 88]
cmp x0, 0
beq .L1596
.L1597:
mov w0, 0
b .L1621
.L1596:
ldr x1, [sp, 208]
ldrh w2, [sp, 102]
ldr x0, [sp, 216]
add x0, x2, x0
add x0, x0, 46
ldr x2, [sp, 136]
str x2, [sp, 224]
str x1, [sp, 232]
str x0, [sp, 240]
ldr x0, [sp, 232]
ldr x1, [x0, 8]
ldr x0, [sp, 240]
add x0, x1, x0
ldr x1, [sp, 224]
str x1, [sp, 248]
ldr x1, [sp, 232]
str x1, [sp, 256]
str x0, [sp, 264]
mov w0, 1
str w0, [sp, 168]
ldr x0, [sp, 256]
ldr x0, [x0, 16]
ldr x1, [sp, 264]
cmp x1, x0
bls .L1598
ldr w3, [sp, 168]
ldr x2, [sp, 264]
ldr x1, [sp, 256]
ldr x0, [sp, 248]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1598
mov w0, 0
b .L1599
.L1598:
mov w0, 1
.L1599:
nop
cmp w0, 0
beq .L1601
ldr x0, [sp, 208]
add x0, x0, 32
ldr x1, [sp, 136]
str x1, [sp, 272]
str x0, [sp, 280]
mov x0, 1
str x0, [sp, 288]
ldr x0, [sp, 280]
ldr x1, [x0, 8]
ldr x0, [sp, 288]
add x0, x1, x0
ldr x1, [sp, 272]
str x1, [sp, 296]
ldr x1, [sp, 280]
str x1, [sp, 304]
str x0, [sp, 312]
mov w0, 1
str w0, [sp, 172]
ldr x0, [sp, 304]
ldr x0, [x0, 16]
ldr x1, [sp, 312]
cmp x1, x0
bls .L1602
ldr w3, [sp, 172]
ldr x2, [sp, 312]
ldr x1, [sp, 304]
ldr x0, [sp, 296]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1602
mov w0, 0
b .L1603
.L1602:
mov w0, 1
.L1603:
nop
cmp w0, 0
bne .L1605
.L1601:
mov w0, 0
b .L1621
.L1605:
ldr w0, [sp, 160]
cmp w0, 0
bne .L1606
ldr x0, [sp, 112]
cmp x0, 0
beq .L1606
ldr x0, [sp, 136]
ldr x3, [x0, 40]
ldr x0, [sp, 136]
ldr x0, [x0, 64]
mov x2, 57208
movk x2, 0x4, lsl 16
mov x1, 1
blr x3
str x0, [sp, 192]
ldr x0, [sp, 192]
cmp x0, 0
bne .L1606
mov w0, 0
b .L1621
.L1606:
ldr w0, [sp, 164]
add w0, w0, 30
mov w2, w0
ldr x1, [sp, 176]
ldr x0, [sp, 136]
bl mz_zip_writer_write_zeros
cmp w0, 0
bne .L1607
ldr x0, [sp, 136]
ldr x2, [x0, 48]
ldr x0, [sp, 136]
ldr x0, [x0, 64]
ldr x1, [sp, 192]
blr x2
mov w0, 0
b .L1621
.L1607:
ldr w0, [sp, 164]
ldr x1, [sp, 200]
add x0, x1, x0
str x0, [sp, 200]
ldr x0, [sp, 136]
ldr x0, [x0, 32]
cmp x0, 0
beq .L1608
ldr x0, [sp, 136]
ldr x0, [x0, 32]
sub x1, x0, #1
ldr x0, [sp, 200]
and x0, x1, x0
cmp x0, 0
beq .L1608
adrp x0, __PRETTY_FUNCTION__.2
add x3, x0, :lo12:__PRETTY_FUNCTION__.2
mov w2, 6214
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl __assert_fail
.L1608:
ldr w1, [sp, 164]
ldr x0, [sp, 176]
add x0, x1, x0
add x0, x0, 30
str x0, [sp, 176]
add x0, sp, 344
mov x2, 30
mov w1, 0
bl memset
ldr x0, [sp, 136]
ldr x4, [x0, 80]
ldr x0, [sp, 136]
ldr x0, [x0, 96]
ldr x3, [sp, 216]
ldr x2, [sp, 128]
ldr x1, [sp, 176]
blr x4
mov x1, x0
ldr x0, [sp, 216]
cmp x0, x1
beq .L1609
ldr x0, [sp, 136]
ldr x2, [x0, 48]
ldr x0, [sp, 136]
ldr x0, [x0, 64]
ldr x1, [sp, 192]
blr x2
mov w0, 0
b .L1621
.L1609:
ldr x1, [sp, 176]
ldr x0, [sp, 216]
add x0, x1, x0
str x0, [sp, 176]
ldr w0, [sp, 96]
and w0, w0, 1024
cmp w0, 0
bne .L1610
ldr x2, [sp, 112]
ldr x1, [sp, 120]
mov x0, 0
bl mz_crc32
str w0, [sp, 384]
ldr x0, [sp, 112]
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 3
bhi .L1610
str wzr, [sp, 156]
mov w0, 1
str w0, [sp, 160]
.L1610:
ldr w0, [sp, 160]
cmp w0, 0
beq .L1611
ldr x0, [sp, 136]
ldr x4, [x0, 80]
ldr x0, [sp, 136]
ldr x0, [x0, 96]
ldr x3, [sp, 112]
ldr x2, [sp, 120]
ldr x1, [sp, 176]
blr x4
mov x1, x0
ldr x0, [sp, 112]
cmp x0, x1
beq .L1612
ldr x0, [sp, 136]
ldr x2, [x0, 48]
ldr x0, [sp, 136]
ldr x0, [x0, 64]
ldr x1, [sp, 192]
blr x2
mov w0, 0
b .L1621
.L1612:
ldr x1, [sp, 176]
ldr x0, [sp, 112]
add x0, x1, x0
str x0, [sp, 176]
ldr x0, [sp, 112]
str x0, [sp, 184]
ldr w0, [sp, 96]
and w0, w0, 1024
cmp w0, 0
beq .L1613
mov w0, 8
strh w0, [sp, 150]
b .L1613
.L1611:
ldr x0, [sp, 112]
cmp x0, 0
beq .L1613
ldr x0, [sp, 136]
str x0, [sp, 320]
ldr x0, [sp, 176]
str x0, [sp, 328]
str xzr, [sp, 336]
ldr w0, [sp, 156]
mov w2, 0
mov w1, -15
bl tdefl_create_comp_flags_from_zip_params
mov w1, w0
add x0, sp, 320
mov w3, w1
mov x2, x0
adrp x0, mz_zip_writer_add_put_buf_callback
add x1, x0, :lo12:mz_zip_writer_add_put_buf_callback
ldr x0, [sp, 192]
bl tdefl_init
cmp w0, 0
bne .L1614
mov w3, 4
ldr x2, [sp, 112]
ldr x1, [sp, 120]
ldr x0, [sp, 192]
bl tdefl_compress_buffer
cmp w0, 1
beq .L1615
.L1614:
ldr x0, [sp, 136]
ldr x2, [x0, 48]
ldr x0, [sp, 136]
ldr x0, [x0, 64]
ldr x1, [sp, 192]
blr x2
mov w0, 0
b .L1621
.L1615:
ldr x0, [sp, 336]
str x0, [sp, 184]
ldr x0, [sp, 328]
str x0, [sp, 176]
mov w0, 8
strh w0, [sp, 150]
.L1613:
ldr x0, [sp, 136]
ldr x2, [x0, 48]
ldr x0, [sp, 136]
ldr x0, [x0, 64]
ldr x1, [sp, 192]
blr x2
str xzr, [sp, 192]
ldr x1, [sp, 184]
mov x0, 4294967295
cmp x1, x0
bhi .L1616
ldr x1, [sp, 176]
mov x0, 4294967295
cmp x1, x0
bls .L1617
.L1616:
mov w0, 0
b .L1621
.L1617:
ldr x0, [sp, 216]
and w1, w0, 65535
ldrh w2, [sp, 146]
ldrh w3, [sp, 148]
add x0, sp, 344
strh w3, [sp, 16]
strh w2, [sp, 8]
strh wzr, [sp]
ldrh w7, [sp, 150]
ldr w6, [sp, 384]
ldr x5, [sp, 184]
ldr x4, [sp, 88]
mov w3, 0
mov w2, w1
mov x1, x0
ldr x0, [sp, 136]
bl mz_zip_writer_create_local_dir_header
cmp w0, 0
bne .L1618
mov w0, 0
b .L1621
.L1618:
ldr x0, [sp, 136]
ldr x4, [x0, 80]
ldr x0, [sp, 136]
ldr x0, [x0, 96]
add x1, sp, 344
mov x3, 30
mov x2, x1
ldr x1, [sp, 200]
blr x4
cmp x0, 30
beq .L1619
mov w0, 0
b .L1621
.L1619:
ldr x0, [sp, 216]
and w1, w0, 65535
ldrh w2, [sp, 146]
ldrh w3, [sp, 148]
ldr w0, [sp, 152]
str w0, [sp, 56]
ldr x0, [sp, 200]
str x0, [sp, 48]
mov w0, w3
strh w0, [sp, 40]
mov w0, w2
strh w0, [sp, 32]
strh wzr, [sp, 24]
ldrh w0, [sp, 150]
strh w0, [sp, 16]
ldr w0, [sp, 384]
str w0, [sp, 8]
ldr x0, [sp, 184]
str x0, [sp]
ldr x7, [sp, 88]
ldrh w6, [sp, 102]
ldr x5, [sp, 104]
mov w4, 0
mov x3, 0
mov w2, w1
ldr x1, [sp, 128]
ldr x0, [sp, 136]
bl mz_zip_writer_add_to_central_dir
cmp w0, 0
bne .L1620
mov w0, 0
b .L1621
.L1620:
ldr x0, [sp, 136]
ldr w0, [x0, 16]
add w1, w0, 1
ldr x0, [sp, 136]
str w1, [x0, 16]
ldr x0, [sp, 136]
ldr x1, [sp, 176]
str x1, [x0]
mov w0, 1
.L1621:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 376]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1622
bl __stack_chk_fail
.L1622:
mov w0, w1
ldp x29, x30, [sp, 64]
add sp, sp, 384
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE117:
.size mz_zip_writer_add_mem_ex, .-mz_zip_writer_add_mem_ex
.align 2
.global mz_zip_writer_add_file
.type mz_zip_writer_add_file, %function
mz_zip_writer_add_file:
.LFB118:
.cfi_startproc
sub sp, sp, #320
.cfi_def_cfa_offset 320
stp x29, x30, [sp, 64]
.cfi_offset 29, -256
.cfi_offset 30, -248
add x29, sp, 64
str x0, [sp, 120]
str x1, [sp, 112]
str x2, [sp, 104]
str x3, [sp, 96]
strh w4, [sp, 94]
str w5, [sp, 88]
str w6, [sp, 84]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 312]
mov x1, 0
str wzr, [sp, 144]
strh wzr, [sp, 142]
strh wzr, [sp, 138]
strh wzr, [sp, 140]
str xzr, [sp, 200]
str xzr, [sp, 184]
str xzr, [sp, 208]
ldr w0, [sp, 88]
cmp w0, 0
bge .L1624
mov w0, 6
str w0, [sp, 88]
.L1624:
ldr w0, [sp, 88]
and w0, w0, 15
str w0, [sp, 148]
ldr x0, [sp, 120]
cmp x0, 0
beq .L1625
ldr x0, [sp, 120]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1625
ldr x0, [sp, 120]
ldr w0, [x0, 20]
cmp w0, 2
bne .L1625
ldr x0, [sp, 112]
cmp x0, 0
beq .L1625
ldrh w0, [sp, 94]
cmp w0, 0
beq .L1626
ldr x0, [sp, 96]
cmp x0, 0
beq .L1625
.L1626:
ldr w0, [sp, 148]
cmp w0, 10
bls .L1627
.L1625:
mov w0, 0
b .L1668
.L1627:
ldr x0, [sp, 120]
ldr x0, [x0]
str x0, [sp, 176]
ldr x0, [sp, 176]
str x0, [sp, 216]
ldr w0, [sp, 88]
and w0, w0, 1024
cmp w0, 0
beq .L1629
mov w0, 0
b .L1668
.L1629:
ldr x0, [sp, 112]
bl mz_zip_writer_validate_archive_name
cmp w0, 0
bne .L1630
mov w0, 0
b .L1668
.L1630:
ldr x0, [sp, 112]
bl strlen
str x0, [sp, 224]
ldr x1, [sp, 224]
mov x0, 65535
cmp x1, x0
bls .L1631
mov w0, 0
b .L1668
.L1631:
ldr x0, [sp, 120]
bl mz_zip_writer_compute_padding_needed_for_file_alignment
str w0, [sp, 156]
ldr x0, [sp, 120]
ldr w1, [x0, 16]
mov w0, 65535
cmp w1, w0
beq .L1632
ldr x0, [sp, 120]
ldr x1, [x0]
ldr w0, [sp, 156]
add x1, x1, x0
ldrh w0, [sp, 94]
add x1, x1, x0
ldr x0, [sp, 224]
add x0, x1, x0
add x1, x0, 76
mov x0, 4294967295
cmp x1, x0
bls .L1633
.L1632:
mov w0, 0
b .L1668
.L1633:
str xzr, [sp, 168]
add x0, sp, 168
mov x1, x0
ldr x0, [sp, 104]
bl mz_zip_get_file_modified_time
cmp w0, 0
bne .L1634
mov w0, 0
b .L1668
.L1634:
ldr x0, [sp, 168]
add x2, sp, 140
add x1, sp, 138
bl mz_zip_time_t_to_dos_time
adrp x0, .LC17
add x1, x0, :lo12:.LC17
ldr x0, [sp, 104]
bl fopen
str x0, [sp, 208]
ldr x0, [sp, 208]
cmp x0, 0
bne .L1635
mov w0, 0
b .L1668
.L1635:
mov w2, 2
mov x1, 0
ldr x0, [sp, 208]
bl fseeko
ldr x0, [sp, 208]
bl ftello
str x0, [sp, 200]
mov w2, 0
mov x1, 0
ldr x0, [sp, 208]
bl fseeko
ldr x1, [sp, 200]
mov x0, 4294967295
cmp x1, x0
bls .L1636
ldr x0, [sp, 208]
bl fclose
mov w0, 0
b .L1668
.L1636:
ldr x0, [sp, 200]
cmp x0, 3
bhi .L1637
str wzr, [sp, 148]
.L1637:
ldr w0, [sp, 156]
add w0, w0, 30
mov w2, w0
ldr x1, [sp, 176]
ldr x0, [sp, 120]
bl mz_zip_writer_write_zeros
cmp w0, 0
bne .L1638
ldr x0, [sp, 208]
bl fclose
mov w0, 0
b .L1668
.L1638:
ldr w0, [sp, 156]
ldr x1, [sp, 216]
add x0, x1, x0
str x0, [sp, 216]
ldr x0, [sp, 120]
ldr x0, [x0, 32]
cmp x0, 0
beq .L1639
ldr x0, [sp, 120]
ldr x0, [x0, 32]
sub x1, x0, #1
ldr x0, [sp, 216]
and x0, x1, x0
cmp x0, 0
beq .L1639
adrp x0, __PRETTY_FUNCTION__.1
add x3, x0, :lo12:__PRETTY_FUNCTION__.1
mov w2, 6378
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl __assert_fail
.L1639:
ldr w1, [sp, 156]
ldr x0, [sp, 176]
add x0, x1, x0
add x0, x0, 30
str x0, [sp, 176]
add x0, sp, 280
mov x2, 30
mov w1, 0
bl memset
ldr x0, [sp, 120]
ldr x4, [x0, 80]
ldr x0, [sp, 120]
ldr x0, [x0, 96]
ldr x3, [sp, 224]
ldr x2, [sp, 112]
ldr x1, [sp, 176]
blr x4
mov x1, x0
ldr x0, [sp, 224]
cmp x0, x1
beq .L1640
ldr x0, [sp, 208]
bl fclose
mov w0, 0
b .L1668
.L1640:
ldr x1, [sp, 176]
ldr x0, [sp, 224]
add x0, x1, x0
str x0, [sp, 176]
ldr x0, [sp, 200]
cmp x0, 0
beq .L1641
ldr x0, [sp, 200]
str x0, [sp, 192]
ldr x0, [sp, 120]
ldr x3, [x0, 40]
ldr x0, [sp, 120]
ldr x0, [x0, 64]
mov x2, 65536
mov x1, 1
blr x3
str x0, [sp, 232]
ldr x0, [sp, 232]
cmp x0, 0
bne .L1642
ldr x0, [sp, 208]
bl fclose
mov w0, 0
b .L1668
.L1642:
ldr w0, [sp, 148]
cmp w0, 0
bne .L1643
b .L1644
.L1649:
ldr x0, [sp, 192]
cmp x0, 65536
bhi .L1645
ldr x0, [sp, 192]
b .L1646
.L1645:
mov w0, 65536
.L1646:
str w0, [sp, 164]
ldr w0, [sp, 164]
ldr x3, [sp, 208]
mov x2, x0
mov x1, 1
ldr x0, [sp, 232]
bl fread
mov x1, x0
ldr w0, [sp, 164]
cmp x1, x0
bne .L1647
ldr x0, [sp, 120]
ldr x4, [x0, 80]
ldr x0, [sp, 120]
ldr x0, [x0, 96]
ldr w1, [sp, 164]
mov x3, x1
ldr x2, [sp, 232]
ldr x1, [sp, 176]
blr x4
mov x1, x0
ldr w0, [sp, 164]
cmp x1, x0
beq .L1648
.L1647:
ldr x0, [sp, 120]
ldr x2, [x0, 48]
ldr x0, [sp, 120]
ldr x0, [x0, 64]
ldr x1, [sp, 232]
blr x2
ldr x0, [sp, 208]
bl fclose
mov w0, 0
b .L1668
.L1648:
ldr w0, [sp, 144]
ldr w1, [sp, 164]
mov x2, x1
ldr x1, [sp, 232]
bl mz_crc32
str w0, [sp, 144]
ldr w0, [sp, 164]
ldr x1, [sp, 192]
sub x0, x1, x0
str x0, [sp, 192]
ldr w0, [sp, 164]
ldr x1, [sp, 176]
add x0, x1, x0
str x0, [sp, 176]
.L1644:
ldr x0, [sp, 192]
cmp x0, 0
bne .L1649
ldr x0, [sp, 200]
str x0, [sp, 184]
b .L1650
.L1643:
str wzr, [sp, 152]
ldr x0, [sp, 120]
ldr x3, [x0, 40]
ldr x0, [sp, 120]
ldr x0, [x0, 64]
mov x2, 57208
movk x2, 0x4, lsl 16
mov x1, 1
blr x3
str x0, [sp, 240]
ldr x0, [sp, 240]
cmp x0, 0
bne .L1651
ldr x0, [sp, 120]
ldr x2, [x0, 48]
ldr x0, [sp, 120]
ldr x0, [x0, 64]
ldr x1, [sp, 232]
blr x2
ldr x0, [sp, 208]
bl fclose
mov w0, 0
b .L1668
.L1651:
ldr x0, [sp, 120]
str x0, [sp, 256]
ldr x0, [sp, 176]
str x0, [sp, 264]
str xzr, [sp, 272]
ldr w0, [sp, 148]
mov w2, 0
mov w1, -15
bl tdefl_create_comp_flags_from_zip_params
mov w1, w0
add x0, sp, 256
mov w3, w1
mov x2, x0
adrp x0, mz_zip_writer_add_put_buf_callback
add x1, x0, :lo12:mz_zip_writer_add_put_buf_callback
ldr x0, [sp, 240]
bl tdefl_init
cmp w0, 0
beq .L1653
ldr x0, [sp, 120]
ldr x2, [x0, 48]
ldr x0, [sp, 120]
ldr x0, [x0, 64]
ldr x1, [sp, 240]
blr x2
ldr x0, [sp, 120]
ldr x2, [x0, 48]
ldr x0, [sp, 120]
ldr x0, [x0, 64]
ldr x1, [sp, 232]
blr x2
ldr x0, [sp, 208]
bl fclose
mov w0, 0
b .L1668
.L1653:
ldr x1, [sp, 192]
mov x0, 65535
cmp x1, x0
bhi .L1654
ldr x0, [sp, 192]
uxtw x0, w0
b .L1655
.L1654:
mov x0, 65536
.L1655:
str x0, [sp, 248]
ldr x3, [sp, 208]
ldr x2, [sp, 248]
mov x1, 1
ldr x0, [sp, 232]
bl fread
mov x1, x0
ldr x0, [sp, 248]
cmp x0, x1
bne .L1670
ldr w0, [sp, 144]
ldr x2, [sp, 248]
ldr x1, [sp, 232]
bl mz_crc32
str w0, [sp, 144]
ldr x1, [sp, 192]
ldr x0, [sp, 248]
sub x0, x1, x0
str x0, [sp, 192]
ldr x0, [sp, 192]
cmp x0, 0
beq .L1658
mov w0, 0
b .L1659
.L1658:
mov w0, 4
.L1659:
mov w3, w0
ldr x2, [sp, 248]
ldr x1, [sp, 232]
ldr x0, [sp, 240]
bl tdefl_compress_buffer
str w0, [sp, 160]
ldr w0, [sp, 160]
cmp w0, 1
bne .L1660
mov w0, 1
str w0, [sp, 152]
b .L1657
.L1660:
ldr w0, [sp, 160]
cmp w0, 0
bne .L1671
b .L1653
.L1670:
nop
b .L1657
.L1671:
nop
.L1657:
ldr x0, [sp, 120]
ldr x2, [x0, 48]
ldr x0, [sp, 120]
ldr x0, [x0, 64]
ldr x1, [sp, 240]
blr x2
ldr w0, [sp, 152]
cmp w0, 0
bne .L1662
ldr x0, [sp, 120]
ldr x2, [x0, 48]
ldr x0, [sp, 120]
ldr x0, [x0, 64]
ldr x1, [sp, 232]
blr x2
ldr x0, [sp, 208]
bl fclose
mov w0, 0
b .L1668
.L1662:
ldr x0, [sp, 272]
str x0, [sp, 184]
ldr x0, [sp, 264]
str x0, [sp, 176]
mov w0, 8
strh w0, [sp, 142]
.L1650:
ldr x0, [sp, 120]
ldr x2, [x0, 48]
ldr x0, [sp, 120]
ldr x0, [x0, 64]
ldr x1, [sp, 232]
blr x2
.L1641:
ldr x0, [sp, 208]
bl fclose
str xzr, [sp, 208]
ldr x1, [sp, 184]
mov x0, 4294967295
cmp x1, x0
bhi .L1663
ldr x1, [sp, 176]
mov x0, 4294967295
cmp x1, x0
bls .L1664
.L1663:
mov w0, 0
b .L1668
.L1664:
ldr x0, [sp, 224]
and w1, w0, 65535
ldrh w2, [sp, 138]
ldrh w3, [sp, 140]
add x0, sp, 280
strh w3, [sp, 16]
strh w2, [sp, 8]
strh wzr, [sp]
ldrh w7, [sp, 142]
ldr w6, [sp, 144]
ldr x5, [sp, 184]
ldr x4, [sp, 200]
mov w3, 0
mov w2, w1
mov x1, x0
ldr x0, [sp, 120]
bl mz_zip_writer_create_local_dir_header
cmp w0, 0
bne .L1665
mov w0, 0
b .L1668
.L1665:
ldr x0, [sp, 120]
ldr x4, [x0, 80]
ldr x0, [sp, 120]
ldr x0, [x0, 96]
add x1, sp, 280
mov x3, 30
mov x2, x1
ldr x1, [sp, 216]
blr x4
cmp x0, 30
beq .L1666
mov w0, 0
b .L1668
.L1666:
ldr x0, [sp, 224]
and w1, w0, 65535
ldrh w2, [sp, 138]
ldrh w3, [sp, 140]
ldr w0, [sp, 84]
str w0, [sp, 56]
ldr x0, [sp, 216]
str x0, [sp, 48]
mov w0, w3
strh w0, [sp, 40]
mov w0, w2
strh w0, [sp, 32]
strh wzr, [sp, 24]
ldrh w0, [sp, 142]
strh w0, [sp, 16]
ldr w0, [sp, 144]
str w0, [sp, 8]
ldr x0, [sp, 184]
str x0, [sp]
ldr x7, [sp, 200]
ldrh w6, [sp, 94]
ldr x5, [sp, 96]
mov w4, 0
mov x3, 0
mov w2, w1
ldr x1, [sp, 112]
ldr x0, [sp, 120]
bl mz_zip_writer_add_to_central_dir
cmp w0, 0
bne .L1667
mov w0, 0
b .L1668
.L1667:
ldr x0, [sp, 120]
ldr w0, [x0, 16]
add w1, w0, 1
ldr x0, [sp, 120]
str w1, [x0, 16]
ldr x0, [sp, 120]
ldr x1, [sp, 176]
str x1, [x0]
mov w0, 1
.L1668:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 312]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1669
bl __stack_chk_fail
.L1669:
mov w0, w1
ldp x29, x30, [sp, 64]
add sp, sp, 320
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE118:
.size mz_zip_writer_add_file, .-mz_zip_writer_add_file
.align 2
.global mz_zip_writer_add_from_zip_reader
.type mz_zip_writer_add_from_zip_reader, %function
mz_zip_writer_add_from_zip_reader:
.LFB119:
.cfi_startproc
stp x29, x30, [sp, -496]!
.cfi_def_cfa_offset 496
.cfi_offset 29, -496
.cfi_offset 30, -488
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 488]
mov x1, 0
add x0, sp, 408
str x0, [sp, 112]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1673
ldr x0, [sp, 40]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1673
ldr x0, [sp, 40]
ldr w0, [x0, 20]
cmp w0, 2
beq .L1674
.L1673:
mov w0, 0
b .L1728
.L1674:
ldr x0, [sp, 32]
str x0, [sp, 160]
ldr w0, [sp, 28]
str w0, [sp, 64]
ldr x0, [sp, 160]
cmp x0, 0
beq .L1676
ldr x0, [sp, 160]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1676
ldr x0, [sp, 160]
ldr w0, [x0, 16]
ldr w1, [sp, 64]
cmp w1, w0
bcs .L1676
ldr x0, [sp, 160]
ldr w0, [x0, 20]
cmp w0, 1
beq .L1677
.L1676:
mov x0, 0
b .L1678
.L1677:
ldr x0, [sp, 160]
ldr x0, [x0, 104]
ldr x1, [x0]
ldr x0, [sp, 160]
ldr x0, [x0, 104]
ldr x2, [x0, 32]
ldr w0, [sp, 64]
lsl x0, x0, 2
add x0, x2, x0
ldr w0, [x0]
uxtw x0, w0
add x0, x1, x0
.L1678:
str x0, [sp, 120]
ldr x0, [sp, 120]
cmp x0, 0
bne .L1679
mov w0, 0
b .L1728
.L1679:
ldr x0, [sp, 40]
ldr x0, [x0, 104]
str x0, [sp, 128]
ldr x0, [sp, 40]
bl mz_zip_writer_compute_padding_needed_for_file_alignment
str w0, [sp, 56]
ldr x0, [sp, 40]
ldr w1, [x0, 16]
mov w0, 65535
cmp w1, w0
beq .L1680
ldr x0, [sp, 40]
ldr x1, [x0]
ldr w0, [sp, 56]
add x0, x1, x0
add x1, x0, 76
mov x0, 4294967295
cmp x1, x0
bls .L1681
.L1680:
mov w0, 0
b .L1728
.L1681:
ldr x0, [sp, 120]
add x0, x0, 42
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 120]
add x0, x0, 43
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 120]
add x0, x0, 44
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 120]
add x0, x0, 45
ldrb w0, [x0]
lsl w0, w0, 24
orr w0, w1, w0
uxtw x0, w0
str x0, [sp, 96]
ldr x0, [sp, 40]
ldr x0, [x0]
str x0, [sp, 104]
ldr x0, [sp, 32]
ldr x4, [x0, 72]
ldr x0, [sp, 32]
ldr x0, [x0, 96]
mov x3, 30
ldr x2, [sp, 112]
ldr x1, [sp, 96]
blr x4
cmp x0, 30
beq .L1682
mov w0, 0
b .L1728
.L1682:
ldr x0, [sp, 112]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 112]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 112]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 112]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
mov w0, 19280
movk w0, 0x403, lsl 16
cmp w1, w0
beq .L1683
mov w0, 0
b .L1728
.L1683:
ldr x0, [sp, 96]
add x0, x0, 30
str x0, [sp, 96]
ldr w2, [sp, 56]
ldr x1, [sp, 104]
ldr x0, [sp, 40]
bl mz_zip_writer_write_zeros
cmp w0, 0
bne .L1684
mov w0, 0
b .L1728
.L1684:
ldr w0, [sp, 56]
ldr x1, [sp, 104]
add x0, x1, x0
str x0, [sp, 104]
ldr x0, [sp, 104]
str x0, [sp, 136]
ldr x0, [sp, 40]
ldr x0, [x0, 32]
cmp x0, 0
beq .L1685
ldr x0, [sp, 40]
ldr x0, [x0, 32]
sub x1, x0, #1
ldr x0, [sp, 136]
and x0, x1, x0
cmp x0, 0
beq .L1685
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 6561
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl __assert_fail
.L1685:
ldr x0, [sp, 40]
ldr x4, [x0, 80]
ldr x0, [sp, 40]
ldr x0, [x0, 96]
mov x3, 30
ldr x2, [sp, 112]
ldr x1, [sp, 104]
blr x4
cmp x0, 30
beq .L1686
mov w0, 0
b .L1728
.L1686:
ldr x0, [sp, 104]
add x0, x0, 30
str x0, [sp, 104]
ldr x0, [sp, 112]
add x0, x0, 26
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 112]
add x0, x0, 27
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 112]
add x0, x0, 28
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 112]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w2, w0
add w0, w1, w0
str w0, [sp, 52]
ldr x0, [sp, 120]
add x0, x0, 20
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 120]
add x0, x0, 21
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 120]
add x0, x0, 22
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 120]
add x0, x0, 23
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
ldr w0, [sp, 52]
add w0, w1, w0
uxtw x0, w0
str x0, [sp, 88]
ldr x0, [sp, 40]
ldr x3, [x0, 40]
ldr x0, [sp, 40]
ldr x4, [x0, 64]
ldr x0, [sp, 88]
cmp x0, 15
bls .L1687
ldr x2, [sp, 88]
ldr x1, [sp, 88]
mov x0, 65536
cmp x2, 65536
csel x0, x1, x0, ls
b .L1688
.L1687:
mov x0, 16
.L1688:
mov x2, x0
mov x1, 1
mov x0, x4
blr x3
str x0, [sp, 144]
ldr x0, [sp, 144]
cmp x0, 0
bne .L1690
mov w0, 0
b .L1728
.L1695:
ldr x0, [sp, 88]
cmp x0, 65536
bhi .L1691
ldr x0, [sp, 88]
b .L1692
.L1691:
mov w0, 65536
.L1692:
str w0, [sp, 52]
ldr x0, [sp, 32]
ldr x4, [x0, 72]
ldr x0, [sp, 32]
ldr x0, [x0, 96]
ldr w1, [sp, 52]
uxtw x1, w1
mov x3, x1
ldr x2, [sp, 144]
ldr x1, [sp, 96]
blr x4
mov x1, x0
ldr w0, [sp, 52]
uxtw x0, w0
cmp x1, x0
beq .L1693
ldr x0, [sp, 40]
ldr x2, [x0, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x1, [sp, 144]
blr x2
mov w0, 0
b .L1728
.L1693:
ldr w0, [sp, 52]
uxtw x0, w0
ldr x1, [sp, 96]
add x0, x1, x0
str x0, [sp, 96]
ldr x0, [sp, 40]
ldr x4, [x0, 80]
ldr x0, [sp, 40]
ldr x0, [x0, 96]
ldr w1, [sp, 52]
uxtw x1, w1
mov x3, x1
ldr x2, [sp, 144]
ldr x1, [sp, 104]
blr x4
mov x1, x0
ldr w0, [sp, 52]
uxtw x0, w0
cmp x1, x0
beq .L1694
ldr x0, [sp, 40]
ldr x2, [x0, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x1, [sp, 144]
blr x2
mov w0, 0
b .L1728
.L1694:
ldr w0, [sp, 52]
uxtw x0, w0
ldr x1, [sp, 104]
add x0, x1, x0
str x0, [sp, 104]
ldr w0, [sp, 52]
uxtw x0, w0
ldr x1, [sp, 88]
sub x0, x1, x0
str x0, [sp, 88]
.L1690:
ldr x0, [sp, 88]
cmp x0, 0
bne .L1695
ldr x0, [sp, 112]
add x0, x0, 6
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 112]
add x0, x0, 7
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 60]
and w0, w0, 8
cmp w0, 0
beq .L1696
ldr x0, [sp, 32]
ldr x4, [x0, 72]
ldr x0, [sp, 32]
ldr x0, [x0, 96]
mov x3, 16
ldr x2, [sp, 144]
ldr x1, [sp, 96]
blr x4
cmp x0, 16
beq .L1697
ldr x0, [sp, 40]
ldr x2, [x0, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x1, [sp, 144]
blr x2
mov w0, 0
b .L1728
.L1697:
ldr x0, [sp, 144]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 144]
add x0, x0, 1
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 144]
add x0, x0, 2
ldrb w0, [x0]
lsl w0, w0, 16
orr w1, w1, w0
ldr x0, [sp, 144]
add x0, x0, 3
ldrb w0, [x0]
lsl w0, w0, 24
orr w1, w1, w0
mov w0, 19280
movk w0, 0x807, lsl 16
cmp w1, w0
bne .L1698
mov w0, 16
b .L1699
.L1698:
mov w0, 12
.L1699:
str w0, [sp, 52]
ldr x0, [sp, 40]
ldr x4, [x0, 80]
ldr x0, [sp, 40]
ldr x0, [x0, 96]
ldr w1, [sp, 52]
uxtw x1, w1
mov x3, x1
ldr x2, [sp, 144]
ldr x1, [sp, 104]
blr x4
mov x1, x0
ldr w0, [sp, 52]
uxtw x0, w0
cmp x1, x0
beq .L1700
ldr x0, [sp, 40]
ldr x2, [x0, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x1, [sp, 144]
blr x2
mov w0, 0
b .L1728
.L1700:
ldr w0, [sp, 52]
uxtw x0, w0
ldr x1, [sp, 104]
add x0, x1, x0
str x0, [sp, 104]
.L1696:
ldr x0, [sp, 40]
ldr x2, [x0, 48]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x1, [sp, 144]
blr x2
ldr x1, [sp, 104]
mov x0, 4294967295
cmp x1, x0
bls .L1701
mov w0, 0
b .L1728
.L1701:
ldr x0, [sp, 128]
ldr x0, [x0, 8]
str x0, [sp, 152]
ldr x1, [sp, 120]
add x0, sp, 440
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 30]
str q0, [x0, 30]
add x0, sp, 440
add x0, x0, 42
ldr x1, [sp, 136]
bl mz_write_le32
ldr x0, [sp, 128]
ldr x1, [sp, 40]
str x1, [sp, 168]
str x0, [sp, 176]
add x0, sp, 440
str x0, [sp, 184]
mov x0, 46
str x0, [sp, 192]
ldr x0, [sp, 192]
cmp x0, 0
bne .L1702
mov w0, 1
b .L1703
.L1702:
ldr x0, [sp, 184]
cmp x0, 0
bne .L1704
mov w0, 0
b .L1703
.L1704:
ldr x0, [sp, 176]
ldr x0, [x0, 8]
str x0, [sp, 200]
ldr x1, [sp, 192]
ldr x0, [sp, 200]
add x0, x1, x0
ldr x1, [sp, 168]
str x1, [sp, 208]
ldr x1, [sp, 176]
str x1, [sp, 216]
str x0, [sp, 224]
mov w0, 1
str w0, [sp, 68]
ldr x0, [sp, 216]
ldr x0, [x0, 16]
ldr x1, [sp, 224]
cmp x1, x0
bls .L1705
ldr w3, [sp, 68]
ldr x2, [sp, 224]
ldr x1, [sp, 216]
ldr x0, [sp, 208]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1705
mov w0, 0
b .L1706
.L1705:
ldr x0, [sp, 216]
ldr x1, [sp, 224]
str x1, [x0, 8]
mov w0, 1
.L1706:
cmp w0, 0
bne .L1707
mov w0, 0
b .L1703
.L1707:
ldr x0, [sp, 176]
ldr x1, [x0]
ldr x0, [sp, 176]
ldr w0, [x0, 24]
uxtw x2, w0
ldr x0, [sp, 200]
mul x0, x2, x0
add x3, x1, x0
ldr x0, [sp, 176]
ldr w0, [x0, 24]
uxtw x1, w0
ldr x0, [sp, 192]
mul x0, x1, x0
mov x2, x0
ldr x1, [sp, 184]
mov x0, x3
bl memcpy
mov w0, 1
.L1703:
cmp w0, 0
bne .L1708
mov w0, 0
b .L1728
.L1708:
ldr x0, [sp, 120]
add x0, x0, 28
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 120]
add x0, x0, 29
ldrb w0, [x0]
lsl w0, w0, 8
orr w1, w1, w0
ldr x0, [sp, 120]
add x0, x0, 30
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 120]
add x0, x0, 31
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w2, w0
add w1, w1, w0
ldr x0, [sp, 120]
add x0, x0, 32
ldrb w0, [x0]
mov w2, w0
ldr x0, [sp, 120]
add x0, x0, 33
ldrb w0, [x0]
lsl w0, w0, 8
orr w0, w2, w0
add w0, w1, w0
str w0, [sp, 52]
ldr x2, [sp, 128]
ldr x0, [sp, 120]
add x1, x0, 46
ldr w0, [sp, 52]
uxtw x0, w0
ldr x3, [sp, 40]
str x3, [sp, 232]
str x2, [sp, 240]
str x1, [sp, 248]
str x0, [sp, 256]
ldr x0, [sp, 256]
cmp x0, 0
bne .L1709
mov w0, 1
b .L1710
.L1709:
ldr x0, [sp, 248]
cmp x0, 0
bne .L1711
mov w0, 0
b .L1710
.L1711:
ldr x0, [sp, 240]
ldr x0, [x0, 8]
str x0, [sp, 264]
ldr x1, [sp, 256]
ldr x0, [sp, 264]
add x0, x1, x0
ldr x1, [sp, 232]
str x1, [sp, 272]
ldr x1, [sp, 240]
str x1, [sp, 280]
str x0, [sp, 288]
mov w0, 1
str w0, [sp, 72]
ldr x0, [sp, 280]
ldr x0, [x0, 16]
ldr x1, [sp, 288]
cmp x1, x0
bls .L1712
ldr w3, [sp, 72]
ldr x2, [sp, 288]
ldr x1, [sp, 280]
ldr x0, [sp, 272]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1712
mov w0, 0
b .L1713
.L1712:
ldr x0, [sp, 280]
ldr x1, [sp, 288]
str x1, [x0, 8]
mov w0, 1
.L1713:
cmp w0, 0
bne .L1714
mov w0, 0
b .L1710
.L1714:
ldr x0, [sp, 240]
ldr x1, [x0]
ldr x0, [sp, 240]
ldr w0, [x0, 24]
uxtw x2, w0
ldr x0, [sp, 264]
mul x0, x2, x0
add x3, x1, x0
ldr x0, [sp, 240]
ldr w0, [x0, 24]
uxtw x1, w0
ldr x0, [sp, 256]
mul x0, x1, x0
mov x2, x0
ldr x1, [sp, 248]
mov x0, x3
bl memcpy
mov w0, 1
.L1710:
cmp w0, 0
bne .L1715
ldr x0, [sp, 128]
ldr x1, [sp, 40]
str x1, [sp, 296]
str x0, [sp, 304]
ldr x0, [sp, 152]
str x0, [sp, 312]
str wzr, [sp, 76]
ldr x0, [sp, 304]
ldr x0, [x0, 16]
ldr x1, [sp, 312]
cmp x1, x0
bls .L1716
ldr w3, [sp, 76]
ldr x2, [sp, 312]
ldr x1, [sp, 304]
ldr x0, [sp, 296]
bl mz_zip_array_ensure_capacity
cmp w0, 0
beq .L1730
.L1716:
ldr x0, [sp, 304]
ldr x1, [sp, 312]
str x1, [x0, 8]
b .L1717
.L1730:
nop
.L1717:
mov w0, 0
b .L1728
.L1715:
ldr x0, [sp, 128]
ldr x1, [x0, 8]
mov x0, 4294967295
cmp x1, x0
bls .L1718
mov w0, 0
b .L1728
.L1718:
ldr x0, [sp, 152]
str w0, [sp, 52]
ldr x0, [sp, 128]
add x0, x0, 32
ldr x1, [sp, 40]
str x1, [sp, 320]
str x0, [sp, 328]
add x0, sp, 52
str x0, [sp, 336]
mov x0, 1
str x0, [sp, 344]
ldr x0, [sp, 344]
cmp x0, 0
bne .L1719
mov w0, 1
b .L1720
.L1719:
ldr x0, [sp, 336]
cmp x0, 0
bne .L1721
mov w0, 0
b .L1720
.L1721:
ldr x0, [sp, 328]
ldr x0, [x0, 8]
str x0, [sp, 352]
ldr x1, [sp, 344]
ldr x0, [sp, 352]
add x0, x1, x0
ldr x1, [sp, 320]
str x1, [sp, 360]
ldr x1, [sp, 328]
str x1, [sp, 368]
str x0, [sp, 376]
mov w0, 1
str w0, [sp, 80]
ldr x0, [sp, 368]
ldr x0, [x0, 16]
ldr x1, [sp, 376]
cmp x1, x0
bls .L1722
ldr w3, [sp, 80]
ldr x2, [sp, 376]
ldr x1, [sp, 368]
ldr x0, [sp, 360]
bl mz_zip_array_ensure_capacity
cmp w0, 0
bne .L1722
mov w0, 0
b .L1723
.L1722:
ldr x0, [sp, 368]
ldr x1, [sp, 376]
str x1, [x0, 8]
mov w0, 1
.L1723:
cmp w0, 0
bne .L1724
mov w0, 0
b .L1720
.L1724:
ldr x0, [sp, 328]
ldr x1, [x0]
ldr x0, [sp, 328]
ldr w0, [x0, 24]
uxtw x2, w0
ldr x0, [sp, 352]
mul x0, x2, x0
add x3, x1, x0
ldr x0, [sp, 328]
ldr w0, [x0, 24]
uxtw x1, w0
ldr x0, [sp, 344]
mul x0, x1, x0
mov x2, x0
ldr x1, [sp, 336]
mov x0, x3
bl memcpy
mov w0, 1
.L1720:
cmp w0, 0
bne .L1725
ldr x0, [sp, 128]
ldr x1, [sp, 40]
str x1, [sp, 384]
str x0, [sp, 392]
ldr x0, [sp, 152]
str x0, [sp, 400]
str wzr, [sp, 84]
ldr x0, [sp, 392]
ldr x0, [x0, 16]
ldr x1, [sp, 400]
cmp x1, x0
bls .L1726
ldr w3, [sp, 84]
ldr x2, [sp, 400]
ldr x1, [sp, 392]
ldr x0, [sp, 384]
bl mz_zip_array_ensure_capacity
cmp w0, 0
beq .L1731
.L1726:
ldr x0, [sp, 392]
ldr x1, [sp, 400]
str x1, [x0, 8]
b .L1727
.L1731:
nop
.L1727:
mov w0, 0
b .L1728
.L1725:
ldr x0, [sp, 40]
ldr w0, [x0, 16]
add w1, w0, 1
ldr x0, [sp, 40]
str w1, [x0, 16]
ldr x0, [sp, 40]
ldr x1, [sp, 104]
str x1, [x0]
mov w0, 1
.L1728:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 488]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1729
bl __stack_chk_fail
.L1729:
mov w0, w1
ldp x29, x30, [sp], 496
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE119:
.size mz_zip_writer_add_from_zip_reader, .-mz_zip_writer_add_from_zip_reader
.align 2
.global mz_zip_writer_finalize_archive
.type mz_zip_writer_finalize_archive, %function
mz_zip_writer_finalize_archive:
.LFB120:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 88]
mov x1, 0
ldr x0, [sp, 24]
cmp x0, 0
beq .L1733
ldr x0, [sp, 24]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1733
ldr x0, [sp, 24]
ldr w0, [x0, 20]
cmp w0, 2
beq .L1734
.L1733:
mov w0, 0
b .L1742
.L1734:
ldr x0, [sp, 24]
ldr x0, [x0, 104]
str x0, [sp, 56]
ldr x0, [sp, 24]
ldr w1, [x0, 16]
mov w0, 65535
cmp w1, w0
bhi .L1736
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 56]
ldr x0, [x0, 8]
add x0, x1, x0
add x1, x0, 22
mov x0, 4294967295
cmp x1, x0
bls .L1737
.L1736:
mov w0, 0
b .L1742
.L1737:
str xzr, [sp, 40]
str xzr, [sp, 48]
ldr x0, [sp, 24]
ldr w0, [x0, 16]
cmp w0, 0
beq .L1738
ldr x0, [sp, 24]
ldr x0, [x0]
str x0, [sp, 40]
ldr x0, [sp, 56]
ldr x0, [x0, 8]
str x0, [sp, 48]
ldr x0, [sp, 24]
ldr x1, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr x4, [x0, 80]
ldr x0, [sp, 24]
ldr x5, [x0, 96]
ldr x0, [sp, 56]
ldr x0, [x0]
ldr x3, [sp, 48]
mov x2, x0
ldr x1, [sp, 40]
mov x0, x5
blr x4
mov x1, x0
ldr x0, [sp, 48]
cmp x0, x1
beq .L1739
mov w0, 0
b .L1742
.L1739:
ldr x0, [sp, 24]
ldr x1, [x0]
ldr x0, [sp, 48]
add x1, x1, x0
ldr x0, [sp, 24]
str x1, [x0]
.L1738:
add x0, sp, 64
mov x2, 22
mov w1, 0
bl memset
add x0, sp, 64
mov w1, 19280
movk w1, 0x605, lsl 16
bl mz_write_le32
add x0, sp, 64
add x0, x0, 8
ldr x1, [sp, 24]
ldr w1, [x1, 16]
and w1, w1, 65535
bl mz_write_le16
add x0, sp, 64
add x0, x0, 10
ldr x1, [sp, 24]
ldr w1, [x1, 16]
and w1, w1, 65535
bl mz_write_le16
add x0, sp, 64
add x0, x0, 12
ldr x1, [sp, 48]
bl mz_write_le32
add x0, sp, 64
add x0, x0, 16
ldr x1, [sp, 40]
bl mz_write_le32
ldr x0, [sp, 24]
ldr x4, [x0, 80]
ldr x0, [sp, 24]
ldr x5, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0]
add x1, sp, 64
mov x3, 22
mov x2, x1
mov x1, x0
mov x0, x5
blr x4
cmp x0, 22
beq .L1740
mov w0, 0
b .L1742
.L1740:
ldr x0, [sp, 56]
ldr x0, [x0, 112]
cmp x0, 0
beq .L1741
ldr x0, [sp, 56]
ldr x0, [x0, 112]
bl fflush
cmn w0, #1
bne .L1741
mov w0, 0
b .L1742
.L1741:
ldr x0, [sp, 24]
ldr x0, [x0]
add x1, x0, 22
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 24]
mov w1, 3
str w1, [x0, 20]
mov w0, 1
.L1742:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 88]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1743
bl __stack_chk_fail
.L1743:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE120:
.size mz_zip_writer_finalize_archive, .-mz_zip_writer_finalize_archive
.align 2
.global mz_zip_writer_finalize_heap_archive
.type mz_zip_writer_finalize_heap_archive, %function
mz_zip_writer_finalize_heap_archive:
.LFB121:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
ldr x0, [sp, 40]
cmp x0, 0
beq .L1745
ldr x0, [sp, 40]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1745
ldr x0, [sp, 32]
cmp x0, 0
beq .L1745
ldr x0, [sp, 24]
cmp x0, 0
bne .L1746
.L1745:
mov w0, 0
b .L1747
.L1746:
ldr x0, [sp, 40]
ldr x1, [x0, 80]
adrp x0, mz_zip_heap_write_func
add x0, x0, :lo12:mz_zip_heap_write_func
cmp x1, x0
beq .L1748
mov w0, 0
b .L1747
.L1748:
ldr x0, [sp, 40]
bl mz_zip_writer_finalize_archive
cmp w0, 0
bne .L1749
mov w0, 0
b .L1747
.L1749:
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [x0, 128]
ldr x0, [sp, 32]
str x1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
ldr x1, [x0, 136]
ldr x0, [sp, 24]
str x1, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
str xzr, [x0, 128]
ldr x0, [sp, 40]
ldr x0, [x0, 104]
str xzr, [x0, 144]
ldr x1, [sp, 40]
ldr x1, [x1, 104]
ldr x0, [x0, 144]
str x0, [x1, 136]
mov w0, 1
.L1747:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE121:
.size mz_zip_writer_finalize_heap_archive, .-mz_zip_writer_finalize_heap_archive
.align 2
.global mz_zip_writer_end
.type mz_zip_writer_end, %function
mz_zip_writer_end:
.LFB122:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
mov w0, 1
str w0, [sp, 36]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1751
ldr x0, [sp, 24]
ldr x0, [x0, 104]
cmp x0, 0
beq .L1751
ldr x0, [sp, 24]
ldr x0, [x0, 40]
cmp x0, 0
beq .L1751
ldr x0, [sp, 24]
ldr x0, [x0, 48]
cmp x0, 0
beq .L1751
ldr x0, [sp, 24]
ldr w0, [x0, 20]
cmp w0, 2
beq .L1752
ldr x0, [sp, 24]
ldr w0, [x0, 20]
cmp w0, 3
beq .L1752
.L1751:
mov w0, 0
b .L1753
.L1752:
ldr x0, [sp, 24]
ldr x0, [x0, 104]
str x0, [sp, 40]
ldr x0, [sp, 24]
str xzr, [x0, 104]
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [sp, 80]
str x0, [sp, 88]
ldr x0, [sp, 80]
ldr x2, [x0, 48]
ldr x0, [sp, 80]
ldr x3, [x0, 64]
ldr x0, [sp, 88]
ldr x0, [x0]
mov x1, x0
mov x0, x3
blr x2
mov x2, 32
mov w1, 0
ldr x0, [sp, 88]
bl memset
nop
ldr x0, [sp, 40]
add x0, x0, 32
ldr x1, [sp, 24]
str x1, [sp, 64]
str x0, [sp, 72]
ldr x0, [sp, 64]
ldr x2, [x0, 48]
ldr x0, [sp, 64]
ldr x3, [x0, 64]
ldr x0, [sp, 72]
ldr x0, [x0]
mov x1, x0
mov x0, x3
blr x2
mov x2, 32
mov w1, 0
ldr x0, [sp, 72]
bl memset
nop
ldr x0, [sp, 40]
add x0, x0, 64
ldr x1, [sp, 24]
str x1, [sp, 48]
str x0, [sp, 56]
ldr x0, [sp, 48]
ldr x2, [x0, 48]
ldr x0, [sp, 48]
ldr x3, [x0, 64]
ldr x0, [sp, 56]
ldr x0, [x0]
mov x1, x0
mov x0, x3
blr x2
mov x2, 32
mov w1, 0
ldr x0, [sp, 56]
bl memset
nop
ldr x0, [sp, 40]
ldr x0, [x0, 112]
cmp x0, 0
beq .L1754
ldr x0, [sp, 40]
ldr x0, [x0, 112]
bl fclose
ldr x0, [sp, 40]
str xzr, [x0, 112]
.L1754:
ldr x0, [sp, 24]
ldr x1, [x0, 80]
adrp x0, mz_zip_heap_write_func
add x0, x0, :lo12:mz_zip_heap_write_func
cmp x1, x0
bne .L1755
ldr x0, [sp, 40]
ldr x0, [x0, 128]
cmp x0, 0
beq .L1755
ldr x0, [sp, 24]
ldr x2, [x0, 48]
ldr x0, [sp, 24]
ldr x3, [x0, 64]
ldr x0, [sp, 40]
ldr x0, [x0, 128]
mov x1, x0
mov x0, x3
blr x2
ldr x0, [sp, 40]
str xzr, [x0, 128]
.L1755:
ldr x0, [sp, 24]
ldr x2, [x0, 48]
ldr x0, [sp, 24]
ldr x0, [x0, 64]
ldr x1, [sp, 40]
blr x2
ldr x0, [sp, 24]
str wzr, [x0, 20]
ldr w0, [sp, 36]
.L1753:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE122:
.size mz_zip_writer_end, .-mz_zip_writer_end
.align 2
.global mz_zip_add_mem_to_archive_file_in_place
.type mz_zip_add_mem_to_archive_file_in_place, %function
mz_zip_add_mem_to_archive_file_in_place:
.LFB123:
.cfi_startproc
sub sp, sp, #352
.cfi_def_cfa_offset 352
stp x29, x30, [sp, 16]
.cfi_offset 29, -336
.cfi_offset 30, -328
add x29, sp, 16
str x0, [sp, 72]
str x1, [sp, 64]
str x2, [sp, 56]
str x3, [sp, 48]
str x4, [sp, 40]
strh w5, [sp, 38]
str w6, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 344]
mov x1, 0
str wzr, [sp, 96]
add x0, sp, 104
mov x2, 112
mov w1, 0
bl memset
ldr w0, [sp, 32]
cmp w0, 0
bge .L1757
mov w0, 6
str w0, [sp, 32]
.L1757:
ldr x0, [sp, 72]
cmp x0, 0
beq .L1758
ldr x0, [sp, 64]
cmp x0, 0
beq .L1758
ldr x0, [sp, 48]
cmp x0, 0
beq .L1759
ldr x0, [sp, 56]
cmp x0, 0
beq .L1758
.L1759:
ldrh w0, [sp, 38]
cmp w0, 0
beq .L1760
ldr x0, [sp, 40]
cmp x0, 0
beq .L1758
.L1760:
ldr w0, [sp, 32]
and w0, w0, 15
cmp w0, 10
bls .L1761
.L1758:
mov w0, 0
b .L1771
.L1761:
ldr x0, [sp, 64]
bl mz_zip_writer_validate_archive_name
cmp w0, 0
bne .L1763
mov w0, 0
b .L1771
.L1763:
add x0, sp, 216
mov x1, x0
ldr x0, [sp, 72]
bl stat
cmp w0, 0
beq .L1764
add x0, sp, 104
mov x2, 0
ldr x1, [sp, 72]
bl mz_zip_writer_init_file
cmp w0, 0
bne .L1765
mov w0, 0
b .L1771
.L1765:
mov w0, 1
str w0, [sp, 96]
b .L1766
.L1764:
ldr w0, [sp, 32]
orr w1, w0, 2048
add x0, sp, 104
mov w2, w1
ldr x1, [sp, 72]
bl mz_zip_reader_init_file
cmp w0, 0
bne .L1767
mov w0, 0
b .L1771
.L1767:
add x0, sp, 104
ldr x1, [sp, 72]
bl mz_zip_writer_init_from_reader
cmp w0, 0
bne .L1766
add x0, sp, 104
bl mz_zip_reader_end
mov w0, 0
b .L1771
.L1766:
add x0, sp, 104
str wzr, [sp]
mov x7, 0
ldr w6, [sp, 32]
ldrh w5, [sp, 38]
ldr x4, [sp, 40]
ldr x3, [sp, 48]
ldr x2, [sp, 56]
ldr x1, [sp, 64]
bl mz_zip_writer_add_mem_ex
str w0, [sp, 92]
add x0, sp, 104
bl mz_zip_writer_finalize_archive
cmp w0, 0
bne .L1768
str wzr, [sp, 92]
.L1768:
add x0, sp, 104
bl mz_zip_writer_end
cmp w0, 0
bne .L1769
str wzr, [sp, 92]
.L1769:
ldr w0, [sp, 92]
cmp w0, 0
bne .L1770
ldr w0, [sp, 96]
cmp w0, 0
beq .L1770
ldr x0, [sp, 72]
bl remove
str w0, [sp, 100]
.L1770:
ldr w0, [sp, 92]
.L1771:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 344]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1772
bl __stack_chk_fail
.L1772:
mov w0, w1
ldp x29, x30, [sp, 16]
add sp, sp, 352
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE123:
.size mz_zip_add_mem_to_archive_file_in_place, .-mz_zip_add_mem_to_archive_file_in_place
.align 2
.global mz_zip_extract_archive_file_to_heap
.type mz_zip_extract_archive_file_to_heap, %function
mz_zip_extract_archive_file_to_heap:
.LFB124:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 184]
mov x1, 0
str xzr, [sp, 64]
ldr x0, [sp, 24]
cmp x0, 0
beq .L1774
ldr x0, [sp, 24]
str xzr, [x0]
.L1774:
ldr x0, [sp, 40]
cmp x0, 0
beq .L1775
ldr x0, [sp, 32]
cmp x0, 0
bne .L1776
.L1775:
mov x0, 0
b .L1780
.L1776:
add x0, sp, 72
mov x2, 112
mov w1, 0
bl memset
ldr w0, [sp, 20]
orr w1, w0, 2048
add x0, sp, 72
mov w2, w1
ldr x1, [sp, 40]
bl mz_zip_reader_init_file
cmp w0, 0
bne .L1778
mov x0, 0
b .L1780
.L1778:
add x0, sp, 72
ldr w3, [sp, 20]
mov x2, 0
ldr x1, [sp, 32]
bl mz_zip_reader_locate_file
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
blt .L1779
ldr w1, [sp, 60]
add x0, sp, 72
ldr w3, [sp, 20]
ldr x2, [sp, 24]
bl mz_zip_reader_extract_to_heap
str x0, [sp, 64]
.L1779:
add x0, sp, 72
bl mz_zip_reader_end
ldr x0, [sp, 64]
.L1780:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 184]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L1781
bl __stack_chk_fail
.L1781:
mov x0, x1
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE124:
.size mz_zip_extract_archive_file_to_heap, .-mz_zip_extract_archive_file_to_heap
.section .rodata
.align 3
.type s_crc32.21, %object
.size s_crc32.21, 64
s_crc32.21:
.word 0
.word 498536548
.word 997073096
.word 651767980
.word 1994146192
.word 1802195444
.word 1303535960
.word 1342533948
.word -306674912
.word -267414716
.word -690576408
.word -882789492
.word -1687895376
.word -2032938284
.word -1609899400
.word -1111625188
.align 3
.LC21:
.string ""
.align 3
.LC22:
.string "stream end"
.align 3
.LC23:
.string "need dictionary"
.align 3
.LC24:
.string "file error"
.align 3
.LC25:
.string "stream error"
.align 3
.LC26:
.string "data error"
.align 3
.LC27:
.string "out of memory"
.align 3
.LC28:
.string "buf error"
.align 3
.LC29:
.string "version error"
.align 3
.LC30:
.string "parameter error"
.section .data.rel.local,"aw"
.align 3
.type s_error_descs.20, %object
.size s_error_descs.20, 160
s_error_descs.20:
.word 0
.zero 4
.xword .LC21
.word 1
.zero 4
.xword .LC22
.word 2
.zero 4
.xword .LC23
.word -1
.zero 4
.xword .LC24
.word -2
.zero 4
.xword .LC25
.word -3
.zero 4
.xword .LC26
.word -4
.zero 4
.xword .LC27
.word -5
.zero 4
.xword .LC28
.word -6
.zero 4
.xword .LC29
.word -10000
.zero 4
.xword .LC30
.section .rodata
.align 3
.type s_min_table_sizes.19, %object
.size s_min_table_sizes.19, 12
s_min_table_sizes.19:
.word 257
.word 1
.word 4
.align 3
.type s_length_dezigzag.18, %object
.size s_length_dezigzag.18, 19
s_length_dezigzag.18:
.string "\020\021\022"
.ascii "\b\007\t\006\n\005\013\004\f\003\r\002\016\001\017"
.align 3
.type s_length_extra.17, %object
.size s_length_extra.17, 124
s_length_extra.17:
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 1
.word 1
.word 1
.word 1
.word 2
.word 2
.word 2
.word 2
.word 3
.word 3
.word 3
.word 3
.word 4
.word 4
.word 4
.word 4
.word 5
.word 5
.word 5
.word 5
.word 0
.word 0
.word 0
.align 3
.type s_length_base.16, %object
.size s_length_base.16, 124
s_length_base.16:
.word 3
.word 4
.word 5
.word 6
.word 7
.word 8
.word 9
.word 10
.word 11
.word 13
.word 15
.word 17
.word 19
.word 23
.word 27
.word 31
.word 35
.word 43
.word 51
.word 59
.word 67
.word 83
.word 99
.word 115
.word 131
.word 163
.word 195
.word 227
.word 258
.word 0
.word 0
.align 3
.type s_dist_extra.15, %object
.size s_dist_extra.15, 128
s_dist_extra.15:
.word 0
.word 0
.word 0
.word 0
.word 1
.word 1
.word 2
.word 2
.word 3
.word 3
.word 4
.word 4
.word 5
.word 5
.word 6
.word 6
.word 7
.word 7
.word 8
.word 8
.word 9
.word 9
.word 10
.word 10
.word 11
.word 11
.word 12
.word 12
.word 13
.word 13
.zero 8
.align 3
.type s_dist_base.14, %object
.size s_dist_base.14, 128
s_dist_base.14:
.word 1
.word 2
.word 3
.word 4
.word 5
.word 7
.word 9
.word 13
.word 17
.word 25
.word 33
.word 49
.word 65
.word 97
.word 129
.word 193
.word 257
.word 385
.word 513
.word 769
.word 1025
.word 1537
.word 2049
.word 3073
.word 4097
.word 6145
.word 8193
.word 12289
.word 16385
.word 24577
.word 0
.word 0
.align 3
.type __PRETTY_FUNCTION__.13, %object
.size __PRETTY_FUNCTION__.13, 26
__PRETTY_FUNCTION__.13:
.string "tdefl_start_dynamic_block"
.align 3
.type __PRETTY_FUNCTION__.12, %object
.size __PRETTY_FUNCTION__.12, 25
__PRETTY_FUNCTION__.12:
.string "tdefl_start_static_block"
.align 3
.type __PRETTY_FUNCTION__.11, %object
.size __PRETTY_FUNCTION__.11, 24
__PRETTY_FUNCTION__.11:
.string "tdefl_compress_lz_codes"
.align 3
.type __PRETTY_FUNCTION__.10, %object
.size __PRETTY_FUNCTION__.10, 18
__PRETTY_FUNCTION__.10:
.string "tdefl_flush_block"
.align 3
.type __PRETTY_FUNCTION__.9, %object
.size __PRETTY_FUNCTION__.9, 22
__PRETTY_FUNCTION__.9:
.string "tdefl_compress_normal"
.align 3
.type __PRETTY_FUNCTION__.8, %object
.size __PRETTY_FUNCTION__.8, 17
__PRETTY_FUNCTION__.8:
.string "tdefl_find_match"
.align 3
.type __PRETTY_FUNCTION__.7, %object
.size __PRETTY_FUNCTION__.7, 19
__PRETTY_FUNCTION__.7:
.string "tdefl_record_match"
.align 3
.type __PRETTY_FUNCTION__.6, %object
.size __PRETTY_FUNCTION__.6, 22
__PRETTY_FUNCTION__.6:
.string "tdefl_compress_buffer"
.align 3
.type s_tdefl_png_num_probes.5, %object
.size s_tdefl_png_num_probes.5, 44
s_tdefl_png_num_probes.5:
.word 0
.word 1
.word 6
.word 32
.word 16
.word 32
.word 128
.word 256
.word 512
.word 768
.word 1500
.align 3
.type chans.4, %object
.size chans.4, 5
chans.4:
.string ""
.string ""
.ascii "\004\002\006"
.align 3
.type __PRETTY_FUNCTION__.3, %object
.size __PRETTY_FUNCTION__.3, 29
__PRETTY_FUNCTION__.3:
.string "mz_zip_array_ensure_capacity"
.align 3
.type __PRETTY_FUNCTION__.2, %object
.size __PRETTY_FUNCTION__.2, 25
__PRETTY_FUNCTION__.2:
.string "mz_zip_writer_add_mem_ex"
.align 3
.type __PRETTY_FUNCTION__.1, %object
.size __PRETTY_FUNCTION__.1, 23
__PRETTY_FUNCTION__.1:
.string "mz_zip_writer_add_file"
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 34
__PRETTY_FUNCTION__.0:
.string "mz_zip_writer_add_from_zip_reader"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "program.c"
.align 3
.LC1:
.string "fd >= 0"
.align 3
.LC2:
.string "err == (sizeof(char) * strlen(buffer))"
.text
.align 2
.type create_file, %function
create_file:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -64
str x0, [sp, 56]
str x1, [sp, 48]
str w2, [sp, 44]
ldr w2, [sp, 44]
mov w1, 193
ldr x0, [sp, 56]
bl open
str w0, [sp, 72]
ldr w0, [sp, 72]
cmp w0, 0
bge .L2
adrp x0, __PRETTY_FUNCTION__.1
add x3, x0, :lo12:__PRETTY_FUNCTION__.1
mov w2, 16
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __assert_fail
.L2:
ldr x0, [sp, 48]
bl strlen
mov x2, x0
ldr x1, [sp, 48]
ldr w0, [sp, 72]
bl write
str w0, [sp, 76]
ldrsw x19, [sp, 76]
ldr x0, [sp, 48]
bl strlen
cmp x19, x0
beq .L3
adrp x0, __PRETTY_FUNCTION__.1
add x3, x0, :lo12:__PRETTY_FUNCTION__.1
mov w2, 19
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl __assert_fail
.L3:
ldr w0, [sp, 72]
bl close
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size create_file, .-create_file
.section .rodata
.align 3
.LC3:
.string "working"
.align 3
.LC4:
.string "test"
.align 3
.LC5:
.string "file"
.align 3
.LC6:
.string "file1"
.align 3
.LC7:
.string "file1-link"
.align 3
.LC8:
.string "dir-empty"
.align 3
.LC9:
.string "dir-empty-link"
.align 3
.LC10:
.string "dir-readonly"
.align 3
.LC11:
.string "dir-readonly/anotherfile"
.align 3
.LC12:
.string "dir-readonly/anotherdir"
.align 3
.LC13:
.string "dir-full"
.align 3
.LC14:
.string "dir-full/anotherfile"
.text
.align 2
.global setup
.type setup, %function
setup:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w1, 511
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl mkdir
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl chdir
mov w2, 511
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl create_file
mov w2, 511
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl create_file
adrp x0, .LC7
add x1, x0, :lo12:.LC7
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl symlink
mov w1, 511
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl mkdir
adrp x0, .LC9
add x1, x0, :lo12:.LC9
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl symlink
mov w1, 511
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl mkdir
mov w2, 511
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl create_file
mov w1, 511
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl mkdir
mov w1, 365
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl chmod
mov w1, 511
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl mkdir
mov w2, 511
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl create_file
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size setup, .-setup
.align 2
.global cleanup
.type cleanup, %function
cleanup:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl unlink
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl unlink
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl unlink
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl rmdir
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl unlink
mov w1, 511
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl chmod
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl unlink
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl rmdir
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl rmdir
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl unlink
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl rmdir
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size cleanup, .-cleanup
.section .rodata
.align 3
.LC15:
.string "noexist"
.align 3
.LC16:
.string "err == -1"
.align 3
.LC17:
.string "errno == ENOENT"
.align 3
.LC18:
.string "errno == EISDIR"
.align 3
.LC19:
.string "errno == EACCES"
.align 3
.LC20:
.string "!err"
.align 3
.LC21:
.string "errno == ENOTDIR"
.align 3
.LC22:
.string "errno == ENOTEMPTY"
.align 3
.LC23:
.string "errno == EBUSY"
.align 3
.LC24:
.string "/"
.align 3
.LC25:
.string "success"
.text
.align 2
.global test
.type test, %function
test:
.LFB9:
.cfi_startproc
sub sp, sp, #544
.cfi_def_cfa_offset 544
stp x29, x30, [sp]
.cfi_offset 29, -544
.cfi_offset 30, -536
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 536]
mov x1, 0
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl unlink
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L7
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 69
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L7:
bl __errno_location
ldr w0, [x0]
cmp w0, 2
beq .L8
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 70
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl __assert_fail
.L8:
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl unlink
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L9
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 73
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L9:
bl __errno_location
ldr w0, [x0]
cmp w0, 21
beq .L10
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 75
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl __assert_fail
.L10:
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl unlink
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L11
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 81
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L11:
bl __errno_location
ldr w0, [x0]
cmp w0, 13
beq .L12
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 82
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl __assert_fail
.L12:
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl unlink
str w0, [sp, 20]
ldr w0, [sp, 20]
cmp w0, 0
beq .L13
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 87
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl __assert_fail
.L13:
mov w1, 0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl access
str w0, [sp, 20]
ldr w0, [sp, 20]
cmp w0, 0
beq .L14
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 89
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl __assert_fail
.L14:
mov w1, 0
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl access
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L15
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 91
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L15:
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl unlink
str w0, [sp, 20]
ldr w0, [sp, 20]
cmp w0, 0
beq .L16
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 94
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl __assert_fail
.L16:
mov w1, 0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl access
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L17
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 96
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L17:
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl rmdir
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L18
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 102
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L18:
bl __errno_location
ldr w0, [x0]
cmp w0, 2
beq .L19
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 103
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl __assert_fail
.L19:
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl rmdir
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L20
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 106
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L20:
bl __errno_location
ldr w0, [x0]
cmp w0, 20
beq .L21
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 107
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl __assert_fail
.L21:
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl rmdir
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L22
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 110
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L22:
bl __errno_location
ldr w0, [x0]
cmp w0, 13
beq .L23
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 111
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl __assert_fail
.L23:
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl rmdir
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L24
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 114
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L24:
bl __errno_location
ldr w0, [x0]
cmp w0, 39
beq .L25
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 115
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl __assert_fail
.L25:
add x0, sp, 24
mov x1, 512
bl getcwd
add x0, sp, 24
bl rmdir
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L26
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 122
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L26:
bl __errno_location
ldr w0, [x0]
cmp w0, 16
beq .L27
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 123
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl __assert_fail
.L27:
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl rmdir
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L28
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 126
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L28:
bl __errno_location
ldr w0, [x0]
cmp w0, 16
beq .L29
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 130
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl __assert_fail
.L29:
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl rmdir
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L30
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 134
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L30:
bl __errno_location
ldr w0, [x0]
cmp w0, 20
beq .L31
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 135
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl __assert_fail
.L31:
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl rmdir
str w0, [sp, 20]
ldr w0, [sp, 20]
cmp w0, 0
beq .L32
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 138
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl __assert_fail
.L32:
mov w1, 0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl access
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
beq .L33
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 140
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl __assert_fail
.L33:
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl puts
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 536]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L34
bl __stack_chk_fail
.L34:
ldp x29, x30, [sp]
add sp, sp, 544
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size test, .-test
.align 2
.global main
.type main, %function
main:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, cleanup
add x0, x0, :lo12:cleanup
bl atexit
adrp x0, cleanup
add x1, x0, :lo12:cleanup
mov w0, 6
bl signal
bl setup
bl test
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size main, .-main
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.1, %object
.size __PRETTY_FUNCTION__.1, 12
__PRETTY_FUNCTION__.1:
.string "create_file"
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
.string "test"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global longestValidParentheses
.type longestValidParentheses, %function
longestValidParentheses:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl strlen
str w0, [sp, 52]
str wzr, [sp, 44]
ldrsw x0, [sp, 52]
lsl x0, x0, 2
bl malloc
str x0, [sp, 56]
ldr w0, [sp, 52]
cmp w0, 1
bgt .L2
mov w0, 0
b .L3
.L2:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
mov x2, x0
mov w1, 0
ldr x0, [sp, 56]
bl memset
mov w0, 1
str w0, [sp, 48]
b .L4
.L10:
ldrsw x0, [sp, 48]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 41
bne .L5
ldrsw x0, [sp, 48]
sub x0, x0, #1
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 40
bne .L6
ldr w0, [sp, 48]
cmp w0, 1
ble .L7
ldrsw x0, [sp, 48]
lsl x0, x0, 2
sub x0, x0, #8
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
add w0, w0, 2
b .L8
.L7:
mov w0, 2
.L8:
ldrsw x1, [sp, 48]
lsl x1, x1, 2
ldr x2, [sp, 56]
add x1, x2, x1
str w0, [x1]
b .L9
.L6:
ldrsw x0, [sp, 48]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 48]
sub w0, w1, w0
cmp w0, 0
ble .L9
ldrsw x0, [sp, 48]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 48]
sub w0, w1, w0
sxtw x0, w0
sub x0, x0, #1
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 40
bne .L9
ldrsw x0, [sp, 48]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 56]
add x0, x1, x0
ldr w1, [x0]
ldrsw x0, [sp, 48]
lsl x0, x0, 2
sub x0, x0, #4
ldr x2, [sp, 56]
add x0, x2, x0
ldr w0, [x0]
ldr w2, [sp, 48]
sub w0, w2, w0
sxtw x0, w0
lsl x0, x0, 2
sub x0, x0, #8
ldr x2, [sp, 56]
add x0, x2, x0
ldr w0, [x0]
add w1, w1, w0
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x2, [sp, 56]
add x0, x2, x0
add w1, w1, 2
str w1, [x0]
.L9:
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 44]
cmp w1, w0
bge .L5
ldrsw x0, [sp, 48]
lsl x0, x0, 2
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
.L5:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L4:
ldr w1, [sp, 48]
ldr w0, [sp, 52]
cmp w1, w0
blt .L10
ldr w0, [sp, 44]
.L3:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size longestValidParentheses, .-longestValidParentheses
.section .rodata
.align 3
.LC0:
.string "(()"
.align 3
.LC1:
.string ")()())"
.align 3
.LC2:
.string "()(()"
.align 3
.LC3:
.string "result of s1 : %d\n"
.align 3
.LC4:
.string "result of s2 : %d\n"
.align 3
.LC5:
.string "result of s3 : %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
str x0, [sp, 24]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
str x0, [sp, 32]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
str x0, [sp, 40]
ldr x0, [sp, 24]
bl longestValidParentheses
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr x0, [sp, 32]
bl longestValidParentheses
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [sp, 40]
bl longestValidParentheses
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
mov w0, 0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global strtoul
.type strtoul, %function
strtoul:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str w2, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
str xzr, [sp, 64]
ldr x0, [sp, 32]
cmp x0, 0
bne .L2
add x0, sp, 56
str x0, [sp, 32]
.L2:
ldr x0, [sp, 32]
ldr x1, [sp, 40]
str x1, [x0]
ldr w0, [sp, 28]
cmp w0, 0
blt .L3
ldr w0, [sp, 28]
cmp w0, 36
ble .L6
.L3:
mov x0, 0
b .L19
.L7:
ldr x0, [sp, 32]
ldr x0, [x0]
add x1, x0, 1
ldr x0, [sp, 32]
str x1, [x0]
.L6:
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 32
beq .L7
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 9
beq .L7
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 10
beq .L7
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 13
beq .L7
ldr w0, [sp, 28]
cmp w0, 0
bne .L8
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 48
bne .L9
ldr x0, [sp, 32]
ldr x0, [x0]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 120
bne .L9
mov w0, 16
str w0, [sp, 28]
b .L8
.L9:
mov w0, 10
str w0, [sp, 28]
.L8:
ldr w0, [sp, 28]
cmp w0, 16
bne .L11
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 48
bne .L11
ldr x0, [sp, 32]
ldr x0, [x0]
add x0, x0, 1
ldrb w0, [x0]
cmp w0, 120
bne .L11
ldr x0, [sp, 32]
ldr x0, [x0]
add x1, x0, 1
ldr x0, [sp, 32]
str x1, [x0]
ldr x0, [sp, 32]
ldr x0, [x0]
add x1, x0, 1
ldr x0, [sp, 32]
str x1, [x0]
b .L11
.L18:
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 47
bls .L12
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 57
bhi .L12
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
and w0, w0, 65535
sub w0, w0, #48
and w0, w0, 65535
strh w0, [sp, 54]
b .L13
.L12:
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 96
bls .L14
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 122
bhi .L14
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
and w0, w0, 65535
sub w0, w0, #87
and w0, w0, 65535
strh w0, [sp, 54]
b .L13
.L14:
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 64
bls .L15
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 90
bhi .L15
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
and w0, w0, 65535
sub w0, w0, #55
and w0, w0, 65535
strh w0, [sp, 54]
.L13:
ldrsh w0, [sp, 54]
ldr w1, [sp, 28]
cmp w1, w0
ble .L21
ldrsw x1, [sp, 28]
ldr x0, [sp, 64]
mul x1, x1, x0
ldrsh x0, [sp, 54]
add x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 32]
ldr x0, [x0]
add x1, x0, 1
ldr x0, [sp, 32]
str x1, [x0]
.L11:
ldr x0, [sp, 32]
ldr x0, [x0]
ldrb w0, [x0]
cmp w0, 0
bne .L18
b .L15
.L21:
nop
.L15:
ldr x0, [sp, 64]
.L19:
mov x1, x0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L20
bl __stack_chk_fail
.L20:
mov x0, x1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size strtoul, .-strtoul
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string " %f %f %f"
.align 3
.LC1:
.string "Area = %.1f\n"
.align 3
.LC2:
.string "Perimetro = %.1f\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x2, sp, 28
add x1, sp, 24
add x0, sp, 20
mov x3, x2
mov x2, x1
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr s1, [sp, 20]
ldr s0, [sp, 24]
fadd s1, s1, s0
ldr s0, [sp, 28]
fcmpe s1, s0
bls .L2
ldr s1, [sp, 20]
ldr s0, [sp, 28]
fadd s1, s1, s0
ldr s0, [sp, 24]
fcmpe s1, s0
bls .L2
ldr s1, [sp, 24]
ldr s0, [sp, 28]
fadd s1, s1, s0
ldr s0, [sp, 20]
fcmpe s1, s0
bls .L2
b .L8
.L2:
ldr s1, [sp, 20]
ldr s0, [sp, 24]
fadd s1, s1, s0
ldr s0, [sp, 28]
fmul s1, s1, s0
fmov s0, 2.0e+0
fdiv s0, s1, s0
str s0, [sp, 36]
ldr s0, [sp, 36]
fcvt d0, s0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L5
.L8:
ldr s1, [sp, 20]
ldr s0, [sp, 24]
fadd s1, s1, s0
ldr s0, [sp, 28]
fadd s0, s1, s0
str s0, [sp, 32]
ldr s0, [sp, 32]
fcvt d0, s0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
.L5:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global pi2
.type pi2, %function
pi2:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
mov w0, 20077
movk w0, 0x41c6, lsl 16
str w0, [sp, 16]
mov w0, 12345
str w0, [sp, 20]
mov w0, 33885
movk w0, 0x50a, lsl 16
str w0, [sp]
str wzr, [sp, 4]
str wzr, [sp, 8]
str wzr, [sp, 12]
b .L2
.L5:
ldr w1, [sp, 16]
ldr w0, [sp]
mul w0, w1, w0
ldr w1, [sp, 20]
add w0, w1, w0
str w0, [sp]
ldr w0, [sp]
scvtf d0, w0
mov x0, 281474972516352
movk x0, 0x41df, lsl 48
fmov d1, x0
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, 24]
ldr w1, [sp, 16]
ldr w0, [sp]
mul w0, w1, w0
ldr w1, [sp, 20]
add w0, w1, w0
str w0, [sp]
ldr w0, [sp]
scvtf d0, w0
mov x0, 281474972516352
movk x0, 0x41df, lsl 48
fmov d1, x0
fdiv d0, d0, d1
fcvt s0, d0
str s0, [sp, 28]
ldr s0, [sp, 24]
fmul s1, s0, s0
ldr s0, [sp, 28]
fmul s0, s0, s0
fadd s1, s1, s0
fmov s0, 1.0e+0
fcmpe s1, s0
bls .L7
b .L3
.L7:
ldr w0, [sp, 8]
add w0, w0, 1
str w0, [sp, 8]
.L3:
ldr w0, [sp, 12]
add w0, w0, 1
str w0, [sp, 12]
ldr w0, [sp, 4]
add w0, w0, 1
str w0, [sp, 4]
.L2:
ldr w1, [sp, 4]
mov w0, 41247
movk w0, 0x7, lsl 16
cmp w1, w0
ble .L5
ldr w0, [sp, 8]
scvtf d1, w0
fmov d0, 4.0e+0
fmul d1, d1, d0
ldr w0, [sp, 12]
scvtf d0, w0
fdiv d0, d1, d0
fcvt s0, d0
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size pi2, .-pi2
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\350\276\223\345\205\245\345\205\203\347\264\240\344\270\252\346\225\260\357\274\2100~100\357\274\211: "
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "\350\276\223\345\205\245\346\225\260\345\255\227 %d: "
.align 3
.LC3:
.string "%f"
.align 3
.LC4:
.string "\346\234\200\345\244\247\345\205\203\347\264\240\344\270\272 = %.2f"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -432]!
.cfi_def_cfa_offset 432
.cfi_offset 29, -432
.cfi_offset 30, -424
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 424]
mov x1, 0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 16
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
mov w0, 10
bl putchar
str wzr, [sp, 20]
b .L2
.L3:
ldr w0, [sp, 20]
add w0, w0, 1
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x1, sp, 24
ldrsw x0, [sp, 20]
lsl x0, x0, 2
add x0, x1, x0
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L2:
ldr w0, [sp, 16]
ldr w1, [sp, 20]
cmp w1, w0
blt .L3
mov w0, 1
str w0, [sp, 20]
b .L4
.L7:
ldr s1, [sp, 24]
ldrsw x0, [sp, 20]
lsl x0, x0, 2
add x1, sp, 24
ldr s0, [x1, x0]
fcmpe s1, s0
bmi .L10
b .L5
.L10:
ldrsw x0, [sp, 20]
lsl x0, x0, 2
add x1, sp, 24
ldr s0, [x1, x0]
str s0, [sp, 24]
.L5:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L4:
ldr w0, [sp, 16]
ldr w1, [sp, 20]
cmp w1, w0
blt .L7
ldr s0, [sp, 24]
fcvt d0, s0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 424]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L9
bl __stack_chk_fail
.L9:
mov w0, w1
ldp x29, x30, [sp], 432
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global uniform_random
.type uniform_random, %function
uniform_random:
.LFB0:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str d0, [sp, 24]
str d1, [sp, 16]
str x0, [sp, 8]
str xzr, [sp, 40]
ldr x0, [sp, 8]
ldr x1, [x0]
mov x0, x1
lsl x0, x0, 9
sub x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
add x1, x0, 1
ldr x0, [sp, 8]
str x1, [x0]
ldr x0, [sp, 8]
ldr x0, [x0]
negs x1, x0
and x0, x0, 1048575
and x1, x1, 1048575
csneg x1, x0, x1, mi
ldr x0, [sp, 8]
str x1, [x0]
ldr x0, [sp, 8]
ldr d0, [x0]
scvtf d0, d0
mov x0, 4697254411347427328
fmov d1, x0
fdiv d0, d0, d1
str d0, [sp, 40]
ldr d1, [sp, 16]
ldr d0, [sp, 24]
fsub d1, d1, d0
ldr d0, [sp, 40]
fmul d0, d1, d0
ldr d1, [sp, 24]
fadd d0, d1, d0
str d0, [sp, 40]
ldr d0, [sp, 40]
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size uniform_random, .-uniform_random
.section .rodata
.align 3
.LC0:
.string "\033[2K\r"
.align 3
.LC1:
.string "random number:%f\r"
.text
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
mov x0, 14576
str x0, [sp, 24]
str xzr, [sp, 32]
mov x0, 4636737291354636288
fmov d0, x0
str d0, [sp, 40]
str xzr, [sp, 48]
str wzr, [sp, 20]
str wzr, [sp, 20]
b .L4
.L5:
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 24
ldr d1, [sp, 40]
ldr d0, [sp, 32]
bl uniform_random
str d0, [sp, 48]
ldr d0, [sp, 48]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
mov w0, 1
bl sleep
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L4:
ldr w0, [sp, 20]
cmp w0, 9
ble .L5
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d "
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w0, -1
strb w0, [sp, 27]
mov w0, 31
str w0, [sp, 28]
b .L2
.L4:
ldrb w1, [sp, 27]
ldr w0, [sp, 28]
asr w0, w1, w0
and w0, w0, 1
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [sp, 28]
and w0, w0, 7
cmp w0, 0
bne .L3
mov w0, 32
bl putchar
.L3:
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 0
bge .L4
mov w0, 10
bl putchar
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global toupper
.type toupper, %function
toupper:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
strb w0, [sp, 15]
ldrb w0, [sp, 15]
sub w0, w0, #97
and w0, w0, 255
cmp w0, 25
bhi .L2
ldrb w0, [sp, 15]
sub w0, w0, #32
and w0, w0, 255
b .L3
.L2:
ldrb w0, [sp, 15]
.L3:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size toupper, .-toupper
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
str x0, [sp, 24]
mov w0, 3
str w0, [sp, 16]
mov w0, 9
str w0, [sp, 20]
ldr w2, [sp, 20]
ldr w1, [sp, 16]
ldr x0, [sp, 24]
bl printf
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global kbhit
.type kbhit, %function
kbhit:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -160]!
.cfi_def_cfa_offset 160
.cfi_offset 29, -160
.cfi_offset 30, -152
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 152]
mov x1, 0
add x0, sp, 24
mov x1, x0
mov w0, 0
bl tcgetattr
add x0, sp, 88
add x1, sp, 24
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 32]
str q0, [x0, 32]
ldr q0, [x1, 44]
str q0, [x0, 44]
ldr w1, [sp, 100]
mov w0, -11
and w0, w1, w0
str w0, [sp, 100]
add x0, sp, 88
mov x2, x0
mov w1, 0
mov w0, 0
bl tcsetattr
mov w2, 0
mov w1, 3
mov w0, 0
bl fcntl
str w0, [sp, 16]
ldr w0, [sp, 16]
orr w0, w0, 2048
mov w2, w0
mov w1, 4
mov w0, 0
bl fcntl
bl getchar
str w0, [sp, 20]
add x0, sp, 24
mov x2, x0
mov w1, 0
mov w0, 0
bl tcsetattr
ldr w2, [sp, 16]
mov w1, 4
mov w0, 0
bl fcntl
ldr w0, [sp, 20]
cmn w0, #1
beq .L2
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
mov x1, x0
ldr w0, [sp, 20]
bl ungetc
ldr w0, [sp, 20]
b .L4
.L2:
mov w0, 0
.L4:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 152]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 160
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size kbhit, .-kbhit
.local old
.comm old,60,8
.local new
.comm new,60,8
.align 2
.global initTermios
.type initTermios, %function
initTermios:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
adrp x0, old
add x1, x0, :lo12:old
mov w0, 0
bl tcgetattr
adrp x0, new
add x2, x0, :lo12:new
adrp x0, old
add x1, x0, :lo12:old
mov x0, x2
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr q0, [x1, 32]
str q0, [x0, 32]
ldr q0, [x1, 44]
str q0, [x0, 44]
adrp x0, new
add x0, x0, :lo12:new
ldr w0, [x0, 12]
and w1, w0, -3
adrp x0, new
add x0, x0, :lo12:new
str w1, [x0, 12]
adrp x0, new
add x0, x0, :lo12:new
ldr w1, [x0, 12]
ldr w0, [sp, 28]
cmp w0, 0
beq .L7
mov w0, 8
b .L8
.L7:
mov w0, -9
.L8:
and w1, w0, w1
adrp x0, new
add x0, x0, :lo12:new
str w1, [x0, 12]
adrp x0, new
add x2, x0, :lo12:new
mov w1, 0
mov w0, 0
bl tcsetattr
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size initTermios, .-initTermios
.align 2
.global resetTermios
.type resetTermios, %function
resetTermios:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, old
add x2, x0, :lo12:old
mov w1, 0
mov w0, 0
bl tcsetattr
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size resetTermios, .-resetTermios
.align 2
.global getch_
.type getch_, %function
getch_:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
bl initTermios
bl getchar
strb w0, [sp, 47]
bl resetTermios
ldrb w0, [sp, 47]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size getch_, .-getch_
.align 2
.global getch
.type getch, %function
getch:
.LFB4:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w0, 0
bl getch_
and w0, w0, 255
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size getch, .-getch
.align 2
.global getche
.type getche, %function
getche:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w0, 1
bl getch_
and w0, w0, 255
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size getche, .-getche
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global calc
.type calc, %function
calc:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 12]
cmp w0, 7
ble .L2
ldr w1, [sp, 12]
ldr w0, [sp, 8]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
b .L3
.L2:
ldr w1, [sp, 12]
ldr w0, [sp, 8]
mul w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
.L3:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size calc, .-calc
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov w1, 7
mov w0, 5
bl calc
str w0, [sp, 24]
str wzr, [sp, 28]
b .L5
.L6:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L5:
ldr w0, [sp, 28]
cmp w0, 4
ble .L6
mov w0, 0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "\nBruk: %s t1 t2 \n"
.align 3
.LC1:
.string "\n hvor t1 og t2 er to heltall "
.align 3
.LC2:
.string "som er > 0\n"
.align 3
.LC3:
.string "Programmet adderer to tall og "
.align 3
.LC4:
.string "skriver summen ut paa skjermen."
.align 3
.LC5:
.string "\nFeil: t1 maa vaere et heltall > 0"
.align 3
.LC6:
.string "\nFeil: t2 maa vaere et heltall > 0"
.align 3
.LC7:
.string "Summen av %d og %d er %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str w0, [sp, 28]
str x1, [sp, 16]
ldr x0, [sp, 16]
ldr x0, [x0]
str x0, [sp, 56]
ldr w0, [sp, 28]
cmp w0, 3
beq .L2
ldr x1, [sp, 56]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
mov w0, 1
b .L3
.L2:
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 64]
ldr x0, [sp, 16]
ldr x0, [x0, 16]
str x0, [sp, 72]
ldr x0, [sp, 64]
bl atoi
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bne .L4
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
mov w0, 1
b .L3
.L4:
ldr x0, [sp, 72]
bl atoi
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
bne .L5
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
mov w0, 1
b .L3
.L5:
ldr w1, [sp, 44]
ldr w0, [sp, 48]
add w0, w1, w0
str w0, [sp, 52]
ldr w3, [sp, 52]
ldr w2, [sp, 48]
ldr w1, [sp, 44]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
mov w0, 0
.L3:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%i %i %i %i %i %i %i\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.cfi_startproc
sub sp, sp, #1088
.cfi_def_cfa_offset 1088
stp x29, x30, [sp]
.cfi_offset 29, -1088
.cfi_offset 30, -1080
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1080]
mov x1, 0
str wzr, [sp, 24]
str wzr, [sp, 28]
str wzr, [sp, 32]
str wzr, [sp, 36]
str wzr, [sp, 40]
str wzr, [sp, 44]
str wzr, [sp, 48]
b .L2
.L9:
add x0, sp, 56
bl strlen
str w0, [sp, 52]
str wzr, [sp, 20]
b .L3
.L8:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
ldrsw x0, [sp, 20]
add x1, sp, 56
ldrb w0, [x1, x0]
cmp w0, 32
bne .L4
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L4:
ldrsw x0, [sp, 20]
add x1, sp, 56
ldrb w0, [x1, x0]
cmp w0, 64
bls .L5
ldrsw x0, [sp, 20]
add x1, sp, 56
ldrb w0, [x1, x0]
cmp w0, 90
bhi .L5
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L5:
ldrsw x0, [sp, 20]
add x1, sp, 56
ldrb w0, [x1, x0]
cmp w0, 96
bls .L6
ldrsw x0, [sp, 20]
add x1, sp, 56
ldrb w0, [x1, x0]
cmp w0, 122
bhi .L6
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L6:
ldrsw x0, [sp, 20]
add x1, sp, 56
ldrb w0, [x1, x0]
cmp w0, 47
bls .L7
ldrsw x0, [sp, 20]
add x1, sp, 56
ldrb w0, [x1, x0]
cmp w0, 57
bhi .L7
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L7:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L3:
ldr w1, [sp, 20]
ldr w0, [sp, 52]
cmp w1, w0
ble .L8
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L2:
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 56
mov x2, x1
mov w1, 1024
bl fgets
cmp x0, 0
bne .L9
ldr w1, [sp, 24]
ldr w0, [sp, 44]
sub w0, w1, w0
str w0, [sp, 24]
ldr w1, [sp, 44]
ldr w0, [sp, 28]
add w0, w1, w0
str w0, [sp, 48]
ldr w7, [sp, 40]
ldr w6, [sp, 36]
ldr w5, [sp, 32]
ldr w4, [sp, 28]
ldr w3, [sp, 44]
ldr w2, [sp, 48]
ldr w1, [sp, 24]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1080]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L11
bl __stack_chk_fail
.L11:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 1088
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global urlhack_default_regex
.bss
.align 3
.type urlhack_default_regex, %object
.size urlhack_default_regex, 8
urlhack_default_regex:
.zero 8
.global urlhack_liberal_regex
.align 3
.type urlhack_liberal_regex, %object
.size urlhack_liberal_regex, 8
urlhack_liberal_regex:
.zero 8
.global urlhack_mouse_old_x
.align 2
.type urlhack_mouse_old_x, %object
.size urlhack_mouse_old_x, 4
urlhack_mouse_old_x:
.zero 4
.global urlhack_mouse_old_y
.align 2
.type urlhack_mouse_old_y, %object
.size urlhack_mouse_old_y, 4
urlhack_mouse_old_y:
.zero 4
.global urlhack_current_region
.align 2
.type urlhack_current_region, %object
.size urlhack_current_region, 4
urlhack_current_region:
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global solution
.type solution, %function
solution:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
lsl w0, w0, 1
add w1, w0, 1
ldr w0, [sp, 28]
add w0, w0, 1
mul w1, w1, w0
ldr w0, [sp, 28]
mul w0, w1, w0
mov w1, 43691
movk w1, 0x2aaa, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w0, w0, 31
sub w0, w1, w0
str w0, [sp, 40]
ldr w0, [sp, 28]
add w1, w0, 1
ldr w0, [sp, 28]
mul w0, w1, w0
scvtf d1, w0
fmov d0, 5.0e-1
fmul d0, d1, d0
fcvtzu w0, d0
str w0, [sp, 44]
ldr w0, [sp, 44]
ucvtf d0, w0
fmov d1, 2.0e+0
bl pow
fmov d1, d0
ldr w0, [sp, 40]
ucvtf d0, w0
fsub d0, d1, d0
fcvtzu w0, d0
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size solution, .-solution
.section .rodata
.align 3
.LC0:
.string "%u\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w0, 100
bl solution
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global string2num
.type string2num, %function
string2num:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str wzr, [sp, 28]
b .L2
.L3:
ldr w1, [sp, 28]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w1, w0
ldr x0, [sp, 8]
ldrb w0, [x0]
sub w0, w0, #48
add w0, w1, w0
str w0, [sp, 28]
ldr x0, [sp, 8]
add x0, x0, 1
str x0, [sp, 8]
.L2:
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 0
bne .L3
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size string2num, .-string2num
.align 2
.global string2numV1
.type string2numV1, %function
string2numV1:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
str wzr, [sp, 24]
str wzr, [sp, 28]
b .L6
.L7:
ldr w1, [sp, 28]
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 1
mov w1, w0
ldr x0, [sp]
ldrb w0, [x0]
sub w0, w0, #48
add w0, w1, w0
str w0, [sp, 28]
ldr x0, [sp]
add x0, x0, 1
str x0, [sp]
.L6:
ldr x0, [sp]
ldrb w0, [x0]
cmp w0, 0
bne .L7
b .L8
.L11:
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 47
bls .L9
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 57
bhi .L9
ldr w1, [sp, 24]
ldr w0, [sp, 28]
mul w1, w1, w0
ldr x0, [sp, 8]
ldrb w0, [x0]
sub w0, w0, #48
add w0, w1, w0
str w0, [sp, 24]
b .L10
.L9:
ldr w1, [sp, 24]
ldr w0, [sp, 28]
mul w1, w1, w0
ldr x0, [sp, 8]
ldrb w0, [x0]
sub w0, w0, #87
add w0, w1, w0
str w0, [sp, 24]
.L10:
ldr x0, [sp, 8]
add x0, x0, 1
str x0, [sp, 8]
.L8:
ldr x0, [sp, 8]
ldrb w0, [x0]
cmp w0, 0
bne .L11
ldr w0, [sp, 24]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size string2numV1, .-string2numV1
.section .rodata
.align 3
.LC0:
.string "1234"
.align 3
.LC1:
.string "==> %d\n"
.align 3
.LC2:
.string "1"
.align 3
.LC3:
.string "8"
.align 3
.LC4:
.string "777"
.align 3
.LC5:
.string "10"
.align 3
.LC6:
.string "16"
.align 3
.LC7:
.string "1a"
.align 3
.LC8:
.string "%d\n"
.align 3
.LC9:
.string "a09b"
.align 3
.LC10:
.string "36"
.align 3
.LC11:
.string "z09b"
.text
.align 2
.global main
.type main, %function
main:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -16
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl string2num
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl string2num
add w0, w0, 1
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl string2num
mov w19, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl string2num
add w0, w19, w0
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, .LC3
add x1, x0, :lo12:.LC3
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl string2numV1
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, .LC5
add x1, x0, :lo12:.LC5
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl string2numV1
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
adrp x0, .LC6
add x1, x0, :lo12:.LC6
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl string2numV1
mov w1, w0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
adrp x0, .LC6
add x1, x0, :lo12:.LC6
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl string2numV1
mov w1, w0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
adrp x0, .LC10
add x1, x0, :lo12:.LC10
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl string2numV1
mov w1, w0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
mov w0, 0
ldr x19, [sp, 16]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 2
.type CAP_SCOPE__LOCAL, %object
.size CAP_SCOPE__LOCAL, 4
CAP_SCOPE__LOCAL:
.word 1
.align 2
.type CAP_SCOPE__GLOBAL, %object
.size CAP_SCOPE__GLOBAL, 4
CAP_SCOPE__GLOBAL:
.word 2
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global men_pos
.bss
.align 3
.type men_pos, %object
.size men_pos, 8
men_pos:
.zero 8
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "Menor valor: %d\nPosicao: %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
add x0, sp, 24
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 24]
sxtw x0, w0
lsl x0, x0, 2
bl malloc
str x0, [sp, 32]
str wzr, [sp, 28]
b .L2
.L3:
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 24]
ldr w1, [sp, 28]
cmp w1, w0
blt .L3
ldr w0, [sp, 24]
mov w1, w0
ldr x0, [sp, 32]
bl checa_menor
adrp x0, men_pos
add x0, x0, :lo12:men_pos
ldr w1, [x0]
adrp x0, men_pos
add x0, x0, :lo12:men_pos
ldr w0, [x0, 4]
mov w2, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 40]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.align 2
.global checa_menor
.type checa_menor, %function
checa_menor:
.LFB7:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
ldr w1, [x0]
adrp x0, men_pos
add x0, x0, :lo12:men_pos
str w1, [x0]
str wzr, [sp, 28]
b .L7
.L9:
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [x0]
adrp x0, men_pos
add x0, x0, :lo12:men_pos
ldr w0, [x0]
cmp w1, w0
bge .L8
ldrsw x0, [sp, 28]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [x0]
adrp x0, men_pos
add x0, x0, :lo12:men_pos
str w1, [x0]
adrp x0, men_pos
add x0, x0, :lo12:men_pos
ldr w1, [sp, 28]
str w1, [x0, 4]
.L8:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L7:
ldr w1, [sp, 28]
ldr w0, [sp, 4]
cmp w1, w0
blt .L9
nop
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size checa_menor, .-checa_menor
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global GUID_PROCESSOR_ALLOW_THROTTLING
.section .rodata
.align 3
.type GUID_PROCESSOR_ALLOW_THROTTLING, %object
.size GUID_PROCESSOR_ALLOW_THROTTLING, 24
GUID_PROCESSOR_ALLOW_THROTTLING:
.xword 990172413
.hword 7367
.hword 20259
.ascii "\253\034\3213x\031\304\273"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global testExe2lib
.type testExe2lib, %function
testExe2lib:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl testExe2libImp
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size testExe2lib, .-testExe2lib
``` |