text
stringlengths 197
24.1M
|
---|
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "usage: %d <Memory in Kbs>"
.align 3
.LC1:
.string "\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -368]!
.cfi_def_cfa_offset 368
.cfi_offset 29, -368
.cfi_offset 30, -360
mov x29, sp
.cfi_def_cfa_register 29
stp x20, x21, [sp, 16]
stp x22, x23, [sp, 32]
stp x24, x25, [sp, 48]
stp x26, x27, [sp, 64]
sub sp, sp, #16
.cfi_offset 20, -352
.cfi_offset 21, -344
.cfi_offset 22, -336
.cfi_offset 23, -328
.cfi_offset 24, -320
.cfi_offset 25, -312
.cfi_offset 26, -304
.cfi_offset 27, -296
str w0, [x29, 156]
str x1, [x29, 144]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 360]
mov x1, 0
ldr w0, [x29, 156]
cmp w0, 2
beq .L2
ldr w1, [x29, 156]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
.L2:
str wzr, [x29, 160]
mov w0, 1
str w0, [x29, 168]
str wzr, [x29, 172]
str wzr, [x29, 160]
ldr x0, [x29, 192]
cmp x0, 0
bne .L3
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
mov w0, 0
bl exit
.L3:
ldr x0, [x29, 144]
add x0, x0, 8
ldr x0, [x0]
bl atoi
add w1, w0, 1023
cmp w0, 0
csel w0, w1, w0, lt
asr w0, w0, 10
str w0, [x29, 184]
ldr w0, [x29, 184]
cmp w0, 2047
ble .L4
ldr w0, [x29, 184]
mov w1, 513
movk w1, 0x8010, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
add w1, w0, w1
asr w1, w1, 10
asr w0, w0, 31
sub w0, w1, w0
add w0, w0, 1
str w0, [x29, 168]
ldr w0, [x29, 184]
mov w1, 513
movk w1, 0x8010, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
add w1, w0, w1
asr w2, w1, 10
asr w1, w0, 31
sub w2, w2, w1
mov w1, w2
lsl w1, w1, 11
sub w1, w1, w2
sub w0, w0, w1
str w0, [x29, 172]
mov w0, 2047
str w0, [x29, 164]
b .L5
.L4:
ldr w0, [x29, 184]
str w0, [x29, 164]
.L5:
ldr w0, [x29, 168]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 200]
sxtw x1, w0
str x1, [x29, 128]
str xzr, [x29, 136]
ldp x2, x3, [x29, 128]
mov x1, x2
lsr x1, x1, 59
mov x4, x3
lsl x27, x4, 5
orr x27, x1, x27
mov x1, x2
lsl x26, x1, 5
sxtw x1, w0
str x1, [x29, 112]
str xzr, [x29, 120]
ldp x2, x3, [x29, 112]
mov x1, x2
lsr x1, x1, 59
mov x4, x3
lsl x25, x4, 5
orr x25, x1, x25
mov x1, x2
lsl x24, x1, 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
.L6:
cmp sp, x1
beq .L7
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L6
.L7:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L8
str xzr, [sp, 1024]
.L8:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 208]
ldr w0, [x29, 164]
lsl w0, w0, 20
str w0, [x29, 188]
ldr w0, [x29, 168]
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 216]
sxtw x1, w0
str x1, [x29, 96]
str xzr, [x29, 104]
ldp x2, x3, [x29, 96]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x23, x4, 6
orr x23, x1, x23
mov x1, x2
lsl x22, x1, 6
sxtw x1, w0
str x1, [x29, 80]
str xzr, [x29, 88]
ldp x2, x3, [x29, 80]
mov x1, x2
lsr x1, x1, 58
mov x4, x3
lsl x21, x4, 6
orr x21, x1, x21
mov x1, x2
lsl x20, x1, 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
.L9:
cmp sp, x1
beq .L10
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L9
.L10:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L11
str xzr, [sp, 1024]
.L11:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 224]
str wzr, [x29, 176]
b .L12
.L13:
ldrsw x0, [x29, 188]
bl malloc
mov x2, x0
ldr x0, [x29, 224]
ldrsw x1, [x29, 176]
str x2, [x0, x1, lsl 3]
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L12:
ldr w1, [x29, 176]
ldr w0, [x29, 168]
cmp w1, w0
blt .L13
ldr w0, [x29, 172]
cmp w0, 0
ble .L14
ldr w0, [x29, 172]
lsl w0, w0, 20
sxtw x0, w0
bl malloc
mov x2, x0
ldr x0, [x29, 224]
ldrsw x1, [x29, 176]
str x2, [x0, x1, lsl 3]
.L14:
str wzr, [x29, 180]
.L21:
str wzr, [x29, 176]
b .L15
.L20:
ldr w1, [x29, 160]
ldr w0, [x29, 184]
cmp w1, w0
bge .L16
ldr w1, [x29, 160]
ldr w0, [x29, 164]
add w0, w1, w0
str w0, [x29, 160]
.L16:
ldr w1, [x29, 160]
ldr w0, [x29, 184]
cmp w1, w0
blt .L17
ldr w1, [x29, 160]
ldr w0, [x29, 184]
cmp w1, w0
beq .L17
ldr w1, [x29, 160]
ldr w0, [x29, 164]
sub w0, w1, w0
ldr w1, [x29, 172]
add w0, w1, w0
str w0, [x29, 160]
.L17:
str wzr, [x29, 180]
b .L18
.L19:
ldr x0, [x29, 224]
ldrsw x1, [x29, 176]
ldr x1, [x0, x1, lsl 3]
ldrsw x0, [x29, 180]
add x0, x1, x0
mov w1, 33
strb w1, [x0]
ldr w0, [x29, 180]
add w0, w0, 1024
str w0, [x29, 180]
.L18:
ldr w1, [x29, 180]
ldr w0, [x29, 188]
cmp w1, w0
blt .L19
ldr w0, [x29, 176]
add w0, w0, 1
str w0, [x29, 176]
.L15:
ldr w1, [x29, 176]
ldr w0, [x29, 168]
cmp w1, w0
blt .L20
mov w0, 10
bl sleep
b .L21
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global toto
.type toto, %function
toto:
.LFB0:
.cfi_startproc
mov x12, 40448
sub sp, sp, x12
.cfi_def_cfa_offset 40448
stp x29, x30, [sp]
.cfi_offset 29, -40448
.cfi_offset 30, -40440
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x1, sp, 32768
ldr x2, [x0]
str x2, [x1, 7672]
mov x2, 0
mov w0, 1
str w0, [sp, 28]
b .L2
.L11:
mov w0, 1
str w0, [sp, 32]
b .L3
.L4:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
add w0, w1, w0
sub w0, w0, #1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
ldr w2, [sp, 28]
ldr w1, [sp, 32]
add w1, w2, w1
add w2, w0, 2
sxtw x0, w1
lsl x0, x0, 2
add x1, sp, 40
str w2, [x1, x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L3:
ldr w0, [sp, 32]
cmp w0, 99
ble .L4
ldr w0, [sp, 28]
lsl w1, w0, 1
ldr w0, [sp, 28]
add w0, w0, 8
cmp w1, w0
bne .L5
bl bar
mov w0, 1
str w0, [sp, 32]
b .L6
.L7:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
add w0, w1, w0
sub w0, w0, #1
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
ldr w2, [sp, 28]
ldr w1, [sp, 32]
add w1, w2, w1
add w2, w0, 2
sxtw x0, w1
lsl x0, x0, 2
add x1, sp, 40
str w2, [x1, x0]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L6:
ldr w0, [sp, 32]
cmp w0, 99
ble .L7
b .L8
.L5:
ldrsw x1, [sp, 28]
mov x0, 404
mul x0, x1, x0
add x1, sp, 440
mov w2, 2
str w2, [x1, x0]
.L8:
mov w0, 1
str w0, [sp, 36]
b .L9
.L10:
ldr w1, [sp, 28]
ldr w0, [sp, 36]
add w0, w1, w0
sub w0, w0, #5
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 40
ldr w0, [x1, x0]
ldr w2, [sp, 28]
ldr w1, [sp, 36]
add w1, w2, w1
add w2, w0, 2
sxtw x0, w1
lsl x0, x0, 2
add x1, sp, 40
str w2, [x1, x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L9:
ldr w0, [sp, 36]
cmp w0, 99
ble .L10
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 99
ble .L11
ldr w1, [sp, 1660]
ldr w0, [sp, 44]
add w0, w1, w0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
add x3, sp, 32768
ldr x4, [x3, 7672]
ldr x2, [x0]
subs x4, x4, x2
mov x2, 0
beq .L13
bl __stack_chk_fail
.L13:
mov w0, w1
ldp x29, x30, [sp]
mov x12, 40448
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size toto, .-toto
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global head
.bss
.align 3
.type head, %object
.size head, 8
head:
.zero 8
.section .rodata
.align 3
.LC0:
.string "Enter item: "
.align 3
.LC1:
.string "%d"
.text
.align 2
.global createNode
.type createNode, %function
createNode:
.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
mov x0, 16
bl malloc
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
beq .L2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w1, [sp, 28]
ldr x0, [sp, 32]
str w1, [x0]
ldr x0, [sp, 32]
str xzr, [x0, 8]
.L2:
ldr x0, [sp, 32]
mov x1, x0
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 .L4
bl __stack_chk_fail
.L4:
mov x0, x1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size createNode, .-createNode
.section .rodata
.align 3
.LC2:
.string "Memory Undeflow - No insertion"
.text
.align 2
.global insertAtBeginning
.type insertAtBeginning, %function
insertAtBeginning:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
bl createNode
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L6
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 1
bl exit
.L6:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L7
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [sp, 24]
str x1, [x0]
b .L9
.L7:
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [x0]
ldr x0, [sp, 24]
str x1, [x0, 8]
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [sp, 24]
str x1, [x0]
.L9:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size insertAtBeginning, .-insertAtBeginning
.align 2
.global insertAtEnd
.type insertAtEnd, %function
insertAtEnd:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
bl createNode
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L11
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 1
bl exit
.L11:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L12
adrp x0, head
add x0, x0, :lo12:head
ldr x1, [sp, 24]
str x1, [x0]
b .L16
.L12:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 16]
b .L14
.L15:
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 16]
.L14:
ldr x0, [sp, 16]
ldr x0, [x0, 8]
cmp x0, 0
bne .L15
ldr x0, [sp, 16]
ldr x1, [sp, 24]
str x1, [x0, 8]
.L16:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size insertAtEnd, .-insertAtEnd
.section .rodata
.align 3
.LC3:
.string "Enter key: "
.align 3
.LC4:
.string "Key not found - No insertion"
.text
.align 2
.global insertAtSpecific
.type insertAtSpecific, %function
insertAtSpecific:
.LFB9:
.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
bl createNode
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L18
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
mov w0, 1
bl exit
.L18:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
add x0, sp, 20
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L19
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
b .L26
.L19:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 24]
b .L21
.L23:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L21:
ldr x0, [sp, 24]
ldr w1, [x0]
ldr w0, [sp, 20]
cmp w1, w0
beq .L22
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
bne .L23
.L22:
ldr x0, [sp, 24]
ldr w1, [x0]
ldr w0, [sp, 20]
cmp w1, w0
bne .L24
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 32]
str x1, [x0, 8]
ldr x0, [sp, 24]
ldr x1, [sp, 32]
str x1, [x0, 8]
b .L26
.L24:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
.L26:
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 .L25
bl __stack_chk_fail
.L25:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size insertAtSpecific, .-insertAtSpecific
.section .rodata
.align 3
.LC5:
.string "Empty list."
.text
.align 2
.global deleteAtBeginning
.type deleteAtBeginning, %function
deleteAtBeginning:
.LFB10:
.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, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L28
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L30
.L28:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr x1, [x0, 8]
adrp x0, head
add x0, x0, :lo12:head
str x1, [x0]
ldr x0, [sp, 24]
bl free
.L30:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size deleteAtBeginning, .-deleteAtBeginning
.align 2
.global deleteAtEnd
.type deleteAtEnd, %function
deleteAtEnd:
.LFB11:
.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, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L32
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L37
.L32:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr x0, [x0, 8]
cmp x0, 0
bne .L34
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 40]
adrp x0, head
add x0, x0, :lo12:head
str xzr, [x0]
ldr x0, [sp, 40]
bl free
b .L37
.L34:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 32]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr x0, [x0, 8]
str x0, [sp, 24]
b .L35
.L36:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L35:
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
bne .L36
ldr x0, [sp, 32]
str xzr, [x0, 8]
ldr x0, [sp, 24]
bl free
.L37:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size deleteAtEnd, .-deleteAtEnd
.section .rodata
.align 3
.LC6:
.string "Key not found."
.text
.align 2
.global deleteAtSpecific
.type deleteAtSpecific, %function
deleteAtSpecific:
.LFB12:
.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
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L39
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
b .L47
.L39:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr w1, [x0]
ldr w0, [sp, 28]
cmp w1, w0
bne .L41
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 48]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr x1, [x0, 8]
adrp x0, head
add x0, x0, :lo12:head
str x1, [x0]
ldr x0, [sp, 48]
bl free
b .L47
.L41:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 40]
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
ldr x0, [x0, 8]
str x0, [sp, 32]
b .L42
.L44:
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L42:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
cmp x0, 0
beq .L43
ldr x0, [sp, 32]
ldr w1, [x0]
ldr w0, [sp, 28]
cmp w1, w0
bne .L44
.L43:
ldr x0, [sp, 32]
ldr w1, [x0]
ldr w0, [sp, 28]
cmp w1, w0
beq .L45
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
b .L47
.L45:
ldr x0, [sp, 32]
ldr x1, [x0, 8]
ldr x0, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 32]
bl free
.L47:
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 .L46
bl __stack_chk_fail
.L46:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size deleteAtSpecific, .-deleteAtSpecific
.section .rodata
.align 3
.LC7:
.string "Empty List."
.align 3
.LC8:
.string "List: "
.align 3
.LC9:
.string "%d\n"
.text
.align 2
.global displayList
.type displayList, %function
displayList:
.LFB13:
.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, head
add x0, x0, :lo12:head
ldr x0, [x0]
cmp x0, 0
bne .L49
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
b .L53
.L49:
adrp x0, head
add x0, x0, :lo12:head
ldr x0, [x0]
str x0, [sp, 24]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
b .L51
.L52:
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 24]
.L51:
ldr x0, [sp, 24]
cmp x0, 0
bne .L52
.L53:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size displayList, .-displayList
.section .rodata
.align 3
.LC10:
.string "Menu\n1. Insertion at Beginning\n2. Insertion at End\n3. Insertion at Specific"
.align 3
.LC11:
.string "4. Deletion at Beginning\n5. Deletion at End\n6. Deletion at Specific"
.align 3
.LC12:
.string "Enter your choice: "
.text
.align 2
.global main
.type main, %function
main:
.LFB14:
.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
.L63:
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
add x0, sp, 20
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 20]
cmp w0, 6
beq .L55
cmp w0, 6
bgt .L56
cmp w0, 5
beq .L57
cmp w0, 5
bgt .L56
cmp w0, 4
beq .L58
cmp w0, 4
bgt .L56
cmp w0, 3
beq .L59
cmp w0, 3
bgt .L56
cmp w0, 1
beq .L60
cmp w0, 2
beq .L61
b .L56
.L60:
bl insertAtBeginning
b .L62
.L61:
bl insertAtEnd
b .L62
.L59:
bl insertAtSpecific
b .L62
.L58:
bl deleteAtBeginning
b .L62
.L57:
bl deleteAtEnd
b .L62
.L55:
bl deleteAtSpecific
b .L62
.L56:
mov w0, 1
bl exit
.L62:
bl displayList
b .L63
.cfi_endproc
.LFE14:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global fatal_error
.type fatal_error, %function
fatal_error:
.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]
ldr x0, [sp, 24]
bl perror
mov w0, 1
bl exit
.cfi_endproc
.LFE6:
.size fatal_error, .-fatal_error
.section .rodata
.align 3
.LC0:
.string "/"
.align 3
.LC1:
.string "readdir()"
.align 3
.LC2:
.string "."
.align 3
.LC3:
.string ".."
.text
.align 2
.global get_root_dir_entries
.type get_root_dir_entries, %function
get_root_dir_entries:
.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 x19, [sp, 16]
.cfi_offset 19, -48
str xzr, [sp, 40]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl opendir
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L3
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl fatal_error
.L3:
str wzr, [sp, 36]
b .L4
.L7:
ldr x0, [sp, 56]
ldrb w0, [x0, 18]
cmp w0, 4
bne .L4
ldr x0, [sp, 56]
add x2, x0, 19
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x2
bl strcmp
cmp w0, 0
beq .L4
ldr x0, [sp, 56]
add x2, x0, 19
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x2
bl strcmp
cmp w0, 0
bne .L6
b .L4
.L6:
ldr w0, [sp, 36]
add w0, w0, 1
sxtw x0, w0
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 40]
bl realloc
str x0, [sp, 40]
ldr x0, [sp, 56]
add x0, x0, 19
bl strlen
add x2, x0, 2
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x19, x1, x0
mov x0, x2
bl malloc
str x0, [x19]
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr x0, [x0]
mov w1, 47
strh w1, [x0]
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr x2, [x0]
ldr x0, [sp, 56]
add x0, x0, 19
mov x1, x0
mov x0, x2
bl strcat
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L4:
ldr x0, [sp, 48]
bl readdir
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bne .L7
ldr x0, [sp, 48]
bl closedir
ldr w0, [sp, 36]
add w0, w0, 1
sxtw x0, w0
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 40]
bl realloc
str x0, [sp, 40]
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
str xzr, [x0]
ldr x0, [sp, 40]
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
.LFE7:
.size get_root_dir_entries, .-get_root_dir_entries
.section .rodata
.align 3
.LC4:
.string "%s/%s"
.text
.align 2
.global read_dir_contents
.type read_dir_contents, %function
read_dir_contents:
.LFB8:
.cfi_startproc
mov x12, 17600
sub sp, sp, x12
.cfi_def_cfa_offset 17600
stp x29, x30, [sp]
.cfi_offset 29, -17600
.cfi_offset 30, -17592
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, 17592]
mov x1, 0
ldr x0, [sp, 24]
bl opendir
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L16
b .L12
.L14:
ldr x0, [sp, 48]
add x0, x0, 19
add x1, sp, 56
bl stat
ldr x0, [sp, 48]
ldrb w0, [x0, 18]
cmp w0, 8
bne .L13
ldr x0, [sp, 48]
add x0, x0, 19
mov w1, 0
bl open
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
ble .L13
add x0, sp, 1208
mov x2, 16384
mov x1, x0
ldr w0, [sp, 36]
bl read
ldr w0, [sp, 36]
bl close
.L13:
ldr x0, [sp, 48]
ldrb w0, [x0, 18]
cmp w0, 4
bne .L12
ldr x0, [sp, 48]
add x2, x0, 19
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x2
bl strcmp
cmp w0, 0
beq .L12
ldr x0, [sp, 48]
add x2, x0, 19
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x2
bl strcmp
cmp w0, 0
beq .L12
ldr x0, [sp, 48]
add x0, x0, 19
add x5, sp, 184
mov x4, x0
ldr x3, [sp, 24]
adrp x0, .LC4
add x2, x0, :lo12:.LC4
mov x1, 1024
mov x0, x5
bl snprintf
add x0, sp, 184
bl read_dir_contents
.L12:
ldr x0, [sp, 40]
bl readdir
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L14
ldr x0, [sp, 40]
bl closedir
b .L9
.L16:
nop
.L9:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 17592]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L15
bl __stack_chk_fail
.L15:
ldp x29, x30, [sp]
mov x12, 17600
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size read_dir_contents, .-read_dir_contents
.section .rodata
.align 3
.LC5:
.string "I/O loader thread starting with %d directories to traverse.\n"
.text
.align 2
.global iterate_dirs
.type iterate_dirs, %function
iterate_dirs:
.LFB9:
.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]
mov x0, 0
bl time
str x0, [sp, 40]
ldr x0, [sp, 24]
str x0, [sp, 48]
ldr x0, [sp, 48]
ldr w0, [x0, 12]
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
ldr x0, [sp, 48]
ldr x0, [x0]
str x0, [sp, 56]
ldr x0, [sp, 48]
ldr w0, [x0, 8]
str w0, [sp, 36]
b .L18
.L20:
ldr x0, [sp, 48]
ldr x1, [x0]
ldr w0, [sp, 36]
add w2, w0, 1
str w2, [sp, 36]
sxtw x0, w0
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
str x0, [sp, 64]
ldr x0, [sp, 64]
bl read_dir_contents
mov x0, 0
bl time
str x0, [sp, 72]
ldr x1, [sp, 72]
ldr x0, [sp, 40]
sub x0, x1, x0
cmp x0, 9
bgt .L22
.L18:
ldr x0, [sp, 48]
ldr w0, [x0, 12]
sub w2, w0, #1
ldr x1, [sp, 48]
str w2, [x1, 12]
cmp w0, 0
bne .L20
b .L19
.L22:
nop
.L19:
mov x0, 0
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size iterate_dirs, .-iterate_dirs
.section .rodata
.align 3
.LC6:
.string "********************************************************************************"
.align 3
.LC7:
.string "Now that the I/O loader threads have run, disk blocks will be cached in RAM."
.align 3
.LC8:
.string "You are unlikely to see further I/O-related PSI notifications should you run"
.align 3
.LC9:
.string "this again. If you want to however, you can run this again after dropping all"
.align 3
.LC10:
.string "disk caches like so as root:"
.align 3
.LC11:
.string "\necho 3 > /proc/sys/vm/drop_caches"
.align 3
.LC12:
.string "\nOr with sudo:"
.align 3
.LC13:
.string "echo 3 | sudo tee /proc/sys/vm/drop_caches"
.text
.align 2
.global load_disk
.type load_disk, %function
load_disk:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
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, 28]
bl get_root_dir_entries
str x0, [sp, 48]
nop
.L24:
ldr w0, [sp, 28]
add w1, w0, 1
str w1, [sp, 28]
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x0, [x0]
cmp x0, 0
bne .L24
ldr x0, [sp, 48]
str x0, [sp, 56]
str wzr, [sp, 64]
ldr w0, [sp, 28]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
str w0, [sp, 68]
ldr x0, [sp, 48]
str x0, [sp, 72]
ldr w0, [sp, 68]
sub w0, w0, #1
str w0, [sp, 80]
ldr w0, [sp, 68]
ldr w1, [sp, 28]
sub w0, w1, w0
str w0, [sp, 84]
add x0, sp, 56
add x4, sp, 32
mov x3, x0
adrp x0, iterate_dirs
add x2, x0, :lo12:iterate_dirs
mov x1, 0
mov x0, x4
bl pthread_create
add x0, sp, 72
add x4, sp, 40
mov x3, x0
adrp x0, iterate_dirs
add x2, x0, :lo12:iterate_dirs
mov x1, 0
mov x0, x4
bl pthread_create
ldr x0, [sp, 32]
mov x1, 0
bl pthread_join
ldr x0, [sp, 40]
mov x1, 0
bl pthread_join
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
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl puts
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl puts
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
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 .L25
bl __stack_chk_fail
.L25:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size load_disk, .-load_disk
.section .rodata
.align 3
.LC14:
.string "CPU loader thread %ld starting...\n"
.text
.align 2
.global cpu_loader_thread
.type cpu_loader_thread, %function
cpu_loader_thread:
.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]
ldr x0, [sp, 24]
str x0, [sp, 40]
mov x0, 0
bl time
str x0, [sp, 48]
ldr x1, [sp, 40]
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl printf
.L31:
str xzr, [sp, 40]
b .L27
.L28:
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L27:
ldr x1, [sp, 40]
mov x0, 61567
movk x0, 0x2fa, lsl 16
cmp x1, x0
ble .L28
mov x0, 0
bl time
str x0, [sp, 56]
ldr x1, [sp, 56]
ldr x0, [sp, 48]
sub x0, x1, x0
cmp x0, 9
bgt .L34
b .L31
.L34:
nop
mov x0, 0
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size cpu_loader_thread, .-cpu_loader_thread
.align 2
.global load_cpu
.type load_cpu, %function
load_cpu:
.LFB12:
.cfi_startproc
mov x12, 8240
sub sp, sp, x12
.cfi_def_cfa_offset 8240
stp x29, x30, [sp]
.cfi_offset 29, -8240
.cfi_offset 30, -8232
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 8232]
mov x1, 0
mov w0, 84
bl sysconf
str x0, [sp, 32]
str xzr, [sp, 16]
b .L36
.L37:
add x1, sp, 40
ldr x0, [sp, 16]
lsl x0, x0, 3
add x4, x1, x0
ldr x0, [sp, 16]
mov x3, x0
adrp x0, cpu_loader_thread
add x2, x0, :lo12:cpu_loader_thread
mov x1, 0
mov x0, x4
bl pthread_create
ldr x0, [sp, 16]
add x0, x0, 1
str x0, [sp, 16]
.L36:
ldr x1, [sp, 32]
ldr x0, [sp, 16]
cmp x1, x0
bge .L37
str xzr, [sp, 24]
b .L38
.L39:
ldr x0, [sp, 24]
lsl x0, x0, 3
add x1, sp, 40
ldr x0, [x1, x0]
mov x1, 0
bl pthread_join
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
.L38:
ldr x1, [sp, 24]
ldr x0, [sp, 32]
cmp x1, x0
blt .L39
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 8232]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L40
bl __stack_chk_fail
.L40:
ldp x29, x30, [sp]
mov x12, 8240
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size load_cpu, .-load_cpu
.align 2
.global main
.type main, %function
main:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl load_cpu
bl load_disk
mov w0, 0
ldp x29, x30, [sp], 16
.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
.global progress
.bss
.align 3
.type progress, %object
.size progress, 128
progress:
.zero 128
.global used_letters
.align 3
.type used_letters, %object
.size used_letters, 30
used_letters:
.zero 30
.global time_limit
.align 2
.type time_limit, %object
.size time_limit, 4
time_limit:
.zero 4
.global solution
.align 3
.type solution, %object
.size solution, 128
solution:
.zero 128
.global ae
.type ae, %object
.size ae, 1
ae:
.zero 1
.global oe
.type oe, %object
.size oe, 1
oe:
.zero 1
.global ue
.type ue, %object
.size ue, 1
ue:
.zero 1
.global ss
.type ss, %object
.size ss, 1
ss:
.zero 1
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global __VERIFIER_error
.type __VERIFIER_error, %function
__VERIFIER_error:
.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 abort
.cfi_endproc
.LFE0:
.size __VERIFIER_error, .-__VERIFIER_error
.global i
.data
.align 2
.type i, %object
.size i, 4
i:
.word 1
.global j
.align 2
.type j, %object
.size j, 4
j:
.word 1
.text
.align 2
.global t1
.type t1, %function
t1:
.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 x0, [sp, 24]
str wzr, [sp, 44]
str wzr, [sp, 44]
b .L3
.L4:
adrp x0, i
add x0, x0, :lo12:i
ldr w1, [x0]
adrp x0, j
add x0, x0, :lo12:j
ldr w0, [x0]
add w1, w1, w0
adrp x0, i
add x0, x0, :lo12:i
str w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L3:
ldr w0, [sp, 44]
cmp w0, 4
ble .L4
mov x0, 0
bl pthread_exit
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size t1, .-t1
.align 2
.global t2
.type t2, %function
t2:
.LFB2:
.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]
str wzr, [sp, 44]
b .L6
.L7:
adrp x0, j
add x0, x0, :lo12:j
ldr w1, [x0]
adrp x0, i
add x0, x0, :lo12:i
ldr w0, [x0]
add w1, w1, w0
adrp x0, j
add x0, x0, :lo12:j
str w1, [x0]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L6:
ldr w0, [sp, 44]
cmp w0, 4
ble .L7
mov x0, 0
bl pthread_exit
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size t2, .-t2
.align 2
.global main
.type main, %function
main:
.LFB3:
.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]
str x1, [sp, 16]
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 x4, sp, 40
mov x3, 0
adrp x0, t1
add x2, x0, :lo12:t1
mov x1, 0
mov x0, x4
bl pthread_create
add x4, sp, 48
mov x3, 0
adrp x0, t2
add x2, x0, :lo12:t2
mov x1, 0
mov x0, x4
bl pthread_create
adrp x0, i
add x0, x0, :lo12:i
ldr w0, [x0]
cmp w0, 143
bgt .L13
adrp x0, j
add x0, x0, :lo12:j
ldr w0, [x0]
cmp w0, 143
ble .L10
.L13:
nop
.L9:
bl __VERIFIER_error
.L10:
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 .L12
bl __stack_chk_fail
.L12:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%3d %6.1f\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
mov w0, 300
str w0, [sp, 28]
b .L2
.L3:
ldr w0, [sp, 28]
scvtf d0, w0
mov x0, 4629700416936869888
fmov d1, x0
fsub d0, d0, d1
adrp x0, .LC1
ldr d1, [x0, #:lo12:.LC1]
fmul d0, d0, d1
ldr w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [sp, 28]
sub w0, w0, #20
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 0
bge .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
.section .rodata
.align 3
.LC1:
.word 1908874354
.word 1071761180
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%c"
.align 3
.LC1:
.string "\nz"
.align 3
.LC2:
.string "\ny"
.align 3
.LC3:
.string "\nx"
.align 3
.LC4:
.string "\nw"
.align 3
.LC5:
.string "\nv"
.align 3
.LC6:
.string "\nu"
.align 3
.LC7:
.string "\nt"
.align 3
.LC8:
.string "\ns"
.align 3
.LC9:
.string "\nr"
.align 3
.LC10:
.string "\nq"
.align 3
.LC11:
.string "\np"
.align 3
.LC12:
.string "\no"
.align 3
.LC13:
.string "\nn"
.align 3
.LC14:
.string "\nm"
.align 3
.LC15:
.string "\nl"
.align 3
.LC16:
.string "\nk"
.align 3
.LC17:
.string "\nj"
.align 3
.LC18:
.string "\ni"
.align 3
.LC19:
.string "\nh"
.align 3
.LC20:
.string "\ng"
.align 3
.LC21:
.string "\nf"
.align 3
.LC22:
.string "\ne"
.align 3
.LC23:
.string "\nd"
.align 3
.LC24:
.string "\nc"
.align 3
.LC25:
.string "\nb"
.align 3
.LC26:
.string "\na"
.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
add x0, sp, 23
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldrb w0, [sp, 23]
cmp w0, 97
bne .L2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
.L2:
ldrb w0, [sp, 23]
cmp w0, 98
bne .L3
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
.L3:
ldrb w0, [sp, 23]
cmp w0, 99
bne .L4
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
.L4:
ldrb w0, [sp, 23]
cmp w0, 100
bne .L5
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
.L5:
ldrb w0, [sp, 23]
cmp w0, 101
bne .L6
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
.L6:
ldrb w0, [sp, 23]
cmp w0, 102
bne .L7
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
.L7:
ldrb w0, [sp, 23]
cmp w0, 103
bne .L8
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
.L8:
ldrb w0, [sp, 23]
cmp w0, 104
bne .L9
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
.L9:
ldrb w0, [sp, 23]
cmp w0, 105
bne .L10
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
.L10:
ldrb w0, [sp, 23]
cmp w0, 106
bne .L11
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
.L11:
ldrb w0, [sp, 23]
cmp w0, 107
bne .L12
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl printf
.L12:
ldrb w0, [sp, 23]
cmp w0, 108
bne .L13
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
.L13:
ldrb w0, [sp, 23]
cmp w0, 109
bne .L14
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
.L14:
ldrb w0, [sp, 23]
cmp w0, 110
bne .L15
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl printf
.L15:
ldrb w0, [sp, 23]
cmp w0, 111
bne .L16
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl printf
.L16:
ldrb w0, [sp, 23]
cmp w0, 112
bne .L17
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl printf
.L17:
ldrb w0, [sp, 23]
cmp w0, 113
bne .L18
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl printf
.L18:
ldrb w0, [sp, 23]
cmp w0, 114
bne .L19
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
.L19:
ldrb w0, [sp, 23]
cmp w0, 115
bne .L20
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl printf
.L20:
ldrb w0, [sp, 23]
cmp w0, 116
bne .L21
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl printf
.L21:
ldrb w0, [sp, 23]
cmp w0, 117
bne .L22
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl printf
.L22:
ldrb w0, [sp, 23]
cmp w0, 118
bne .L23
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl printf
.L23:
ldrb w0, [sp, 23]
cmp w0, 119
bne .L24
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl printf
.L24:
ldrb w0, [sp, 23]
cmp w0, 120
bne .L25
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl printf
.L25:
ldrb w0, [sp, 23]
cmp w0, 121
bne .L26
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl printf
.L26:
ldrb w0, [sp, 23]
cmp w0, 122
bne .L27
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl printf
.L27:
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 .L29
bl __stack_chk_fail
.L29:
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
.section .rodata
.align 3
.LC0:
.string "Input three different integers: "
.align 3
.LC1:
.string "%d %d %d"
.align 3
.LC2:
.string "\nSum is %d"
.align 3
.LC3:
.string "\nAverage is %d"
.align 3
.LC4:
.string "\nProduct is %d"
.align 3
.LC5:
.string "\nSmallest is %d"
.align 3
.LC6:
.string "\nLargest 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 x2, sp, 36
add x1, sp, 32
add x0, sp, 28
mov x3, x2
mov x2, x1
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w1, [sp, 28]
ldr w0, [sp, 32]
add w1, w1, w0
ldr w0, [sp, 36]
add w0, w1, w0
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr w1, [sp, 28]
ldr w0, [sp, 32]
add w1, w1, w0
ldr w0, [sp, 36]
add w0, w1, w0
mov w1, 21846
movk w1, 0x5555, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w0, w0, 31
sub w0, w1, w0
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w1, [sp, 28]
ldr w0, [sp, 32]
mul w1, w1, w0
ldr w0, [sp, 36]
mul w0, w1, w0
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w1, [sp, 28]
ldr w0, [sp, 32]
cmp w1, w0
bge .L2
ldr w1, [sp, 28]
ldr w0, [sp, 36]
cmp w1, w0
bge .L2
ldr w0, [sp, 28]
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
b .L3
.L2:
ldr w1, [sp, 32]
ldr w0, [sp, 28]
cmp w1, w0
bge .L4
ldr w1, [sp, 32]
ldr w0, [sp, 36]
cmp w1, w0
bge .L4
ldr w0, [sp, 32]
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
b .L3
.L4:
ldr w0, [sp, 36]
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
.L3:
ldr w1, [sp, 28]
ldr w0, [sp, 32]
cmp w1, w0
ble .L5
ldr w1, [sp, 28]
ldr w0, [sp, 36]
cmp w1, w0
ble .L5
ldr w0, [sp, 28]
mov w1, w0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
b .L6
.L5:
ldr w1, [sp, 32]
ldr w0, [sp, 28]
cmp w1, w0
ble .L7
ldr w1, [sp, 32]
ldr w0, [sp, 36]
cmp w1, w0
ble .L7
ldr w0, [sp, 32]
mov w1, w0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
b .L6
.L7:
ldr w0, [sp, 36]
mov w1, w0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
.L6:
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 .L9
bl __stack_chk_fail
.L9:
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
.local progname
.comm progname,8,8
.local xtra_offset
.comm xtra_offset,4,4
.data
.align 3
.type eof_mark, %object
.size eof_mark, 4
eof_mark:
.ascii "\336\255\300\336"
.align 3
.type jffs2_pad_be, %object
.size jffs2_pad_be, 13
jffs2_pad_be:
.string "\031\205 \004\004"
.string ""
.string ""
.string "\304\224\333\364"
.align 3
.type jffs2_pad_le, %object
.size jffs2_pad_le, 13
jffs2_pad_le:
.string "\205\031\004 "
.string ""
.string ""
.string "\004\250\373\240\264"
.section .data.rel.local,"aw"
.align 3
.type pad, %object
.size pad, 8
pad:
.xword eof_mark
.data
.align 2
.type pad_len, %object
.size pad_len, 4
pad_len:
.word 4
.section .rodata
.align 3
.LC0:
.string "[%s] *** error: No memory for buffer\n"
.align 3
.LC1:
.string "[%s] *** error: Unable to open %s, %s\n"
.align 3
.LC2:
.string "padding image to %08x\n"
.align 3
.LC3:
.string "[%s] *** error: Unable to write to %s, %s\n"
.text
.align 2
.type pad_image, %function
pad_image:
.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 x0, [sp, 40]
str w1, [sp, 36]
mov w0, -1
str w0, [sp, 60]
mov x0, 65536
bl malloc
str x0, [sp, 112]
ldr x0, [sp, 112]
cmp x0, 0
bne .L2
mov x0, 0
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progname
add x0, x0, :lo12:progname
ldr x0, [x0]
mov x2, x0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, x3
bl fprintf
b .L3
.L2:
mov w1, 2
ldr x0, [sp, 40]
bl open
str w0, [sp, 72]
ldr w0, [sp, 72]
cmp w0, 0
bge .L4
bl __errno_location
ldr w0, [x0]
str w0, [sp, 84]
mov x0, 0
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progname
add x0, x0, :lo12:progname
ldr x20, [x0]
ldr w0, [sp, 84]
bl strerror
mov x4, x0
ldr x3, [sp, 40]
mov x2, x20
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x19
bl fprintf
b .L5
.L4:
mov w2, 2
mov x1, 0
ldr w0, [sp, 72]
bl lseek
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
blt .L23
mov x2, 65536
mov w1, 255
ldr x0, [sp, 112]
bl memset
adrp x0, xtra_offset
add x0, x0, :lo12:xtra_offset
ldr w0, [x0]
uxtw x0, w0
ldr x1, [sp, 88]
add x0, x1, x0
str x0, [sp, 88]
ldr x0, [sp, 88]
str x0, [sp, 96]
b .L8
.L21:
mov w0, 10
str w0, [sp, 68]
b .L9
.L12:
ldr w0, [sp, 68]
mov x1, 1
lsl x0, x1, x0
str w0, [sp, 64]
ldr w1, [sp, 36]
ldr w0, [sp, 64]
and w0, w1, w0
cmp w0, 0
bne .L24
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L9:
ldr w0, [sp, 68]
cmp w0, 31
ble .L12
b .L11
.L24:
nop
.L11:
ldr w0, [sp, 64]
sub w0, w0, #1
uxtw x1, w0
ldr x0, [sp, 88]
add x1, x1, x0
ldr w0, [sp, 64]
neg w0, w0
uxtw x0, w0
and x0, x1, x0
str x0, [sp, 88]
mov w0, 10
str w0, [sp, 68]
b .L13
.L15:
ldr w0, [sp, 68]
mov x1, 1
lsl x0, x1, x0
str w0, [sp, 64]
ldr w0, [sp, 64]
sub w0, w0, #1
uxtw x1, w0
ldr x0, [sp, 88]
and x0, x1, x0
cmp x0, 0
bne .L14
ldr w0, [sp, 64]
mvn w0, w0
ldr w1, [sp, 36]
and w0, w1, w0
str w0, [sp, 36]
.L14:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L13:
ldr w0, [sp, 68]
cmp w0, 31
ble .L15
ldr x0, [sp, 88]
mov w1, w0
adrp x0, xtra_offset
add x0, x0, :lo12:xtra_offset
ldr w0, [x0]
sub w0, w1, w0
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
b .L16
.L19:
ldr x1, [sp, 88]
ldr x0, [sp, 96]
sub x0, x1, x0
str x0, [sp, 104]
ldr x0, [sp, 104]
cmp x0, 65536
ble .L17
mov x0, 65536
str x0, [sp, 104]
.L17:
ldr x0, [sp, 104]
mov x2, x0
ldr x1, [sp, 112]
ldr w0, [sp, 72]
bl write
str x0, [sp, 120]
ldr x1, [sp, 120]
ldr x0, [sp, 104]
cmp x1, x0
beq .L18
bl __errno_location
ldr w0, [x0]
str w0, [sp, 80]
mov x0, 0
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progname
add x0, x0, :lo12:progname
ldr x20, [x0]
ldr w0, [sp, 80]
bl strerror
mov x4, x0
ldr x3, [sp, 40]
mov x2, x20
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x19
bl fprintf
b .L7
.L18:
ldr x1, [sp, 96]
ldr x0, [sp, 104]
add x0, x1, x0
str x0, [sp, 96]
.L16:
ldr x1, [sp, 96]
ldr x0, [sp, 88]
cmp x1, x0
blt .L19
adrp x0, pad
add x0, x0, :lo12:pad
ldr x1, [x0]
adrp x0, pad_len
add x0, x0, :lo12:pad_len
ldr w0, [x0]
sxtw x0, w0
mov x2, x0
ldr w0, [sp, 72]
bl write
str x0, [sp, 120]
adrp x0, pad_len
add x0, x0, :lo12:pad_len
ldr w0, [x0]
sxtw x0, w0
ldr x1, [sp, 120]
cmp x1, x0
beq .L20
bl __errno_location
ldr w0, [x0]
str w0, [sp, 76]
mov x0, 0
bl fflush
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
adrp x0, progname
add x0, x0, :lo12:progname
ldr x20, [x0]
ldr w0, [sp, 76]
bl strerror
mov x4, x0
ldr x3, [sp, 40]
mov x2, x20
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x19
bl fprintf
b .L7
.L20:
adrp x0, pad_len
add x0, x0, :lo12:pad_len
ldr w0, [x0]
sxtw x0, w0
ldr x1, [sp, 96]
add x0, x1, x0
str x0, [sp, 96]
.L8:
ldr w0, [sp, 36]
cmp w0, 0
bne .L21
str wzr, [sp, 60]
b .L7
.L23:
nop
.L7:
ldr w0, [sp, 72]
bl close
.L5:
ldr x0, [sp, 112]
bl free
.L3:
ldr w0, [sp, 60]
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 pad_image, .-pad_image
.section .rodata
.align 3
.LC4:
.ascii "Usage: %s file [<options>] [pad0] [pad1] [padN]\nOptions:\n "
.ascii " -x <offset>: Add an extra offset for padding data\n"
.ascii " -J: Use a fake big-endian jffs2 padding"
.string " element instead of EOF\n This is used to work around broken boot loaders that\n try to parse the entire firmware area as one big jffs2\n -j: (like -J, but little-endian instead of big-endian)\n\n"
.text
.align 2
.type usage, %function
usage:
.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, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, progname
add x0, x0, :lo12:progname
ldr x0, [x0]
mov x2, x0
adrp x0, .LC4
add x1, x0, :lo12:.LC4
mov x0, x3
bl fprintf
mov w0, 1
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size usage, .-usage
.section .rodata
.align 3
.LC5:
.string "assuming %u bytes offset\n"
.align 3
.LC6:
.string "x:Jj"
.text
.align 2
.global main
.type main, %function
main:
.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, 28]
str x1, [sp, 16]
mov w0, 1
str w0, [sp, 40]
ldr x0, [sp, 16]
ldr x0, [x0]
bl __xpg_basename
mov x1, x0
adrp x0, progname
add x0, x0, :lo12:progname
str x1, [x0]
ldr w0, [sp, 28]
cmp w0, 1
bgt .L28
bl usage
b .L29
.L28:
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 8
str x0, [sp, 16]
ldr w0, [sp, 28]
sub w0, w0, #1
str w0, [sp, 28]
str wzr, [sp, 36]
b .L30
.L35:
ldr w0, [sp, 48]
cmp w0, 120
beq .L31
ldr w0, [sp, 48]
cmp w0, 120
bgt .L32
ldr w0, [sp, 48]
cmp w0, 74
beq .L33
ldr w0, [sp, 48]
cmp w0, 106
beq .L34
b .L32
.L31:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
mov w2, 0
mov x1, 0
bl strtoul
mov w1, w0
adrp x0, xtra_offset
add x0, x0, :lo12:xtra_offset
str w1, [x0]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, xtra_offset
add x0, x0, :lo12:xtra_offset
ldr w0, [x0]
mov w2, w0
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, x3
bl fprintf
b .L30
.L33:
adrp x0, pad
add x0, x0, :lo12:pad
adrp x1, jffs2_pad_be
add x1, x1, :lo12:jffs2_pad_be
str x1, [x0]
adrp x0, pad_len
add x0, x0, :lo12:pad_len
mov w1, 12
str w1, [x0]
b .L30
.L34:
adrp x0, pad
add x0, x0, :lo12:pad
adrp x1, jffs2_pad_le
add x1, x1, :lo12:jffs2_pad_le
str x1, [x0]
adrp x0, pad_len
add x0, x0, :lo12:pad_len
mov w1, 12
str w1, [x0]
b .L30
.L32:
bl usage
b .L29
.L30:
adrp x0, .LC6
add x2, x0, :lo12:.LC6
ldr x1, [sp, 16]
ldr w0, [sp, 28]
bl getopt
str w0, [sp, 48]
ldr w0, [sp, 48]
cmn w0, #1
bne .L35
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
str w0, [sp, 44]
b .L36
.L37:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 16]
add x0, x1, x0
ldr x0, [x0]
mov w2, 0
mov x1, 0
bl strtoul
lsl x0, x0, 10
mov w1, w0
ldr w0, [sp, 36]
orr w0, w0, w1
str w0, [sp, 36]
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L36:
ldr w1, [sp, 44]
ldr w0, [sp, 28]
cmp w1, w0
blt .L37
ldr w0, [sp, 36]
cmp w0, 0
bne .L38
mov w0, 12288
movk w0, 0x3, lsl 16
str w0, [sp, 36]
.L38:
ldr w1, [sp, 36]
ldr x0, [sp, 56]
bl pad_image
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bne .L41
str wzr, [sp, 40]
b .L40
.L41:
nop
.L40:
ldr w0, [sp, 40]
.L29:
ldp x29, x30, [sp], 64
.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
.align 2
.global insertOrder
.type insertOrder, %function
insertOrder:
.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]
ldr x0, [sp, 24]
str x0, [sp, 32]
mov x0, 16
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w1, [sp, 20]
str w1, [x0]
ldr x0, [sp, 24]
cmp x0, 0
bne .L2
ldr x0, [sp, 40]
ldr x1, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 40]
str x0, [sp, 24]
b .L3
.L2:
ldr x0, [sp, 24]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
bgt .L7
ldr x0, [sp, 40]
ldr x1, [sp, 24]
str x1, [x0, 8]
b .L5
.L6:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L5:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr x1, [sp, 24]
cmp x1, x0
bne .L6
ldr x0, [sp, 40]
str x0, [sp, 24]
ldr x0, [sp, 32]
ldr x1, [sp, 24]
str x1, [x0, 8]
b .L3
.L9:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L7:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr x1, [sp, 24]
cmp x1, x0
beq .L8
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
bgt .L9
.L8:
ldr x0, [sp, 32]
ldr x1, [x0, 8]
ldr x0, [sp, 40]
str x1, [x0, 8]
ldr x0, [sp, 32]
ldr x1, [sp, 40]
str x1, [x0, 8]
.L3:
ldr x0, [sp, 24]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size insertOrder, .-insertOrder
.section .rodata
.align 3
.LC0:
.string "List is empty"
.align 3
.LC1:
.string "Given value is not Found"
.text
.align 2
.global deleteVal
.type deleteVal, %function
deleteVal:
.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]
ldr x0, [sp, 24]
str x0, [sp, 32]
ldr x0, [sp, 24]
cmp x0, 0
bne .L12
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
b .L13
.L12:
ldr x0, [sp, 24]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
bne .L14
b .L15
.L16:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L15:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr x1, [sp, 24]
cmp x1, x0
bne .L16
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 32]
str x1, [x0, 8]
ldr x0, [sp, 24]
bl free
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 24]
b .L13
.L14:
ldr x0, [sp, 24]
str x0, [sp, 32]
b .L17
.L19:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 32]
.L17:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr x1, [sp, 24]
cmp x1, x0
beq .L18
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr w0, [x0]
ldr w1, [sp, 20]
cmp w1, w0
bne .L19
.L18:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr x1, [sp, 24]
cmp x1, x0
bne .L20
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
b .L13
.L20:
ldr x0, [sp, 32]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x0, [sp, 32]
ldr x0, [x0, 8]
ldr x1, [x0, 8]
ldr x0, [sp, 32]
str x1, [x0, 8]
ldr x0, [sp, 40]
bl free
.L13:
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 deleteVal, .-deleteVal
.section .rodata
.align 3
.LC2:
.string "The list is Empty"
.align 3
.LC3:
.string "%d "
.text
.align 2
.global display
.type display, %function
display:
.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 x0, [sp, 24]
ldr x0, [sp, 24]
str x0, [sp, 40]
ldr x0, [sp, 24]
cmp x0, 0
bne .L23
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
b .L25
.L23:
ldr x0, [sp, 40]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr x0, [sp, 40]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x1, [sp, 40]
ldr x0, [sp, 24]
cmp x1, x0
bne .L23
mov w0, 10
bl putchar
.L25:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size display, .-display
.section .rodata
.align 3
.LC4:
.string "Enter 1 for insert in order"
.align 3
.LC5:
.string "Enter 2 for delete value"
.align 3
.LC6:
.string "Enter 3 for display"
.align 3
.LC7:
.string "Enter 4 for EXIT"
.align 3
.LC8:
.string "%d"
.align 3
.LC9:
.string "Enter value you want to inserted"
.align 3
.LC10:
.string "Enter value you want to delete"
.align 3
.LC11:
.string "Enter proper value"
.align 3
.LC12:
.string "Enter 1/2/3/4"
.text
.align 2
.global main
.type main, %function
main:
.LFB9:
.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]
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
add x0, sp, 24
mov x1, x0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl __isoc99_scanf
b .L27
.L33:
ldr w0, [sp, 24]
cmp w0, 3
beq .L28
cmp w0, 3
bgt .L29
cmp w0, 1
beq .L30
cmp w0, 2
beq .L31
b .L29
.L30:
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl puts
add x0, sp, 28
mov x1, x0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl __isoc99_scanf
ldr w0, [sp, 28]
mov w1, w0
ldr x0, [sp, 32]
bl insertOrder
str x0, [sp, 32]
b .L32
.L31:
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
add x0, sp, 28
mov x1, x0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl __isoc99_scanf
ldr w0, [sp, 28]
mov w1, w0
ldr x0, [sp, 32]
bl deleteVal
str x0, [sp, 32]
b .L32
.L28:
ldr x0, [sp, 32]
bl display
b .L32
.L29:
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
.L32:
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl puts
add x0, sp, 24
mov x1, x0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl __isoc99_scanf
.L27:
ldr w0, [sp, 24]
cmp w0, 4
bne .L33
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 .L34
bl __stack_chk_fail
.L34:
ldp x29, x30, [sp], 48
.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
.global wcslcat
.type wcslcat, %function
wcslcat:
.LFB0:
.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]
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl wcsnlen
str x0, [sp, 56]
ldr x1, [sp, 24]
ldr x0, [sp, 56]
cmp x1, x0
bhi .L2
ldr x0, [sp, 32]
bl wcslen
mov x1, x0
ldr x0, [sp, 56]
add x0, x1, x0
b .L3
.L2:
ldr x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x3, x1, x0
ldr x1, [sp, 24]
ldr x0, [sp, 56]
sub x0, x1, x0
mov x2, x0
ldr x1, [sp, 32]
mov x0, x3
bl wcslcpy
sxtw x1, w0
ldr x0, [sp, 56]
add x0, x1, x0
.L3:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size wcslcat, .-wcslcat
``` |
### 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
mov w0, 1024
str w0, [sp, 24]
ldr w0, [sp, 24]
sxtb w0, w0
str w0, [sp, 28]
ldr w1, [sp, 28]
ldr w0, [sp, 24]
cmp w1, w0
bne .L2
bl abort
.L2:
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 binary
.type binary, %function
binary:
.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]
str wzr, [sp, 40]
ldr x0, [sp, 24]
bl strlen
str w0, [sp, 44]
str wzr, [sp, 36]
b .L2
.L3:
ldr w0, [sp, 40]
lsl w1, w0, 1
ldrsw x0, [sp, 36]
ldr x2, [sp, 24]
add x0, x2, x0
ldrb w0, [x0]
sub w0, w0, #48
add w0, w1, w0
str w0, [sp, 40]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L2:
ldr w1, [sp, 36]
ldr w0, [sp, 44]
cmp w1, w0
blt .L3
ldr w0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size binary, .-binary
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global xor128
.type xor128, %function
xor128:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x0, x.3
add x0, x0, :lo12:x.3
ldr w0, [x0]
lsl w1, w0, 11
adrp x0, x.3
add x0, x0, :lo12:x.3
ldr w0, [x0]
eor w0, w1, w0
str w0, [sp, 12]
adrp x0, y.2
add x0, x0, :lo12:y.2
ldr w1, [x0]
adrp x0, x.3
add x0, x0, :lo12:x.3
str w1, [x0]
adrp x0, z.1
add x0, x0, :lo12:z.1
ldr w1, [x0]
adrp x0, y.2
add x0, x0, :lo12:y.2
str w1, [x0]
adrp x0, w.0
add x0, x0, :lo12:w.0
ldr w1, [x0]
adrp x0, z.1
add x0, x0, :lo12:z.1
str w1, [x0]
adrp x0, w.0
add x0, x0, :lo12:w.0
ldr w0, [x0]
lsr w1, w0, 19
adrp x0, w.0
add x0, x0, :lo12:w.0
ldr w0, [x0]
eor w1, w1, w0
ldr w0, [sp, 12]
lsr w2, w0, 8
ldr w0, [sp, 12]
eor w0, w2, w0
eor w1, w1, w0
adrp x0, w.0
add x0, x0, :lo12:w.0
str w1, [x0]
adrp x0, w.0
add x0, x0, :lo12:w.0
ldr w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size xor128, .-xor128
.section .rodata
.align 3
.LC0:
.string "xor128.random"
.align 3
.LC1:
.string "%u\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, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 40]
mov x1, 0
mov w1, 65
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl open
str w0, [sp, 36]
str wzr, [sp, 32]
b .L4
.L5:
bl xor128
str w0, [sp, 28]
ldr w0, [sp, 28]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 28
mov x2, 4
mov x1, x0
ldr w0, [sp, 36]
bl write
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L4:
ldr w0, [sp, 32]
cmp w0, 99
ble .L5
ldr w0, [sp, 36]
bl close
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
.LFE7:
.size main, .-main
.data
.align 2
.type x.3, %object
.size x.3, 4
x.3:
.word 123456789
.align 2
.type y.2, %object
.size y.2, 4
y.2:
.word 362436069
.align 2
.type z.1, %object
.size z.1, 4
z.1:
.word 521288629
.align 2
.type w.0, %object
.size w.0, 4
w.0:
.word 88675123
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global strcat
.type strcat, %function
strcat:
.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, 24]
b .L2
.L3:
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
.L2:
ldr x0, [sp, 24]
ldrb w0, [x0]
cmp w0, 0
bne .L3
b .L4
.L5:
ldr x0, [sp]
ldrb w1, [x0]
ldr x0, [sp, 24]
strb w1, [x0]
ldr x0, [sp, 24]
add x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp]
add x0, x0, 1
str x0, [sp]
.L4:
ldr x0, [sp]
ldrb w0, [x0]
cmp w0, 0
bne .L5
ldr x0, [sp, 24]
strb wzr, [x0]
ldr x0, [sp, 8]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size strcat, .-strcat
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d\n"
.text
.align 2
.global sumOfDigit
.type sumOfDigit, %function
sumOfDigit:
.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 wzr, [sp, 40]
str wzr, [sp, 44]
b .L2
.L4:
ldr w1, [sp, 28]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 2
asr w0, w1, 31
sub w2, w2, w0
mov w0, w2
lsl w0, w0, 2
add w0, w0, w2
lsl w0, w0, 1
sub w0, w1, w0
str w0, [sp, 44]
ldr w1, [sp, 40]
ldr w0, [sp, 44]
add w0, w1, w0
str w0, [sp, 40]
ldr w0, [sp, 28]
mov w1, 26215
movk w1, 0x6666, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
asr w1, w1, 2
asr w0, w0, 31
sub w0, w1, w0
str w0, [sp, 28]
.L3:
ldr w0, [sp, 28]
cmp w0, 0
bne .L4
ldr w1, [sp, 40]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [sp, 40]
cmp w0, 9
ble .L2
ldr w0, [sp, 40]
str w0, [sp, 28]
str wzr, [sp, 40]
.L2:
ldr w0, [sp, 28]
cmp w0, 0
bgt .L3
ldr w0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size sumOfDigit, .-sumOfDigit
.section .rodata
.align 3
.LC1:
.string "number recieved-->%d "
.align 3
.LC2:
.string "%d "
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.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
str wzr, [sp, 16]
str wzr, [sp, 20]
mov w2, 0
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 24]
add x0, sp, 32
stp xzr, xzr, [x0]
mov w0, 2
strh w0, [sp, 32]
mov w0, 0
bl htons
and w0, w0, 65535
str w0, [sp, 36]
mov w0, 21090
bl htons
and w0, w0, 65535
strh w0, [sp, 34]
add x0, sp, 32
mov w2, 16
mov x1, x0
ldr w0, [sp, 24]
bl bind
mov w1, 10
ldr w0, [sp, 24]
bl listen
mov x2, 0
mov x1, 0
ldr w0, [sp, 24]
bl accept
str w0, [sp, 28]
.L8:
add x0, sp, 48
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
stp q0, q0, [x0, 64]
fmov w1, s0
str w1, [x0, 96]
add x0, sp, 48
mov w2, 100
mov x1, x0
ldr w0, [sp, 28]
bl read
add x0, sp, 48
bl atoi
str w0, [sp, 16]
ldr w1, [sp, 16]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
ldr w0, [sp, 16]
bl sumOfDigit
str w0, [sp, 20]
add x3, sp, 48
ldr w2, [sp, 20]
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl sprintf
add x0, sp, 48
bl strlen
add x1, x0, 1
add x0, sp, 48
mov x2, x1
mov x1, x0
ldr w0, [sp, 28]
bl write
b .L8
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global h
.type h, %function
h:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w0, 2
str w0, [sp, 12]
ldr w0, [sp, 12]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size h, .-h
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global PMU_EVENT_NAMES
.section .rodata
.align 3
.LC0:
.string "CYCLES"
.align 3
.LC1:
.string "USERDEF1 (im2col)"
.align 3
.LC2:
.string "USERDEF2 (gemm)"
.align 3
.LC3:
.string "COMMITTED_PKT_ANY"
.align 3
.LC4:
.string "COMMITTED_PKT_BSB"
.align 3
.LC5:
.string ""
.align 3
.LC6:
.string "COMMITTED_PKT_B2B"
.align 3
.LC7:
.string "COMMITTED_PKT_SMT"
.align 3
.LC8:
.string "ICACHE_DEMAND_MISS_CYCLES"
.align 3
.LC9:
.string "ICACHE_DEMAND_MISS"
.align 3
.LC10:
.string "DCACHE_DEMAND_MISS"
.align 3
.LC11:
.string "ANY_IU_REPLAY"
.align 3
.LC12:
.string "ANY_DU_REPLAY"
.align 3
.LC13:
.string "CU_EARLY_CANCEL"
.align 3
.LC14:
.string "1T_RUNNING_PKTS"
.align 3
.LC15:
.string "2T_RUNNING_PKTS"
.align 3
.LC16:
.string "3T_RUNNING_PKTS"
.align 3
.LC17:
.string "COMMITTED_INSTS"
.align 3
.LC18:
.string "COMMITTED_TC1_INSTS"
.align 3
.LC19:
.string "COMMITTED_PRIVATE_INSTS"
.align 3
.LC20:
.string "4T_RUNNING_PKTS"
.align 3
.LC21:
.string "COMMITTED_LOADS"
.align 3
.LC22:
.string "COMMITTED_STORES"
.align 3
.LC23:
.string "COMMITTED_MEMOPS"
.align 3
.LC24:
.string "COMMITED_CONTROL_FLOW"
.align 3
.LC25:
.string "COMMITTED_PKT_CHANGED_FLOW"
.align 3
.LC26:
.string "COMMITTED_ENDLOOP"
.align 3
.LC27:
.string "1T_RUNNING_CYCLES"
.align 3
.LC28:
.string "2T_RUNNING_CYCLES"
.align 3
.LC29:
.string "3T_RUNNING_CYCLES"
.align 3
.LC30:
.string "4T_RUNNING_CYCLES"
.align 3
.LC31:
.string "AXI_READS"
.align 3
.LC32:
.string "AXI_READ_32"
.align 3
.LC33:
.string "AXI_WRITE"
.align 3
.LC34:
.string "AXI_WRITE_32"
.align 3
.LC35:
.string "AHB_READ"
.align 3
.LC36:
.string "AHB_WRITE"
.align 3
.LC37:
.string "AXI_SLAVE_MULTI_BEAT"
.align 3
.LC38:
.string "AXI_SLAVE_SINGLE_BEAT"
.align 3
.LC39:
.string "AXI2_READ"
.align 3
.LC40:
.string "AXI2_READ_32"
.align 3
.LC41:
.string "AXI2_WRITE"
.align 3
.LC42:
.string "AXI2_WRITE_32"
.align 3
.LC43:
.string "AXI2_CONGESTION"
.align 3
.LC44:
.string "COMMITTED_FP_INSTS"
.align 3
.LC45:
.string "BRANCH_MISPREDICT_DIRECTION"
.align 3
.LC46:
.string "BRANCH_MISPREDICT_TARGET"
.align 3
.LC47:
.string "JTLB_MISS"
.align 3
.LC48:
.string "COMMITTED_PKT_RETURN"
.align 3
.LC49:
.string "COMMITTED_PKT_INDIR_JUMP"
.align 3
.LC50:
.string "COMMITTED_BIMODAL_BRANCH"
.align 3
.LC51:
.string "BRANCH_QUEUE_FULL"
.align 3
.LC52:
.string "SMT_XU_CONFLICT"
.align 3
.LC53:
.string "IU_LINE_FROM_LOOP_BUF"
.align 3
.LC54:
.string "IU_1_PKT_AVAIL"
.align 3
.LC55:
.string "IU_REQ_TO_L2_REPLAYED"
.align 3
.LC56:
.string "IU_PREFETCH_TO_L2"
.align 3
.LC57:
.string "ITLB_MISS"
.align 3
.LC58:
.string "IU_2_PKT_AVAIL"
.align 3
.LC59:
.string "IU_3_PKT_AVAIL"
.align 3
.LC60:
.string "IU_REQ_STALLED"
.align 3
.LC61:
.string "BIMODAL_UPDATE_DROPPED"
.align 3
.LC62:
.string "IU_0_PKT_AVAIL"
.align 3
.LC63:
.string "IU_LINE_FALLTHROUGH"
.align 3
.LC64:
.string "IU_LEFTOVER_DROP"
.align 3
.LC65:
.string "L2FETCH_IU_ACCESS"
.align 3
.LC66:
.string "L2FETCH_IU_MISS"
.align 3
.LC67:
.string "L2_IU_ACCESS"
.align 3
.LC68:
.string "L2_IU_MISS"
.align 3
.LC69:
.string "L2_IU_PREFETCH_ACCESS"
.align 3
.LC70:
.string "L2_IU_PREFETCH_MISS"
.align 3
.LC71:
.string "L2_DU_READ_ACCESS"
.align 3
.LC72:
.string "L2_DU_READ_MISS"
.align 3
.LC73:
.string "L2FETCH_ACCESS"
.align 3
.LC74:
.string "L2FETCH_MISS"
.align 3
.LC75:
.string "L2_AXI_INTERLEAVE_DROP"
.align 3
.LC76:
.string "L2_ACCESS"
.align 3
.LC77:
.string "L2_PIPE_CONFLICT"
.align 3
.LC78:
.string "L2_TAG_ARRAY_CONFLICT"
.align 3
.LC79:
.string "AXI_RD_CONGESTION"
.align 3
.LC80:
.string "AHB_CONGESTION"
.align 3
.LC81:
.string "TCM_DU_ACCESS"
.align 3
.LC82:
.string "TCM_DU_RD_ACCESS"
.align 3
.LC83:
.string "TCM_IU_ACCESS"
.align 3
.LC84:
.string "L2_CASTOUT"
.align 3
.LC85:
.string "L2_DU_STORE_ACCESS"
.align 3
.LC86:
.string "L2_DU_STORE_MISS"
.align 3
.LC87:
.string "L2_DU_PREFETCH_ACCESS"
.align 3
.LC88:
.string "L2_DU_PREFETCH_MISS"
.align 3
.LC89:
.string "L2_DU_RETURN_NOT_ACKED"
.align 3
.LC90:
.string "L2_DU_LOAD_2NDARY_MISS"
.align 3
.LC91:
.string "L2FETCH_COMMAND"
.align 3
.LC92:
.string "L2FETCH_COMMAND_KIILLED"
.align 3
.LC93:
.string "L2FETCH_COMMAND_OVERWRITE"
.align 3
.LC94:
.string "L2_ACCESS_EVEN"
.align 3
.LC95:
.string "ANY_DU_STALL"
.align 3
.LC96:
.string "DU_BANK_CONFLICT_REPLAY"
.align 3
.LC97:
.string "L2_FIFO_FULL_REPLAY"
.align 3
.LC98:
.string "DU_STOREBUF_FULL_REPLAY"
.align 3
.LC99:
.string "DU_FILL_REPLAY"
.align 3
.LC100:
.string "DU_READ_TO_L2"
.align 3
.LC101:
.string "DU_WRITE_TO_L2"
.align 3
.LC102:
.string "DCZERO_COMMITTED"
.align 3
.LC103:
.string "DTLB_MISS"
.align 3
.LC104:
.string "STOREBUF_HIT_REPLAY"
.align 3
.LC105:
.string "STOREBUF_FORCE_REPLAY"
.align 3
.LC106:
.string "SMT_BANK_CONFLICT"
.align 3
.LC107:
.string "SMT_PORT_CONFLICT"
.align 3
.LC108:
.string "PAGE_CROSS_REPLAY"
.align 3
.LC109:
.string "DU_DEMAND_2NDARY_MISS"
.align 3
.LC110:
.string "DCFETCH_COMMITTED"
.align 3
.LC111:
.string "DCFETCH_HIT"
.align 3
.LC112:
.string "DCFETCH_MISS"
.align 3
.LC113:
.string "DU_LOAD_UNCACHEABLE"
.align 3
.LC114:
.string "DU_DUAL_LOAD_UNCACHEABLE"
.align 3
.LC115:
.string "DU_STORE_UNCACHEABLE"
.align 3
.LC116:
.string "MISS_TO_PREFETCH"
.align 3
.LC117:
.string "AXI_LINE64_READ_REQ"
.align 3
.LC118:
.string "AXI_LINE64_WRITE_REQ"
.align 3
.LC119:
.string "AXI_WR_CONGESTION"
.align 3
.LC120:
.string "AHB_8_RD_REQ"
.align 3
.LC121:
.string "AXI_INCOMPLETE_WR_REQ"
.align 3
.LC122:
.string "L2FETCH_COMMAND_PAGE_TERMINATION"
.align 3
.LC123:
.string "REQ_STALL_WRITE_BUFFER_EXHAUSTION"
.align 3
.LC124:
.string "L2_DU_STORE_COALESCE"
.align 3
.LC125:
.string "REQ_STALL_EVICTION_BUFFER_EXHAUSTION"
.align 3
.LC126:
.string "AHB_MULTIBEAT_RD_REQ"
.align 3
.LC127:
.string "L2_DU_LOAD_2NDARY_MISS_ON_SW_PF"
.align 3
.LC128:
.string "ARCH_LOCK_PVIEW_CYCLES"
.align 3
.LC129:
.string "IU_NO_PKT_PVIEW_CYCLES"
.align 3
.LC130:
.string "IU_BRANCH_MISS_PVIEW_CYCLES"
.align 3
.LC131:
.string "DU_CACHE_MISS_PVIEW_CYCLES"
.align 3
.LC132:
.string "DU_BUSY_OTHER_PVIEW_CYCLES"
.align 3
.LC133:
.string "CU_BUSY_PVIEW_CYCLES"
.align 3
.LC134:
.string "SMT_DU_CONFLICT_PVIEW_CYCLES"
.align 3
.LC135:
.string "SMT_XU_CONFLICT_PVIEW_CYCLES"
.align 3
.LC136:
.string "COPROC_L2_STORE_TO_LOAD_MISS"
.align 3
.LC137:
.string "COPROC_PKT_THREAD"
.align 3
.LC138:
.string "COPROC_PKT_COUNT"
.align 3
.LC139:
.string "COPROC_POWER_THROTTLING_STALL_CYCLES"
.align 3
.LC140:
.string "COPROC_REGISTER_STALL_CYCLES"
.align 3
.LC141:
.string "COPROC_LOAD_STALL_CYCLES"
.align 3
.LC142:
.string "COPROC_STORE_STALL_CYCLES"
.align 3
.LC143:
.string "COPROC_BUSY_STALL_CYCLES"
.align 3
.LC144:
.string "COPROC_FREEZE_STALL_CYCLES"
.align 3
.LC145:
.string "COPROC_CORE_VFIFO_FULL_STALL"
.align 3
.LC146:
.string "COPROC_L2_STORE_ACCESS"
.align 3
.LC147:
.string "COPROC_L2_STORE_MISS"
.align 3
.LC148:
.string "COPROC_L2_LOAD_ACCESS"
.align 3
.LC149:
.string "COPROC_L2_LOAD_MISS"
.align 3
.LC150:
.string "COPROC_TCM_STORE_ACCESS"
.align 3
.LC151:
.string "COPROC_TCM_LOAD_ACCESS"
.align 3
.LC152:
.string "COPROC_L2_LOAD_2NDARY_MISS"
.section .data.rel.local,"aw"
.align 3
.type PMU_EVENT_NAMES, %object
.size PMU_EVENT_NAMES, 2048
PMU_EVENT_NAMES:
.xword .LC0
.xword .LC1
.xword .LC2
.xword .LC3
.xword .LC4
.xword .LC5
.xword .LC5
.xword .LC6
.xword .LC7
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC8
.xword .LC9
.xword .LC10
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC11
.xword .LC12
.xword .LC13
.xword .LC5
.xword .LC5
.xword .LC14
.xword .LC15
.xword .LC16
.xword .LC5
.xword .LC5
.xword .LC17
.xword .LC18
.xword .LC19
.xword .LC5
.xword .LC5
.xword .LC20
.xword .LC21
.xword .LC22
.xword .LC23
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC24
.xword .LC25
.xword .LC26
.xword .LC5
.xword .LC27
.xword .LC28
.xword .LC29
.xword .LC30
.xword .LC5
.xword .LC31
.xword .LC32
.xword .LC33
.xword .LC34
.xword .LC35
.xword .LC36
.xword .LC5
.xword .LC37
.xword .LC38
.xword .LC39
.xword .LC40
.xword .LC41
.xword .LC42
.xword .LC43
.xword .LC5
.xword .LC5
.xword .LC44
.xword .LC45
.xword .LC46
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC47
.xword .LC5
.xword .LC48
.xword .LC49
.xword .LC50
.xword .LC51
.xword .LC52
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC53
.xword .LC5
.xword .LC54
.xword .LC5
.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 .LC5
.xword .LC5
.xword .LC71
.xword .LC72
.xword .LC73
.xword .LC74
.xword .LC75
.xword .LC76
.xword .LC77
.xword .LC78
.xword .LC79
.xword .LC80
.xword .LC5
.xword .LC81
.xword .LC82
.xword .LC83
.xword .LC84
.xword .LC85
.xword .LC86
.xword .LC87
.xword .LC88
.xword .LC89
.xword .LC90
.xword .LC91
.xword .LC92
.xword .LC93
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC94
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC95
.xword .LC96
.xword .LC5
.xword .LC97
.xword .LC98
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC99
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC100
.xword .LC101
.xword .LC5
.xword .LC102
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC103
.xword .LC5
.xword .LC5
.xword .LC104
.xword .LC105
.xword .LC5
.xword .LC106
.xword .LC107
.xword .LC5
.xword .LC5
.xword .LC108
.xword .LC5
.xword .LC109
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC110
.xword .LC111
.xword .LC112
.xword .LC5
.xword .LC5
.xword .LC113
.xword .LC114
.xword .LC115
.xword .LC5
.xword .LC116
.xword .LC5
.xword .LC117
.xword .LC118
.xword .LC119
.xword .LC120
.xword .LC121
.xword .LC122
.xword .LC123
.xword .LC124
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC125
.xword .LC126
.xword .LC5
.xword .LC127
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC5
.xword .LC128
.xword .LC129
.xword .LC130
.xword .LC131
.xword .LC132
.xword .LC133
.xword .LC134
.xword .LC135
.xword .LC5
.xword .LC136
.xword .LC137
.xword .LC138
.xword .LC139
.xword .LC140
.xword .LC141
.xword .LC142
.xword .LC143
.xword .LC144
.xword .LC145
.xword .LC146
.xword .LC147
.xword .LC148
.xword .LC149
.xword .LC150
.xword .LC151
.xword .LC152
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type foo, %function
foo:
.LFB0:
.cfi_startproc
movi v0.2s, #0
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.align 2
.global bar
.type bar, %function
bar:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl foo
fcvt d1, s0
fmov d0, 1.0e+1
fmul d0, d1, d0
fcvt s0, d0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size bar, .-bar
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%-2i %i\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
str wzr, [sp, 28]
mov w0, 1
str w0, [sp, 24]
b .L2
.L3:
ldr w1, [sp, 28]
ldr w0, [sp, 24]
add w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 24]
cmp w0, 200
ble .L3
ldr w2, [sp, 28]
ldr w1, [sp, 24]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
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
.local timeout
.comm timeout,4,4
.local pid_buf
.comm pid_buf,100,8
.section .rodata
.align 3
.LC0:
.string ".arflockgate"
.align 3
.LC1:
.string "program.c, 65, open() gate"
.align 3
.LC2:
.string "%i\n"
.align 3
.LC3:
.string "program.c, 76, signal()"
.align 3
.LC4:
.string "program.c, 103, lockf() gate unlock"
.align 3
.LC5:
.string "program.c, 110, open()"
.align 3
.LC6:
.string "program.c, 120, fork()"
.align 3
.LC7:
.string "program.c, 135, lockf() unlock"
.align 3
.LC8:
.string "program.c, 140, lockf() gate unlock"
.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
str w0, [sp, 28]
str x1, [sp, 16]
mov w0, -1
str w0, [sp, 36]
str wzr, [sp, 40]
str wzr, [sp, 44]
str wzr, [sp, 48]
mov w0, -1
str w0, [sp, 52]
ldr w0, [sp, 28]
cmp w0, 2
bgt .L2
ldr x0, [sp, 16]
ldr x0, [x0]
bl invokation
bl exit
.L2:
mov w2, 420
mov w1, 65
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl open
str w0, [sp, 56]
ldr w0, [sp, 56]
cmn w0, #1
bne .L3
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
mov w0, 1
bl exit
.L3:
bl getpid
mov w2, w0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
adrp x0, pid_buf
add x0, x0, :lo12:pid_buf
bl sprintf
str w0, [sp, 60]
ldrsw x0, [sp, 60]
mov x2, x0
adrp x0, pid_buf
add x1, x0, :lo12:pid_buf
ldr w0, [sp, 56]
bl write
adrp x0, sig_alarm
add x1, x0, :lo12:sig_alarm
mov w0, 14
bl signal
cmn x0, #1
bne .L4
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl perror
mov w0, 1
bl exit
.L4:
adrp x0, timeout
add x0, x0, :lo12:timeout
mov w1, 30
str w1, [x0]
ldr w0, [sp, 56]
bl gime_lock
cmp w0, 0
bne .L5
mov w0, 1
str w0, [sp, 48]
b .L6
.L5:
mov w0, 1
str w0, [sp, 44]
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
mov w1, 1
bl open
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
beq .L7
adrp x0, timeout
add x0, x0, :lo12:timeout
mov w1, 30
str w1, [x0]
ldr w0, [sp, 36]
bl gime_lock
cmp w0, 0
bne .L8
mov w0, 1
str w0, [sp, 48]
b .L6
.L8:
mov w0, 1
str w0, [sp, 40]
ldr w0, [sp, 44]
cmp w0, 0
beq .L9
mov x2, 0
mov w1, 0
ldr w0, [sp, 36]
bl lockf
cmn w0, #1
bne .L9
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl perror
b .L11
.L9:
str wzr, [sp, 44]
b .L11
.L7:
bl __errno_location
ldr w0, [x0]
cmp w0, 2
beq .L11
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl perror
mov w0, 1
str w0, [sp, 48]
b .L6
.L11:
mov x1, 0
mov w0, 14
bl signal
bl fork
str w0, [sp, 52]
ldr w0, [sp, 52]
cmn w0, #1
bne .L12
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl perror
mov w0, 1
str w0, [sp, 48]
b .L6
.L12:
ldr w0, [sp, 52]
cmp w0, 0
bne .L13
ldr x0, [sp, 16]
add x0, x0, 16
ldr x2, [x0]
ldr x0, [sp, 16]
add x0, x0, 16
mov x1, x0
mov x0, x2
bl execvp
ldr x0, [sp, 16]
add x0, x0, 16
ldr x0, [x0]
bl perror
mov w0, 1
bl exit
.L13:
ldr w0, [sp, 52]
bl collect_child
str w0, [sp, 48]
.L6:
ldr w0, [sp, 40]
cmp w0, 0
beq .L14
mov x2, 0
mov w1, 0
ldr w0, [sp, 36]
bl lockf
cmn w0, #1
bne .L14
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl perror
mov w0, 1
str w0, [sp, 48]
.L14:
ldr w0, [sp, 44]
cmp w0, 0
beq .L15
mov x2, 0
mov w1, 0
ldr w0, [sp, 56]
bl lockf
cmn w0, #1
bne .L15
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl perror
mov w0, 1
str w0, [sp, 48]
.L15:
ldr w0, [sp, 48]
bl exit
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC9:
.string "program.c, 155, signal()"
.text
.align 2
.type sig_alarm, %function
sig_alarm:
.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 w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 14
bne .L19
adrp x0, timeout
add x0, x0, :lo12:timeout
ldr w0, [x0]
sub w1, w0, #1
adrp x0, timeout
add x0, x0, :lo12:timeout
str w1, [x0]
adrp x0, sig_alarm
add x1, x0, :lo12:sig_alarm
mov w0, 14
bl signal
cmn x0, #1
bne .L16
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl perror
mov w0, 1
bl exit
.L19:
nop
.L16:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size sig_alarm, .-sig_alarm
.section .rodata
.align 3
.LC10:
.string "program.c, 172, lockf() gate"
.align 3
.LC11:
.string "program.c, 175, lockf() gate"
.align 3
.LC12:
.string ": 30s timeout reached\n"
.text
.align 2
.type gime_lock, %function
gime_lock:
.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]
mov w0, 1
bl alarm
.L22:
mov x2, 0
mov w1, 1
ldr w0, [sp, 28]
bl lockf
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bge .L21
bl __errno_location
ldr w0, [x0]
cmp w0, 4
bne .L21
adrp x0, timeout
add x0, x0, :lo12:timeout
ldr w0, [x0]
cmp w0, 0
bgt .L22
.L21:
mov w0, 0
bl alarm
ldr w0, [sp, 44]
cmp w0, 0
bge .L23
bl __errno_location
ldr w0, [x0]
cmp w0, 4
beq .L24
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl perror
b .L25
.L24:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 28
mov x1, 1
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 22
mov x1, 1
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl fwrite
.L25:
mov w0, 0
b .L26
.L23:
mov w0, 1
.L26:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size gime_lock, .-gime_lock
.align 2
.type collect_child, %function
collect_child:
.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 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
.L29:
str wzr, [sp, 32]
add x0, sp, 32
mov w2, 0
mov x1, x0
ldr w0, [sp, 28]
bl waitpid
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bge .L28
bl __errno_location
ldr w0, [x0]
cmp w0, 4
beq .L29
.L28:
ldr w0, [sp, 36]
cmp w0, 0
blt .L30
ldr w0, [sp, 32]
and w0, w0, 127
cmp w0, 0
beq .L30
ldr w0, [sp, 32]
and w0, w0, 255
and w0, w0, 127
and w0, w0, 255
add w0, w0, 1
and w0, w0, 255
sxtb w0, w0
asr w0, w0, 1
sxtb w0, w0
cmp w0, 0
ble .L29
.L30:
ldr w0, [sp, 32]
and w0, w0, 127
cmp w0, 0
bne .L31
ldr w0, [sp, 32]
asr w0, w0, 8
and w0, w0, 255
b .L33
.L31:
mov w0, 1
.L33:
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 .L34
bl __stack_chk_fail
.L34:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size collect_child, .-collect_child
.section .rodata
.align 3
.LC13:
.string "%s file ar-line\n"
.align 3
.LC14:
.string "\tfile\t- the .a to save\n"
.align 3
.LC15:
.string "\tar-line\t- the complete ar comandline\n"
.text
.align 2
.type invokation, %function
invokation:
.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]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x2, [sp, 24]
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov x0, x3
bl fprintf
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 23
mov x1, 1
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 38
mov x1, 1
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl fwrite
mov w0, 1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size invokation, .-invokation
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global max
.type max, %function
max:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 12]
ldr w2, [sp, 8]
ldr w1, [sp, 8]
cmp w2, w0
csel w0, w1, w0, ge
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size max, .-max
.align 2
.global knapsack
.type knapsack, %function
knapsack:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
.cfi_def_cfa_register 29
stp x19, x20, [sp, 16]
stp x21, x22, [sp, 32]
stp x23, x24, [sp, 48]
sub sp, sp, #16
.cfi_offset 19, -128
.cfi_offset 20, -120
.cfi_offset 21, -112
.cfi_offset 22, -104
.cfi_offset 23, -96
.cfi_offset 24, -88
str w0, [x29, 92]
str x1, [x29, 80]
str x2, [x29, 72]
str w3, [x29, 88]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 136]
mov x1, 0
mov x0, sp
mov x24, x0
ldr w0, [x29, 92]
add w1, w0, 1
ldr w0, [x29, 88]
add w2, w0, 1
sxtw x0, w1
sub x0, x0, #1
str x0, [x29, 112]
sxtw x0, w1
mov x18, x0
mov x19, 0
lsr x0, x18, 59
lsl x17, x19, 5
orr x17, x0, x17
lsl x16, x18, 5
sxtw x0, w1
lsl x19, x0, 2
sxtw x0, w2
sub x0, x0, #1
str x0, [x29, 120]
sxtw x0, w1
mov x10, x0
mov x11, 0
sxtw x0, w2
mov x8, x0
mov x9, 0
mul x3, x10, x8
umulh x0, x10, x8
madd x0, x11, x8, x0
madd x0, x10, x9, x0
mov x22, x3
mov x23, x0
lsr x0, x22, 59
lsl x15, x23, 5
orr x15, x0, x15
lsl x14, x22, 5
sxtw x0, w1
mov x6, x0
mov x7, 0
sxtw x0, w2
mov x4, x0
mov x5, 0
mul x3, x6, x4
umulh x0, x6, x4
madd x0, x7, x4, x0
madd x0, x6, x5, x0
mov x20, x3
mov x21, x0
lsr x0, x20, 59
lsl x13, x21, 5
orr x13, x0, x13
lsl x12, x20, 5
sxtw x1, w1
sxtw x0, w2
mul x0, x1, x0
lsl x0, x0, 2
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L4:
cmp sp, x1
beq .L5
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L4
.L5:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L6
str xzr, [sp, 1024]
.L6:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 128]
str wzr, [x29, 104]
b .L7
.L14:
str wzr, [x29, 108]
b .L8
.L13:
ldr w0, [x29, 104]
cmp w0, 0
beq .L9
ldr w0, [x29, 108]
cmp w0, 0
bne .L10
.L9:
lsr x1, x19, 2
ldr x0, [x29, 128]
ldrsw x2, [x29, 108]
ldrsw x3, [x29, 104]
mul x1, x3, x1
add x1, x2, x1
str wzr, [x0, x1, lsl 2]
b .L11
.L10:
ldrsw x0, [x29, 104]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [x29, 80]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [x29, 108]
cmp w1, w0
blt .L12
ldrsw x0, [x29, 104]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [x29, 72]
add x0, x1, x0
ldr w1, [x0]
lsr x2, x19, 2
ldr w0, [x29, 104]
sub w4, w0, #1
ldrsw x0, [x29, 104]
lsl x0, x0, 2
sub x0, x0, #4
ldr x3, [x29, 80]
add x0, x3, x0
ldr w0, [x0]
ldr w3, [x29, 108]
sub w3, w3, w0
ldr x0, [x29, 128]
sxtw x3, w3
sxtw x4, w4
mul x2, x4, x2
add x2, x3, x2
ldr w0, [x0, x2, lsl 2]
add w4, w1, w0
lsr x1, x19, 2
ldr w0, [x29, 104]
sub w3, w0, #1
ldr x0, [x29, 128]
ldrsw x2, [x29, 108]
sxtw x3, w3
mul x1, x3, x1
add x1, x2, x1
ldr w0, [x0, x1, lsl 2]
lsr x20, x19, 2
mov w1, w0
mov w0, w4
bl max
mov w3, w0
ldr x0, [x29, 128]
ldrsw x2, [x29, 108]
ldrsw x1, [x29, 104]
mul x1, x1, x20
add x1, x2, x1
str w3, [x0, x1, lsl 2]
b .L11
.L12:
lsr x2, x19, 2
ldr w0, [x29, 104]
sub w4, w0, #1
lsr x1, x19, 2
ldr x0, [x29, 128]
ldrsw x3, [x29, 108]
sxtw x4, w4
mul x2, x4, x2
add x2, x3, x2
ldr w2, [x0, x2, lsl 2]
ldr x0, [x29, 128]
ldrsw x3, [x29, 108]
ldrsw x4, [x29, 104]
mul x1, x4, x1
add x1, x3, x1
str w2, [x0, x1, lsl 2]
.L11:
ldr w0, [x29, 108]
add w0, w0, 1
str w0, [x29, 108]
.L8:
ldr w1, [x29, 108]
ldr w0, [x29, 92]
cmp w1, w0
ble .L13
ldr w0, [x29, 104]
add w0, w0, 1
str w0, [x29, 104]
.L7:
ldr w1, [x29, 104]
ldr w0, [x29, 88]
cmp w1, w0
ble .L14
lsr x1, x19, 2
ldr x0, [x29, 128]
ldrsw x2, [x29, 92]
ldrsw x3, [x29, 88]
mul x1, x3, x1
add x1, x2, x1
ldr w0, [x0, x1, lsl 2]
mov sp, x24
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [x29, 136]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L16
bl __stack_chk_fail
.L16:
mov w0, w1
mov sp, x29
ldp x19, x20, [sp, 16]
ldp x21, x22, [sp, 32]
ldp x23, x24, [sp, 48]
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.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
.LFE1:
.size knapsack, .-knapsack
.section .rodata
.align 3
.LC2:
.string "\nValue = %d"
.text
.align 2
.global main
.type main, %function
main:
.LFB2:
.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
adrp x0, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 24
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
adrp x0, .LC1
add x1, x0, :lo12:.LC1
add x0, sp, 40
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
mov w0, 50
str w0, [sp, 16]
mov w0, 3
str w0, [sp, 20]
add x1, sp, 24
add x0, sp, 40
ldr w3, [sp, 20]
mov x2, x1
mov x1, x0
ldr w0, [sp, 16]
bl knapsack
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, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L19
bl __stack_chk_fail
.L19:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size main, .-main
.section .rodata
.align 3
.LC0:
.word 60
.word 100
.word 120
.align 3
.LC1:
.word 10
.word 20
.word 30
.text
``` |
### 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, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl zlibVersion
mov w0, 0
ldp x29, x30, [sp], 16
.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
.align 2
.global _init
.type _init, %function
_init:
.LFB0:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE0:
.size _init, .-_init
.align 2
.global _fini
.type _fini, %function
_fini:
.LFB1:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE1:
.size _fini, .-_fini
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global r
.data
.align 3
.type r, %object
.size r, 16
r:
.xword -1
.xword -1
.section .rodata
.align 3
.LC0:
.string "/dev/kvm"
.string ""
.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
mov w6, 0
mov w5, -1
mov w4, 50
mov w3, 3
mov w2, 16777216
mov w1, 536870912
mov x0, 222
bl syscall
str xzr, [sp, 24]
mov x2, 9
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov x0, 1152
movk x0, 0x2000, lsl 16
bl memcpy
mov w4, 0
mov w3, 0
mov w2, 1152
movk w2, 0x2000, lsl 16
mov x1, -100
mov x0, 56
bl syscall
str x0, [sp, 24]
ldr x0, [sp, 24]
cmn x0, #1
beq .L2
ldr x1, [sp, 24]
adrp x0, r
add x0, x0, :lo12:r
str x1, [x0]
.L2:
adrp x0, r
add x0, x0, :lo12:r
ldr x0, [x0]
mov w3, 0
mov w2, 44545
mov x1, x0
mov x0, 29
bl syscall
str x0, [sp, 24]
ldr x0, [sp, 24]
cmn x0, #1
beq .L3
ldr x1, [sp, 24]
adrp x0, r
add x0, x0, :lo12:r
str x1, [x0, 8]
.L3:
adrp x0, r
add x0, x0, :lo12:r
ldr x0, [x0, 8]
mov w3, 0
mov w2, 44609
mov x1, x0
mov x0, 29
bl syscall
mov w0, 0
ldp x29, x30, [sp], 32
.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 "Este programa troca a minusculas por maiusculas.\n"
.align 3
.LC1:
.string "Escreva algo no maximo 20 letras"
.align 3
.LC2:
.string "Escreva uma palavra: "
.align 3
.LC3:
.string "%s"
.align 3
.LC4:
.string "antes : %s\n"
.align 3
.LC5:
.string "depois: %s"
.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
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x0, sp, 32
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
add x0, sp, 32
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
str wzr, [sp, 28]
b .L2
.L4:
ldrsw x0, [sp, 28]
add x1, sp, 32
ldrb w0, [x1, x0]
cmp w0, 96
bls .L3
ldrsw x0, [sp, 28]
add x1, sp, 32
ldrb w0, [x1, x0]
cmp w0, 122
bhi .L3
ldrsw x0, [sp, 28]
add x1, sp, 32
ldrb w0, [x1, x0]
sub w0, w0, #32
and w2, w0, 255
ldrsw x0, [sp, 28]
add x1, sp, 32
strb w2, [x1, x0]
.L3:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldrsw x0, [sp, 28]
add x1, sp, 32
ldrb w0, [x1, x0]
cmp w0, 0
bne .L4
add x0, sp, 32
mov x1, x0
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, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L6
bl __stack_chk_fail
.L6:
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 "What is your integer variable?"
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "The mathematical relationship to 2 for the value entered by addition is %d\n"
.align 3
.LC3:
.string "The mathematical relationship to 2 for the value entered by subtraction is %d\n"
.align 3
.LC4:
.string "The mathematical relationship to 2 for the value entered by multiplication is: %d\n"
.align 3
.LC5:
.string "The mathematical relationship to 2 for the value entered by division is %d\n"
.align 3
.LC6:
.string "The mathematical relationship to 2 for the value entered by modulus is %d\n"
.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 puts
add x0, sp, 20
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 20]
add w0, w0, 2
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr w0, [sp, 20]
sub w0, w0, #2
mov w1, w0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
ldr w0, [sp, 20]
lsl w0, w0, 1
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w0, [sp, 20]
lsr w1, w0, 31
add w0, w1, w0
asr w0, w0, 1
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
ldr w0, [sp, 20]
cmp w0, 0
and w0, w0, 1
csneg w0, w0, w0, ge
mov w1, w0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
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
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test_vreinterpretQp64_u16
.type test_vreinterpretQp64_u16, %function
test_vreinterpretQp64_u16:
.LFB4340:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
ldr q0, [sp]
str q0, [sp, 32]
ldr q0, [sp, 32]
str q0, [sp, 16]
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4340:
.size test_vreinterpretQp64_u16, .-test_vreinterpretQp64_u16
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Usage: %s secs\nPrints the amount of hours, minutes and seconds (up until the decimal case).\n"
.align 3
.LC1:
.string "%d %d %.2f\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
str w0, [sp, 28]
str x1, [sp, 16]
ldr w0, [sp, 28]
cmp w0, 1
bgt .L2
ldr x0, [sp, 16]
ldr x0, [x0]
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 1
b .L3
.L2:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atof
str d0, [sp, 40]
ldr d0, [sp, 40]
fcvtzs w0, d0
mov w1, 46021
movk w1, 0x91a2, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
add w1, w0, w1
asr w1, w1, 11
asr w0, w0, 31
sub w0, w1, w0
str w0, [sp, 32]
ldr d0, [sp, 40]
fcvtzs w0, d0
mov w1, 34953
movk w1, 0x8888, lsl 16
smull x1, w0, w1
lsr x1, x1, 32
add w1, w0, w1
asr w1, w1, 5
asr w0, w0, 31
sub w2, w1, w0
ldr w1, [sp, 32]
mov w0, w1
lsl w1, w1, 4
sub w0, w0, w1
lsl w0, w0, 2
add w0, w2, w0
str w0, [sp, 36]
ldr w1, [sp, 32]
mov w0, 3600
mul w2, w1, w0
ldr w1, [sp, 36]
mov w0, w1
lsl w0, w0, 4
sub w0, w0, w1
lsl w0, w0, 2
add w0, w2, w0
scvtf d0, w0
ldr d1, [sp, 40]
fsub d0, d1, d0
str d0, [sp, 40]
ldr d0, [sp, 40]
ldr w2, [sp, 36]
ldr w1, [sp, 32]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov w0, 0
.L3:
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 "Hello World!"
.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
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
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 ascending
.type ascending, %function
ascending:
.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]
cmp w1, w0
cset w0, gt
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size ascending, .-ascending
.align 2
.global descending
.type descending, %function
descending:
.LFB7:
.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]
cmp w1, w0
cset w0, lt
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size descending, .-descending
.align 2
.global insertionSort
.type insertionSort, %function
insertionSort:
.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]
mov w0, 1
str w0, [sp, 56]
b .L6
.L10:
ldrsw x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 60]
ldr w0, [sp, 56]
sub w0, w0, #1
str w0, [sp, 52]
b .L7
.L9:
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x1, x1, x0
ldrsw x0, [sp, 52]
add x0, x0, 1
lsl x0, x0, 2
ldr x2, [sp, 40]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldr w0, [sp, 52]
sub w0, w0, #1
str w0, [sp, 52]
.L7:
ldr w0, [sp, 52]
cmp w0, 0
blt .L8
ldrsw x0, [sp, 52]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w0, [x0]
ldr x2, [sp, 24]
ldr w1, [sp, 60]
blr x2
cmp w0, 0
bne .L9
.L8:
ldrsw x0, [sp, 52]
add x0, x0, 1
lsl x0, x0, 2
ldr x1, [sp, 40]
add x0, x1, x0
ldr w1, [sp, 60]
str w1, [x0]
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L6:
ldr w1, [sp, 36]
ldr w0, [sp, 56]
cmp w1, w0
bgt .L10
nop
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size insertionSort, .-insertionSort
.section .rodata
.align 3
.LC1:
.string "ascending 1: descending 2 "
.align 3
.LC2:
.string "enter your choice = "
.align 3
.LC3:
.string "%d"
.align 3
.LC4:
.string "no such option"
.align 3
.LC5:
.string "after insertionSort"
.align 3
.LC6:
.string "%d\t"
.text
.align 2
.global main
.type main, %function
main:
.LFB9:
.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
adrp x0, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 32
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldr x1, [x1, 32]
str x1, [x0, 32]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
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 w0, [sp, 24]
cmp w0, 3
beq .L12
cmp w0, 3
bgt .L13
cmp w0, 1
beq .L14
cmp w0, 2
beq .L15
b .L13
.L14:
add x3, sp, 32
adrp x0, ascending
add x2, x0, :lo12:ascending
mov w1, 10
mov x0, x3
bl insertionSort
b .L16
.L15:
add x3, sp, 32
adrp x0, descending
add x2, x0, :lo12:descending
mov w1, 10
mov x0, x3
bl insertionSort
b .L16
.L12:
mov w0, 0
bl exit
.L13:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
.L16:
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
str wzr, [sp, 28]
b .L17
.L18:
ldrsw x0, [sp, 28]
lsl x0, x0, 2
add x1, sp, 32
ldr w0, [x1, x0]
mov w1, w0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L17:
ldr w0, [sp, 28]
cmp w0, 9
ble .L18
mov w0, 10
bl putchar
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 .L20
bl __stack_chk_fail
.L20:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size main, .-main
.section .rodata
.align 3
.LC0:
.word 22
.word 66
.word 55
.word 11
.word 99
.word 33
.word 44
.word 77
.word 88
.word 0
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%lf"
.align 3
.LC1:
.string "%.lf"
.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
add x0, sp, 16
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr d0, [sp, 16]
fcvtzs w0, d0
scvtf d0, w0
str d0, [sp, 16]
ldr d0, [sp, 16]
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, 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
.align 2
.global InputParser
.type InputParser, %function
InputParser:
.LFB6:
.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, 40]
str x1, [sp, 32]
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, 56]
ldr x0, [sp, 40]
bl strlen
str w0, [sp, 68]
str wzr, [sp, 60]
stp xzr, xzr, [sp, 72]
add x0, sp, 88
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str wzr, [sp, 64]
b .L2
.L6:
ldrsw x0, [sp, 64]
ldr x1, [sp, 40]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 32
beq .L3
ldrsw x0, [sp, 64]
ldr x1, [sp, 40]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L4
.L3:
add x0, sp, 72
bl strlen
add x2, x0, 1
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x19, x1, x0
mov x0, x2
bl malloc
str x0, [x19]
ldrsw x0, [sp, 56]
lsl x0, x0, 3
ldr x1, [sp, 32]
add x0, x1, x0
ldr x0, [x0]
add x1, sp, 72
bl strcpy
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
str wzr, [sp, 60]
add x0, sp, 72
mov x2, 80
mov w1, 0
bl memset
b .L5
.L4:
ldrsw x0, [sp, 64]
ldr x1, [sp, 40]
add x0, x1, x0
ldrb w2, [x0]
ldrsw x0, [sp, 60]
add x1, sp, 72
strb w2, [x1, x0]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L5:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L2:
ldr w1, [sp, 64]
ldr w0, [sp, 68]
cmp w1, w0
ble .L6
ldr w0, [sp, 56]
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 .L8
bl __stack_chk_fail
.L8:
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
.LFE6:
.size InputParser, .-InputParser
.section .rodata
.align 3
.LC0:
.string "shell>>"
.align 3
.LC1:
.string "%[^\n]%*c"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -448]!
.cfi_def_cfa_offset 448
.cfi_offset 29, -448
.cfi_offset 30, -440
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 440]
mov x1, 0
add x0, sp, 32
mov x1, 328
mov x2, x1
mov w1, 0
bl memset
mov w0, 1
str w0, [sp, 24]
b .L10
.L11:
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
bl fflush
add x0, sp, 360
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
str wzr, [sp, 28]
add x1, sp, 32
add x0, sp, 360
bl InputParser
str w0, [sp, 28]
str wzr, [sp, 24]
.L10:
ldr w0, [sp, 24]
cmp w0, 0
bne .L11
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 440]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L13
bl __stack_chk_fail
.L13:
mov w0, w1
ldp x29, x30, [sp], 448
.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
.LC1:
.string "Original matrix:"
.align 3
.LC2:
.string "Multiplied by 2:"
.align 3
.LC3:
.string "Then multiplied by -1:"
.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
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 x1, x0, :lo12:.LC0
add x0, 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]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
add x0, sp, 24
mov x2, x0
mov w1, 5
mov w0, 3
bl displayMatrix
mov w0, 10
bl putchar
add x0, sp, 24
mov w3, 2
mov x2, x0
mov w1, 5
mov w0, 3
bl scalarMultiply
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
add x0, sp, 24
mov x2, x0
mov w1, 5
mov w0, 3
bl displayMatrix
mov w0, 10
bl putchar
add x0, sp, 24
mov w3, -1
mov x2, x0
mov w1, 5
mov w0, 3
bl scalarMultiply
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
add x0, sp, 24
mov x2, x0
mov w1, 5
mov w0, 3
bl displayMatrix
mov w0, 10
bl putchar
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 .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC0:
.word 7
.word 16
.word 55
.word 13
.word 12
.word 12
.word 10
.word 52
.word 0
.word 7
.word -2
.word 1
.word 2
.word 4
.word 9
.text
.align 2
.global scalarMultiply
.type scalarMultiply, %function
scalarMultiply:
.LFB1:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str w0, [sp, 28]
str w1, [sp, 24]
str x2, [sp, 16]
str w3, [sp, 12]
ldr w0, [sp, 24]
sxtw x1, w0
sub x1, x1, #1
str x1, [sp, 40]
sxtw x1, w0
mov x6, x1
mov x7, 0
lsr x1, x6, 59
lsl x5, x7, 5
orr x5, x1, x5
lsl x4, x6, 5
str wzr, [sp, 32]
b .L5
.L8:
str wzr, [sp, 36]
b .L6
.L7:
ldrsw x2, [sp, 32]
sxtw x1, w0
mul x1, x2, x1
lsl x1, x1, 2
ldr x2, [sp, 16]
add x1, x2, x1
ldrsw x2, [sp, 36]
ldr w3, [x1, x2, lsl 2]
ldrsw x2, [sp, 32]
sxtw x1, w0
mul x1, x2, x1
lsl x1, x1, 2
ldr x2, [sp, 16]
add x1, x2, x1
ldr w2, [sp, 12]
mul w3, w3, w2
ldrsw x2, [sp, 36]
str w3, [x1, x2, lsl 2]
ldr w1, [sp, 36]
add w1, w1, 1
str w1, [sp, 36]
.L6:
ldr w2, [sp, 36]
ldr w1, [sp, 24]
cmp w2, w1
blt .L7
ldr w1, [sp, 32]
add w1, w1, 1
str w1, [sp, 32]
.L5:
ldr w2, [sp, 32]
ldr w1, [sp, 28]
cmp w2, w1
blt .L8
nop
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size scalarMultiply, .-scalarMultiply
.section .rodata
.align 3
.LC4:
.string "%5i"
.text
.align 2
.global displayMatrix
.type displayMatrix, %function
displayMatrix:
.LFB2:
.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 w1, [sp, 40]
str x2, [sp, 32]
ldr w19, [sp, 40]
sxtw x0, w19
sub x0, x0, #1
str x0, [sp, 56]
sxtw x0, w19
mov x6, x0
mov x7, 0
lsr x0, x6, 59
lsl x5, x7, 5
orr x5, x0, x5
lsl x4, x6, 5
str wzr, [sp, 48]
b .L10
.L13:
str wzr, [sp, 52]
b .L11
.L12:
ldrsw x1, [sp, 48]
sxtw x0, w19
mul x0, x1, x0
lsl x0, x0, 2
ldr x1, [sp, 32]
add x0, x1, x0
ldrsw x1, [sp, 52]
ldr w0, [x0, x1, lsl 2]
mov w1, w0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L11:
ldr w1, [sp, 52]
ldr w0, [sp, 40]
cmp w1, w0
blt .L12
mov w0, 10
bl putchar
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L10:
ldr w1, [sp, 48]
ldr w0, [sp, 44]
cmp w1, w0
blt .L13
nop
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
.LFE2:
.size displayMatrix, .-displayMatrix
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.type readint0, %function
readint0:
.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 readint0, .-readint0
.align 2
.global test0
.type test0, %function
test0:
.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 x0, [sp, 24]
ldr x0, [sp, 24]
bl readint0
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size test0, .-test0
.align 2
.global test1
.type test1, %function
test1:
.LFB3:
.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 readint1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size test1, .-test1
.align 2
.type readint2, %function
readint2:
.LFB4:
.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
.LFE4:
.size readint2, .-readint2
.align 2
.global test2
.type test2, %function
test2:
.LFB5:
.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 readint2
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size test2, .-test2
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global inCompiler
.bss
.align 2
.type inCompiler, %object
.size inCompiler, 4
inCompiler:
.zero 4
.global inDebugger
.align 2
.type inDebugger, %object
.size inDebugger, 4
inDebugger:
.zero 4
.global symbolsDir
.align 3
.type symbolsDir, %object
.size symbolsDir, 8
symbolsDir:
.zero 8
.global outputFile
.align 3
.type outputFile, %object
.size outputFile, 8
outputFile:
.zero 8
.global sourceFile
.align 3
.type sourceFile, %object
.size sourceFile, 8
sourceFile:
.zero 8
.global i18nModuleName
.align 3
.type i18nModuleName, %object
.size i18nModuleName, 8
i18nModuleName:
.zero 8
.global outputLineNumbers
.data
.align 2
.type outputLineNumbers, %object
.size outputLineNumbers, 4
outputLineNumbers:
.word 1
.global numWarnings
.bss
.align 2
.type numWarnings, %object
.size numWarnings, 4
numWarnings:
.zero 4
.global parseError
.align 2
.type parseError, %object
.size parseError, 4
parseError:
.zero 4
.global skipErrors
.align 2
.type skipErrors, %object
.size skipErrors, 4
skipErrors:
.zero 4
.global targetPlatform
.align 2
.type targetPlatform, %object
.size targetPlatform, 4
targetPlatform:
.zero 4
.global targetBits
.align 2
.type targetBits, %object
.size targetBits, 4
targetBits:
.zero 4
.text
.align 2
.global SetInCompiler
.type SetInCompiler, %function
SetInCompiler:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, inCompiler
add x0, x0, :lo12:inCompiler
ldr w1, [sp, 12]
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size SetInCompiler, .-SetInCompiler
.align 2
.global SetInDebugger
.type SetInDebugger, %function
SetInDebugger:
.LFB7:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, inDebugger
add x0, x0, :lo12:inDebugger
ldr w1, [sp, 12]
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size SetInDebugger, .-SetInDebugger
.section .rodata
.align 3
.LC0:
.string ""
.text
.align 2
.global GetSymbolsDir
.type GetSymbolsDir, %function
GetSymbolsDir:
.LFB8:
.cfi_startproc
adrp x0, symbolsDir
add x0, x0, :lo12:symbolsDir
ldr x0, [x0]
cmp x0, 0
beq .L4
adrp x0, symbolsDir
add x0, x0, :lo12:symbolsDir
ldr x0, [x0]
b .L6
.L4:
adrp x0, .LC0
add x0, x0, :lo12:.LC0
.L6:
ret
.cfi_endproc
.LFE8:
.size GetSymbolsDir, .-GetSymbolsDir
.align 2
.global SetOutputFile
.type SetOutputFile, %function
SetOutputFile:
.LFB9:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, outputFile
add x0, x0, :lo12:outputFile
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size SetOutputFile, .-SetOutputFile
.align 2
.global GetOutputFile
.type GetOutputFile, %function
GetOutputFile:
.LFB10:
.cfi_startproc
adrp x0, outputFile
add x0, x0, :lo12:outputFile
ldr x0, [x0]
ret
.cfi_endproc
.LFE10:
.size GetOutputFile, .-GetOutputFile
.align 2
.global SetSourceFile
.type SetSourceFile, %function
SetSourceFile:
.LFB11:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, sourceFile
add x0, x0, :lo12:sourceFile
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size SetSourceFile, .-SetSourceFile
.align 2
.global GetSourceFile
.type GetSourceFile, %function
GetSourceFile:
.LFB12:
.cfi_startproc
adrp x0, sourceFile
add x0, x0, :lo12:sourceFile
ldr x0, [x0]
ret
.cfi_endproc
.LFE12:
.size GetSourceFile, .-GetSourceFile
.align 2
.global SetI18nModuleName
.type SetI18nModuleName, %function
SetI18nModuleName:
.LFB13:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, i18nModuleName
add x0, x0, :lo12:i18nModuleName
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size SetI18nModuleName, .-SetI18nModuleName
.align 2
.global GetI18nModuleName
.type GetI18nModuleName, %function
GetI18nModuleName:
.LFB14:
.cfi_startproc
adrp x0, i18nModuleName
add x0, x0, :lo12:i18nModuleName
ldr x0, [x0]
ret
.cfi_endproc
.LFE14:
.size GetI18nModuleName, .-GetI18nModuleName
.align 2
.global SetOutputLineNumbers
.type SetOutputLineNumbers, %function
SetOutputLineNumbers:
.LFB15:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, outputLineNumbers
add x0, x0, :lo12:outputLineNumbers
ldr w1, [sp, 12]
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size SetOutputLineNumbers, .-SetOutputLineNumbers
.align 2
.global GetNumWarnings
.type GetNumWarnings, %function
GetNumWarnings:
.LFB16:
.cfi_startproc
adrp x0, numWarnings
add x0, x0, :lo12:numWarnings
ldr w0, [x0]
ret
.cfi_endproc
.LFE16:
.size GetNumWarnings, .-GetNumWarnings
.align 2
.global SetTargetPlatform
.type SetTargetPlatform, %function
SetTargetPlatform:
.LFB17:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, targetPlatform
add x0, x0, :lo12:targetPlatform
ldr w1, [sp, 12]
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size SetTargetPlatform, .-SetTargetPlatform
.align 2
.global SetTargetBits
.type SetTargetBits, %function
SetTargetBits:
.LFB18:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, targetBits
add x0, x0, :lo12:targetBits
ldr w1, [sp, 12]
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size SetTargetBits, .-SetTargetBits
.align 2
.global GetTargetBits
.type GetTargetBits, %function
GetTargetBits:
.LFB19:
.cfi_startproc
adrp x0, targetBits
add x0, x0, :lo12:targetBits
ldr w0, [x0]
ret
.cfi_endproc
.LFE19:
.size GetTargetBits, .-GetTargetBits
.global excludedSymbols
.bss
.align 3
.type excludedSymbols, %object
.size excludedSymbols, 8
excludedSymbols:
.zero 8
.global imports
.align 3
.type imports, %object
.size imports, 8
imports:
.zero 8
.global defines
.align 3
.type defines, %object
.size defines, 8
defines:
.zero 8
.text
.align 2
.global SetSymbolsDir
.type SetSymbolsDir, %function
SetSymbolsDir:
.LFB20:
.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, symbolsDir
add x0, x0, :lo12:symbolsDir
ldr x0, [x0]
bl __ecereNameSpace__ecere__com__eSystem_Delete
adrp x0, symbolsDir
add x0, x0, :lo12:symbolsDir
str xzr, [x0]
ldr x0, [sp, 24]
bl __ecereNameSpace__ecere__sys__CopyString
mov x1, x0
adrp x0, symbolsDir
add x0, x0, :lo12:symbolsDir
str x1, [x0]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size SetSymbolsDir, .-SetSymbolsDir
.align 2
.global FixModuleName
.type FixModuleName, %function
FixModuleName:
.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]
mov w2, 95
mov w1, 46
ldr x0, [sp, 24]
bl __ecereNameSpace__ecere__sys__ChangeCh
mov w2, 95
mov w1, 32
ldr x0, [sp, 24]
bl __ecereNameSpace__ecere__sys__ChangeCh
mov w2, 95
mov w1, 45
ldr x0, [sp, 24]
bl __ecereNameSpace__ecere__sys__ChangeCh
mov w2, 95
mov w1, 38
ldr x0, [sp, 24]
bl __ecereNameSpace__ecere__sys__ChangeCh
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size FixModuleName, .-FixModuleName
.section .rodata
.align 3
.LC1:
.string " !\"$&'()*:;<=>?[\\`{|"
.align 3
.LC2:
.string "\"()$"
.text
.align 2
.global PassArg
.type PassArg, %function
PassArg:
.LFB22:
.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 x1, [sp, 16]
str wzr, [sp, 36]
ldr x0, [sp, 24]
str x0, [sp, 40]
ldr x0, [sp, 16]
str x0, [sp, 48]
ldr x0, [sp, 16]
str x0, [sp, 56]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
str x0, [sp, 64]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
str x0, [sp, 72]
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 45
bne .L26
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
b .L27
.L29:
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
.L27:
ldr x0, [sp, 56]
ldrb w0, [x0]
cmp w0, 0
beq .L28
ldr x0, [sp, 56]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 64]
bl strchr
cmp x0, 0
beq .L29
.L28:
ldr x0, [sp, 56]
ldrb w0, [x0]
cmp w0, 0
beq .L30
mov w0, 1
str w0, [sp, 36]
.L30:
ldr x1, [sp, 48]
add x0, x1, 1
str x0, [sp, 48]
ldr x0, [sp, 40]
add x2, x0, 1
str x2, [sp, 40]
ldrb w1, [x1]
strb w1, [x0]
.L26:
ldr w0, [sp, 36]
cmp w0, 0
beq .L32
ldr x0, [sp, 40]
add x1, x0, 1
str x1, [sp, 40]
mov w1, 34
strb w1, [x0]
b .L32
.L36:
ldr w0, [sp, 36]
cmp w0, 0
beq .L33
ldr x0, [sp, 72]
b .L34
.L33:
ldr x0, [sp, 64]
.L34:
ldr x1, [sp, 48]
ldrb w1, [x1]
bl strchr
cmp x0, 0
beq .L35
ldr x0, [sp, 40]
add x1, x0, 1
str x1, [sp, 40]
mov w1, 92
strb w1, [x0]
.L35:
ldr x1, [sp, 48]
add x0, x1, 1
str x0, [sp, 48]
ldr x0, [sp, 40]
add x2, x0, 1
str x2, [sp, 40]
ldrb w1, [x1]
strb w1, [x0]
.L32:
ldr x0, [sp, 48]
ldrb w0, [x0]
cmp w0, 0
bne .L36
ldr w0, [sp, 36]
cmp w0, 0
beq .L37
ldr x0, [sp, 40]
add x1, x0, 1
str x1, [sp, 40]
mov w1, 34
strb w1, [x0]
.L37:
ldr x0, [sp, 40]
strb wzr, [x0]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE22:
.size PassArg, .-PassArg
.align 2
.global __ecereMethod_Location_Inside
.type __ecereMethod_Location_Inside, %function
__ecereMethod_Location_Inside:
.LFB23:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
str w2, [sp]
ldr x0, [sp, 8]
ldr w0, [x0]
ldr w1, [sp, 4]
cmp w1, w0
bgt .L40
ldr x0, [sp, 8]
ldr w0, [x0]
ldr w1, [sp, 4]
cmp w1, w0
bne .L41
ldr x0, [sp, 8]
ldr w0, [x0, 4]
ldr w1, [sp]
cmp w1, w0
blt .L41
.L40:
ldr x0, [sp, 8]
ldr w0, [x0, 16]
ldr w1, [sp, 4]
cmp w1, w0
blt .L42
ldr x0, [sp, 8]
ldr w0, [x0, 16]
ldr w1, [sp, 4]
cmp w1, w0
bne .L41
ldr x0, [sp, 8]
ldr w0, [x0, 20]
ldr w1, [sp]
cmp w1, w0
bgt .L41
.L42:
mov w0, 1
b .L43
.L41:
mov w0, 0
.L43:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size __ecereMethod_Location_Inside, .-__ecereMethod_Location_Inside
.align 2
.global SetExcludedSymbols
.type SetExcludedSymbols, %function
SetExcludedSymbols:
.LFB24:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, excludedSymbols
add x0, x0, :lo12:excludedSymbols
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size SetExcludedSymbols, .-SetExcludedSymbols
.align 2
.global SetImports
.type SetImports, %function
SetImports:
.LFB25:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, imports
add x0, x0, :lo12:imports
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size SetImports, .-SetImports
.align 2
.global SetDefines
.type SetDefines, %function
SetDefines:
.LFB26:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, defines
add x0, x0, :lo12:defines
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size SetDefines, .-SetDefines
.align 2
.global __ecereMethod_CodePosition_AdjustDelete
.type __ecereMethod_CodePosition_AdjustDelete, %function
__ecereMethod_CodePosition_AdjustDelete:
.LFB27:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 24]
str x1, [sp, 16]
str x2, [sp, 8]
ldr x0, [sp, 24]
ldr w1, [x0]
ldr x0, [sp, 16]
ldr w0, [x0, 8]
cmp w1, w0
ble .L57
ldr x0, [sp, 24]
ldr w0, [x0]
sub w1, w0, #1
ldr x0, [sp, 16]
ldr w0, [x0, 8]
cmp w1, w0
bne .L50
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 16]
ldr w0, [x0, 12]
cmp w1, w0
ble .L57
.L50:
ldr x0, [sp, 24]
ldr w1, [x0]
ldr x0, [sp, 16]
ldr w0, [x0, 8]
cmp w1, w0
ble .L52
ldr x0, [sp, 24]
ldr w0, [x0]
sub w1, w0, #1
ldr x0, [sp, 16]
ldr w0, [x0, 8]
cmp w1, w0
bgt .L53
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 16]
ldr w0, [x0, 12]
cmp w1, w0
ble .L52
.L53:
ldr x0, [sp, 24]
ldr w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 8]
cmp w1, w0
ble .L52
ldr x0, [sp, 24]
ldr w0, [x0]
sub w1, w0, #1
ldr x0, [sp, 8]
ldr w0, [x0, 8]
cmp w1, w0
bgt .L54
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 8]
ldr w0, [x0, 12]
cmp w1, w0
ble .L52
.L54:
ldr x0, [sp, 24]
ldr w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 8]
cmp w1, w0
ble .L58
ldr x0, [sp, 24]
ldr w0, [x0]
sub w1, w0, #1
ldr x0, [sp, 8]
ldr w0, [x0, 8]
cmp w1, w0
ble .L56
ldr x0, [sp, 24]
ldr w1, [x0]
ldr x0, [sp, 8]
ldr w2, [x0, 8]
ldr x0, [sp, 16]
ldr w0, [x0, 8]
sub w0, w2, w0
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0]
b .L58
.L56:
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 8]
ldr w0, [x0, 12]
cmp w1, w0
ble .L58
ldr x0, [sp, 16]
ldr w0, [x0, 8]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 8]
ldr w2, [x0, 12]
ldr x0, [sp, 16]
ldr w0, [x0, 12]
sub w0, w2, w0
sub w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 4]
b .L58
.L52:
ldr x0, [sp, 16]
ldr w0, [x0, 8]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 16]
ldr w0, [x0, 12]
add w1, w0, 1
ldr x0, [sp, 24]
str w1, [x0, 4]
b .L48
.L57:
nop
b .L48
.L58:
nop
.L48:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE27:
.size __ecereMethod_CodePosition_AdjustDelete, .-__ecereMethod_CodePosition_AdjustDelete
.align 2
.global __ecereMethod_CodePosition_AdjustAdd
.type __ecereMethod_CodePosition_AdjustAdd, %function
__ecereMethod_CodePosition_AdjustAdd:
.LFB28:
.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, 8]
ldr w1, [x0, 8]
ldr x0, [sp, 16]
ldr w0, [x0, 8]
sub w0, w1, w0
str w0, [sp, 44]
ldr x0, [sp, 24]
ldr w1, [x0]
ldr x0, [sp, 16]
ldr w0, [x0, 8]
cmp w1, w0
ble .L63
ldr x0, [sp, 24]
ldr w0, [x0]
sub w1, w0, #1
ldr x0, [sp, 16]
ldr w0, [x0, 8]
cmp w1, w0
ble .L61
ldr x0, [sp, 24]
ldr w1, [x0]
ldr w0, [sp, 44]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0]
b .L63
.L61:
ldr x0, [sp, 24]
ldr w0, [x0, 4]
sub w1, w0, #1
ldr x0, [sp, 16]
ldr w0, [x0, 12]
cmp w1, w0
bgt .L62
ldr x0, [sp, 24]
ldr w0, [x0, 4]
sub w1, w0, #1
ldr x0, [sp, 16]
ldr w0, [x0, 12]
cmp w1, w0
bne .L63
.L62:
ldr x0, [sp, 24]
ldr w1, [x0]
ldr w0, [sp, 44]
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0]
ldr x0, [sp, 24]
ldr w1, [x0, 4]
ldr x0, [sp, 8]
ldr w2, [x0, 12]
ldr x0, [sp, 16]
ldr w0, [x0, 12]
sub w0, w2, w0
add w1, w1, w0
ldr x0, [sp, 24]
str w1, [x0, 4]
.L63:
nop
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE28:
.size __ecereMethod_CodePosition_AdjustAdd, .-__ecereMethod_CodePosition_AdjustAdd
.section .rodata
.align 3
.LC3:
.string "intrin-impl.h"
.align 3
.LC4:
.string "%s"
.align 3
.LC5:
.string ":%d:%d: warning: "
.align 3
.LC6:
.string "ec"
.text
.align 2
.global Compiler_Warning
.type Compiler_Warning, %function
Compiler_Warning:
.LFB29:
.cfi_startproc
mov x12, 10592
sub sp, sp, x12
.cfi_def_cfa_offset 10592
stp x29, x30, [sp]
.cfi_offset 29, -10592
.cfi_offset 30, -10584
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 10536]
str x2, [sp, 10544]
str x3, [sp, 10552]
str x4, [sp, 10560]
str x5, [sp, 10568]
str x6, [sp, 10576]
str x7, [sp, 10584]
add x0, sp, 8192
add x0, x0, 2048
str q0, [x0, 160]
add x0, sp, 8192
add x0, x0, 2048
str q1, [x0, 176]
add x0, sp, 8192
add x0, x0, 2048
str q2, [x0, 192]
add x0, sp, 8192
add x0, x0, 2048
str q3, [x0, 208]
add x0, sp, 8192
add x0, x0, 2048
str q4, [x0, 224]
add x0, sp, 8192
add x0, x0, 2048
str q5, [x0, 240]
add x0, sp, 8192
add x0, x0, 2560
str q6, [x0, -256]
add x0, sp, 8192
add x0, x0, 2560
str q7, [x0, -240]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 10392]
mov x1, 0
adrp x0, inCompiler
add x0, x0, :lo12:inCompiler
ldr w0, [x0]
cmp w0, 0
beq .L64
adrp x0, :got:yylloc
ldr x0, [x0, #:got_lo12:yylloc]
ldr w0, [x0, 12]
cmp w0, 0
beq .L66
adrp x0, :got:yylloc
ldr x0, [x0, #:got_lo12:yylloc]
ldr w0, [x0, 12]
bl GetIncludeFileFromID
str x0, [sp, 72]
add x0, sp, 392
mov w1, 10000
bl __ecereNameSpace__ecere__sys__GetWorkingDir
add x0, sp, 392
ldr x1, [sp, 72]
bl __ecereNameSpace__ecere__sys__PathCat
b .L67
.L66:
add x0, sp, 392
mov w1, 10000
bl __ecereNameSpace__ecere__sys__GetWorkingDir
adrp x0, sourceFile
add x0, x0, :lo12:sourceFile
ldr x1, [x0]
add x0, sp, 392
bl __ecereNameSpace__ecere__sys__PathCat
.L67:
add x1, sp, 112
add x0, sp, 392
bl __ecereNameSpace__ecere__sys__GetLastDirectory
add x2, sp, 112
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x2
bl strcmp
cmp w0, 0
beq .L70
add x0, sp, 392
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
mov x2, 0
adrp x0, .LC5
add x1, x0, :lo12:.LC5
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __ecereNameSpace__ecere__GetTranslatedString
mov x3, x0
adrp x0, :got:yylloc
ldr x0, [x0, #:got_lo12:yylloc]
ldr w1, [x0]
adrp x0, :got:yylloc
ldr x0, [x0, #:got_lo12:yylloc]
ldr w0, [x0, 4]
mov w2, w0
mov x0, x3
bl printf
add x0, sp, 8192
add x0, x0, 2400
str x0, [sp, 80]
add x0, sp, 8192
add x0, x0, 2400
str x0, [sp, 88]
add x0, sp, 8192
add x0, x0, 2336
str x0, [sp, 96]
mov w0, -56
str w0, [sp, 104]
mov w0, -128
str w0, [sp, 108]
add x0, sp, 16
add x1, sp, 80
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x1, sp, 16
add x0, sp, 392
mov x3, x1
ldr x2, [sp, 56]
mov x1, 10000
bl vsnprintf
add x0, sp, 8192
strb wzr, [x0, 2199]
bl bsl_stdout
mov x1, x0
add x0, sp, 392
bl fputs
bl bsl_stdout
bl fflush
adrp x0, numWarnings
add x0, x0, :lo12:numWarnings
ldr w0, [x0]
add w1, w0, 1
adrp x0, numWarnings
add x0, x0, :lo12:numWarnings
str w1, [x0]
b .L64
.L70:
nop
.L64:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 10392]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L69
bl __stack_chk_fail
.L69:
ldp x29, x30, [sp]
mov x12, 10592
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE29:
.size Compiler_Warning, .-Compiler_Warning
.global curContext
.bss
.align 3
.type curContext, %object
.size curContext, 8
curContext:
.zero 8
.global globalContext
.align 3
.type globalContext, %object
.size globalContext, 8
globalContext:
.zero 8
.global topContext
.align 3
.type topContext, %object
.size topContext, 8
topContext:
.zero 8
.text
.align 2
.global SetCurrentContext
.type SetCurrentContext, %function
SetCurrentContext:
.LFB30:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, curContext
add x0, x0, :lo12:curContext
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE30:
.size SetCurrentContext, .-SetCurrentContext
.align 2
.global GetCurrentContext
.type GetCurrentContext, %function
GetCurrentContext:
.LFB31:
.cfi_startproc
adrp x0, curContext
add x0, x0, :lo12:curContext
ldr x0, [x0]
ret
.cfi_endproc
.LFE31:
.size GetCurrentContext, .-GetCurrentContext
.align 2
.global SetGlobalContext
.type SetGlobalContext, %function
SetGlobalContext:
.LFB32:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, globalContext
add x0, x0, :lo12:globalContext
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE32:
.size SetGlobalContext, .-SetGlobalContext
.align 2
.global GetGlobalContext
.type GetGlobalContext, %function
GetGlobalContext:
.LFB33:
.cfi_startproc
adrp x0, globalContext
add x0, x0, :lo12:globalContext
ldr x0, [x0]
ret
.cfi_endproc
.LFE33:
.size GetGlobalContext, .-GetGlobalContext
.align 2
.global SetTopContext
.type SetTopContext, %function
SetTopContext:
.LFB34:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, topContext
add x0, x0, :lo12:topContext
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size SetTopContext, .-SetTopContext
.align 2
.global GetTopContext
.type GetTopContext, %function
GetTopContext:
.LFB35:
.cfi_startproc
adrp x0, topContext
add x0, x0, :lo12:topContext
ldr x0, [x0]
ret
.cfi_endproc
.LFE35:
.size GetTopContext, .-GetTopContext
.global mainModule
.bss
.align 3
.type mainModule, %object
.size mainModule, 8
mainModule:
.zero 8
.text
.align 2
.global SetMainModule
.type SetMainModule, %function
SetMainModule:
.LFB36:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, mainModule
add x0, x0, :lo12:mainModule
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size SetMainModule, .-SetMainModule
.align 2
.global GetMainModule
.type GetMainModule, %function
GetMainModule:
.LFB37:
.cfi_startproc
adrp x0, mainModule
add x0, x0, :lo12:mainModule
ldr x0, [x0]
ret
.cfi_endproc
.LFE37:
.size GetMainModule, .-GetMainModule
.local __ecereProp_Type_specConst
.comm __ecereProp_Type_specConst,8,8
.local __ecerePropM_Type_specConst
.comm __ecerePropM_Type_specConst,8,8
.local __ecereProp_Type_isPointerTypeSize
.comm __ecereProp_Type_isPointerTypeSize,8,8
.local __ecerePropM_Type_isPointerTypeSize
.comm __ecerePropM_Type_isPointerTypeSize,8,8
.local __ecereProp_Type_isPointerType
.comm __ecereProp_Type_isPointerType,8,8
.local __ecerePropM_Type_isPointerType
.comm __ecerePropM_Type_isPointerType,8,8
.global fileInput
.bss
.align 3
.type fileInput, %object
.size fileInput, 8
fileInput:
.zero 8
.global __ecereVMethodID___ecereNameSpace__ecere__com__Container_GetNext
.align 2
.type __ecereVMethodID___ecereNameSpace__ecere__com__Container_GetNext, %object
.size __ecereVMethodID___ecereNameSpace__ecere__com__Container_GetNext, 4
__ecereVMethodID___ecereNameSpace__ecere__com__Container_GetNext:
.zero 4
.global __ecereVMethodID___ecereNameSpace__ecere__com__Container_Add
.align 2
.type __ecereVMethodID___ecereNameSpace__ecere__com__Container_Add, %object
.size __ecereVMethodID___ecereNameSpace__ecere__com__Container_Add, 4
__ecereVMethodID___ecereNameSpace__ecere__com__Container_Add:
.zero 4
.text
.align 2
.global SetFileInput
.type SetFileInput, %function
SetFileInput:
.LFB38:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, fileInput
add x0, x0, :lo12:fileInput
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size SetFileInput, .-SetFileInput
.section .rodata
.align 3
.LC7:
.string "HOSTTYPE"
.align 3
.LC8:
.string "uname -m"
.align 3
.LC9:
.string "x86_64"
.align 3
.LC10:
.string "i386"
.align 3
.LC11:
.string "i686"
.text
.align 2
.global GetHostBits
.type GetHostBits, %function
GetHostBits:
.LFB39:
.cfi_startproc
stp x29, x30, [sp, -304]!
.cfi_def_cfa_offset 304
.cfi_offset 29, -304
.cfi_offset 30, -296
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 296]
mov x1, 0
mov w0, 64
str w0, [sp, 20]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl getenv
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L85
adrp x0, .LC8
add x1, x0, :lo12:.LC8
mov w0, 1
bl __ecereNameSpace__ecere__sys__DualPipeOpen
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
beq .L85
add x0, sp, 40
mov w2, 256
mov x1, x0
ldr x0, [sp, 32]
bl __ecereMethod___ecereNameSpace__ecere__sys__File_GetLine
cmp w0, 0
beq .L86
add x0, sp, 40
str x0, [sp, 24]
.L86:
ldr x0, [sp, 32]
bl __ecereNameSpace__ecere__com__eInstance_DecRef
str xzr, [sp, 32]
.L85:
ldr x0, [sp, 24]
cmp x0, 0
beq .L87
adrp x0, .LC9
add x1, x0, :lo12:.LC9
ldr x0, [sp, 24]
bl strcmp
cmp w0, 0
bne .L88
mov w0, 64
str w0, [sp, 20]
b .L87
.L88:
adrp x0, .LC10
add x1, x0, :lo12:.LC10
ldr x0, [sp, 24]
bl strcmp
cmp w0, 0
beq .L89
adrp x0, .LC11
add x1, x0, :lo12:.LC11
ldr x0, [sp, 24]
bl strcmp
cmp w0, 0
bne .L87
.L89:
mov w0, 32
str w0, [sp, 20]
.L87:
ldr w0, [sp, 20]
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 .L91
bl __stack_chk_fail
.L91:
mov w0, w1
ldp x29, x30, [sp], 304
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size GetHostBits, .-GetHostBits
.section .rodata
.align 3
.LC12:
.string "syntax error\n"
.text
.align 2
.global yyerror
.type yyerror, %function
yyerror:
.LFB40:
.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, skipErrors
add x0, x0, :lo12:skipErrors
ldr w0, [x0]
cmp w0, 0
bne .L93
adrp x0, parseError
add x0, x0, :lo12:parseError
mov w1, 1
str w1, [x0]
mov x2, 0
adrp x0, .LC12
add x1, x0, :lo12:.LC12
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __ecereNameSpace__ecere__GetTranslatedString
bl Compiler_Error
.L93:
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size yyerror, .-yyerror
.align 2
.global __ecereProp_Type_Get_specConst
.type __ecereProp_Type_Get_specConst, %function
__ecereProp_Type_Get_specConst:
.LFB41:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str x0, [sp, 24]
b .L96
.L99:
ldr x0, [sp, 24]
ldr x0, [x0, 24]
str x0, [sp, 24]
.L96:
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 13
beq .L97
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 12
bne .L98
.L97:
ldr x0, [sp, 24]
ldr x0, [x0, 24]
cmp x0, 0
bne .L99
.L98:
ldr x0, [sp, 24]
ldr x0, [x0, 144]
ubfx x0, x0, 33, 1
and w0, w0, 255
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE41:
.size __ecereProp_Type_Get_specConst, .-__ecereProp_Type_Get_specConst
.global privateModule
.bss
.align 3
.type privateModule, %object
.size privateModule, 8
privateModule:
.zero 8
.text
.align 2
.global SetPrivateModule
.type SetPrivateModule, %function
SetPrivateModule:
.LFB42:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, privateModule
add x0, x0, :lo12:privateModule
ldr x1, [sp, 8]
str x1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE42:
.size SetPrivateModule, .-SetPrivateModule
.align 2
.global GetPrivateModule
.type GetPrivateModule, %function
GetPrivateModule:
.LFB43:
.cfi_startproc
adrp x0, privateModule
add x0, x0, :lo12:privateModule
ldr x0, [x0]
ret
.cfi_endproc
.LFE43:
.size GetPrivateModule, .-GetPrivateModule
.local __ecereClass_TokenType
.comm __ecereClass_TokenType,8,8
.local __ecereClass_Order
.comm __ecereClass_Order,8,8
.local __ecereClass_DBTableDef
.comm __ecereClass_DBTableDef,8,8
.local __ecereClass_DBTableEntryType
.comm __ecereClass_DBTableEntryType,8,8
.local __ecereClass_DBTableEntry
.comm __ecereClass_DBTableEntry,8,8
.local __ecereClass_DBIndexItem
.comm __ecereClass_DBIndexItem,8,8
.local __ecereClass_GlobalData
.comm __ecereClass_GlobalData,8,8
.local __ecereClass_TemplatedType
.comm __ecereClass_TemplatedType,8,8
.local __ecereClass_DataRedefinition
.comm __ecereClass_DataRedefinition,8,8
.local __ecereClass_CodePosition
.comm __ecereClass_CodePosition,8,8
.local __ecereClass_Location
.comm __ecereClass_Location,8,8
.local __ecereClass_DefinitionType
.comm __ecereClass_DefinitionType,8,8
.local __ecereClass_Definition
.comm __ecereClass_Definition,8,8
.local __ecereClass_ImportedModule
.comm __ecereClass_ImportedModule,8,8
.local __ecereClass_Identifier
.comm __ecereClass_Identifier,8,8
.local __ecereClass_ExpressionType
.comm __ecereClass_ExpressionType,8,8
.local __ecereClass_MemberType
.comm __ecereClass_MemberType,8,8
.local __ecereClass_ExpUsage
.comm __ecereClass_ExpUsage,8,8
.local __ecereClass_TemplateParameter
.comm __ecereClass_TemplateParameter,8,8
.local __ecereClass_TemplateDatatype
.comm __ecereClass_TemplateDatatype,8,8
.local __ecereClass_TemplateArgument
.comm __ecereClass_TemplateArgument,8,8
.local __ecereClass_SpecifierType
.comm __ecereClass_SpecifierType,8,8
.local __ecereClass_Specifier
.comm __ecereClass_Specifier,8,8
.local __ecereClass_Attribute
.comm __ecereClass_Attribute,8,8
.local __ecereClass_Attrib
.comm __ecereClass_Attrib,8,8
.local __ecereClass_ExtDecl
.comm __ecereClass_ExtDecl,8,8
.local __ecereClass_ExtDeclType
.comm __ecereClass_ExtDeclType,8,8
.local __ecereClass_Expression
.comm __ecereClass_Expression,8,8
.local __ecereClass_Enumerator
.comm __ecereClass_Enumerator,8,8
.local __ecereClass_Pointer
.comm __ecereClass_Pointer,8,8
.local __ecereClass_DeclaratorType
.comm __ecereClass_DeclaratorType,8,8
.local __ecereClass_Declarator
.comm __ecereClass_Declarator,8,8
.local __ecereClass_InitializerType
.comm __ecereClass_InitializerType,8,8
.local __ecereClass_Initializer
.comm __ecereClass_Initializer,8,8
.local __ecereClass_InitDeclarator
.comm __ecereClass_InitDeclarator,8,8
.local __ecereClass_ClassObjectType
.comm __ecereClass_ClassObjectType,8,8
.local __ecereClass_TypeName
.comm __ecereClass_TypeName,8,8
.local __ecereClass_AsmField
.comm __ecereClass_AsmField,8,8
.local __ecereClass_StmtType
.comm __ecereClass_StmtType,8,8
.local __ecereClass_Statement
.comm __ecereClass_Statement,8,8
.local __ecereClass_DeclarationType
.comm __ecereClass_DeclarationType,8,8
.local __ecereClass_Declaration
.comm __ecereClass_Declaration,8,8
.local __ecereClass_Instantiation
.comm __ecereClass_Instantiation,8,8
.local __ecereClass_MembersInitType
.comm __ecereClass_MembersInitType,8,8
.local __ecereClass_FunctionDefinition
.comm __ecereClass_FunctionDefinition,8,8
.local __ecereClass_ClassFunction
.comm __ecereClass_ClassFunction,8,8
.local __ecereClass_MembersInit
.comm __ecereClass_MembersInit,8,8
.local __ecereClass_MemberInit
.comm __ecereClass_MemberInit,8,8
.local __ecereClass_ClassDefinition
.comm __ecereClass_ClassDefinition,8,8
.local __ecereClass_PropertyWatch
.comm __ecereClass_PropertyWatch,8,8
.local __ecereClass_ClassDefType
.comm __ecereClass_ClassDefType,8,8
.local __ecereClass_PropertyDef
.comm __ecereClass_PropertyDef,8,8
.local __ecereClass_ClassDef
.comm __ecereClass_ClassDef,8,8
.local __ecereClass_TopoEdge
.comm __ecereClass_TopoEdge,8,8
.local __ecereClass_ExternalType
.comm __ecereClass_ExternalType,8,8
.local __ecereClass_External
.comm __ecereClass_External,8,8
.local __ecereClass_Context
.comm __ecereClass_Context,8,8
.local __ecereClass_Symbol
.comm __ecereClass_Symbol,8,8
.local __ecereClass_ClassImport
.comm __ecereClass_ClassImport,8,8
.local __ecereClass_FunctionImport
.comm __ecereClass_FunctionImport,8,8
.local __ecereClass_ModuleImport
.comm __ecereClass_ModuleImport,8,8
.local __ecereClass_PropertyImport
.comm __ecereClass_PropertyImport,8,8
.local __ecereClass_MethodImport
.comm __ecereClass_MethodImport,8,8
.local __ecereClass_TypeKind
.comm __ecereClass_TypeKind,8,8
.local __ecereClass_Type
.comm __ecereClass_Type,8,8
.local __ecereClass_Operand
.comm __ecereClass_Operand,8,8
.local __ecereClass_OpTable
.comm __ecereClass_OpTable,8,8
.align 2
.global __ecereMethod_Type_OnGetString
.type __ecereMethod_Type_OnGetString, %function
__ecereMethod_Type_OnGetString:
.LFB44:
.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 x4, [sp, 24]
ldr x0, [sp, 48]
str x0, [sp, 72]
ldr x0, [sp, 40]
strb wzr, [x0]
ldr x0, [sp, 72]
cmp x0, 0
beq .L105
mov w3, 1
mov w2, 0
ldr x1, [sp, 40]
ldr x0, [sp, 72]
bl PrintType
.L105:
ldr x0, [sp, 40]
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE44:
.size __ecereMethod_Type_OnGetString, .-__ecereMethod_Type_OnGetString
.align 2
.global __ecereMethod_Type_OnFree
.type __ecereMethod_Type_OnFree, %function
__ecereMethod_Type_OnFree:
.LFB45:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str x1, [sp]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE45:
.size __ecereMethod_Type_OnFree, .-__ecereMethod_Type_OnFree
.align 2
.global __ecereProp_Type_Get_isPointerTypeSize
.type __ecereProp_Type_Get_isPointerTypeSize, %function
__ecereProp_Type_Get_isPointerTypeSize:
.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, 24]
str wzr, [sp, 36]
ldr x0, [sp, 24]
cmp x0, 0
beq .L109
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 23
bgt .L109
cmp w0, 21
bge .L110
cmp w0, 20
beq .L111
cmp w0, 20
bgt .L109
cmp w0, 19
beq .L110
cmp w0, 19
bgt .L109
cmp w0, 8
beq .L112
cmp w0, 13
beq .L110
b .L109
.L112:
ldr x0, [sp, 24]
ldr x0, [x0, 24]
cmp x0, 0
beq .L113
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0, 48]
b .L114
.L113:
mov x0, 0
.L114:
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L115
ldr x0, [sp, 56]
ldr w0, [x0, 280]
cmp w0, 1
beq .L119
ldr x0, [sp, 56]
ldr w0, [x0, 280]
cmp w0, 3
beq .L119
ldr x0, [sp, 56]
ldr w0, [x0, 280]
cmp w0, 4
beq .L119
ldr x0, [sp, 56]
ldr w0, [x0, 280]
cmp w0, 2
beq .L119
.L115:
mov w0, 1
str w0, [sp, 36]
b .L119
.L110:
mov w0, 1
str w0, [sp, 36]
b .L109
.L111:
ldr x0, [sp, 24]
ldr x0, [x0, 24]
str x0, [sp, 40]
ldr x0, [sp, 40]
bl ProcessTemplateParameterType
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L120
ldr x0, [sp, 48]
bl __ecereProp_Type_Get_isPointerTypeSize
str w0, [sp, 36]
b .L120
.L119:
nop
b .L109
.L120:
nop
.L109:
ldr w0, [sp, 36]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE46:
.size __ecereProp_Type_Get_isPointerTypeSize, .-__ecereProp_Type_Get_isPointerTypeSize
.section .rodata
.align 3
.LC13:
.string "uint64"
.text
.align 2
.global __ecereProp_Type_Get_isPointerType
.type __ecereProp_Type_Get_isPointerType, %function
__ecereProp_Type_Get_isPointerType:
.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, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L122
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 13
beq .L123
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 16
beq .L123
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 11
beq .L123
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 12
beq .L123
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 19
bne .L124
.L123:
mov w0, 1
b .L125
.L124:
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 8
bne .L126
ldr x0, [sp, 24]
ldr x0, [x0, 24]
cmp x0, 0
beq .L127
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0, 48]
cmp x0, 0
beq .L127
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0, 48]
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0, 280]
cmp w0, 2
beq .L128
ldr x0, [sp, 40]
ldr w0, [x0, 280]
cmp w0, 3
beq .L128
ldr x0, [sp, 40]
ldr w0, [x0, 280]
cmp w0, 4
beq .L128
ldr x0, [sp, 40]
ldr w0, [x0, 280]
cmp w0, 1000
bne .L129
.L128:
mov w0, 0
b .L125
.L129:
ldr x0, [sp, 40]
ldr w0, [x0, 280]
cmp w0, 1
bne .L127
ldr x0, [sp, 24]
ldr w0, [x0, 148]
and w0, w0, 8
cmp w0, 0
bne .L127
mov w0, 0
b .L125
.L127:
mov w0, 1
b .L125
.L126:
ldr x0, [sp, 24]
ldr w0, [x0, 88]
cmp w0, 20
bne .L130
ldr x0, [sp, 24]
ldr w0, [x0, 148]
and w0, w0, 256
cmp w0, 0
beq .L131
mov w0, 0
b .L125
.L131:
ldr x0, [sp, 24]
ldr x0, [x0, 24]
cmp x0, 0
beq .L122
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0, 64]
cmp x0, 0
beq .L132
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0, 64]
ldr x0, [x0]
cmp x0, 0
beq .L133
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0, 64]
ldr x0, [x0]
ldr x0, [x0]
b .L134
.L133:
mov x0, 0
.L134:
str x0, [sp, 32]
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0, 64]
ldr x0, [x0, 8]
cmp x0, 0
beq .L135
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0, 64]
ldr x0, [x0, 8]
ldr w0, [x0, 48]
cmp w0, 5
bne .L135
mov w0, 1
b .L125
.L135:
ldr x0, [sp, 32]
cmp x0, 0
beq .L132
ldr x0, [sp, 32]
ldr w0, [x0, 48]
cmp w0, 1
bne .L132
ldr x0, [sp, 32]
ldr x2, [x0, 64]
adrp x0, .LC13
add x1, x0, :lo12:.LC13
mov x0, x2
bl strcmp
cmp w0, 0
beq .L132
mov w0, 1
b .L125
.L132:
ldr x0, [sp, 24]
ldr x0, [x0, 24]
ldr x0, [x0, 80]
cmp x0, 0
beq .L122
mov w0, 1
b .L125
.L130:
mov w0, 0
b .L125
.L122:
mov w0, 0
.L125:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE47:
.size __ecereProp_Type_Get_isPointerType, .-__ecereProp_Type_Get_isPointerType
.align 2
.global __ecereUnregisterModule_ecdefs
.type __ecereUnregisterModule_ecdefs, %function
__ecereUnregisterModule_ecdefs:
.LFB48:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
adrp x0, __ecerePropM_Type_specConst
add x0, x0, :lo12:__ecerePropM_Type_specConst
str xzr, [x0]
adrp x0, __ecerePropM_Type_isPointerTypeSize
add x0, x0, :lo12:__ecerePropM_Type_isPointerTypeSize
str xzr, [x0]
adrp x0, __ecerePropM_Type_isPointerType
add x0, x0, :lo12:__ecerePropM_Type_isPointerType
str xzr, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE48:
.size __ecereUnregisterModule_ecdefs, .-__ecereUnregisterModule_ecdefs
.section .rodata
.align 3
.LC14:
.string ":%d:%d: error: "
.text
.align 2
.global Compiler_Error
.type Compiler_Error, %function
Compiler_Error:
.LFB49:
.cfi_startproc
mov x12, 10304
sub sp, sp, x12
.cfi_def_cfa_offset 10304
stp x29, x30, [sp]
.cfi_offset 29, -10304
.cfi_offset 30, -10296
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 10248]
str x2, [sp, 10256]
str x3, [sp, 10264]
str x4, [sp, 10272]
str x5, [sp, 10280]
str x6, [sp, 10288]
str x7, [sp, 10296]
add x0, sp, 8192
add x0, x0, 2048
str q0, [x0, -128]
add x0, sp, 8192
add x0, x0, 2048
str q1, [x0, -112]
add x0, sp, 8192
add x0, x0, 2048
str q2, [x0, -96]
add x0, sp, 8192
add x0, x0, 2048
str q3, [x0, -80]
add x0, sp, 8192
add x0, x0, 2048
str q4, [x0, -64]
add x0, sp, 8192
add x0, x0, 2048
str q5, [x0, -48]
add x0, sp, 8192
add x0, x0, 2048
str q6, [x0, -32]
add x0, sp, 8192
add x0, x0, 2048
str q7, [x0, -16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 10104]
mov x1, 0
adrp x0, inCompiler
add x0, x0, :lo12:inCompiler
ldr w0, [x0]
cmp w0, 0
beq .L143
adrp x0, :got:parsingType
ldr x0, [x0, #:got_lo12:parsingType]
ldr w0, [x0]
cmp w0, 0
bne .L139
adrp x0, :got:yylloc
ldr x0, [x0, #:got_lo12:yylloc]
ldr w0, [x0, 12]
cmp w0, 0
beq .L140
add x0, sp, 104
mov w1, 10000
bl __ecereNameSpace__ecere__sys__GetWorkingDir
adrp x0, :got:yylloc
ldr x0, [x0, #:got_lo12:yylloc]
ldr w0, [x0, 12]
bl GetIncludeFileFromID
mov x1, x0
add x0, sp, 104
bl __ecereNameSpace__ecere__sys__PathCat
b .L141
.L140:
add x0, sp, 104
mov w1, 10000
bl __ecereNameSpace__ecere__sys__GetWorkingDir
adrp x0, sourceFile
add x0, x0, :lo12:sourceFile
ldr x1, [x0]
add x0, sp, 104
bl __ecereNameSpace__ecere__sys__PathCat
.L141:
add x0, sp, 104
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
mov x2, 0
adrp x0, .LC14
add x1, x0, :lo12:.LC14
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __ecereNameSpace__ecere__GetTranslatedString
mov x3, x0
adrp x0, :got:yylloc
ldr x0, [x0, #:got_lo12:yylloc]
ldr w1, [x0]
adrp x0, :got:yylloc
ldr x0, [x0, #:got_lo12:yylloc]
ldr w0, [x0, 4]
mov w2, w0
mov x0, x3
bl printf
add x0, sp, 8192
add x0, x0, 2112
str x0, [sp, 72]
add x0, sp, 8192
add x0, x0, 2112
str x0, [sp, 80]
add x0, sp, 8192
add x0, x0, 2048
str x0, [sp, 88]
mov w0, -56
str w0, [sp, 96]
mov w0, -128
str w0, [sp, 100]
add x0, sp, 16
add x1, sp, 72
ldp q0, q1, [x1]
stp q0, q1, [x0]
add x1, sp, 16
add x0, sp, 104
mov x3, x1
ldr x2, [sp, 56]
mov x1, 10000
bl vsnprintf
add x0, sp, 8192
strb wzr, [x0, 1911]
bl bsl_stdout
mov x1, x0
add x0, sp, 104
bl fputs
bl bsl_stdout
bl fflush
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
add x0, x0, 560
mov w1, 1
str w1, [x0, 16]
b .L143
.L139:
adrp x0, :got:parseTypeError
ldr x0, [x0, #:got_lo12:parseTypeError]
mov w1, 1
str w1, [x0]
.L143:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 10104]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L142
bl __stack_chk_fail
.L142:
ldp x29, x30, [sp]
mov x12, 10304
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE49:
.size Compiler_Error, .-Compiler_Error
.align 2
.global __ecereConstructor_Context
.type __ecereConstructor_Context, %function
__ecereConstructor_Context:
.LFB50:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
adrp x1, :got:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString
ldr x1, [x1, #:got_lo12:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString]
str x1, [x0, 24]
ldr x0, [sp, 8]
adrp x1, :got:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString
ldr x1, [x1, #:got_lo12:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString]
str x1, [x0, 56]
ldr x0, [sp, 8]
adrp x1, :got:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString
ldr x1, [x1, #:got_lo12:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString]
str x1, [x0, 88]
ldr x0, [sp, 8]
adrp x1, :got:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString
ldr x1, [x1, #:got_lo12:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString]
str x1, [x0, 120]
ldr x0, [sp, 8]
adrp x1, :got:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString
ldr x1, [x1, #:got_lo12:__ecereMethod___ecereNameSpace__ecere__sys__BinaryTree_CompareString]
str x1, [x0, 160]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE50:
.size __ecereConstructor_Context, .-__ecereConstructor_Context
.align 2
.global __ecereMethod_Expression_Clear
.type __ecereMethod_Expression_Clear, %function
__ecereMethod_Expression_Clear:
.LFB51:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str xzr, [sp, 24]
ldr x0, [sp, 8]
str wzr, [x0, 104]
ldr x0, [sp, 8]
ldr x1, [sp, 24]
str x1, [x0, 112]
ldr x0, [sp, 8]
str xzr, [x0, 120]
ldr x0, [sp, 8]
str wzr, [x0, 128]
ldr x0, [sp, 8]
str xzr, [x0, 136]
ldr x0, [sp, 8]
str xzr, [x0, 144]
ldr x0, [sp, 8]
str wzr, [x0, 152]
ldr x0, [sp, 8]
str wzr, [x0, 156]
ldr x0, [sp, 8]
str wzr, [x0, 160]
ldr x0, [sp, 8]
str wzr, [x0, 164]
ldr x0, [sp, 8]
str wzr, [x0, 168]
ldr x0, [sp, 8]
str wzr, [x0, 172]
ldr x0, [sp, 8]
str wzr, [x0, 176]
ldr x0, [sp, 8]
str wzr, [x0, 180]
ldr x0, [sp, 8]
str wzr, [x0, 192]
ldr x0, [sp, 8]
str wzr, [x0, 184]
ldr x0, [sp, 8]
str wzr, [x0, 196]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE51:
.size __ecereMethod_Expression_Clear, .-__ecereMethod_Expression_Clear
.align 2
.global __ecereConstructor_External
.type __ecereConstructor_External, %function
__ecereConstructor_External:
.LFB52:
.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:__ecereClass___ecereNameSpace__ecere__com__LinkList_TPL_TopoEdge__link__EQU__out_
ldr x0, [x0, #:got_lo12:__ecereClass___ecereNameSpace__ecere__com__LinkList_TPL_TopoEdge__link__EQU__out_]
ldr x0, [x0]
bl __ecereNameSpace__ecere__com__eInstance_New
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 88]
ldr x0, [sp, 24]
ldr x0, [x0, 88]
bl __ecereNameSpace__ecere__com__eInstance_IncRef
adrp x0, :got:__ecereClass___ecereNameSpace__ecere__com__LinkList_TPL_TopoEdge__link__EQU__in_
ldr x0, [x0, #:got_lo12:__ecereClass___ecereNameSpace__ecere__com__LinkList_TPL_TopoEdge__link__EQU__in_]
ldr x0, [x0]
bl __ecereNameSpace__ecere__com__eInstance_New
mov x1, x0
ldr x0, [sp, 24]
str x1, [x0, 96]
ldr x0, [sp, 24]
ldr x0, [x0, 96]
bl __ecereNameSpace__ecere__com__eInstance_IncRef
mov w0, 1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE52:
.size __ecereConstructor_External, .-__ecereConstructor_External
.align 2
.global __ecereDestructor_External
.type __ecereDestructor_External, %function
__ecereDestructor_External:
.LFB53:
.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]
ldr x0, [x0, 88]
bl __ecereNameSpace__ecere__com__eInstance_DecRef
ldr x0, [sp, 24]
str xzr, [x0, 88]
ldr x0, [sp, 24]
ldr x0, [x0, 96]
bl __ecereNameSpace__ecere__com__eInstance_DecRef
ldr x0, [sp, 24]
str xzr, [x0, 96]
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE53:
.size __ecereDestructor_External, .-__ecereDestructor_External
.align 2
.global __ecereMethod_External_CreateEdge
.type __ecereMethod_External_CreateEdge, %function
__ecereMethod_External_CreateEdge:
.LFB54:
.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 w2, [sp, 28]
adrp x0, __ecereClass_TopoEdge
add x0, x0, :lo12:__ecereClass_TopoEdge
ldr x0, [x0]
bl __ecereNameSpace__ecere__com__eInstance_New
str x0, [sp, 56]
ldr x0, [sp, 56]
ldr x1, [sp, 32]
str x1, [x0, 32]
ldr x0, [sp, 56]
ldr x1, [sp, 40]
str x1, [x0, 40]
ldr x0, [sp, 56]
ldr w1, [sp, 28]
str w1, [x0, 48]
ldr x0, [sp, 32]
ldr x0, [x0, 88]
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
beq .L151
ldr x0, [sp, 64]
ldr x0, [x0]
b .L152
.L151:
adrp x0, :got:__ecereClass___ecereNameSpace__ecere__com__LinkList
ldr x0, [x0, #:got_lo12:__ecereClass___ecereNameSpace__ecere__com__LinkList]
ldr x0, [x0]
ldr x0, [x0, 32]
.L152:
adrp x1, __ecereVMethodID___ecereNameSpace__ecere__com__Container_Add
add x1, x1, :lo12:__ecereVMethodID___ecereNameSpace__ecere__com__Container_Add
ldr w1, [x1]
sxtw x1, w1
lsl x1, x1, 3
add x0, x0, x1
ldr x0, [x0]
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
beq .L154
ldr x0, [sp, 32]
ldr x0, [x0, 88]
ldr x1, [sp, 56]
ldr x2, [sp, 72]
blr x2
.L154:
ldr x0, [sp, 40]
ldr x0, [x0, 96]
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
beq .L155
ldr x0, [sp, 80]
ldr x0, [x0]
b .L156
.L155:
adrp x0, :got:__ecereClass___ecereNameSpace__ecere__com__LinkList
ldr x0, [x0, #:got_lo12:__ecereClass___ecereNameSpace__ecere__com__LinkList]
ldr x0, [x0]
ldr x0, [x0, 32]
.L156:
adrp x1, __ecereVMethodID___ecereNameSpace__ecere__com__Container_Add
add x1, x1, :lo12:__ecereVMethodID___ecereNameSpace__ecere__com__Container_Add
ldr w1, [x1]
sxtw x1, w1
lsl x1, x1, 3
add x0, x0, x1
ldr x0, [x0]
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
beq .L158
ldr x0, [sp, 40]
ldr x0, [x0, 96]
ldr x1, [sp, 56]
ldr x2, [sp, 88]
blr x2
.L158:
ldr w0, [sp, 28]
cmp w0, 0
bne .L160
ldr x0, [sp, 40]
ldr w0, [x0, 104]
add w1, w0, 1
ldr x0, [sp, 40]
str w1, [x0, 104]
.L160:
nop
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE54:
.size __ecereMethod_External_CreateEdge, .-__ecereMethod_External_CreateEdge
.section .rodata
.align 3
.LC15:
.string "warning: unhandled forward declaration requested"
.text
.align 2
.global __ecereMethod_External_ForwardDeclare
.type __ecereMethod_External_ForwardDeclare, %function
__ecereMethod_External_ForwardDeclare:
.LFB55:
.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, 40]
str xzr, [sp, 48]
adrp x0, curContext
add x0, x0, :lo12:curContext
ldr x0, [x0]
str x0, [sp, 64]
ldr x0, [sp, 40]
ldr w0, [x0, 48]
cmp w0, 0
beq .L162
cmp w0, 1
bne .L163
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr w0, [x0, 48]
cmp w0, 1
bne .L170
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x0, [x0, 56]
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
beq .L170
ldr x0, [sp, 72]
ldr x0, [x0]
str x0, [sp, 56]
b .L165
.L167:
ldr x0, [sp, 56]
ldr w0, [x0, 48]
cmp w0, 3
beq .L166
ldr x0, [sp, 56]
ldr w0, [x0, 48]
cmp w0, 4
beq .L166
ldr x0, [sp, 56]
ldr x0, [x0, 8]
str x0, [sp, 56]
.L165:
ldr x0, [sp, 56]
cmp x0, 0
bne .L167
.L166:
ldr x0, [sp, 56]
cmp x0, 0
beq .L170
adrp x0, curContext
add x0, x0, :lo12:curContext
str xzr, [x0]
ldr x0, [sp, 56]
ldr w19, [x0, 48]
ldr x0, [sp, 56]
ldr x0, [x0, 56]
bl CopyIdentifier
mov x2, 0
mov x1, x0
mov w0, w19
bl MkStructOrUnion
bl MkListOne
mov x1, 0
bl MkDeclaration
bl MkExternalDeclaration
str x0, [sp, 48]
adrp x0, curContext
add x0, x0, :lo12:curContext
ldr x1, [sp, 64]
str x1, [x0]
b .L170
.L162:
adrp x0, curContext
add x0, x0, :lo12:curContext
str xzr, [x0]
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x2, [x0, 48]
adrp x0, :got:CopySpecifier
ldr x1, [x0, #:got_lo12:CopySpecifier]
mov x0, x2
bl CopyList
mov x19, x0
ldr x0, [sp, 40]
ldr x0, [x0, 64]
ldr x0, [x0, 56]
bl CopyDeclarator
mov x1, 0
bl MkInitDeclarator
bl MkListOne
mov x1, x0
mov x0, x19
bl MkDeclaration
bl MkExternalDeclaration
str x0, [sp, 48]
adrp x0, curContext
add x0, x0, :lo12:curContext
ldr x1, [sp, 64]
str x1, [x0]
ldr x0, [sp, 40]
ldr x1, [x0, 56]
ldr x0, [sp, 48]
str x1, [x0, 56]
ldr x0, [sp, 40]
ldr x0, [x0, 56]
ldr x0, [x0, 40]
mov w3, 0
mov w2, 0
mov x1, x0
ldr x0, [sp, 48]
bl DeclareTypeForwardDeclare
b .L163
.L170:
nop
.L163:
ldr x0, [sp, 40]
ldr x1, [sp, 48]
str x1, [x0, 80]
ldr x0, [sp, 48]
cmp x0, 0
bne .L168
adrp x0, :got:__ecereClass_char__PTR_
ldr x0, [x0, #:got_lo12:__ecereClass_char__PTR_]
ldr x3, [x0]
mov x2, 0
adrp x0, .LC15
add x1, x0, :lo12:.LC15
mov x0, x3
bl __ecereNameSpace__ecere__com__PrintLn
.L168:
ldr x0, [sp, 48]
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
.LFE55:
.size __ecereMethod_External_ForwardDeclare, .-__ecereMethod_External_ForwardDeclare
.align 2
.global __ecereMethod_External_CreateUniqueEdge
.type __ecereMethod_External_CreateUniqueEdge, %function
__ecereMethod_External_CreateUniqueEdge:
.LFB56:
.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]
ldr x0, [sp, 32]
ldr x0, [x0, 88]
str x0, [sp, 56]
ldr x0, [sp, 56]
add x0, x0, 24
ldr x0, [x0]
str x0, [sp, 48]
b .L172
.L180:
ldr x0, [sp, 48]
ldr x0, [x0, 40]
ldr x1, [sp, 40]
cmp x1, x0
bne .L173
ldr x0, [sp, 48]
ldr w0, [x0, 48]
cmp w0, 0
beq .L181
ldr w0, [sp, 28]
cmp w0, 0
bne .L181
ldr x0, [sp, 48]
str wzr, [x0, 48]
ldr x0, [sp, 40]
ldr w0, [x0, 104]
add w1, w0, 1
ldr x0, [sp, 40]
str w1, [x0, 104]
b .L181
.L173:
ldr x0, [sp, 56]
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
beq .L176
ldr x0, [sp, 64]
ldr x0, [x0]
b .L177
.L176:
adrp x0, :got:__ecereClass___ecereNameSpace__ecere__com__LinkList
ldr x0, [x0, #:got_lo12:__ecereClass___ecereNameSpace__ecere__com__LinkList]
ldr x0, [x0]
ldr x0, [x0, 32]
.L177:
adrp x1, __ecereVMethodID___ecereNameSpace__ecere__com__Container_GetNext
add x1, x1, :lo12:__ecereVMethodID___ecereNameSpace__ecere__com__Container_GetNext
ldr w1, [x1]
sxtw x1, w1
lsl x1, x1, 3
add x0, x0, x1
ldr x0, [x0]
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
beq .L178
ldr x2, [sp, 72]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
blr x2
b .L179
.L178:
mov x0, 1
.L179:
str x0, [sp, 48]
.L172:
ldr x0, [sp, 48]
cmp x0, 0
bne .L180
ldr w2, [sp, 28]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl __ecereMethod_External_CreateEdge
b .L171
.L181:
nop
.L171:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE56:
.size __ecereMethod_External_CreateUniqueEdge, .-__ecereMethod_External_CreateUniqueEdge
.section .rodata
.align 3
.LC16:
.string "TokenType"
.align 3
.LC17:
.string "identifier"
.align 3
.LC18:
.string "constant"
.align 3
.LC19:
.string "stringLiteral"
.align 3
.LC20:
.string "sizeOf"
.align 3
.LC21:
.string "ptrOp"
.align 3
.LC22:
.string "incOp"
.align 3
.LC23:
.string "decOp"
.align 3
.LC24:
.string "leftOp"
.align 3
.LC25:
.string "rightOp"
.align 3
.LC26:
.string "leOp"
.align 3
.LC27:
.string "geOp"
.align 3
.LC28:
.string "eqOp"
.align 3
.LC29:
.string "neOp"
.align 3
.LC30:
.string "andOp"
.align 3
.LC31:
.string "orOp"
.align 3
.LC32:
.string "mulAssign"
.align 3
.LC33:
.string "divAssign"
.align 3
.LC34:
.string "modAssign"
.align 3
.LC35:
.string "addAssign"
.align 3
.LC36:
.string "subAssign"
.align 3
.LC37:
.string "leftAssign"
.align 3
.LC38:
.string "rightAssign"
.align 3
.LC39:
.string "andAssign"
.align 3
.LC40:
.string "xorAssign"
.align 3
.LC41:
.string "orAssign"
.align 3
.LC42:
.string "typeName"
.align 3
.LC43:
.string "_typedef"
.align 3
.LC44:
.string "_extern"
.align 3
.LC45:
.string "_static"
.align 3
.LC46:
.string "_auto"
.align 3
.LC47:
.string "_register"
.align 3
.LC48:
.string "_char"
.align 3
.LC49:
.string "_short"
.align 3
.LC50:
.string "_int"
.align 3
.LC51:
.string "_uint"
.align 3
.LC52:
.string "_int64"
.align 3
.LC53:
.string "_int128"
.align 3
.LC54:
.string "_long"
.align 3
.LC55:
.string "_signed"
.align 3
.LC56:
.string "_unsigned"
.align 3
.LC57:
.string "_float"
.align 3
.LC58:
.string "_double"
.align 3
.LC59:
.string "_const"
.align 3
.LC60:
.string "_volatile"
.align 3
.LC61:
.string "_void"
.align 3
.LC62:
.string "_valist"
.align 3
.LC63:
.string "_struct"
.align 3
.LC64:
.string "_union"
.align 3
.LC65:
.string "_enum"
.align 3
.LC66:
.string "ellipsis"
.align 3
.LC67:
.string "_case"
.align 3
.LC68:
.string "_default"
.align 3
.LC69:
.string "_if"
.align 3
.LC70:
.string "_switch"
.align 3
.LC71:
.string "_while"
.align 3
.LC72:
.string "_do"
.align 3
.LC73:
.string "_for"
.align 3
.LC74:
.string "_goto"
.align 3
.LC75:
.string "_continue"
.align 3
.LC76:
.string "_break"
.align 3
.LC77:
.string "_return"
.align 3
.LC78:
.string "ifx"
.align 3
.LC79:
.string "_else"
.align 3
.LC80:
.string "_class"
.align 3
.LC81:
.string "thisClass"
.align 3
.LC82:
.string "className"
.align 3
.LC83:
.string "_property"
.align 3
.LC84:
.string "setProp"
.align 3
.LC85:
.string "getProp"
.align 3
.LC86:
.string "newOp"
.align 3
.LC87:
.string "_renew"
.align 3
.LC88:
.string "_delete"
.align 3
.LC89:
.string "_extDecl"
.align 3
.LC90:
.string "_extStorage"
.align 3
.LC91:
.string "_import"
.align 3
.LC92:
.string "_define"
.align 3
.LC93:
.string "_virtual"
.align 3
.LC94:
.string "attrib"
.align 3
.LC95:
.string "_public"
.align 3
.LC96:
.string "_priate"
.align 3
.LC97:
.string "typedObject"
.align 3
.LC98:
.string "anyObject"
.align 3
.LC99:
.string "_incref"
.align 3
.LC100:
.string "extension"
.align 3
.LC101:
.string "___asm"
.align 3
.LC102:
.string "_typeof"
.align 3
.LC103:
.string "_watch"
.align 3
.LC104:
.string "stopWatching"
.align 3
.LC105:
.string "fireWatchers"
.align 3
.LC106:
.string "_watchable"
.align 3
.LC107:
.string "classDesigner"
.align 3
.LC108:
.string "classNoExpansion"
.align 3
.LC109:
.string "classFixed"
.align 3
.LC110:
.string "isPropSet"
.align 3
.LC111:
.string "classDefaultProperty"
.align 3
.LC112:
.string "propertyCategory"
.align 3
.LC113:
.string "classData"
.align 3
.LC114:
.string "classProperty"
.align 3
.LC115:
.string "subClass"
.align 3
.LC116:
.string "nameSpace"
.align 3
.LC117:
.string "new0Op"
.align 3
.LC118:
.string "renew0Op"
.align 3
.LC119:
.string "vaArg"
.align 3
.LC120:
.string "dbTable"
.align 3
.LC121:
.string "dbField"
.align 3
.LC122:
.string "dbIndex"
.align 3
.LC123:
.string "databaseOpen"
.align 3
.LC124:
.string "alignOf"
.align 3
.LC125:
.string "attribDep"
.align 3
.LC126:
.string "_attrib"
.align 3
.LC127:
.string "BOOL"
.align 3
.LC128:
.string "_BOOL"
.align 3
.LC129:
.string "complex"
.align 3
.LC130:
.string "imaginary"
.align 3
.LC131:
.string "_restrict"
.align 3
.LC132:
.string "_thread"
.align 3
.LC133:
.string "Order"
.align 3
.LC134:
.string "ascending"
.align 3
.LC135:
.string "descending"
.align 3
.LC136:
.string "DBTableDef"
.align 3
.LC137:
.string "char *"
.align 3
.LC138:
.string "name"
.align 3
.LC139:
.string "Symbol"
.align 3
.LC140:
.string "symbol"
.align 3
.LC141:
.string "ecere::sys::OldList *"
.align 3
.LC142:
.string "definitions"
.align 3
.LC143:
.string "ecere::com::AccessMode"
.align 3
.LC144:
.string "declMode"
.align 3
.LC145:
.string "DBTableEntryType"
.align 3
.LC146:
.string "fieldEntry"
.align 3
.LC147:
.string "indexEntry"
.align 3
.LC148:
.string "DBTableEntry"
.align 3
.LC149:
.string "DBIndexItem"
.align 3
.LC150:
.string "void SetInCompiler(bool b)"
.align 3
.LC151:
.string "SetInCompiler"
.align 3
.LC152:
.string "void SetInDebugger(bool b)"
.align 3
.LC153:
.string "SetInDebugger"
.align 3
.LC154:
.string "void SetPrivateModule(ecere::com::Module module)"
.align 3
.LC155:
.string "SetPrivateModule"
.align 3
.LC156:
.string "ecere::com::Module GetPrivateModule(void)"
.align 3
.LC157:
.string "GetPrivateModule"
.align 3
.LC158:
.string "void SetMainModule(ModuleImport moduleImport)"
.align 3
.LC159:
.string "SetMainModule"
.align 3
.LC160:
.string "ModuleImport GetMainModule(void)"
.align 3
.LC161:
.string "GetMainModule"
.align 3
.LC162:
.string "void SetFileInput(ecere::sys::File file)"
.align 3
.LC163:
.string "SetFileInput"
.align 3
.LC164:
.string "void SetSymbolsDir(const char * s)"
.align 3
.LC165:
.string "SetSymbolsDir"
.align 3
.LC166:
.string "const char * GetSymbolsDir(void)"
.align 3
.LC167:
.string "GetSymbolsDir"
.align 3
.LC168:
.string "void SetOutputFile(const char * s)"
.align 3
.LC169:
.string "SetOutputFile"
.align 3
.LC170:
.string "const char * GetOutputFile(void)"
.align 3
.LC171:
.string "GetOutputFile"
.align 3
.LC172:
.string "void SetSourceFile(const char * s)"
.align 3
.LC173:
.string "SetSourceFile"
.align 3
.LC174:
.string "const char * GetSourceFile(void)"
.align 3
.LC175:
.string "GetSourceFile"
.align 3
.LC176:
.string "void SetI18nModuleName(const char * s)"
.align 3
.LC177:
.string "SetI18nModuleName"
.align 3
.LC178:
.string "const char * GetI18nModuleName(void)"
.align 3
.LC179:
.string "GetI18nModuleName"
.align 3
.LC180:
.string "void SetGlobalContext(Context context)"
.align 3
.LC181:
.string "SetGlobalContext"
.align 3
.LC182:
.string "Context GetGlobalContext(void)"
.align 3
.LC183:
.string "GetGlobalContext"
.align 3
.LC184:
.string "void SetTopContext(Context context)"
.align 3
.LC185:
.string "SetTopContext"
.align 3
.LC186:
.string "Context GetTopContext(void)"
.align 3
.LC187:
.string "GetTopContext"
.align 3
.LC188:
.string "void SetCurrentContext(Context context)"
.align 3
.LC189:
.string "SetCurrentContext"
.align 3
.LC190:
.string "Context GetCurrentContext(void)"
.align 3
.LC191:
.string "GetCurrentContext"
.align 3
.LC192:
.string "void SetExcludedSymbols(ecere::sys::OldList * list)"
.align 3
.LC193:
.string "SetExcludedSymbols"
.align 3
.LC194:
.string "void SetImports(ecere::sys::OldList * list)"
.align 3
.LC195:
.string "SetImports"
.align 3
.LC196:
.string "void SetDefines(ecere::sys::OldList * list)"
.align 3
.LC197:
.string "SetDefines"
.align 3
.LC198:
.string "void SetOutputLineNumbers(bool value)"
.align 3
.LC199:
.string "SetOutputLineNumbers"
.align 3
.LC200:
.string "void FixModuleName(char * moduleName)"
.align 3
.LC201:
.string "FixModuleName"
.align 3
.LC202:
.string "char * PassArg(char * output, const char * input)"
.align 3
.LC203:
.string "PassArg"
.align 3
.LC204:
.string "ecere::sys::BTNode"
.align 3
.LC205:
.string "GlobalData"
.align 3
.LC206:
.string "ecere::com::Module"
.align 3
.LC207:
.string "module"
.align 3
.LC208:
.string "dataTypeString"
.align 3
.LC209:
.string "Type"
.align 3
.LC210:
.string "dataType"
.align 3
.LC211:
.string "void *"
.align 3
.LC212:
.string "fullName"
.align 3
.LC213:
.string "TemplatedType"
.align 3
.LC214:
.string "TemplateParameter"
.align 3
.LC215:
.string "param"
.align 3
.LC216:
.string "DataRedefinition"
.align 3
.LC217:
.string "CodePosition"
.align 3
.LC218:
.string "void AdjustAdd(ecere::gui::controls::BufferLocation start, ecere::gui::controls::BufferLocation end)"
.align 3
.LC219:
.string "AdjustAdd"
.align 3
.LC220:
.string "void AdjustDelete(ecere::gui::controls::BufferLocation start, ecere::gui::controls::BufferLocation end)"
.align 3
.LC221:
.string "AdjustDelete"
.align 3
.LC222:
.string "int"
.align 3
.LC223:
.string "line"
.align 3
.LC224:
.string "charPos"
.align 3
.LC225:
.string "pos"
.align 3
.LC226:
.string "included"
.align 3
.LC227:
.string "Location"
.align 3
.LC228:
.string "bool Inside(int line, int charPos)"
.align 3
.LC229:
.string "Inside"
.align 3
.LC230:
.string "start"
.align 3
.LC231:
.string "end"
.align 3
.LC232:
.string "DefinitionType"
.align 3
.LC233:
.string "moduleDefinition"
.align 3
.LC234:
.string "classDefinition"
.align 3
.LC235:
.string "defineDefinition"
.align 3
.LC236:
.string "functionDefinition"
.align 3
.LC237:
.string "dataDefinition"
.align 3
.LC238:
.string "Definition"
.align 3
.LC239:
.string "prev"
.align 3
.LC240:
.string "next"
.align 3
.LC241:
.string "type"
.align 3
.LC242:
.string "ImportedModule"
.align 3
.LC243:
.string "ecere::com::ImportType"
.align 3
.LC244:
.string "importType"
.align 3
.LC245:
.string "bool"
.align 3
.LC246:
.string "globalInstance"
.align 3
.LC247:
.string "dllOnly"
.align 3
.LC248:
.string "importAccess"
.align 3
.LC249:
.string "Identifier"
.align 3
.LC250:
.string "loc"
.align 3
.LC251:
.string "classSym"
.align 3
.LC252:
.string "Specifier"
.align 3
.LC253:
.string "string"
.align 3
.LC254:
.string "badID"
.align 3
.LC255:
.string "ExpressionType"
.align 3
.LC256:
.string "identifierExp"
.align 3
.LC257:
.string "instanceExp"
.align 3
.LC258:
.string "constantExp"
.align 3
.LC259:
.string "stringExp"
.align 3
.LC260:
.string "opExp"
.align 3
.LC261:
.string "bracketsExp"
.align 3
.LC262:
.string "indexExp"
.align 3
.LC263:
.string "callExp"
.align 3
.LC264:
.string "memberExp"
.align 3
.LC265:
.string "pointerExp"
.align 3
.LC266:
.string "typeSizeExp"
.align 3
.LC267:
.string "castExp"
.align 3
.LC268:
.string "conditionExp"
.align 3
.LC269:
.string "newExp"
.align 3
.LC270:
.string "renewExp"
.align 3
.LC271:
.string "classSizeExp"
.align 3
.LC272:
.string "dummyExp"
.align 3
.LC273:
.string "dereferenceErrorExp"
.align 3
.LC274:
.string "symbolErrorExp"
.align 3
.LC275:
.string "memberSymbolErrorExp"
.align 3
.LC276:
.string "memoryErrorExp"
.align 3
.LC277:
.string "unknownErrorExp"
.align 3
.LC278:
.string "noDebuggerErrorExp"
.align 3
.LC279:
.string "extensionCompoundExp"
.align 3
.LC280:
.string "classExp"
.align 3
.LC281:
.string "classDataExp"
.align 3
.LC282:
.string "new0Exp"
.align 3
.LC283:
.string "renew0Exp"
.align 3
.LC284:
.string "dbopenExp"
.align 3
.LC285:
.string "dbfieldExp"
.align 3
.LC286:
.string "dbtableExp"
.align 3
.LC287:
.string "dbindexExp"
.align 3
.LC288:
.string "extensionExpressionExp"
.align 3
.LC289:
.string "extensionInitializerExp"
.align 3
.LC290:
.string "vaArgExp"
.align 3
.LC291:
.string "arrayExp"
.align 3
.LC292:
.string "typeAlignExp"
.align 3
.LC293:
.string "memberPropertyErrorExp"
.align 3
.LC294:
.string "functionCallErrorExp"
.align 3
.LC295:
.string "divideBy0ErrorExp"
.align 3
.LC296:
.string "offsetOfExp"
.align 3
.LC297:
.string "MemberType"
.align 3
.LC298:
.string "unresolvedMember"
.align 3
.LC299:
.string "propertyMember"
.align 3
.LC300:
.string "methodMember"
.align 3
.LC301:
.string "dataMember"
.align 3
.LC302:
.string "reverseConversionMember"
.align 3
.LC303:
.string "classPropertyMember"
.align 3
.LC304:
.string "ExpUsage"
.align 3
.LC305:
.string "usageGet"
.align 3
.LC306:
.string "usageSet"
.align 3
.LC307:
.string "usageArg"
.align 3
.LC308:
.string "usageCall"
.align 3
.LC309:
.string "usageMember"
.align 3
.LC310:
.string "usageDeepGet"
.align 3
.LC311:
.string "usageRef"
.align 3
.LC312:
.string "usageDelete"
.align 3
.LC313:
.string "ecere::com::TemplateParameterType"
.align 3
.LC314:
.string "TemplateDatatype"
.align 3
.LC315:
.string "ecere::com::TemplateMemberType"
.align 3
.LC316:
.string "memberType"
.align 3
.LC317:
.string "TemplateArgument"
.align 3
.LC318:
.string "defaultArgument"
.align 3
.LC319:
.string "const char *"
.align 3
.LC320:
.string "baseType"
.align 3
.LC321:
.string "specifiers"
.align 3
.LC322:
.string "Declarator"
.align 3
.LC323:
.string "decl"
.align 3
.LC324:
.string "Expression"
.align 3
.LC325:
.string "expression"
.align 3
.LC326:
.string "templateDatatype"
.align 3
.LC327:
.string "SpecifierType"
.align 3
.LC328:
.string "baseSpecifier"
.align 3
.LC329:
.string "nameSpecifier"
.align 3
.LC330:
.string "enumSpecifier"
.align 3
.LC331:
.string "structSpecifier"
.align 3
.LC332:
.string "unionSpecifier"
.align 3
.LC333:
.string "extendedSpecifier"
.align 3
.LC334:
.string "typeOfSpecifier"
.align 3
.LC335:
.string "subClassSpecifier"
.align 3
.LC336:
.string "templateTypeSpecifier"
.align 3
.LC337:
.string "specifier"
.align 3
.LC338:
.string "ExtDecl"
.align 3
.LC339:
.string "extDecl"
.align 3
.LC340:
.string "templateArgs"
.align 3
.LC341:
.string "nsSpec"
.align 3
.LC342:
.string "id"
.align 3
.LC343:
.string "list"
.align 3
.LC344:
.string "baseSpecs"
.align 3
.LC345:
.string "addNameSpace"
.align 3
.LC346:
.string "Context"
.align 3
.LC347:
.string "ctx"
.align 3
.LC348:
.string "extDeclStruct"
.align 3
.LC349:
.string "templateParameter"
.align 3
.LC350:
.string "Attribute"
.align 3
.LC351:
.string "String"
.align 3
.LC352:
.string "attr"
.align 3
.LC353:
.string "exp"
.align 3
.LC354:
.string "Attrib"
.align 3
.LC355:
.string "attribs"
.align 3
.LC356:
.string "ExtDeclType"
.align 3
.LC357:
.string "s"
.align 3
.LC358:
.string "extDeclString"
.align 3
.LC359:
.string "extDeclAttrib"
.align 3
.LC360:
.string "void Clear()"
.align 3
.LC361:
.string "Clear"
.align 3
.LC362:
.string "Statement"
.align 3
.LC363:
.string "compound"
.align 3
.LC364:
.string "Instantiation"
.align 3
.LC365:
.string "instance"
.align 3
.LC366:
.string "intlString"
.align 3
.LC367:
.string "wideString"
.align 3
.LC368:
.string "struct { ecere::sys::OldList * specifiers; Declarator decl; }"
.align 3
.LC369:
.string "_classExp"
.align 3
.LC370:
.string "struct { Identifier id; }"
.align 3
.LC371:
.string "struct { Expression exp; ecere::sys::OldList * arguments; Location argLoc; }"
.align 3
.LC372:
.string "call"
.align 3
.LC373:
.string "struct { Expression exp; ecere::sys::OldList * index; }"
.align 3
.LC374:
.string "index"
.align 3
.LC375:
.string "struct { Expression exp; Identifier member; MemberType memberType; bool thisPtr; }"
.align 3
.LC376:
.string "member"
.align 3
.LC377:
.string "struct { int op; Expression exp1; Expression exp2; }"
.align 3
.LC378:
.string "op"
.align 3
.LC379:
.string "TypeName"
.align 3
.LC380:
.string "struct { TypeName typeName; Expression exp; }"
.align 3
.LC381:
.string "cast"
.align 3
.LC382:
.string "struct { Expression cond; ecere::sys::OldList * exp; Expression elseExp; }"
.align 3
.LC383:
.string "cond"
.align 3
.LC384:
.string "struct { TypeName typeName; Expression size; }"
.align 3
.LC385:
.string "_new"
.align 3
.LC386:
.string "struct { TypeName typeName; Expression size; Expression exp; }"
.align 3
.LC387:
.string "struct { char * table; Identifier id; }"
.align 3
.LC388:
.string "db"
.align 3
.LC389:
.string "struct { Expression ds; Expression name; }"
.align 3
.LC390:
.string "dbopen"
.align 3
.LC391:
.string "struct { TypeName typeName; Initializer initializer; }"
.align 3
.LC392:
.string "initializer"
.align 3
.LC393:
.string "struct { Expression exp; TypeName typeName; }"
.align 3
.LC394:
.string "struct { TypeName typeName; Identifier id; }"
.align 3
.LC395:
.string "offset"
.align 3
.LC396:
.string "debugValue"
.align 3
.LC397:
.string "ecere::com::DataValue"
.align 3
.LC398:
.string "val"
.align 3
.LC399:
.string "address"
.align 3
.LC400:
.string "hasAddress"
.align 3
.LC401:
.string "expType"
.align 3
.LC402:
.string "destType"
.align 3
.LC403:
.string "usage"
.align 3
.LC404:
.string "tempCount"
.align 3
.LC405:
.string "byReference"
.align 3
.LC406:
.string "isConstant"
.align 3
.LC407:
.string "addedThis"
.align 3
.LC408:
.string "needCast"
.align 3
.LC409:
.string "thisPtr"
.align 3
.LC410:
.string "opDestType"
.align 3
.LC411:
.string "usedInComparison"
.align 3
.LC412:
.string "ambiguousUnits"
.align 3
.LC413:
.string "parentOpDestType"
.align 3
.LC414:
.string "uint"
.align 3
.LC415:
.string "needTemplateCast"
.align 3
.LC416:
.string "Enumerator"
.align 3
.LC417:
.string "Pointer"
.align 3
.LC418:
.string "DeclaratorType"
.align 3
.LC419:
.string "structDeclarator"
.align 3
.LC420:
.string "identifierDeclarator"
.align 3
.LC421:
.string "bracketsDeclarator"
.align 3
.LC422:
.string "arrayDeclarator"
.align 3
.LC423:
.string "functionDeclarator"
.align 3
.LC424:
.string "pointerDeclarator"
.align 3
.LC425:
.string "extendedDeclarator"
.align 3
.LC426:
.string "extendedDeclaratorEnd"
.align 3
.LC427:
.string "declarator"
.align 3
.LC428:
.string "struct { Expression exp; Expression posExp; Attrib attrib; }"
.align 3
.LC429:
.string "structDecl"
.align 3
.LC430:
.string "struct { Expression exp; Specifier enumClass; }"
.align 3
.LC431:
.string "array"
.align 3
.LC432:
.string "struct { ecere::sys::OldList * parameters; }"
.align 3
.LC433:
.string "function"
.align 3
.LC434:
.string "struct { Pointer pointer; }"
.align 3
.LC435:
.string "pointer"
.align 3
.LC436:
.string "struct { ExtDecl extended; }"
.align 3
.LC437:
.string "extended"
.align 3
.LC438:
.string "InitializerType"
.align 3
.LC439:
.string "expInitializer"
.align 3
.LC440:
.string "listInitializer"
.align 3
.LC441:
.string "Initializer"
.align 3
.LC442:
.string "InitDeclarator"
.align 3
.LC443:
.string "ClassObjectType"
.align 3
.LC444:
.string "none"
.align 3
.LC445:
.string "classPointer"
.align 3
.LC446:
.string "qualifiers"
.align 3
.LC447:
.string "classObjectType"
.align 3
.LC448:
.string "bitCount"
.align 3
.LC449:
.string "AsmField"
.align 3
.LC450:
.string "StmtType"
.align 3
.LC451:
.string "labeledStmt"
.align 3
.LC452:
.string "caseStmt"
.align 3
.LC453:
.string "compoundStmt"
.align 3
.LC454:
.string "expressionStmt"
.align 3
.LC455:
.string "ifStmt"
.align 3
.LC456:
.string "switchStmt"
.align 3
.LC457:
.string "whileStmt"
.align 3
.LC458:
.string "doWhileStmt"
.align 3
.LC459:
.string "forStmt"
.align 3
.LC460:
.string "gotoStmt"
.align 3
.LC461:
.string "continueStmt"
.align 3
.LC462:
.string "breakStmt"
.align 3
.LC463:
.string "returnStmt"
.align 3
.LC464:
.string "asmStmt"
.align 3
.LC465:
.string "badDeclarationStmt"
.align 3
.LC466:
.string "fireWatchersStmt"
.align 3
.LC467:
.string "stopWatchingStmt"
.align 3
.LC468:
.string "watchStmt"
.align 3
.LC469:
.string "forEachStmt"
.align 3
.LC470:
.string "expressions"
.align 3
.LC471:
.string "struct { Identifier id; Statement stmt; }"
.align 3
.LC472:
.string "labeled"
.align 3
.LC473:
.string "struct { Expression exp; Statement stmt; }"
.align 3
.LC474:
.string "struct { ecere::sys::OldList * declarations; ecere::sys::OldList * statements; Context context; bool isSwitch; }"
.align 3
.LC475:
.string "struct { ecere::sys::OldList * exp; Statement stmt; Statement elseStmt; }"
.align 3
.LC476:
.string "struct { ecere::sys::OldList * exp; Statement stmt; }"
.align 3
.LC477:
.string "doWhile"
.align 3
.LC478:
.string "struct { Statement init; Statement check; ecere::sys::OldList * increment; Statement stmt; }"
.align 3
.LC479:
.string "struct { Specifier spec; char * statements; ecere::sys::OldList * inputFields; ecere::sys::OldList * outputFields; ecere::sys::OldList * clobberedFields; }"
.align 3
.LC480:
.string "struct { Expression watcher; Expression object; ecere::sys::OldList * watches; }"
.align 3
.LC481:
.string "struct { Identifier id; ecere::sys::OldList * exp; ecere::sys::OldList * filter; Statement stmt; }"
.align 3
.LC482:
.string "Declaration"
.align 3
.LC483:
.string "DeclarationType"
.align 3
.LC484:
.string "structDeclaration"
.align 3
.LC485:
.string "initDeclaration"
.align 3
.LC486:
.string "instDeclaration"
.align 3
.LC487:
.string "defineDeclaration"
.align 3
.LC488:
.string "declarators"
.align 3
.LC489:
.string "inst"
.align 3
.LC490:
.string "extStorage"
.align 3
.LC491:
.string "members"
.align 3
.LC492:
.string "fullSet"
.align 3
.LC493:
.string "byte *"
.align 3
.LC494:
.string "data"
.align 3
.LC495:
.string "nameLoc"
.align 3
.LC496:
.string "insideLoc"
.align 3
.LC497:
.string "built"
.align 3
.LC498:
.string "MembersInitType"
.align 3
.LC499:
.string "dataMembersInit"
.align 3
.LC500:
.string "methodMembersInit"
.align 3
.LC501:
.string "FunctionDefinition"
.align 3
.LC502:
.string "declarations"
.align 3
.LC503:
.string "body"
.align 3
.LC504:
.string "ecere::com::Class"
.align 3
.LC505:
.string "ecere::sys::OldList"
.align 3
.LC506:
.string "attached"
.align 3
.LC507:
.string "propSet"
.align 3
.LC508:
.string "propertyNoThis"
.align 3
.LC509:
.string "ClassFunction"
.align 3
.LC510:
.string "isVirtual"
.align 3
.LC511:
.string "isConstructor"
.align 3
.LC512:
.string "isDestructor"
.align 3
.LC513:
.string "dontMangle"
.align 3
.LC514:
.string "idCode"
.align 3
.LC515:
.string "MembersInit"
.align 3
.LC516:
.string "dataMembers"
.align 3
.LC517:
.string "MemberInit"
.align 3
.LC518:
.string "realLoc"
.align 3
.LC519:
.string "identifiers"
.align 3
.LC520:
.string "used"
.align 3
.LC521:
.string "variable"
.align 3
.LC522:
.string "takeOutExp"
.align 3
.LC523:
.string "ClassDefinition"
.align 3
.LC524:
.string "blockStart"
.align 3
.LC525:
.string "deleteWatchable"
.align 3
.LC526:
.string "PropertyWatch"
.align 3
.LC527:
.string "properties"
.align 3
.LC528:
.string "deleteWatch"
.align 3
.LC529:
.string "ClassDefType"
.align 3
.LC530:
.string "functionClassDef"
.align 3
.LC531:
.string "defaultPropertiesClassDef"
.align 3
.LC532:
.string "declarationClassDef"
.align 3
.LC533:
.string "propertyClassDef"
.align 3
.LC534:
.string "propertyWatchClassDef"
.align 3
.LC535:
.string "classDesignerClassDef"
.align 3
.LC536:
.string "classNoExpansionClassDef"
.align 3
.LC537:
.string "classFixedClassDef"
.align 3
.LC538:
.string "designerDefaultPropertyClassDef"
.align 3
.LC539:
.string "classDataClassDef"
.align 3
.LC540:
.string "classPropertyClassDef"
.align 3
.LC541:
.string "classPropertyValueClassDef"
.align 3
.LC542:
.string "memberAccessClassDef"
.align 3
.LC543:
.string "accessOverrideClassDef"
.align 3
.LC544:
.string "PropertyDef"
.align 3
.LC545:
.string "getStmt"
.align 3
.LC546:
.string "setStmt"
.align 3
.LC547:
.string "issetStmt"
.align 3
.LC548:
.string "category"
.align 3
.LC549:
.string "bool:1"
.align 3
.LC550:
.string "conversion"
.align 3
.LC551:
.string "isWatchable"
.align 3
.LC552:
.string "isDBProp"
.align 3
.LC553:
.string "ClassDef"
.align 3
.LC554:
.string "defProperties"
.align 3
.LC555:
.string "propertyDef"
.align 3
.LC556:
.string "propertyWatch"
.align 3
.LC557:
.string "designer"
.align 3
.LC558:
.string "defaultProperty"
.align 3
.LC559:
.string "memberAccess"
.align 3
.LC560:
.string "object"
.align 3
.LC561:
.string "TopoEdge"
.align 3
.LC562:
.string "ecere::com::LinkElement<TopoEdge>"
.align 3
.LC563:
.string "in"
.align 3
.LC564:
.string "out"
.align 3
.LC565:
.string "ExternalType"
.align 3
.LC566:
.string "functionExternal"
.align 3
.LC567:
.string "declarationExternal"
.align 3
.LC568:
.string "classExternal"
.align 3
.LC569:
.string "importExternal"
.align 3
.LC570:
.string "nameSpaceExternal"
.align 3
.LC571:
.string "dbtableExternal"
.align 3
.LC572:
.string "External"
.align 3
.LC573:
.string "void CreateEdge(External from, bool soft)"
.align 3
.LC574:
.string "CreateEdge"
.align 3
.LC575:
.string "void CreateUniqueEdge(External from, bool soft)"
.align 3
.LC576:
.string "CreateUniqueEdge"
.align 3
.LC577:
.string "External ForwardDeclare()"
.align 3
.LC578:
.string "ForwardDeclare"
.align 3
.LC579:
.string "declaration"
.align 3
.LC580:
.string "importString"
.align 3
.LC581:
.string "table"
.align 3
.LC582:
.string "fwdDecl"
.align 3
.LC583:
.string "ecere::com::LinkList<TopoEdge, link = out>"
.align 3
.LC584:
.string "outgoing"
.align 3
.LC585:
.string "ecere::com::LinkList<TopoEdge, link = in>"
.align 3
.LC586:
.string "incoming"
.align 3
.LC587:
.string "nonBreakableIncoming"
.align 3
.LC588:
.string "parent"
.align 3
.LC589:
.string "ecere::sys::BinaryTree"
.align 3
.LC590:
.string "types"
.align 3
.LC591:
.string "classes"
.align 3
.LC592:
.string "symbols"
.align 3
.LC593:
.string "structSymbols"
.align 3
.LC594:
.string "nextID"
.align 3
.LC595:
.string "simpleID"
.align 3
.LC596:
.string "templateTypes"
.align 3
.LC597:
.string "classDef"
.align 3
.LC598:
.string "templateTypesOnly"
.align 3
.LC599:
.string "hasNameSpace"
.align 3
.LC600:
.string "left"
.align 3
.LC601:
.string "right"
.align 3
.LC602:
.string "depth"
.align 3
.LC603:
.string "ecere::com::Method"
.align 3
.LC604:
.string "method"
.align 3
.LC605:
.string "ecere::com::Property"
.align 3
.LC606:
.string "registered"
.align 3
.LC607:
.string "notYetDeclared"
.align 3
.LC608:
.string "pointerExternal"
.align 3
.LC609:
.string "structExternal"
.align 3
.LC610:
.string "externalGet"
.align 3
.LC611:
.string "externalSet"
.align 3
.LC612:
.string "externalPtr"
.align 3
.LC613:
.string "externalIsSet"
.align 3
.LC614:
.string "methodExternal"
.align 3
.LC615:
.string "methodCodeExternal"
.align 3
.LC616:
.string "imported"
.align 3
.LC617:
.string "declaredStructSym"
.align 3
.LC618:
.string "declaredStruct"
.align 3
.LC619:
.string "needConstructor"
.align 3
.LC620:
.string "needDestructor"
.align 3
.LC621:
.string "constructorName"
.align 3
.LC622:
.string "structName"
.align 3
.LC623:
.string "destructorName"
.align 3
.LC624:
.string "ModuleImport"
.align 3
.LC625:
.string "ClassImport"
.align 3
.LC626:
.string "isParam"
.align 3
.LC627:
.string "isRemote"
.align 3
.LC628:
.string "isStruct"
.align 3
.LC629:
.string "fireWatchersDone"
.align 3
.LC630:
.string "declaring"
.align 3
.LC631:
.string "isStatic"
.align 3
.LC632:
.string "shortName"
.align 3
.LC633:
.string "templateParams"
.align 3
.LC634:
.string "templatedClasses"
.align 3
.LC635:
.string "isIterator"
.align 3
.LC636:
.string "propCategory"
.align 3
.LC637:
.string "mustRegister"
.align 3
.LC638:
.string "methods"
.align 3
.LC639:
.string "itself"
.align 3
.LC640:
.string "FunctionImport"
.align 3
.LC641:
.string "functions"
.align 3
.LC642:
.string "PropertyImport"
.align 3
.LC643:
.string "hasSet"
.align 3
.LC644:
.string "hasGet"
.align 3
.LC645:
.string "MethodImport"
.align 3
.LC646:
.string "TypeKind"
.align 3
.LC647:
.string "voidType"
.align 3
.LC648:
.string "charType"
.align 3
.LC649:
.string "shortType"
.align 3
.LC650:
.string "intType"
.align 3
.LC651:
.string "int64Type"
.align 3
.LC652:
.string "longType"
.align 3
.LC653:
.string "floatType"
.align 3
.LC654:
.string "doubleType"
.align 3
.LC655:
.string "classType"
.align 3
.LC656:
.string "structType"
.align 3
.LC657:
.string "unionType"
.align 3
.LC658:
.string "functionType"
.align 3
.LC659:
.string "arrayType"
.align 3
.LC660:
.string "pointerType"
.align 3
.LC661:
.string "ellipsisType"
.align 3
.LC662:
.string "enumType"
.align 3
.LC663:
.string "methodType"
.align 3
.LC664:
.string "vaListType"
.align 3
.LC665:
.string "dummyType"
.align 3
.LC666:
.string "subClassType"
.align 3
.LC667:
.string "templateType"
.align 3
.LC668:
.string "thisClassType"
.align 3
.LC669:
.string "intPtrType"
.align 3
.LC670:
.string "intSizeType"
.align 3
.LC671:
.string "_BoolType"
.align 3
.LC672:
.string "int128Type"
.align 3
.LC673:
.string "OnFree"
.align 3
.LC674:
.string "OnGetString"
.align 3
.LC675:
.string "refCount"
.align 3
.LC676:
.string "enumName"
.align 3
.LC677:
.string "returnType"
.align 3
.LC678:
.string "params"
.align 3
.LC679:
.string "staticMethod"
.align 3
.LC680:
.string "thisClassTemplate"
.align 3
.LC681:
.string "methodClass"
.align 3
.LC682:
.string "usedClass"
.align 3
.LC683:
.string "arraySize"
.align 3
.LC684:
.string "arraySizeExp"
.align 3
.LC685:
.string "freeExp"
.align 3
.LC686:
.string "enumClass"
.align 3
.LC687:
.string "kind"
.align 3
.LC688:
.string "size"
.align 3
.LC689:
.string "thisClassFrom"
.align 3
.LC690:
.string "promotedFrom"
.align 3
.LC691:
.string "alignment"
.align 3
.LC692:
.string "bitFieldCount"
.align 3
.LC693:
.string "count"
.align 3
.LC694:
.string "bitMemberSize"
.align 3
.LC695:
.string "isSigned"
.align 3
.LC696:
.string "truth"
.align 3
.LC697:
.string "extraParam"
.align 3
.LC698:
.string "directClassAccess"
.align 3
.LC699:
.string "computing"
.align 3
.LC700:
.string "keepCast"
.align 3
.LC701:
.string "passAsTemplate"
.align 3
.LC702:
.string "dllExport"
.align 3
.LC703:
.string "attrStdcall"
.align 3
.LC704:
.string "declaredWithStruct"
.align 3
.LC705:
.string "typedByReference"
.align 3
.LC706:
.string "casted"
.align 3
.LC707:
.string "pointerAlignment"
.align 3
.LC708:
.string "isLong"
.align 3
.LC709:
.string "signedBeforePromotion"
.align 3
.LC710:
.string "isVector"
.align 3
.LC711:
.string "specConst"
.align 3
.LC712:
.string "isPointerTypeSize"
.align 3
.LC713:
.string "isPointerType"
.align 3
.LC714:
.string "Operand"
.align 3
.LC715:
.string "ptrSize"
.align 3
.LC716:
.string "char"
.align 3
.LC717:
.string "c"
.align 3
.LC718:
.string "byte"
.align 3
.LC719:
.string "uc"
.align 3
.LC720:
.string "short"
.align 3
.LC721:
.string "uint16"
.align 3
.LC722:
.string "us"
.align 3
.LC723:
.string "i"
.align 3
.LC724:
.string "ui"
.align 3
.LC725:
.string "float"
.align 3
.LC726:
.string "f"
.align 3
.LC727:
.string "double"
.align 3
.LC728:
.string "d"
.align 3
.LC729:
.string "int64"
.align 3
.LC730:
.string "i64"
.align 3
.LC731:
.string "ui64"
.align 3
.LC732:
.string "OpTable"
.align 3
.LC733:
.string "ops"
.align 3
.LC734:
.string "bool (*)(Expression, Operand, Operand)"
.align 3
.LC735:
.string "Add"
.align 3
.LC736:
.string "Sub"
.align 3
.LC737:
.string "Mul"
.align 3
.LC738:
.string "Div"
.align 3
.LC739:
.string "Mod"
.align 3
.LC740:
.string "bool (*)(Expression, Operand)"
.align 3
.LC741:
.string "Neg"
.align 3
.LC742:
.string "Inc"
.align 3
.LC743:
.string "Dec"
.align 3
.LC744:
.string "Asign"
.align 3
.LC745:
.string "AddAsign"
.align 3
.LC746:
.string "SubAsign"
.align 3
.LC747:
.string "MulAsign"
.align 3
.LC748:
.string "DivAsign"
.align 3
.LC749:
.string "ModAsign"
.align 3
.LC750:
.string "BitAnd"
.align 3
.LC751:
.string "BitOr"
.align 3
.LC752:
.string "BitXor"
.align 3
.LC753:
.string "LShift"
.align 3
.LC754:
.string "RShift"
.align 3
.LC755:
.string "BitNot"
.align 3
.LC756:
.string "AndAsign"
.align 3
.LC757:
.string "OrAsign"
.align 3
.LC758:
.string "XorAsign"
.align 3
.LC759:
.string "LShiftAsign"
.align 3
.LC760:
.string "RShiftAsign"
.align 3
.LC761:
.string "Not"
.align 3
.LC762:
.string "Equ"
.align 3
.LC763:
.string "Nqu"
.align 3
.LC764:
.string "And"
.align 3
.LC765:
.string "Or"
.align 3
.LC766:
.string "Grt"
.align 3
.LC767:
.string "Sma"
.align 3
.LC768:
.string "GrtEqu"
.align 3
.LC769:
.string "SmaEqu"
.align 3
.LC770:
.string "bool (*)(Expression, Operand, Operand, Operand)"
.align 3
.LC771:
.string "Cond"
.align 3
.LC772:
.string "30"
.align 3
.LC773:
.string "MAX_INCLUDE_DEPTH"
.align 3
.LC774:
.string "void Compiler_Error(const char * format, ...)"
.align 3
.LC775:
.string "Compiler_Error"
.align 3
.LC776:
.string "int GetNumWarnings(void)"
.align 3
.LC777:
.string "GetNumWarnings"
.align 3
.LC778:
.string "void Compiler_Warning(const char * format, ...)"
.align 3
.LC779:
.string "Compiler_Warning"
.align 3
.LC780:
.string "int yyerror(void)"
.align 3
.LC781:
.string "yyerror"
.align 3
.LC782:
.string "int GetHostBits(void)"
.align 3
.LC783:
.string "GetHostBits"
.align 3
.LC784:
.string "void SetTargetPlatform(ecere::com::Platform platform)"
.align 3
.LC785:
.string "SetTargetPlatform"
.align 3
.LC786:
.string "void SetTargetBits(int bits)"
.align 3
.LC787:
.string "SetTargetBits"
.align 3
.LC788:
.string "int GetTargetBits(void)"
.align 3
.LC789:
.string "GetTargetBits"
.text
.align 2
.global __ecereRegisterModule_ecdefs
.type __ecereRegisterModule_ecdefs, %function
__ecereRegisterModule_ecdefs:
.LFB57:
.cfi_startproc
sub sp, sp, #304
.cfi_def_cfa_offset 304
stp x29, x30, [sp, 16]
.cfi_offset 29, -288
.cfi_offset 30, -280
add x29, sp, 16
str x0, [sp, 40]
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC16
add x1, x0, :lo12:.LC16
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L183
ldr x0, [sp, 48]
cmp x0, 0
beq .L183
adrp x0, __ecereClass_TokenType
add x0, x0, :lo12:__ecereClass_TokenType
ldr x1, [sp, 48]
str x1, [x0]
.L183:
mov x2, 258
adrp x0, .LC17
add x1, x0, :lo12:.LC17
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 259
adrp x0, .LC18
add x1, x0, :lo12:.LC18
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 260
adrp x0, .LC19
add x1, x0, :lo12:.LC19
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 261
adrp x0, .LC20
add x1, x0, :lo12:.LC20
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 262
adrp x0, .LC21
add x1, x0, :lo12:.LC21
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 263
adrp x0, .LC22
add x1, x0, :lo12:.LC22
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 264
adrp x0, .LC23
add x1, x0, :lo12:.LC23
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 265
adrp x0, .LC24
add x1, x0, :lo12:.LC24
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 266
adrp x0, .LC25
add x1, x0, :lo12:.LC25
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 267
adrp x0, .LC26
add x1, x0, :lo12:.LC26
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 268
adrp x0, .LC27
add x1, x0, :lo12:.LC27
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 269
adrp x0, .LC28
add x1, x0, :lo12:.LC28
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 270
adrp x0, .LC29
add x1, x0, :lo12:.LC29
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 271
adrp x0, .LC30
add x1, x0, :lo12:.LC30
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 272
adrp x0, .LC31
add x1, x0, :lo12:.LC31
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 273
adrp x0, .LC32
add x1, x0, :lo12:.LC32
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 274
adrp x0, .LC33
add x1, x0, :lo12:.LC33
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 275
adrp x0, .LC34
add x1, x0, :lo12:.LC34
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 276
adrp x0, .LC35
add x1, x0, :lo12:.LC35
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 277
adrp x0, .LC36
add x1, x0, :lo12:.LC36
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 278
adrp x0, .LC37
add x1, x0, :lo12:.LC37
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 279
adrp x0, .LC38
add x1, x0, :lo12:.LC38
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 280
adrp x0, .LC39
add x1, x0, :lo12:.LC39
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 281
adrp x0, .LC40
add x1, x0, :lo12:.LC40
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 282
adrp x0, .LC41
add x1, x0, :lo12:.LC41
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 283
adrp x0, .LC42
add x1, x0, :lo12:.LC42
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 284
adrp x0, .LC43
add x1, x0, :lo12:.LC43
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 285
adrp x0, .LC44
add x1, x0, :lo12:.LC44
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 286
adrp x0, .LC45
add x1, x0, :lo12:.LC45
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 287
adrp x0, .LC46
add x1, x0, :lo12:.LC46
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 288
adrp x0, .LC47
add x1, x0, :lo12:.LC47
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 289
adrp x0, .LC48
add x1, x0, :lo12:.LC48
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 290
adrp x0, .LC49
add x1, x0, :lo12:.LC49
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 291
adrp x0, .LC50
add x1, x0, :lo12:.LC50
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 292
adrp x0, .LC51
add x1, x0, :lo12:.LC51
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 293
adrp x0, .LC52
add x1, x0, :lo12:.LC52
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 294
adrp x0, .LC53
add x1, x0, :lo12:.LC53
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 295
adrp x0, .LC54
add x1, x0, :lo12:.LC54
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 296
adrp x0, .LC55
add x1, x0, :lo12:.LC55
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 297
adrp x0, .LC56
add x1, x0, :lo12:.LC56
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 298
adrp x0, .LC57
add x1, x0, :lo12:.LC57
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 299
adrp x0, .LC58
add x1, x0, :lo12:.LC58
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 300
adrp x0, .LC59
add x1, x0, :lo12:.LC59
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 301
adrp x0, .LC60
add x1, x0, :lo12:.LC60
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 302
adrp x0, .LC61
add x1, x0, :lo12:.LC61
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 303
adrp x0, .LC62
add x1, x0, :lo12:.LC62
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 304
adrp x0, .LC63
add x1, x0, :lo12:.LC63
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 305
adrp x0, .LC64
add x1, x0, :lo12:.LC64
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 306
adrp x0, .LC65
add x1, x0, :lo12:.LC65
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 307
adrp x0, .LC66
add x1, x0, :lo12:.LC66
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 308
adrp x0, .LC67
add x1, x0, :lo12:.LC67
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 309
adrp x0, .LC68
add x1, x0, :lo12:.LC68
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 310
adrp x0, .LC69
add x1, x0, :lo12:.LC69
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 311
adrp x0, .LC70
add x1, x0, :lo12:.LC70
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 312
adrp x0, .LC71
add x1, x0, :lo12:.LC71
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 313
adrp x0, .LC72
add x1, x0, :lo12:.LC72
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 314
adrp x0, .LC73
add x1, x0, :lo12:.LC73
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 315
adrp x0, .LC74
add x1, x0, :lo12:.LC74
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 316
adrp x0, .LC75
add x1, x0, :lo12:.LC75
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 317
adrp x0, .LC76
add x1, x0, :lo12:.LC76
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 318
adrp x0, .LC77
add x1, x0, :lo12:.LC77
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 319
adrp x0, .LC78
add x1, x0, :lo12:.LC78
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 320
adrp x0, .LC79
add x1, x0, :lo12:.LC79
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 321
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 322
adrp x0, .LC81
add x1, x0, :lo12:.LC81
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 323
adrp x0, .LC82
add x1, x0, :lo12:.LC82
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 324
adrp x0, .LC83
add x1, x0, :lo12:.LC83
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 325
adrp x0, .LC84
add x1, x0, :lo12:.LC84
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 326
adrp x0, .LC85
add x1, x0, :lo12:.LC85
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 327
adrp x0, .LC86
add x1, x0, :lo12:.LC86
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 328
adrp x0, .LC87
add x1, x0, :lo12:.LC87
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 329
adrp x0, .LC88
add x1, x0, :lo12:.LC88
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 330
adrp x0, .LC89
add x1, x0, :lo12:.LC89
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 331
adrp x0, .LC90
add x1, x0, :lo12:.LC90
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 332
adrp x0, .LC91
add x1, x0, :lo12:.LC91
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 333
adrp x0, .LC92
add x1, x0, :lo12:.LC92
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 334
adrp x0, .LC93
add x1, x0, :lo12:.LC93
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 335
adrp x0, .LC94
add x1, x0, :lo12:.LC94
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 336
adrp x0, .LC95
add x1, x0, :lo12:.LC95
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 337
adrp x0, .LC96
add x1, x0, :lo12:.LC96
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 338
adrp x0, .LC97
add x1, x0, :lo12:.LC97
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 339
adrp x0, .LC98
add x1, x0, :lo12:.LC98
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 340
adrp x0, .LC99
add x1, x0, :lo12:.LC99
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 341
adrp x0, .LC100
add x1, x0, :lo12:.LC100
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 342
adrp x0, .LC101
add x1, x0, :lo12:.LC101
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 343
adrp x0, .LC102
add x1, x0, :lo12:.LC102
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 344
adrp x0, .LC103
add x1, x0, :lo12:.LC103
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 345
adrp x0, .LC104
add x1, x0, :lo12:.LC104
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 346
adrp x0, .LC105
add x1, x0, :lo12:.LC105
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 347
adrp x0, .LC106
add x1, x0, :lo12:.LC106
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 348
adrp x0, .LC107
add x1, x0, :lo12:.LC107
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 349
adrp x0, .LC108
add x1, x0, :lo12:.LC108
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 350
adrp x0, .LC109
add x1, x0, :lo12:.LC109
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 351
adrp x0, .LC110
add x1, x0, :lo12:.LC110
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 352
adrp x0, .LC111
add x1, x0, :lo12:.LC111
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 353
adrp x0, .LC112
add x1, x0, :lo12:.LC112
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 354
adrp x0, .LC113
add x1, x0, :lo12:.LC113
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 355
adrp x0, .LC114
add x1, x0, :lo12:.LC114
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 356
adrp x0, .LC115
add x1, x0, :lo12:.LC115
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 357
adrp x0, .LC116
add x1, x0, :lo12:.LC116
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 358
adrp x0, .LC117
add x1, x0, :lo12:.LC117
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 359
adrp x0, .LC118
add x1, x0, :lo12:.LC118
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 360
adrp x0, .LC119
add x1, x0, :lo12:.LC119
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 361
adrp x0, .LC120
add x1, x0, :lo12:.LC120
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 362
adrp x0, .LC121
add x1, x0, :lo12:.LC121
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 363
adrp x0, .LC122
add x1, x0, :lo12:.LC122
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 364
adrp x0, .LC123
add x1, x0, :lo12:.LC123
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 365
adrp x0, .LC124
add x1, x0, :lo12:.LC124
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 366
adrp x0, .LC125
add x1, x0, :lo12:.LC125
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 367
adrp x0, .LC126
add x1, x0, :lo12:.LC126
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 368
adrp x0, .LC127
add x1, x0, :lo12:.LC127
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 369
adrp x0, .LC128
add x1, x0, :lo12:.LC128
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 370
adrp x0, .LC129
add x1, x0, :lo12:.LC129
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 371
adrp x0, .LC130
add x1, x0, :lo12:.LC130
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 372
adrp x0, .LC131
add x1, x0, :lo12:.LC131
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 373
adrp x0, .LC132
add x1, x0, :lo12:.LC132
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 2
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC133
add x1, x0, :lo12:.LC133
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L184
ldr x0, [sp, 48]
cmp x0, 0
beq .L184
adrp x0, __ecereClass_Order
add x0, x0, :lo12:__ecereClass_Order
ldr x1, [sp, 48]
str x1, [x0]
.L184:
mov x2, 0
adrp x0, .LC134
add x1, x0, :lo12:.LC134
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC135
add x1, x0, :lo12:.LC135
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 32
mov x2, 0
adrp x0, .LC136
add x1, x0, :lo12:.LC136
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L185
ldr x0, [sp, 48]
cmp x0, 0
beq .L185
adrp x0, __ecereClass_DBTableDef
add x0, x0, :lo12:__ecereClass_DBTableDef
ldr x1, [sp, 48]
str x1, [x0]
.L185:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC140
add x1, x0, :lo12:.LC140
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC142
add x1, x0, :lo12:.LC142
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC143
add x2, x0, :lo12:.LC143
adrp x0, .LC144
add x1, x0, :lo12:.LC144
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 2
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC145
add x1, x0, :lo12:.LC145
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L186
ldr x0, [sp, 48]
cmp x0, 0
beq .L186
adrp x0, __ecereClass_DBTableEntryType
add x0, x0, :lo12:__ecereClass_DBTableEntryType
ldr x1, [sp, 48]
str x1, [x0]
.L186:
mov x2, 0
adrp x0, .LC146
add x1, x0, :lo12:.LC146
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC147
add x1, x0, :lo12:.LC147
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 2
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 48
mov x2, 0
adrp x0, .LC148
add x1, x0, :lo12:.LC148
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L187
ldr x0, [sp, 48]
cmp x0, 0
beq .L187
adrp x0, __ecereClass_DBTableEntry
add x0, x0, :lo12:__ecereClass_DBTableEntry
ldr x1, [sp, 48]
str x1, [x0]
.L187:
mov w0, 1
str w0, [sp, 8]
mov w0, 2
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 32
mov x2, 0
adrp x0, .LC149
add x1, x0, :lo12:.LC149
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L188
ldr x0, [sp, 48]
cmp x0, 0
beq .L188
adrp x0, __ecereClass_DBIndexItem
add x0, x0, :lo12:__ecereClass_DBIndexItem
ldr x1, [sp, 48]
str x1, [x0]
.L188:
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetInCompiler
add x2, x0, :lo12:SetInCompiler
adrp x0, .LC150
add x1, x0, :lo12:.LC150
adrp x0, .LC151
add x0, x0, :lo12:.LC151
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetInDebugger
add x2, x0, :lo12:SetInDebugger
adrp x0, .LC152
add x1, x0, :lo12:.LC152
adrp x0, .LC153
add x0, x0, :lo12:.LC153
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetPrivateModule
add x2, x0, :lo12:SetPrivateModule
adrp x0, .LC154
add x1, x0, :lo12:.LC154
adrp x0, .LC155
add x0, x0, :lo12:.LC155
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetPrivateModule
add x2, x0, :lo12:GetPrivateModule
adrp x0, .LC156
add x1, x0, :lo12:.LC156
adrp x0, .LC157
add x0, x0, :lo12:.LC157
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetMainModule
add x2, x0, :lo12:SetMainModule
adrp x0, .LC158
add x1, x0, :lo12:.LC158
adrp x0, .LC159
add x0, x0, :lo12:.LC159
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetMainModule
add x2, x0, :lo12:GetMainModule
adrp x0, .LC160
add x1, x0, :lo12:.LC160
adrp x0, .LC161
add x0, x0, :lo12:.LC161
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetFileInput
add x2, x0, :lo12:SetFileInput
adrp x0, .LC162
add x1, x0, :lo12:.LC162
adrp x0, .LC163
add x0, x0, :lo12:.LC163
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetSymbolsDir
add x2, x0, :lo12:SetSymbolsDir
adrp x0, .LC164
add x1, x0, :lo12:.LC164
adrp x0, .LC165
add x0, x0, :lo12:.LC165
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetSymbolsDir
add x2, x0, :lo12:GetSymbolsDir
adrp x0, .LC166
add x1, x0, :lo12:.LC166
adrp x0, .LC167
add x0, x0, :lo12:.LC167
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetOutputFile
add x2, x0, :lo12:SetOutputFile
adrp x0, .LC168
add x1, x0, :lo12:.LC168
adrp x0, .LC169
add x0, x0, :lo12:.LC169
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetOutputFile
add x2, x0, :lo12:GetOutputFile
adrp x0, .LC170
add x1, x0, :lo12:.LC170
adrp x0, .LC171
add x0, x0, :lo12:.LC171
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetSourceFile
add x2, x0, :lo12:SetSourceFile
adrp x0, .LC172
add x1, x0, :lo12:.LC172
adrp x0, .LC173
add x0, x0, :lo12:.LC173
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetSourceFile
add x2, x0, :lo12:GetSourceFile
adrp x0, .LC174
add x1, x0, :lo12:.LC174
adrp x0, .LC175
add x0, x0, :lo12:.LC175
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetI18nModuleName
add x2, x0, :lo12:SetI18nModuleName
adrp x0, .LC176
add x1, x0, :lo12:.LC176
adrp x0, .LC177
add x0, x0, :lo12:.LC177
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetI18nModuleName
add x2, x0, :lo12:GetI18nModuleName
adrp x0, .LC178
add x1, x0, :lo12:.LC178
adrp x0, .LC179
add x0, x0, :lo12:.LC179
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetGlobalContext
add x2, x0, :lo12:SetGlobalContext
adrp x0, .LC180
add x1, x0, :lo12:.LC180
adrp x0, .LC181
add x0, x0, :lo12:.LC181
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetGlobalContext
add x2, x0, :lo12:GetGlobalContext
adrp x0, .LC182
add x1, x0, :lo12:.LC182
adrp x0, .LC183
add x0, x0, :lo12:.LC183
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetTopContext
add x2, x0, :lo12:SetTopContext
adrp x0, .LC184
add x1, x0, :lo12:.LC184
adrp x0, .LC185
add x0, x0, :lo12:.LC185
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetTopContext
add x2, x0, :lo12:GetTopContext
adrp x0, .LC186
add x1, x0, :lo12:.LC186
adrp x0, .LC187
add x0, x0, :lo12:.LC187
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetCurrentContext
add x2, x0, :lo12:SetCurrentContext
adrp x0, .LC188
add x1, x0, :lo12:.LC188
adrp x0, .LC189
add x0, x0, :lo12:.LC189
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetCurrentContext
add x2, x0, :lo12:GetCurrentContext
adrp x0, .LC190
add x1, x0, :lo12:.LC190
adrp x0, .LC191
add x0, x0, :lo12:.LC191
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetExcludedSymbols
add x2, x0, :lo12:SetExcludedSymbols
adrp x0, .LC192
add x1, x0, :lo12:.LC192
adrp x0, .LC193
add x0, x0, :lo12:.LC193
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetImports
add x2, x0, :lo12:SetImports
adrp x0, .LC194
add x1, x0, :lo12:.LC194
adrp x0, .LC195
add x0, x0, :lo12:.LC195
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetDefines
add x2, x0, :lo12:SetDefines
adrp x0, .LC196
add x1, x0, :lo12:.LC196
adrp x0, .LC197
add x0, x0, :lo12:.LC197
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetOutputLineNumbers
add x2, x0, :lo12:SetOutputLineNumbers
adrp x0, .LC198
add x1, x0, :lo12:.LC198
adrp x0, .LC199
add x0, x0, :lo12:.LC199
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, FixModuleName
add x2, x0, :lo12:FixModuleName
adrp x0, .LC200
add x1, x0, :lo12:.LC200
adrp x0, .LC201
add x0, x0, :lo12:.LC201
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, PassArg
add x2, x0, :lo12:PassArg
adrp x0, .LC202
add x1, x0, :lo12:.LC202
adrp x0, .LC203
add x0, x0, :lo12:.LC203
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 80
adrp x0, .LC204
add x2, x0, :lo12:.LC204
adrp x0, .LC205
add x1, x0, :lo12:.LC205
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L189
ldr x0, [sp, 48]
cmp x0, 0
beq .L189
adrp x0, __ecereClass_GlobalData
add x0, x0, :lo12:__ecereClass_GlobalData
ldr x1, [sp, 48]
str x1, [x0]
.L189:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC206
add x2, x0, :lo12:.LC206
adrp x0, .LC207
add x1, x0, :lo12:.LC207
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC208
add x1, x0, :lo12:.LC208
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC210
add x1, x0, :lo12:.LC210
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC211
add x2, x0, :lo12:.LC211
adrp x0, .LC140
add x1, x0, :lo12:.LC140
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC212
add x1, x0, :lo12:.LC212
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 48
adrp x0, .LC204
add x2, x0, :lo12:.LC204
adrp x0, .LC213
add x1, x0, :lo12:.LC213
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L190
ldr x0, [sp, 48]
cmp x0, 0
beq .L190
adrp x0, __ecereClass_TemplatedType
add x0, x0, :lo12:__ecereClass_TemplatedType
ldr x1, [sp, 48]
str x1, [x0]
.L190:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC214
add x2, x0, :lo12:.LC214
adrp x0, .LC215
add x1, x0, :lo12:.LC215
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 2
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 3088
mov x2, 0
adrp x0, .LC216
add x1, x0, :lo12:.LC216
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L191
ldr x0, [sp, 48]
cmp x0, 0
beq .L191
adrp x0, __ecereClass_DataRedefinition
add x0, x0, :lo12:__ecereClass_DataRedefinition
ldr x1, [sp, 48]
str x1, [x0]
.L191:
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 16
mov x2, 0
adrp x0, .LC217
add x1, x0, :lo12:.LC217
mov w0, 1
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L192
ldr x0, [sp, 48]
cmp x0, 0
beq .L192
adrp x0, __ecereClass_CodePosition
add x0, x0, :lo12:__ecereClass_CodePosition
ldr x1, [sp, 48]
str x1, [x0]
.L192:
mov w4, 1
adrp x0, __ecereMethod_CodePosition_AdjustAdd
add x3, x0, :lo12:__ecereMethod_CodePosition_AdjustAdd
adrp x0, .LC218
add x2, x0, :lo12:.LC218
adrp x0, .LC219
add x1, x0, :lo12:.LC219
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMethod
mov w4, 1
adrp x0, __ecereMethod_CodePosition_AdjustDelete
add x3, x0, :lo12:__ecereMethod_CodePosition_AdjustDelete
adrp x0, .LC220
add x2, x0, :lo12:.LC220
adrp x0, .LC221
add x1, x0, :lo12:.LC221
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMethod
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC223
add x1, x0, :lo12:.LC223
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC224
add x1, x0, :lo12:.LC224
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC225
add x1, x0, :lo12:.LC225
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC226
add x1, x0, :lo12:.LC226
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 32
mov x2, 0
adrp x0, .LC227
add x1, x0, :lo12:.LC227
mov w0, 1
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L193
ldr x0, [sp, 48]
cmp x0, 0
beq .L193
adrp x0, __ecereClass_Location
add x0, x0, :lo12:__ecereClass_Location
ldr x1, [sp, 48]
str x1, [x0]
.L193:
mov w4, 1
adrp x0, __ecereMethod_Location_Inside
add x3, x0, :lo12:__ecereMethod_Location_Inside
adrp x0, .LC228
add x2, x0, :lo12:.LC228
adrp x0, .LC229
add x1, x0, :lo12:.LC229
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMethod
mov w5, 1
mov w4, 4
mov w3, 16
adrp x0, .LC217
add x2, x0, :lo12:.LC217
adrp x0, .LC230
add x1, x0, :lo12:.LC230
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 16
adrp x0, .LC217
add x2, x0, :lo12:.LC217
adrp x0, .LC231
add x1, x0, :lo12:.LC231
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC232
add x1, x0, :lo12:.LC232
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L194
ldr x0, [sp, 48]
cmp x0, 0
beq .L194
adrp x0, __ecereClass_DefinitionType
add x0, x0, :lo12:__ecereClass_DefinitionType
ldr x1, [sp, 48]
str x1, [x0]
.L194:
mov x2, 0
adrp x0, .LC233
add x1, x0, :lo12:.LC233
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC234
add x1, x0, :lo12:.LC234
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC235
add x1, x0, :lo12:.LC235
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC236
add x1, x0, :lo12:.LC236
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 4
adrp x0, .LC237
add x1, x0, :lo12:.LC237
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 32
mov x2, 0
adrp x0, .LC238
add x1, x0, :lo12:.LC238
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L195
ldr x0, [sp, 48]
cmp x0, 0
beq .L195
adrp x0, __ecereClass_Definition
add x0, x0, :lo12:__ecereClass_Definition
ldr x1, [sp, 48]
str x1, [x0]
.L195:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC238
add x2, x0, :lo12:.LC238
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC238
add x2, x0, :lo12:.LC238
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC232
add x2, x0, :lo12:.LC232
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 48
mov x2, 0
adrp x0, .LC242
add x1, x0, :lo12:.LC242
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L196
ldr x0, [sp, 48]
cmp x0, 0
beq .L196
adrp x0, __ecereClass_ImportedModule
add x0, x0, :lo12:__ecereClass_ImportedModule
ldr x1, [sp, 48]
str x1, [x0]
.L196:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC242
add x2, x0, :lo12:.LC242
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC242
add x2, x0, :lo12:.LC242
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC232
add x2, x0, :lo12:.LC232
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC243
add x2, x0, :lo12:.LC243
adrp x0, .LC244
add x1, x0, :lo12:.LC244
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC246
add x1, x0, :lo12:.LC246
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC247
add x1, x0, :lo12:.LC247
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC143
add x2, x0, :lo12:.LC143
adrp x0, .LC248
add x1, x0, :lo12:.LC248
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 80
mov x2, 0
adrp x0, .LC249
add x1, x0, :lo12:.LC249
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L197
ldr x0, [sp, 48]
cmp x0, 0
beq .L197
adrp x0, __ecereClass_Identifier
add x0, x0, :lo12:__ecereClass_Identifier
ldr x1, [sp, 48]
str x1, [x0]
.L197:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC251
add x1, x0, :lo12:.LC251
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC252
add x2, x0, :lo12:.LC252
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC253
add x1, x0, :lo12:.LC253
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC254
add x1, x0, :lo12:.LC254
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC255
add x1, x0, :lo12:.LC255
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L198
ldr x0, [sp, 48]
cmp x0, 0
beq .L198
adrp x0, __ecereClass_ExpressionType
add x0, x0, :lo12:__ecereClass_ExpressionType
ldr x1, [sp, 48]
str x1, [x0]
.L198:
mov x2, 0
adrp x0, .LC256
add x1, x0, :lo12:.LC256
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC257
add x1, x0, :lo12:.LC257
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC258
add x1, x0, :lo12:.LC258
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC259
add x1, x0, :lo12:.LC259
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 4
adrp x0, .LC260
add x1, x0, :lo12:.LC260
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 5
adrp x0, .LC261
add x1, x0, :lo12:.LC261
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 6
adrp x0, .LC262
add x1, x0, :lo12:.LC262
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 7
adrp x0, .LC263
add x1, x0, :lo12:.LC263
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 8
adrp x0, .LC264
add x1, x0, :lo12:.LC264
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 9
adrp x0, .LC265
add x1, x0, :lo12:.LC265
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 10
adrp x0, .LC266
add x1, x0, :lo12:.LC266
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 11
adrp x0, .LC267
add x1, x0, :lo12:.LC267
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 12
adrp x0, .LC268
add x1, x0, :lo12:.LC268
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 13
adrp x0, .LC269
add x1, x0, :lo12:.LC269
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 14
adrp x0, .LC270
add x1, x0, :lo12:.LC270
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 15
adrp x0, .LC271
add x1, x0, :lo12:.LC271
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 16
adrp x0, .LC272
add x1, x0, :lo12:.LC272
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 17
adrp x0, .LC273
add x1, x0, :lo12:.LC273
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 18
adrp x0, .LC274
add x1, x0, :lo12:.LC274
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 19
adrp x0, .LC275
add x1, x0, :lo12:.LC275
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 20
adrp x0, .LC276
add x1, x0, :lo12:.LC276
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 21
adrp x0, .LC277
add x1, x0, :lo12:.LC277
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 22
adrp x0, .LC278
add x1, x0, :lo12:.LC278
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 23
adrp x0, .LC279
add x1, x0, :lo12:.LC279
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 24
adrp x0, .LC280
add x1, x0, :lo12:.LC280
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 25
adrp x0, .LC281
add x1, x0, :lo12:.LC281
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 26
adrp x0, .LC282
add x1, x0, :lo12:.LC282
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 27
adrp x0, .LC283
add x1, x0, :lo12:.LC283
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 28
adrp x0, .LC284
add x1, x0, :lo12:.LC284
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 29
adrp x0, .LC285
add x1, x0, :lo12:.LC285
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 30
adrp x0, .LC286
add x1, x0, :lo12:.LC286
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 31
adrp x0, .LC287
add x1, x0, :lo12:.LC287
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 32
adrp x0, .LC288
add x1, x0, :lo12:.LC288
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 33
adrp x0, .LC289
add x1, x0, :lo12:.LC289
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 34
adrp x0, .LC290
add x1, x0, :lo12:.LC290
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 35
adrp x0, .LC291
add x1, x0, :lo12:.LC291
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 36
adrp x0, .LC292
add x1, x0, :lo12:.LC292
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 37
adrp x0, .LC293
add x1, x0, :lo12:.LC293
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 38
adrp x0, .LC294
add x1, x0, :lo12:.LC294
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 39
adrp x0, .LC295
add x1, x0, :lo12:.LC295
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 40
adrp x0, .LC296
add x1, x0, :lo12:.LC296
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC297
add x1, x0, :lo12:.LC297
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L199
ldr x0, [sp, 48]
cmp x0, 0
beq .L199
adrp x0, __ecereClass_MemberType
add x0, x0, :lo12:__ecereClass_MemberType
ldr x1, [sp, 48]
str x1, [x0]
.L199:
mov x2, 0
adrp x0, .LC298
add x1, x0, :lo12:.LC298
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC299
add x1, x0, :lo12:.LC299
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC300
add x1, x0, :lo12:.LC300
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC301
add x1, x0, :lo12:.LC301
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 4
adrp x0, .LC302
add x1, x0, :lo12:.LC302
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 5
adrp x0, .LC303
add x1, x0, :lo12:.LC303
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC304
add x1, x0, :lo12:.LC304
mov w0, 2
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L200
ldr x0, [sp, 48]
cmp x0, 0
beq .L200
adrp x0, __ecereClass_ExpUsage
add x0, x0, :lo12:__ecereClass_ExpUsage
ldr x1, [sp, 48]
str x1, [x0]
.L200:
mov w5, 1
mov w4, 0
mov w3, 1
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC305
add x1, x0, :lo12:.LC305
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddBitMember
mov w5, 1
mov w4, 1
mov w3, 1
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC306
add x1, x0, :lo12:.LC306
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddBitMember
mov w5, 1
mov w4, 2
mov w3, 1
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC307
add x1, x0, :lo12:.LC307
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddBitMember
mov w5, 1
mov w4, 3
mov w3, 1
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC308
add x1, x0, :lo12:.LC308
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddBitMember
mov w5, 1
mov w4, 4
mov w3, 1
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC309
add x1, x0, :lo12:.LC309
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddBitMember
mov w5, 1
mov w4, 5
mov w3, 1
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC310
add x1, x0, :lo12:.LC310
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddBitMember
mov w5, 1
mov w4, 6
mov w3, 1
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC311
add x1, x0, :lo12:.LC311
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddBitMember
mov w5, 1
mov w4, 7
mov w3, 1
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC312
add x1, x0, :lo12:.LC312
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddBitMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 96
mov x2, 0
adrp x0, .LC214
add x1, x0, :lo12:.LC214
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L201
ldr x0, [sp, 48]
cmp x0, 0
beq .L201
adrp x0, __ecereClass_TemplateParameter
add x0, x0, :lo12:__ecereClass_TemplateParameter
ldr x1, [sp, 48]
str x1, [x0]
.L201:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC214
add x2, x0, :lo12:.LC214
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC214
add x2, x0, :lo12:.LC214
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC313
add x2, x0, :lo12:.LC313
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC17
add x1, x0, :lo12:.LC17
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 56]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC314
add x2, x0, :lo12:.LC314
adrp x0, .LC210
add x1, x0, :lo12:.LC210
ldr x0, [sp, 56]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC315
add x2, x0, :lo12:.LC315
adrp x0, .LC316
add x1, x0, :lo12:.LC316
ldr x0, [sp, 56]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 56]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC317
add x2, x0, :lo12:.LC317
adrp x0, .LC318
add x1, x0, :lo12:.LC318
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC319
add x2, x0, :lo12:.LC319
adrp x0, .LC208
add x1, x0, :lo12:.LC208
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC320
add x1, x0, :lo12:.LC320
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 16
mov x2, 0
adrp x0, .LC314
add x1, x0, :lo12:.LC314
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L202
ldr x0, [sp, 48]
cmp x0, 0
beq .L202
adrp x0, __ecereClass_TemplateDatatype
add x0, x0, :lo12:__ecereClass_TemplateDatatype
ldr x1, [sp, 48]
str x1, [x0]
.L202:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC321
add x1, x0, :lo12:.LC321
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC322
add x2, x0, :lo12:.LC322
adrp x0, .LC323
add x1, x0, :lo12:.LC323
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 72
mov x2, 0
adrp x0, .LC317
add x1, x0, :lo12:.LC317
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L203
ldr x0, [sp, 48]
cmp x0, 0
beq .L203
adrp x0, __ecereClass_TemplateArgument
add x0, x0, :lo12:__ecereClass_TemplateArgument
ldr x1, [sp, 48]
str x1, [x0]
.L203:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC317
add x2, x0, :lo12:.LC317
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC317
add x2, x0, :lo12:.LC317
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC313
add x2, x0, :lo12:.LC313
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 64]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC325
add x1, x0, :lo12:.LC325
ldr x0, [sp, 64]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC17
add x1, x0, :lo12:.LC17
ldr x0, [sp, 64]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC314
add x2, x0, :lo12:.LC314
adrp x0, .LC326
add x1, x0, :lo12:.LC326
ldr x0, [sp, 64]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 64]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC327
add x1, x0, :lo12:.LC327
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L204
ldr x0, [sp, 48]
cmp x0, 0
beq .L204
adrp x0, __ecereClass_SpecifierType
add x0, x0, :lo12:__ecereClass_SpecifierType
ldr x1, [sp, 48]
str x1, [x0]
.L204:
mov x2, 0
adrp x0, .LC328
add x1, x0, :lo12:.LC328
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC329
add x1, x0, :lo12:.LC329
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC330
add x1, x0, :lo12:.LC330
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC331
add x1, x0, :lo12:.LC331
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 4
adrp x0, .LC332
add x1, x0, :lo12:.LC332
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 5
adrp x0, .LC333
add x1, x0, :lo12:.LC333
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 6
adrp x0, .LC334
add x1, x0, :lo12:.LC334
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 7
adrp x0, .LC335
add x1, x0, :lo12:.LC335
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 8
adrp x0, .LC336
add x1, x0, :lo12:.LC336
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 112
mov x2, 0
adrp x0, .LC252
add x1, x0, :lo12:.LC252
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L205
ldr x0, [sp, 48]
cmp x0, 0
beq .L205
adrp x0, __ecereClass_Specifier
add x0, x0, :lo12:__ecereClass_Specifier
ldr x1, [sp, 48]
str x1, [x0]
.L205:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC252
add x2, x0, :lo12:.LC252
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC252
add x2, x0, :lo12:.LC252
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC327
add x2, x0, :lo12:.LC327
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 72]
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC337
add x1, x0, :lo12:.LC337
ldr x0, [sp, 72]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 80]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC338
add x2, x0, :lo12:.LC338
adrp x0, .LC339
add x1, x0, :lo12:.LC339
ldr x0, [sp, 80]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 80]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC140
add x1, x0, :lo12:.LC140
ldr x0, [sp, 80]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC340
add x1, x0, :lo12:.LC340
ldr x0, [sp, 80]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC252
add x2, x0, :lo12:.LC252
adrp x0, .LC341
add x1, x0, :lo12:.LC341
ldr x0, [sp, 80]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 80]
ldr x0, [sp, 72]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 88]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC342
add x1, x0, :lo12:.LC342
ldr x0, [sp, 88]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC343
add x1, x0, :lo12:.LC343
ldr x0, [sp, 88]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC344
add x1, x0, :lo12:.LC344
ldr x0, [sp, 88]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC142
add x1, x0, :lo12:.LC142
ldr x0, [sp, 88]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC345
add x1, x0, :lo12:.LC345
ldr x0, [sp, 88]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC346
add x2, x0, :lo12:.LC346
adrp x0, .LC347
add x1, x0, :lo12:.LC347
ldr x0, [sp, 88]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC338
add x2, x0, :lo12:.LC338
adrp x0, .LC348
add x1, x0, :lo12:.LC348
ldr x0, [sp, 88]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 88]
ldr x0, [sp, 72]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC325
add x1, x0, :lo12:.LC325
ldr x0, [sp, 72]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC252
add x2, x0, :lo12:.LC252
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 72]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC214
add x2, x0, :lo12:.LC214
adrp x0, .LC349
add x1, x0, :lo12:.LC349
ldr x0, [sp, 72]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 72]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 64
mov x2, 0
adrp x0, .LC350
add x1, x0, :lo12:.LC350
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L206
ldr x0, [sp, 48]
cmp x0, 0
beq .L206
adrp x0, __ecereClass_Attribute
add x0, x0, :lo12:__ecereClass_Attribute
ldr x1, [sp, 48]
str x1, [x0]
.L206:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC350
add x2, x0, :lo12:.LC350
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC350
add x2, x0, :lo12:.LC350
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC351
add x2, x0, :lo12:.LC351
adrp x0, .LC352
add x1, x0, :lo12:.LC352
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC353
add x1, x0, :lo12:.LC353
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 48
mov x2, 0
adrp x0, .LC354
add x1, x0, :lo12:.LC354
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L207
ldr x0, [sp, 48]
cmp x0, 0
beq .L207
adrp x0, __ecereClass_Attrib
add x0, x0, :lo12:__ecereClass_Attrib
ldr x1, [sp, 48]
str x1, [x0]
.L207:
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC355
add x1, x0, :lo12:.LC355
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 48
mov x2, 0
adrp x0, .LC338
add x1, x0, :lo12:.LC338
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L208
ldr x0, [sp, 48]
cmp x0, 0
beq .L208
adrp x0, __ecereClass_ExtDecl
add x0, x0, :lo12:__ecereClass_ExtDecl
ldr x1, [sp, 48]
str x1, [x0]
.L208:
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC356
add x2, x0, :lo12:.LC356
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 96]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC351
add x2, x0, :lo12:.LC351
adrp x0, .LC357
add x1, x0, :lo12:.LC357
ldr x0, [sp, 96]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC354
add x2, x0, :lo12:.LC354
adrp x0, .LC352
add x1, x0, :lo12:.LC352
ldr x0, [sp, 96]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 96]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC356
add x1, x0, :lo12:.LC356
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L209
ldr x0, [sp, 48]
cmp x0, 0
beq .L209
adrp x0, __ecereClass_ExtDeclType
add x0, x0, :lo12:__ecereClass_ExtDeclType
ldr x1, [sp, 48]
str x1, [x0]
.L209:
mov x2, 0
adrp x0, .LC358
add x1, x0, :lo12:.LC358
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC359
add x1, x0, :lo12:.LC359
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 200
mov x2, 0
adrp x0, .LC324
add x1, x0, :lo12:.LC324
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L210
ldr x0, [sp, 48]
cmp x0, 0
beq .L210
adrp x0, __ecereClass_Expression
add x0, x0, :lo12:__ecereClass_Expression
ldr x1, [sp, 48]
str x1, [x0]
.L210:
mov w4, 1
adrp x0, __ecereMethod_Expression_Clear
add x3, x0, :lo12:__ecereMethod_Expression_Clear
adrp x0, .LC360
add x2, x0, :lo12:.LC360
adrp x0, .LC361
add x1, x0, :lo12:.LC361
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMethod
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC255
add x2, x0, :lo12:.LC255
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 104]
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 112]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC18
add x1, x0, :lo12:.LC18
ldr x0, [sp, 112]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC17
add x1, x0, :lo12:.LC17
ldr x0, [sp, 112]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 112]
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC362
add x2, x0, :lo12:.LC362
adrp x0, .LC363
add x1, x0, :lo12:.LC363
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC364
add x2, x0, :lo12:.LC364
adrp x0, .LC365
add x1, x0, :lo12:.LC365
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 120]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC253
add x1, x0, :lo12:.LC253
ldr x0, [sp, 120]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC366
add x1, x0, :lo12:.LC366
ldr x0, [sp, 120]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC367
add x1, x0, :lo12:.LC367
ldr x0, [sp, 120]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 120]
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC343
add x1, x0, :lo12:.LC343
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC368
add x2, x0, :lo12:.LC368
adrp x0, .LC369
add x1, x0, :lo12:.LC369
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC370
add x2, x0, :lo12:.LC370
adrp x0, .LC113
add x1, x0, :lo12:.LC113
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 48
adrp x0, .LC371
add x2, x0, :lo12:.LC371
adrp x0, .LC372
add x1, x0, :lo12:.LC372
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC373
add x2, x0, :lo12:.LC373
adrp x0, .LC374
add x1, x0, :lo12:.LC374
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 24
adrp x0, .LC375
add x2, x0, :lo12:.LC375
adrp x0, .LC376
add x1, x0, :lo12:.LC376
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 24
adrp x0, .LC377
add x2, x0, :lo12:.LC377
adrp x0, .LC378
add x1, x0, :lo12:.LC378
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC379
add x2, x0, :lo12:.LC379
adrp x0, .LC42
add x1, x0, :lo12:.LC42
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC252
add x2, x0, :lo12:.LC252
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC380
add x2, x0, :lo12:.LC380
adrp x0, .LC381
add x1, x0, :lo12:.LC381
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 24
adrp x0, .LC382
add x2, x0, :lo12:.LC382
adrp x0, .LC383
add x1, x0, :lo12:.LC383
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC384
add x2, x0, :lo12:.LC384
adrp x0, .LC385
add x1, x0, :lo12:.LC385
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 24
adrp x0, .LC386
add x2, x0, :lo12:.LC386
adrp x0, .LC87
add x1, x0, :lo12:.LC87
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC387
add x2, x0, :lo12:.LC387
adrp x0, .LC388
add x1, x0, :lo12:.LC388
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC389
add x2, x0, :lo12:.LC389
adrp x0, .LC390
add x1, x0, :lo12:.LC390
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC391
add x2, x0, :lo12:.LC391
adrp x0, .LC392
add x1, x0, :lo12:.LC392
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC393
add x2, x0, :lo12:.LC393
adrp x0, .LC119
add x1, x0, :lo12:.LC119
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC394
add x2, x0, :lo12:.LC394
adrp x0, .LC395
add x1, x0, :lo12:.LC395
ldr x0, [sp, 104]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 104]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC396
add x1, x0, :lo12:.LC396
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 8
mov w3, 8
adrp x0, .LC397
add x2, x0, :lo12:.LC397
adrp x0, .LC398
add x1, x0, :lo12:.LC398
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 8
mov w3, 8
adrp x0, .LC13
add x2, x0, :lo12:.LC13
adrp x0, .LC399
add x1, x0, :lo12:.LC399
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC400
add x1, x0, :lo12:.LC400
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC401
add x1, x0, :lo12:.LC401
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC402
add x1, x0, :lo12:.LC402
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC304
add x2, x0, :lo12:.LC304
adrp x0, .LC403
add x1, x0, :lo12:.LC403
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC404
add x1, x0, :lo12:.LC404
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC405
add x1, x0, :lo12:.LC405
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC406
add x1, x0, :lo12:.LC406
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC407
add x1, x0, :lo12:.LC407
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC408
add x1, x0, :lo12:.LC408
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC409
add x1, x0, :lo12:.LC409
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC410
add x1, x0, :lo12:.LC410
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC411
add x1, x0, :lo12:.LC411
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC412
add x1, x0, :lo12:.LC412
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC413
add x1, x0, :lo12:.LC413
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC414
add x2, x0, :lo12:.LC414
adrp x0, .LC415
add x1, x0, :lo12:.LC415
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 64
mov x2, 0
adrp x0, .LC416
add x1, x0, :lo12:.LC416
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L211
ldr x0, [sp, 48]
cmp x0, 0
beq .L211
adrp x0, __ecereClass_Enumerator
add x0, x0, :lo12:__ecereClass_Enumerator
ldr x1, [sp, 48]
str x1, [x0]
.L211:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC416
add x2, x0, :lo12:.LC416
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC416
add x2, x0, :lo12:.LC416
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC342
add x1, x0, :lo12:.LC342
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC353
add x1, x0, :lo12:.LC353
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 2
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 64
mov x2, 0
adrp x0, .LC417
add x1, x0, :lo12:.LC417
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L212
ldr x0, [sp, 48]
cmp x0, 0
beq .L212
adrp x0, __ecereClass_Pointer
add x0, x0, :lo12:__ecereClass_Pointer
ldr x1, [sp, 48]
str x1, [x0]
.L212:
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC418
add x1, x0, :lo12:.LC418
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L213
ldr x0, [sp, 48]
cmp x0, 0
beq .L213
adrp x0, __ecereClass_DeclaratorType
add x0, x0, :lo12:__ecereClass_DeclaratorType
ldr x1, [sp, 48]
str x1, [x0]
.L213:
mov x2, 0
adrp x0, .LC419
add x1, x0, :lo12:.LC419
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC420
add x1, x0, :lo12:.LC420
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC421
add x1, x0, :lo12:.LC421
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC422
add x1, x0, :lo12:.LC422
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 4
adrp x0, .LC423
add x1, x0, :lo12:.LC423
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 5
adrp x0, .LC424
add x1, x0, :lo12:.LC424
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 6
adrp x0, .LC425
add x1, x0, :lo12:.LC425
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 7
adrp x0, .LC426
add x1, x0, :lo12:.LC426
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 96
mov x2, 0
adrp x0, .LC322
add x1, x0, :lo12:.LC322
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L214
ldr x0, [sp, 48]
cmp x0, 0
beq .L214
adrp x0, __ecereClass_Declarator
add x0, x0, :lo12:__ecereClass_Declarator
ldr x1, [sp, 48]
str x1, [x0]
.L214:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC322
add x2, x0, :lo12:.LC322
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC322
add x2, x0, :lo12:.LC322
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC418
add x2, x0, :lo12:.LC418
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC140
add x1, x0, :lo12:.LC140
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC322
add x2, x0, :lo12:.LC322
adrp x0, .LC427
add x1, x0, :lo12:.LC427
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 128]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC17
add x1, x0, :lo12:.LC17
ldr x0, [sp, 128]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 24
adrp x0, .LC428
add x2, x0, :lo12:.LC428
adrp x0, .LC429
add x1, x0, :lo12:.LC429
ldr x0, [sp, 128]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC430
add x2, x0, :lo12:.LC430
adrp x0, .LC431
add x1, x0, :lo12:.LC431
ldr x0, [sp, 128]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC432
add x2, x0, :lo12:.LC432
adrp x0, .LC433
add x1, x0, :lo12:.LC433
ldr x0, [sp, 128]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC434
add x2, x0, :lo12:.LC434
adrp x0, .LC435
add x1, x0, :lo12:.LC435
ldr x0, [sp, 128]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC436
add x2, x0, :lo12:.LC436
adrp x0, .LC437
add x1, x0, :lo12:.LC437
ldr x0, [sp, 128]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 128]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC438
add x1, x0, :lo12:.LC438
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L215
ldr x0, [sp, 48]
cmp x0, 0
beq .L215
adrp x0, __ecereClass_InitializerType
add x0, x0, :lo12:__ecereClass_InitializerType
ldr x1, [sp, 48]
str x1, [x0]
.L215:
mov x2, 0
adrp x0, .LC439
add x1, x0, :lo12:.LC439
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC440
add x1, x0, :lo12:.LC440
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 80
mov x2, 0
adrp x0, .LC441
add x1, x0, :lo12:.LC441
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L216
ldr x0, [sp, 48]
cmp x0, 0
beq .L216
adrp x0, __ecereClass_Initializer
add x0, x0, :lo12:__ecereClass_Initializer
ldr x1, [sp, 48]
str x1, [x0]
.L216:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC441
add x2, x0, :lo12:.LC441
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC441
add x2, x0, :lo12:.LC441
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC438
add x2, x0, :lo12:.LC438
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 136]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC353
add x1, x0, :lo12:.LC353
ldr x0, [sp, 136]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC343
add x1, x0, :lo12:.LC343
ldr x0, [sp, 136]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 136]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC406
add x1, x0, :lo12:.LC406
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC342
add x1, x0, :lo12:.LC342
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 64
mov x2, 0
adrp x0, .LC442
add x1, x0, :lo12:.LC442
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L217
ldr x0, [sp, 48]
cmp x0, 0
beq .L217
adrp x0, __ecereClass_InitDeclarator
add x0, x0, :lo12:__ecereClass_InitDeclarator
ldr x1, [sp, 48]
str x1, [x0]
.L217:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC442
add x2, x0, :lo12:.LC442
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC442
add x2, x0, :lo12:.LC442
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC322
add x2, x0, :lo12:.LC322
adrp x0, .LC427
add x1, x0, :lo12:.LC427
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC441
add x2, x0, :lo12:.LC441
adrp x0, .LC392
add x1, x0, :lo12:.LC392
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC443
add x1, x0, :lo12:.LC443
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L218
ldr x0, [sp, 48]
cmp x0, 0
beq .L218
adrp x0, __ecereClass_ClassObjectType
add x0, x0, :lo12:__ecereClass_ClassObjectType
ldr x1, [sp, 48]
str x1, [x0]
.L218:
mov x2, 0
adrp x0, .LC444
add x1, x0, :lo12:.LC444
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC445
add x1, x0, :lo12:.LC445
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC97
add x1, x0, :lo12:.LC97
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC98
add x1, x0, :lo12:.LC98
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 80
mov x2, 0
adrp x0, .LC379
add x1, x0, :lo12:.LC379
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L219
ldr x0, [sp, 48]
cmp x0, 0
beq .L219
adrp x0, __ecereClass_TypeName
add x0, x0, :lo12:__ecereClass_TypeName
ldr x1, [sp, 48]
str x1, [x0]
.L219:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC379
add x2, x0, :lo12:.LC379
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC379
add x2, x0, :lo12:.LC379
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC446
add x1, x0, :lo12:.LC446
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC322
add x2, x0, :lo12:.LC322
adrp x0, .LC427
add x1, x0, :lo12:.LC427
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC443
add x2, x0, :lo12:.LC443
adrp x0, .LC447
add x1, x0, :lo12:.LC447
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC448
add x1, x0, :lo12:.LC448
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 2
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 72
mov x2, 0
adrp x0, .LC449
add x1, x0, :lo12:.LC449
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L220
ldr x0, [sp, 48]
cmp x0, 0
beq .L220
adrp x0, __ecereClass_AsmField
add x0, x0, :lo12:__ecereClass_AsmField
ldr x1, [sp, 48]
str x1, [x0]
.L220:
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC450
add x1, x0, :lo12:.LC450
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L221
ldr x0, [sp, 48]
cmp x0, 0
beq .L221
adrp x0, __ecereClass_StmtType
add x0, x0, :lo12:__ecereClass_StmtType
ldr x1, [sp, 48]
str x1, [x0]
.L221:
mov x2, 0
adrp x0, .LC451
add x1, x0, :lo12:.LC451
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC452
add x1, x0, :lo12:.LC452
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC453
add x1, x0, :lo12:.LC453
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC454
add x1, x0, :lo12:.LC454
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 4
adrp x0, .LC455
add x1, x0, :lo12:.LC455
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 5
adrp x0, .LC456
add x1, x0, :lo12:.LC456
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 6
adrp x0, .LC457
add x1, x0, :lo12:.LC457
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 7
adrp x0, .LC458
add x1, x0, :lo12:.LC458
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 8
adrp x0, .LC459
add x1, x0, :lo12:.LC459
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 9
adrp x0, .LC460
add x1, x0, :lo12:.LC460
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 10
adrp x0, .LC461
add x1, x0, :lo12:.LC461
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 11
adrp x0, .LC462
add x1, x0, :lo12:.LC462
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 12
adrp x0, .LC463
add x1, x0, :lo12:.LC463
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 13
adrp x0, .LC464
add x1, x0, :lo12:.LC464
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 14
adrp x0, .LC465
add x1, x0, :lo12:.LC465
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 15
adrp x0, .LC466
add x1, x0, :lo12:.LC466
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 16
adrp x0, .LC467
add x1, x0, :lo12:.LC467
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 17
adrp x0, .LC468
add x1, x0, :lo12:.LC468
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 18
adrp x0, .LC469
add x1, x0, :lo12:.LC469
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 96
mov x2, 0
adrp x0, .LC362
add x1, x0, :lo12:.LC362
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L222
ldr x0, [sp, 48]
cmp x0, 0
beq .L222
adrp x0, __ecereClass_Statement
add x0, x0, :lo12:__ecereClass_Statement
ldr x1, [sp, 48]
str x1, [x0]
.L222:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC362
add x2, x0, :lo12:.LC362
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC362
add x2, x0, :lo12:.LC362
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC450
add x2, x0, :lo12:.LC450
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 144]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC470
add x1, x0, :lo12:.LC470
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC471
add x2, x0, :lo12:.LC471
adrp x0, .LC472
add x1, x0, :lo12:.LC472
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC473
add x2, x0, :lo12:.LC473
adrp x0, .LC452
add x1, x0, :lo12:.LC452
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC474
add x2, x0, :lo12:.LC474
adrp x0, .LC363
add x1, x0, :lo12:.LC363
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 24
adrp x0, .LC475
add x2, x0, :lo12:.LC475
adrp x0, .LC455
add x1, x0, :lo12:.LC455
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC476
add x2, x0, :lo12:.LC476
adrp x0, .LC456
add x1, x0, :lo12:.LC456
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC476
add x2, x0, :lo12:.LC476
adrp x0, .LC457
add x1, x0, :lo12:.LC457
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC476
add x2, x0, :lo12:.LC476
adrp x0, .LC477
add x1, x0, :lo12:.LC477
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC478
add x2, x0, :lo12:.LC478
adrp x0, .LC459
add x1, x0, :lo12:.LC459
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC370
add x2, x0, :lo12:.LC370
adrp x0, .LC460
add x1, x0, :lo12:.LC460
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 40
adrp x0, .LC479
add x2, x0, :lo12:.LC479
adrp x0, .LC464
add x1, x0, :lo12:.LC464
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 24
adrp x0, .LC480
add x2, x0, :lo12:.LC480
adrp x0, .LC103
add x1, x0, :lo12:.LC103
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC481
add x2, x0, :lo12:.LC481
adrp x0, .LC469
add x1, x0, :lo12:.LC469
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC482
add x2, x0, :lo12:.LC482
adrp x0, .LC323
add x1, x0, :lo12:.LC323
ldr x0, [sp, 144]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 144]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC483
add x1, x0, :lo12:.LC483
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L223
ldr x0, [sp, 48]
cmp x0, 0
beq .L223
adrp x0, __ecereClass_DeclarationType
add x0, x0, :lo12:__ecereClass_DeclarationType
ldr x1, [sp, 48]
str x1, [x0]
.L223:
mov x2, 0
adrp x0, .LC484
add x1, x0, :lo12:.LC484
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC485
add x1, x0, :lo12:.LC485
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC486
add x1, x0, :lo12:.LC486
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC487
add x1, x0, :lo12:.LC487
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 96
mov x2, 0
adrp x0, .LC482
add x1, x0, :lo12:.LC482
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L224
ldr x0, [sp, 48]
cmp x0, 0
beq .L224
adrp x0, __ecereClass_Declaration
add x0, x0, :lo12:__ecereClass_Declaration
ldr x1, [sp, 48]
str x1, [x0]
.L224:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC482
add x2, x0, :lo12:.LC482
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC482
add x2, x0, :lo12:.LC482
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC483
add x2, x0, :lo12:.LC483
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 152]
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 160]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC321
add x1, x0, :lo12:.LC321
ldr x0, [sp, 160]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC488
add x1, x0, :lo12:.LC488
ldr x0, [sp, 160]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 160]
ldr x0, [sp, 152]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC364
add x2, x0, :lo12:.LC364
adrp x0, .LC489
add x1, x0, :lo12:.LC489
ldr x0, [sp, 152]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 168]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC342
add x1, x0, :lo12:.LC342
ldr x0, [sp, 168]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC353
add x1, x0, :lo12:.LC353
ldr x0, [sp, 168]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 168]
ldr x0, [sp, 152]
bl __ecereNameSpace__ecere__com__eMember_AddMember
ldr x1, [sp, 152]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC252
add x2, x0, :lo12:.LC252
adrp x0, .LC490
add x1, x0, :lo12:.LC490
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC140
add x1, x0, :lo12:.LC140
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC143
add x2, x0, :lo12:.LC143
adrp x0, .LC144
add x1, x0, :lo12:.LC144
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 168
mov x2, 0
adrp x0, .LC364
add x1, x0, :lo12:.LC364
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L225
ldr x0, [sp, 48]
cmp x0, 0
beq .L225
adrp x0, __ecereClass_Instantiation
add x0, x0, :lo12:__ecereClass_Instantiation
ldr x1, [sp, 48]
str x1, [x0]
.L225:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC364
add x2, x0, :lo12:.LC364
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC364
add x2, x0, :lo12:.LC364
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC252
add x2, x0, :lo12:.LC252
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC353
add x1, x0, :lo12:.LC353
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC491
add x1, x0, :lo12:.LC491
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC140
add x1, x0, :lo12:.LC140
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC492
add x1, x0, :lo12:.LC492
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC406
add x1, x0, :lo12:.LC406
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC493
add x2, x0, :lo12:.LC493
adrp x0, .LC494
add x1, x0, :lo12:.LC494
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC495
add x1, x0, :lo12:.LC495
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC496
add x1, x0, :lo12:.LC496
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC497
add x1, x0, :lo12:.LC497
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC498
add x1, x0, :lo12:.LC498
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L226
ldr x0, [sp, 48]
cmp x0, 0
beq .L226
adrp x0, __ecereClass_MembersInitType
add x0, x0, :lo12:__ecereClass_MembersInitType
ldr x1, [sp, 48]
str x1, [x0]
.L226:
mov x2, 0
adrp x0, .LC499
add x1, x0, :lo12:.LC499
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC500
add x1, x0, :lo12:.LC500
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 152
mov x2, 0
adrp x0, .LC501
add x1, x0, :lo12:.LC501
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L227
ldr x0, [sp, 48]
cmp x0, 0
beq .L227
adrp x0, __ecereClass_FunctionDefinition
add x0, x0, :lo12:__ecereClass_FunctionDefinition
ldr x1, [sp, 48]
str x1, [x0]
.L227:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC501
add x2, x0, :lo12:.LC501
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC501
add x2, x0, :lo12:.LC501
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC321
add x1, x0, :lo12:.LC321
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC322
add x2, x0, :lo12:.LC322
adrp x0, .LC427
add x1, x0, :lo12:.LC427
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC502
add x1, x0, :lo12:.LC502
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC362
add x2, x0, :lo12:.LC362
adrp x0, .LC503
add x1, x0, :lo12:.LC503
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC504
add x2, x0, :lo12:.LC504
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC505
add x2, x0, :lo12:.LC505
adrp x0, .LC506
add x1, x0, :lo12:.LC506
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC143
add x2, x0, :lo12:.LC143
adrp x0, .LC144
add x1, x0, :lo12:.LC144
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC507
add x1, x0, :lo12:.LC507
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC404
add x1, x0, :lo12:.LC404
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC508
add x1, x0, :lo12:.LC508
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 168
mov x2, 0
adrp x0, .LC509
add x1, x0, :lo12:.LC509
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L228
ldr x0, [sp, 48]
cmp x0, 0
beq .L228
adrp x0, __ecereClass_ClassFunction
add x0, x0, :lo12:__ecereClass_ClassFunction
ldr x1, [sp, 48]
str x1, [x0]
.L228:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC509
add x2, x0, :lo12:.LC509
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC509
add x2, x0, :lo12:.LC509
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC321
add x1, x0, :lo12:.LC321
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC322
add x2, x0, :lo12:.LC322
adrp x0, .LC427
add x1, x0, :lo12:.LC427
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC502
add x1, x0, :lo12:.LC502
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC362
add x2, x0, :lo12:.LC362
adrp x0, .LC503
add x1, x0, :lo12:.LC503
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC504
add x2, x0, :lo12:.LC504
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC505
add x2, x0, :lo12:.LC505
adrp x0, .LC506
add x1, x0, :lo12:.LC506
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC143
add x2, x0, :lo12:.LC143
adrp x0, .LC144
add x1, x0, :lo12:.LC144
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC507
add x1, x0, :lo12:.LC507
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC510
add x1, x0, :lo12:.LC510
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC511
add x1, x0, :lo12:.LC511
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC512
add x1, x0, :lo12:.LC512
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC513
add x1, x0, :lo12:.LC513
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC342
add x1, x0, :lo12:.LC342
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC514
add x1, x0, :lo12:.LC514
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 64
mov x2, 0
adrp x0, .LC515
add x1, x0, :lo12:.LC515
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L229
ldr x0, [sp, 48]
cmp x0, 0
beq .L229
adrp x0, __ecereClass_MembersInit
add x0, x0, :lo12:__ecereClass_MembersInit
ldr x1, [sp, 48]
str x1, [x0]
.L229:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC515
add x2, x0, :lo12:.LC515
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC515
add x2, x0, :lo12:.LC515
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC498
add x2, x0, :lo12:.LC498
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 176]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC516
add x1, x0, :lo12:.LC516
ldr x0, [sp, 176]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC509
add x2, x0, :lo12:.LC509
adrp x0, .LC433
add x1, x0, :lo12:.LC433
ldr x0, [sp, 176]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 176]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 112
mov x2, 0
adrp x0, .LC517
add x1, x0, :lo12:.LC517
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L230
ldr x0, [sp, 48]
cmp x0, 0
beq .L230
adrp x0, __ecereClass_MemberInit
add x0, x0, :lo12:__ecereClass_MemberInit
ldr x1, [sp, 48]
str x1, [x0]
.L230:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC517
add x2, x0, :lo12:.LC517
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC517
add x2, x0, :lo12:.LC517
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC518
add x1, x0, :lo12:.LC518
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC519
add x1, x0, :lo12:.LC519
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC441
add x2, x0, :lo12:.LC441
adrp x0, .LC392
add x1, x0, :lo12:.LC392
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC520
add x1, x0, :lo12:.LC520
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC521
add x1, x0, :lo12:.LC521
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC522
add x1, x0, :lo12:.LC522
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 152
mov x2, 0
adrp x0, .LC523
add x1, x0, :lo12:.LC523
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L231
ldr x0, [sp, 48]
cmp x0, 0
beq .L231
adrp x0, __ecereClass_ClassDefinition
add x0, x0, :lo12:__ecereClass_ClassDefinition
ldr x1, [sp, 48]
str x1, [x0]
.L231:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC523
add x2, x0, :lo12:.LC523
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC523
add x2, x0, :lo12:.LC523
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC252
add x2, x0, :lo12:.LC252
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC344
add x1, x0, :lo12:.LC344
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC142
add x1, x0, :lo12:.LC142
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC140
add x1, x0, :lo12:.LC140
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC524
add x1, x0, :lo12:.LC524
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC495
add x1, x0, :lo12:.LC495
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC143
add x2, x0, :lo12:.LC143
adrp x0, .LC144
add x1, x0, :lo12:.LC144
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC525
add x1, x0, :lo12:.LC525
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 72
mov x2, 0
adrp x0, .LC526
add x1, x0, :lo12:.LC526
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L232
ldr x0, [sp, 48]
cmp x0, 0
beq .L232
adrp x0, __ecereClass_PropertyWatch
add x0, x0, :lo12:__ecereClass_PropertyWatch
ldr x1, [sp, 48]
str x1, [x0]
.L232:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC526
add x2, x0, :lo12:.LC526
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC526
add x2, x0, :lo12:.LC526
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC362
add x2, x0, :lo12:.LC362
adrp x0, .LC363
add x1, x0, :lo12:.LC363
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC527
add x1, x0, :lo12:.LC527
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC528
add x1, x0, :lo12:.LC528
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC529
add x1, x0, :lo12:.LC529
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L233
ldr x0, [sp, 48]
cmp x0, 0
beq .L233
adrp x0, __ecereClass_ClassDefType
add x0, x0, :lo12:__ecereClass_ClassDefType
ldr x1, [sp, 48]
str x1, [x0]
.L233:
mov x2, 0
adrp x0, .LC530
add x1, x0, :lo12:.LC530
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC531
add x1, x0, :lo12:.LC531
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC532
add x1, x0, :lo12:.LC532
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC533
add x1, x0, :lo12:.LC533
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 4
adrp x0, .LC534
add x1, x0, :lo12:.LC534
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 5
adrp x0, .LC535
add x1, x0, :lo12:.LC535
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 6
adrp x0, .LC536
add x1, x0, :lo12:.LC536
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 7
adrp x0, .LC537
add x1, x0, :lo12:.LC537
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 8
adrp x0, .LC538
add x1, x0, :lo12:.LC538
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 9
adrp x0, .LC539
add x1, x0, :lo12:.LC539
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 10
adrp x0, .LC540
add x1, x0, :lo12:.LC540
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 11
adrp x0, .LC541
add x1, x0, :lo12:.LC541
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 12
adrp x0, .LC542
add x1, x0, :lo12:.LC542
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 13
adrp x0, .LC543
add x1, x0, :lo12:.LC543
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 120
mov x2, 0
adrp x0, .LC544
add x1, x0, :lo12:.LC544
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L234
ldr x0, [sp, 48]
cmp x0, 0
beq .L234
adrp x0, __ecereClass_PropertyDef
add x0, x0, :lo12:__ecereClass_PropertyDef
ldr x1, [sp, 48]
str x1, [x0]
.L234:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC544
add x2, x0, :lo12:.LC544
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC544
add x2, x0, :lo12:.LC544
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC321
add x1, x0, :lo12:.LC321
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC322
add x2, x0, :lo12:.LC322
adrp x0, .LC427
add x1, x0, :lo12:.LC427
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC342
add x1, x0, :lo12:.LC342
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC362
add x2, x0, :lo12:.LC362
adrp x0, .LC545
add x1, x0, :lo12:.LC545
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC362
add x2, x0, :lo12:.LC362
adrp x0, .LC546
add x1, x0, :lo12:.LC546
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC362
add x2, x0, :lo12:.LC362
adrp x0, .LC547
add x1, x0, :lo12:.LC547
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC140
add x1, x0, :lo12:.LC140
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC548
add x1, x0, :lo12:.LC548
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 184]
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC550
add x1, x0, :lo12:.LC550
ldr x0, [sp, 184]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC551
add x1, x0, :lo12:.LC551
ldr x0, [sp, 184]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC552
add x1, x0, :lo12:.LC552
ldr x0, [sp, 184]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 184]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 88
mov x2, 0
adrp x0, .LC553
add x1, x0, :lo12:.LC553
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L235
ldr x0, [sp, 48]
cmp x0, 0
beq .L235
adrp x0, __ecereClass_ClassDef
add x0, x0, :lo12:__ecereClass_ClassDef
ldr x1, [sp, 48]
str x1, [x0]
.L235:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC553
add x2, x0, :lo12:.LC553
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC553
add x2, x0, :lo12:.LC553
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC529
add x2, x0, :lo12:.LC529
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 192]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC482
add x2, x0, :lo12:.LC482
adrp x0, .LC323
add x1, x0, :lo12:.LC323
ldr x0, [sp, 192]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC509
add x2, x0, :lo12:.LC509
adrp x0, .LC433
add x1, x0, :lo12:.LC433
ldr x0, [sp, 192]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC554
add x1, x0, :lo12:.LC554
ldr x0, [sp, 192]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC544
add x2, x0, :lo12:.LC544
adrp x0, .LC555
add x1, x0, :lo12:.LC555
ldr x0, [sp, 192]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC526
add x2, x0, :lo12:.LC526
adrp x0, .LC556
add x1, x0, :lo12:.LC556
ldr x0, [sp, 192]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC557
add x1, x0, :lo12:.LC557
ldr x0, [sp, 192]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC558
add x1, x0, :lo12:.LC558
ldr x0, [sp, 192]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 200]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC342
add x1, x0, :lo12:.LC342
ldr x0, [sp, 200]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC441
add x2, x0, :lo12:.LC441
adrp x0, .LC392
add x1, x0, :lo12:.LC392
ldr x0, [sp, 200]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 200]
ldr x0, [sp, 192]
bl __ecereNameSpace__ecere__com__eMember_AddMember
ldr x1, [sp, 192]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC143
add x2, x0, :lo12:.LC143
adrp x0, .LC559
add x1, x0, :lo12:.LC559
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC211
add x2, x0, :lo12:.LC211
adrp x0, .LC560
add x1, x0, :lo12:.LC560
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 2
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 56
mov x2, 0
adrp x0, .LC561
add x1, x0, :lo12:.LC561
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L236
ldr x0, [sp, 48]
cmp x0, 0
beq .L236
adrp x0, __ecereClass_TopoEdge
add x0, x0, :lo12:__ecereClass_TopoEdge
ldr x1, [sp, 48]
str x1, [x0]
.L236:
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC562
add x2, x0, :lo12:.LC562
adrp x0, .LC563
add x1, x0, :lo12:.LC563
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 16
adrp x0, .LC562
add x2, x0, :lo12:.LC562
adrp x0, .LC564
add x1, x0, :lo12:.LC564
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC565
add x1, x0, :lo12:.LC565
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L237
ldr x0, [sp, 48]
cmp x0, 0
beq .L237
adrp x0, __ecereClass_ExternalType
add x0, x0, :lo12:__ecereClass_ExternalType
ldr x1, [sp, 48]
str x1, [x0]
.L237:
mov x2, 0
adrp x0, .LC566
add x1, x0, :lo12:.LC566
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC567
add x1, x0, :lo12:.LC567
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC568
add x1, x0, :lo12:.LC568
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC569
add x1, x0, :lo12:.LC569
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 4
adrp x0, .LC570
add x1, x0, :lo12:.LC570
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 5
adrp x0, .LC571
add x1, x0, :lo12:.LC571
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
adrp x0, __ecereDestructor_External
add x6, x0, :lo12:__ecereDestructor_External
adrp x0, __ecereConstructor_External
add x5, x0, :lo12:__ecereConstructor_External
mov w4, 0
mov w3, 112
mov x2, 0
adrp x0, .LC572
add x1, x0, :lo12:.LC572
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L238
ldr x0, [sp, 48]
cmp x0, 0
beq .L238
adrp x0, __ecereClass_External
add x0, x0, :lo12:__ecereClass_External
ldr x1, [sp, 48]
str x1, [x0]
.L238:
mov w4, 1
adrp x0, __ecereMethod_External_CreateEdge
add x3, x0, :lo12:__ecereMethod_External_CreateEdge
adrp x0, .LC573
add x2, x0, :lo12:.LC573
adrp x0, .LC574
add x1, x0, :lo12:.LC574
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMethod
mov w4, 1
adrp x0, __ecereMethod_External_CreateUniqueEdge
add x3, x0, :lo12:__ecereMethod_External_CreateUniqueEdge
adrp x0, .LC575
add x2, x0, :lo12:.LC575
adrp x0, .LC576
add x1, x0, :lo12:.LC576
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMethod
mov w4, 1
adrp x0, __ecereMethod_External_ForwardDeclare
add x3, x0, :lo12:__ecereMethod_External_ForwardDeclare
adrp x0, .LC577
add x2, x0, :lo12:.LC577
adrp x0, .LC578
add x1, x0, :lo12:.LC578
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMethod
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC250
add x1, x0, :lo12:.LC250
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC565
add x2, x0, :lo12:.LC565
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC140
add x1, x0, :lo12:.LC140
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 208]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC501
add x2, x0, :lo12:.LC501
adrp x0, .LC433
add x1, x0, :lo12:.LC433
ldr x0, [sp, 208]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC523
add x2, x0, :lo12:.LC523
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 208]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC482
add x2, x0, :lo12:.LC482
adrp x0, .LC579
add x1, x0, :lo12:.LC579
ldr x0, [sp, 208]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC580
add x1, x0, :lo12:.LC580
ldr x0, [sp, 208]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC249
add x2, x0, :lo12:.LC249
adrp x0, .LC342
add x1, x0, :lo12:.LC342
ldr x0, [sp, 208]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC136
add x2, x0, :lo12:.LC136
adrp x0, .LC581
add x1, x0, :lo12:.LC581
ldr x0, [sp, 208]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 208]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC243
add x2, x0, :lo12:.LC243
adrp x0, .LC244
add x1, x0, :lo12:.LC244
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC582
add x1, x0, :lo12:.LC582
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC583
add x2, x0, :lo12:.LC583
adrp x0, .LC584
add x1, x0, :lo12:.LC584
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC585
add x2, x0, :lo12:.LC585
adrp x0, .LC586
add x1, x0, :lo12:.LC586
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC587
add x1, x0, :lo12:.LC587
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
adrp x0, __ecereConstructor_Context
add x5, x0, :lo12:__ecereConstructor_Context
mov w4, 0
mov w3, 192
mov x2, 0
adrp x0, .LC346
add x1, x0, :lo12:.LC346
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L239
ldr x0, [sp, 48]
cmp x0, 0
beq .L239
adrp x0, __ecereClass_Context
add x0, x0, :lo12:__ecereClass_Context
ldr x1, [sp, 48]
str x1, [x0]
.L239:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC346
add x2, x0, :lo12:.LC346
adrp x0, .LC588
add x1, x0, :lo12:.LC588
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC589
add x2, x0, :lo12:.LC589
adrp x0, .LC590
add x1, x0, :lo12:.LC590
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC589
add x2, x0, :lo12:.LC589
adrp x0, .LC591
add x1, x0, :lo12:.LC591
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC589
add x2, x0, :lo12:.LC589
adrp x0, .LC592
add x1, x0, :lo12:.LC592
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC589
add x2, x0, :lo12:.LC589
adrp x0, .LC593
add x1, x0, :lo12:.LC593
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC594
add x1, x0, :lo12:.LC594
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC595
add x1, x0, :lo12:.LC595
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC589
add x2, x0, :lo12:.LC589
adrp x0, .LC596
add x1, x0, :lo12:.LC596
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC523
add x2, x0, :lo12:.LC523
adrp x0, .LC597
add x1, x0, :lo12:.LC597
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC598
add x1, x0, :lo12:.LC598
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC599
add x1, x0, :lo12:.LC599
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 320
mov x2, 0
adrp x0, .LC139
add x1, x0, :lo12:.LC139
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L240
ldr x0, [sp, 48]
cmp x0, 0
beq .L240
adrp x0, __ecereClass_Symbol
add x0, x0, :lo12:__ecereClass_Symbol
ldr x1, [sp, 48]
str x1, [x0]
.L240:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC253
add x1, x0, :lo12:.LC253
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC588
add x1, x0, :lo12:.LC588
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC600
add x1, x0, :lo12:.LC600
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC601
add x1, x0, :lo12:.LC601
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC602
add x1, x0, :lo12:.LC602
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 216]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC603
add x2, x0, :lo12:.LC603
adrp x0, .LC604
add x1, x0, :lo12:.LC604
ldr x0, [sp, 216]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC605
add x2, x0, :lo12:.LC605
adrp x0, .LC83
add x1, x0, :lo12:.LC83
ldr x0, [sp, 216]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC504
add x2, x0, :lo12:.LC504
adrp x0, .LC606
add x1, x0, :lo12:.LC606
ldr x0, [sp, 216]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 216]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC607
add x1, x0, :lo12:.LC607
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 224]
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 232]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC608
add x1, x0, :lo12:.LC608
ldr x0, [sp, 232]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC609
add x1, x0, :lo12:.LC609
ldr x0, [sp, 232]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 232]
ldr x0, [sp, 224]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 240]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC610
add x1, x0, :lo12:.LC610
ldr x0, [sp, 240]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC611
add x1, x0, :lo12:.LC611
ldr x0, [sp, 240]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC612
add x1, x0, :lo12:.LC612
ldr x0, [sp, 240]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC613
add x1, x0, :lo12:.LC613
ldr x0, [sp, 240]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 240]
ldr x0, [sp, 224]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 248]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC614
add x1, x0, :lo12:.LC614
ldr x0, [sp, 248]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC572
add x2, x0, :lo12:.LC572
adrp x0, .LC615
add x1, x0, :lo12:.LC615
ldr x0, [sp, 248]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 248]
ldr x0, [sp, 224]
bl __ecereNameSpace__ecere__com__eMember_AddMember
ldr x1, [sp, 224]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC616
add x1, x0, :lo12:.LC616
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC617
add x1, x0, :lo12:.LC617
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC504
add x2, x0, :lo12:.LC504
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC618
add x1, x0, :lo12:.LC618
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC619
add x1, x0, :lo12:.LC619
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC620
add x1, x0, :lo12:.LC620
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC621
add x1, x0, :lo12:.LC621
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC622
add x1, x0, :lo12:.LC622
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC82
add x1, x0, :lo12:.LC82
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC623
add x1, x0, :lo12:.LC623
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC624
add x2, x0, :lo12:.LC624
adrp x0, .LC207
add x1, x0, :lo12:.LC207
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC625
add x2, x0, :lo12:.LC625
adrp x0, .LC91
add x1, x0, :lo12:.LC91
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 32
adrp x0, .LC227
add x2, x0, :lo12:.LC227
adrp x0, .LC495
add x1, x0, :lo12:.LC495
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC626
add x1, x0, :lo12:.LC626
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC627
add x1, x0, :lo12:.LC627
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC628
add x1, x0, :lo12:.LC628
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC629
add x1, x0, :lo12:.LC629
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC630
add x1, x0, :lo12:.LC630
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC113
add x1, x0, :lo12:.LC113
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC631
add x1, x0, :lo12:.LC631
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC632
add x1, x0, :lo12:.LC632
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC141
add x2, x0, :lo12:.LC141
adrp x0, .LC633
add x1, x0, :lo12:.LC633
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC505
add x2, x0, :lo12:.LC505
adrp x0, .LC634
add x1, x0, :lo12:.LC634
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC346
add x2, x0, :lo12:.LC346
adrp x0, .LC347
add x1, x0, :lo12:.LC347
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC635
add x1, x0, :lo12:.LC635
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC636
add x1, x0, :lo12:.LC636
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC637
add x1, x0, :lo12:.LC637
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 96
mov x2, 0
adrp x0, .LC625
add x1, x0, :lo12:.LC625
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L241
ldr x0, [sp, 48]
cmp x0, 0
beq .L241
adrp x0, __ecereClass_ClassImport
add x0, x0, :lo12:__ecereClass_ClassImport
ldr x1, [sp, 48]
str x1, [x0]
.L241:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC625
add x2, x0, :lo12:.LC625
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC625
add x2, x0, :lo12:.LC625
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC505
add x2, x0, :lo12:.LC505
adrp x0, .LC638
add x1, x0, :lo12:.LC638
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC505
add x2, x0, :lo12:.LC505
adrp x0, .LC527
add x1, x0, :lo12:.LC527
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC639
add x1, x0, :lo12:.LC639
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC627
add x1, x0, :lo12:.LC627
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 24
mov x2, 0
adrp x0, .LC640
add x1, x0, :lo12:.LC640
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L242
ldr x0, [sp, 48]
cmp x0, 0
beq .L242
adrp x0, __ecereClass_FunctionImport
add x0, x0, :lo12:__ecereClass_FunctionImport
ldr x1, [sp, 48]
str x1, [x0]
.L242:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC640
add x2, x0, :lo12:.LC640
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC640
add x2, x0, :lo12:.LC640
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 96
mov x2, 0
adrp x0, .LC624
add x1, x0, :lo12:.LC624
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L243
ldr x0, [sp, 48]
cmp x0, 0
beq .L243
adrp x0, __ecereClass_ModuleImport
add x0, x0, :lo12:__ecereClass_ModuleImport
ldr x1, [sp, 48]
str x1, [x0]
.L243:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC624
add x2, x0, :lo12:.LC624
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC624
add x2, x0, :lo12:.LC624
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC505
add x2, x0, :lo12:.LC505
adrp x0, .LC591
add x1, x0, :lo12:.LC591
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC505
add x2, x0, :lo12:.LC505
adrp x0, .LC641
add x1, x0, :lo12:.LC641
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC243
add x2, x0, :lo12:.LC243
adrp x0, .LC244
add x1, x0, :lo12:.LC244
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC143
add x2, x0, :lo12:.LC143
adrp x0, .LC248
add x1, x0, :lo12:.LC248
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 40
mov x2, 0
adrp x0, .LC642
add x1, x0, :lo12:.LC642
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L244
ldr x0, [sp, 48]
cmp x0, 0
beq .L244
adrp x0, __ecereClass_PropertyImport
add x0, x0, :lo12:__ecereClass_PropertyImport
ldr x1, [sp, 48]
str x1, [x0]
.L244:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC642
add x2, x0, :lo12:.LC642
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC642
add x2, x0, :lo12:.LC642
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC510
add x1, x0, :lo12:.LC510
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC643
add x1, x0, :lo12:.LC643
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC644
add x1, x0, :lo12:.LC644
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 32
mov x2, 0
adrp x0, .LC645
add x1, x0, :lo12:.LC645
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L245
ldr x0, [sp, 48]
cmp x0, 0
beq .L245
adrp x0, __ecereClass_MethodImport
add x0, x0, :lo12:__ecereClass_MethodImport
ldr x1, [sp, 48]
str x1, [x0]
.L245:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC645
add x2, x0, :lo12:.LC645
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC645
add x2, x0, :lo12:.LC645
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC510
add x1, x0, :lo12:.LC510
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 0
mov x2, 0
adrp x0, .LC646
add x1, x0, :lo12:.LC646
mov w0, 4
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L246
ldr x0, [sp, 48]
cmp x0, 0
beq .L246
adrp x0, __ecereClass_TypeKind
add x0, x0, :lo12:__ecereClass_TypeKind
ldr x1, [sp, 48]
str x1, [x0]
.L246:
mov x2, 0
adrp x0, .LC647
add x1, x0, :lo12:.LC647
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 1
adrp x0, .LC648
add x1, x0, :lo12:.LC648
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 2
adrp x0, .LC649
add x1, x0, :lo12:.LC649
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 3
adrp x0, .LC650
add x1, x0, :lo12:.LC650
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 4
adrp x0, .LC651
add x1, x0, :lo12:.LC651
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 5
adrp x0, .LC652
add x1, x0, :lo12:.LC652
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 6
adrp x0, .LC653
add x1, x0, :lo12:.LC653
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 7
adrp x0, .LC654
add x1, x0, :lo12:.LC654
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 8
adrp x0, .LC655
add x1, x0, :lo12:.LC655
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 9
adrp x0, .LC656
add x1, x0, :lo12:.LC656
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 10
adrp x0, .LC657
add x1, x0, :lo12:.LC657
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 11
adrp x0, .LC658
add x1, x0, :lo12:.LC658
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 12
adrp x0, .LC659
add x1, x0, :lo12:.LC659
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 13
adrp x0, .LC660
add x1, x0, :lo12:.LC660
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 14
adrp x0, .LC661
add x1, x0, :lo12:.LC661
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 15
adrp x0, .LC662
add x1, x0, :lo12:.LC662
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 16
adrp x0, .LC663
add x1, x0, :lo12:.LC663
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 17
adrp x0, .LC664
add x1, x0, :lo12:.LC664
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 18
adrp x0, .LC665
add x1, x0, :lo12:.LC665
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 19
adrp x0, .LC666
add x1, x0, :lo12:.LC666
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 20
adrp x0, .LC667
add x1, x0, :lo12:.LC667
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 21
adrp x0, .LC668
add x1, x0, :lo12:.LC668
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 22
adrp x0, .LC669
add x1, x0, :lo12:.LC669
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 23
adrp x0, .LC670
add x1, x0, :lo12:.LC670
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 24
adrp x0, .LC671
add x1, x0, :lo12:.LC671
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov x2, 25
adrp x0, .LC672
add x1, x0, :lo12:.LC672
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eEnum_AddFixedValue
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 152
mov x2, 0
adrp x0, .LC209
add x1, x0, :lo12:.LC209
mov w0, 5
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L247
ldr x0, [sp, 48]
cmp x0, 0
beq .L247
adrp x0, __ecereClass_Type
add x0, x0, :lo12:__ecereClass_Type
ldr x1, [sp, 48]
str x1, [x0]
.L247:
mov w4, 1
adrp x0, __ecereMethod_Type_OnFree
add x3, x0, :lo12:__ecereMethod_Type_OnFree
mov x2, 0
adrp x0, .LC673
add x1, x0, :lo12:.LC673
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMethod
mov w4, 1
adrp x0, __ecereMethod_Type_OnGetString
add x3, x0, :lo12:__ecereMethod_Type_OnGetString
mov x2, 0
adrp x0, .LC674
add x1, x0, :lo12:.LC674
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMethod
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC239
add x1, x0, :lo12:.LC239
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC240
add x1, x0, :lo12:.LC240
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC675
add x1, x0, :lo12:.LC675
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 256]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC80
add x1, x0, :lo12:.LC80
ldr x0, [sp, 256]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 264]
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC505
add x2, x0, :lo12:.LC505
adrp x0, .LC491
add x1, x0, :lo12:.LC491
ldr x0, [sp, 264]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC676
add x1, x0, :lo12:.LC676
ldr x0, [sp, 264]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 264]
ldr x0, [sp, 256]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 272]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC677
add x1, x0, :lo12:.LC677
ldr x0, [sp, 272]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 32
adrp x0, .LC505
add x2, x0, :lo12:.LC505
adrp x0, .LC678
add x1, x0, :lo12:.LC678
ldr x0, [sp, 272]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC81
add x1, x0, :lo12:.LC81
ldr x0, [sp, 272]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC679
add x1, x0, :lo12:.LC679
ldr x0, [sp, 272]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC214
add x2, x0, :lo12:.LC214
adrp x0, .LC680
add x1, x0, :lo12:.LC680
ldr x0, [sp, 272]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 272]
ldr x0, [sp, 256]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 280]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC603
add x2, x0, :lo12:.LC603
adrp x0, .LC604
add x1, x0, :lo12:.LC604
ldr x0, [sp, 280]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC504
add x2, x0, :lo12:.LC504
adrp x0, .LC681
add x1, x0, :lo12:.LC681
ldr x0, [sp, 280]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC504
add x2, x0, :lo12:.LC504
adrp x0, .LC682
add x1, x0, :lo12:.LC682
ldr x0, [sp, 280]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 280]
ldr x0, [sp, 256]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w1, 1
mov w0, 2
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 288]
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC659
add x1, x0, :lo12:.LC659
ldr x0, [sp, 288]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC683
add x1, x0, :lo12:.LC683
ldr x0, [sp, 288]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC324
add x2, x0, :lo12:.LC324
adrp x0, .LC684
add x1, x0, :lo12:.LC684
ldr x0, [sp, 288]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC685
add x1, x0, :lo12:.LC685
ldr x0, [sp, 288]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC686
add x1, x0, :lo12:.LC686
ldr x0, [sp, 288]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 288]
ldr x0, [sp, 256]
bl __ecereNameSpace__ecere__com__eMember_AddMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 256]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC214
add x2, x0, :lo12:.LC214
adrp x0, .LC349
add x1, x0, :lo12:.LC349
ldr x0, [sp, 256]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 256]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC646
add x2, x0, :lo12:.LC646
adrp x0, .LC687
add x1, x0, :lo12:.LC687
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC414
add x2, x0, :lo12:.LC414
adrp x0, .LC688
add x1, x0, :lo12:.LC688
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC138
add x1, x0, :lo12:.LC138
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC137
add x2, x0, :lo12:.LC137
adrp x0, .LC42
add x1, x0, :lo12:.LC42
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC504
add x2, x0, :lo12:.LC504
adrp x0, .LC689
add x1, x0, :lo12:.LC689
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC646
add x2, x0, :lo12:.LC646
adrp x0, .LC690
add x1, x0, :lo12:.LC690
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC443
add x2, x0, :lo12:.LC443
adrp x0, .LC447
add x1, x0, :lo12:.LC447
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC691
add x1, x0, :lo12:.LC691
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC414
add x2, x0, :lo12:.LC414
adrp x0, .LC395
add x1, x0, :lo12:.LC395
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC692
add x1, x0, :lo12:.LC692
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC693
add x1, x0, :lo12:.LC693
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC694
add x1, x0, :lo12:.LC694
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC695
add x1, x0, :lo12:.LC695
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC18
add x1, x0, :lo12:.LC18
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC696
add x1, x0, :lo12:.LC696
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC405
add x1, x0, :lo12:.LC405
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC697
add x1, x0, :lo12:.LC697
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC698
add x1, x0, :lo12:.LC698
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC699
add x1, x0, :lo12:.LC699
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC700
add x1, x0, :lo12:.LC700
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC701
add x1, x0, :lo12:.LC701
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC702
add x1, x0, :lo12:.LC702
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC703
add x1, x0, :lo12:.LC703
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC704
add x1, x0, :lo12:.LC704
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC705
add x1, x0, :lo12:.LC705
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC706
add x1, x0, :lo12:.LC706
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC707
add x1, x0, :lo12:.LC707
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC708
add x1, x0, :lo12:.LC708
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC709
add x1, x0, :lo12:.LC709
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC549
add x2, x0, :lo12:.LC549
adrp x0, .LC710
add x1, x0, :lo12:.LC710
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
adrp x0, __ecereProp_Type_Get_specConst
add x4, x0, :lo12:__ecereProp_Type_Get_specConst
mov x3, 0
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC711
add x1, x0, :lo12:.LC711
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddProperty
mov x1, x0
adrp x0, __ecerePropM_Type_specConst
add x0, x0, :lo12:__ecerePropM_Type_specConst
str x1, [x0]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L248
adrp x0, __ecerePropM_Type_specConst
add x0, x0, :lo12:__ecerePropM_Type_specConst
ldr x1, [x0]
adrp x0, __ecereProp_Type_specConst
add x0, x0, :lo12:__ecereProp_Type_specConst
str x1, [x0]
adrp x0, __ecerePropM_Type_specConst
add x0, x0, :lo12:__ecerePropM_Type_specConst
str xzr, [x0]
.L248:
mov w5, 1
adrp x0, __ecereProp_Type_Get_isPointerTypeSize
add x4, x0, :lo12:__ecereProp_Type_Get_isPointerTypeSize
mov x3, 0
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC712
add x1, x0, :lo12:.LC712
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddProperty
mov x1, x0
adrp x0, __ecerePropM_Type_isPointerTypeSize
add x0, x0, :lo12:__ecerePropM_Type_isPointerTypeSize
str x1, [x0]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L249
adrp x0, __ecerePropM_Type_isPointerTypeSize
add x0, x0, :lo12:__ecerePropM_Type_isPointerTypeSize
ldr x1, [x0]
adrp x0, __ecereProp_Type_isPointerTypeSize
add x0, x0, :lo12:__ecereProp_Type_isPointerTypeSize
str x1, [x0]
adrp x0, __ecerePropM_Type_isPointerTypeSize
add x0, x0, :lo12:__ecerePropM_Type_isPointerTypeSize
str xzr, [x0]
.L249:
mov w5, 1
adrp x0, __ecereProp_Type_Get_isPointerType
add x4, x0, :lo12:__ecereProp_Type_Get_isPointerType
mov x3, 0
adrp x0, .LC245
add x2, x0, :lo12:.LC245
adrp x0, .LC713
add x1, x0, :lo12:.LC713
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddProperty
mov x1, x0
adrp x0, __ecerePropM_Type_isPointerType
add x0, x0, :lo12:__ecerePropM_Type_isPointerType
str x1, [x0]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L250
adrp x0, __ecerePropM_Type_isPointerType
add x0, x0, :lo12:__ecerePropM_Type_isPointerType
ldr x1, [x0]
adrp x0, __ecereProp_Type_isPointerType
add x0, x0, :lo12:__ecereProp_Type_isPointerType
str x1, [x0]
adrp x0, __ecerePropM_Type_isPointerType
add x0, x0, :lo12:__ecerePropM_Type_isPointerType
str xzr, [x0]
.L250:
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 312
mov x2, 0
adrp x0, .LC714
add x1, x0, :lo12:.LC714
mov w0, 1
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L251
ldr x0, [sp, 48]
cmp x0, 0
beq .L251
adrp x0, __ecereClass_Operand
add x0, x0, :lo12:__ecereClass_Operand
ldr x1, [sp, 48]
str x1, [x0]
.L251:
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC646
add x2, x0, :lo12:.LC646
adrp x0, .LC687
add x1, x0, :lo12:.LC687
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC209
add x2, x0, :lo12:.LC209
adrp x0, .LC241
add x1, x0, :lo12:.LC241
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC414
add x2, x0, :lo12:.LC414
adrp x0, .LC715
add x1, x0, :lo12:.LC715
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w1, 1
mov w0, 1
bl __ecereNameSpace__ecere__com__eMember_New
str x0, [sp, 296]
mov w5, 1
mov w4, 1
mov w3, 1
adrp x0, .LC716
add x2, x0, :lo12:.LC716
adrp x0, .LC717
add x1, x0, :lo12:.LC717
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 1
mov w3, 1
adrp x0, .LC718
add x2, x0, :lo12:.LC718
adrp x0, .LC719
add x1, x0, :lo12:.LC719
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 2
mov w3, 2
adrp x0, .LC720
add x2, x0, :lo12:.LC720
adrp x0, .LC357
add x1, x0, :lo12:.LC357
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 2
mov w3, 2
adrp x0, .LC721
add x2, x0, :lo12:.LC721
adrp x0, .LC722
add x1, x0, :lo12:.LC722
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC222
add x2, x0, :lo12:.LC222
adrp x0, .LC723
add x1, x0, :lo12:.LC723
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC414
add x2, x0, :lo12:.LC414
adrp x0, .LC724
add x1, x0, :lo12:.LC724
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 4
mov w3, 4
adrp x0, .LC725
add x2, x0, :lo12:.LC725
adrp x0, .LC726
add x1, x0, :lo12:.LC726
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 8
mov w3, 8
adrp x0, .LC727
add x2, x0, :lo12:.LC727
adrp x0, .LC728
add x1, x0, :lo12:.LC728
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 8
mov w3, 8
adrp x0, .LC729
add x2, x0, :lo12:.LC729
adrp x0, .LC730
add x1, x0, :lo12:.LC730
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
mov w5, 1
mov w4, 8
mov w3, 8
adrp x0, .LC13
add x2, x0, :lo12:.LC13
adrp x0, .LC731
add x1, x0, :lo12:.LC731
ldr x0, [sp, 296]
bl __ecereNameSpace__ecere__com__eMember_AddDataMember
ldr x1, [sp, 296]
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddMember
mov w5, 1
mov w4, 8
mov w3, 280
adrp x0, .LC732
add x2, x0, :lo12:.LC732
adrp x0, .LC733
add x1, x0, :lo12:.LC733
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w0, 1
str w0, [sp, 8]
mov w0, 1
str w0, [sp]
ldr x7, [sp, 40]
mov x6, 0
mov x5, 0
mov w4, 0
mov w3, 280
mov x2, 0
adrp x0, .LC732
add x1, x0, :lo12:.LC732
mov w0, 1
bl __ecereNameSpace__ecere__com__eSystem_RegisterClass
str x0, [sp, 48]
ldr x0, [sp, 40]
add x0, x0, 24
ldr x1, [x0]
adrp x0, :got:__thisModule
ldr x0, [x0, #:got_lo12:__thisModule]
ldr x0, [x0]
add x0, x0, 24
ldr x0, [x0]
cmp x1, x0
bne .L252
ldr x0, [sp, 48]
cmp x0, 0
beq .L252
adrp x0, __ecereClass_OpTable
add x0, x0, :lo12:__ecereClass_OpTable
ldr x1, [sp, 48]
str x1, [x0]
.L252:
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC735
add x1, x0, :lo12:.LC735
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC736
add x1, x0, :lo12:.LC736
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC737
add x1, x0, :lo12:.LC737
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC738
add x1, x0, :lo12:.LC738
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC739
add x1, x0, :lo12:.LC739
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC740
add x2, x0, :lo12:.LC740
adrp x0, .LC741
add x1, x0, :lo12:.LC741
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC740
add x2, x0, :lo12:.LC740
adrp x0, .LC742
add x1, x0, :lo12:.LC742
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC740
add x2, x0, :lo12:.LC740
adrp x0, .LC743
add x1, x0, :lo12:.LC743
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC744
add x1, x0, :lo12:.LC744
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC745
add x1, x0, :lo12:.LC745
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC746
add x1, x0, :lo12:.LC746
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC747
add x1, x0, :lo12:.LC747
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC748
add x1, x0, :lo12:.LC748
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC749
add x1, x0, :lo12:.LC749
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC750
add x1, x0, :lo12:.LC750
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC751
add x1, x0, :lo12:.LC751
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC752
add x1, x0, :lo12:.LC752
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC753
add x1, x0, :lo12:.LC753
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC754
add x1, x0, :lo12:.LC754
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC740
add x2, x0, :lo12:.LC740
adrp x0, .LC755
add x1, x0, :lo12:.LC755
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC756
add x1, x0, :lo12:.LC756
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC757
add x1, x0, :lo12:.LC757
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC758
add x1, x0, :lo12:.LC758
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC759
add x1, x0, :lo12:.LC759
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC760
add x1, x0, :lo12:.LC760
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC740
add x2, x0, :lo12:.LC740
adrp x0, .LC761
add x1, x0, :lo12:.LC761
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC762
add x1, x0, :lo12:.LC762
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC763
add x1, x0, :lo12:.LC763
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC764
add x1, x0, :lo12:.LC764
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC765
add x1, x0, :lo12:.LC765
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC766
add x1, x0, :lo12:.LC766
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC767
add x1, x0, :lo12:.LC767
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC768
add x1, x0, :lo12:.LC768
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC734
add x2, x0, :lo12:.LC734
adrp x0, .LC769
add x1, x0, :lo12:.LC769
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w5, 1
mov w4, -268374016
mov w3, 8
adrp x0, .LC770
add x2, x0, :lo12:.LC770
adrp x0, .LC771
add x1, x0, :lo12:.LC771
ldr x0, [sp, 48]
bl __ecereNameSpace__ecere__com__eClass_AddDataMember
mov w3, 2
ldr x2, [sp, 40]
adrp x0, .LC772
add x1, x0, :lo12:.LC772
adrp x0, .LC773
add x0, x0, :lo12:.LC773
bl __ecereNameSpace__ecere__com__eSystem_RegisterDefine
mov w4, 2
ldr x3, [sp, 40]
adrp x0, Compiler_Error
add x2, x0, :lo12:Compiler_Error
adrp x0, .LC774
add x1, x0, :lo12:.LC774
adrp x0, .LC775
add x0, x0, :lo12:.LC775
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetNumWarnings
add x2, x0, :lo12:GetNumWarnings
adrp x0, .LC776
add x1, x0, :lo12:.LC776
adrp x0, .LC777
add x0, x0, :lo12:.LC777
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 2
ldr x3, [sp, 40]
adrp x0, Compiler_Warning
add x2, x0, :lo12:Compiler_Warning
adrp x0, .LC778
add x1, x0, :lo12:.LC778
adrp x0, .LC779
add x0, x0, :lo12:.LC779
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 2
ldr x3, [sp, 40]
adrp x0, yyerror
add x2, x0, :lo12:yyerror
adrp x0, .LC780
add x1, x0, :lo12:.LC780
adrp x0, .LC781
add x0, x0, :lo12:.LC781
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetHostBits
add x2, x0, :lo12:GetHostBits
adrp x0, .LC782
add x1, x0, :lo12:.LC782
adrp x0, .LC783
add x0, x0, :lo12:.LC783
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetTargetPlatform
add x2, x0, :lo12:SetTargetPlatform
adrp x0, .LC784
add x1, x0, :lo12:.LC784
adrp x0, .LC785
add x0, x0, :lo12:.LC785
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, SetTargetBits
add x2, x0, :lo12:SetTargetBits
adrp x0, .LC786
add x1, x0, :lo12:.LC786
adrp x0, .LC787
add x0, x0, :lo12:.LC787
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
mov w4, 1
ldr x3, [sp, 40]
adrp x0, GetTargetBits
add x2, x0, :lo12:GetTargetBits
adrp x0, .LC788
add x1, x0, :lo12:.LC788
adrp x0, .LC789
add x0, x0, :lo12:.LC789
bl __ecereNameSpace__ecere__com__eSystem_RegisterFunction
nop
ldp x29, x30, [sp, 16]
add sp, sp, 304
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE57:
.size __ecereRegisterModule_ecdefs, .-__ecereRegisterModule_ecdefs
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Portuguese"
.align 3
.LC1:
.string "Cadastrando a primeira pessoa: "
.align 3
.LC2:
.string "------------------------------"
.align 3
.LC3:
.string "NOME: "
.align 3
.LC4:
.string "SEXO [M/F]: "
.align 3
.LC5:
.string "NOTA: "
.align 3
.LC6:
.string "%f"
.align 3
.LC7:
.string "Cadastrando a segunda pessoa: "
.align 3
.LC8:
.string "Cadastrando a terceira pessoa: "
.align 3
.LC9:
.string "\n\n LISTAGEM COMPLETA"
.align 3
.LC10:
.string "\n---------------------------------"
.align 3
.LC11:
.string "NOME SEXO NOTA"
.align 3
.LC12:
.string "%-20s %c %6.1f\n"
.align 3
.LC13:
.string "---------------------------------"
.text
.align 2
.global main
.type main, %function
main:
.LFB0:
.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
adrp x0, .LC0
add x1, x0, :lo12:.LC0
mov w0, 6
bl setlocale
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fflush
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
add x0, sp, 32
bl gets
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
bl getchar
strb w0, [sp, 17]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
add x0, sp, 20
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __isoc99_scanf
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fflush
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
add x0, sp, 56
bl gets
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
bl getchar
strb w0, [sp, 18]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
add x0, sp, 24
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __isoc99_scanf
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x0, [x0]
bl fflush
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
add x0, sp, 80
bl gets
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
bl getchar
strb w0, [sp, 19]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
add x0, sp, 28
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl __isoc99_scanf
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
ldrb w1, [sp, 17]
ldr s0, [sp, 20]
fcvt d0, s0
add x0, sp, 32
mov w2, w1
mov x1, x0
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
ldrb w1, [sp, 18]
ldr s0, [sp, 24]
fcvt d0, s0
add x0, sp, 56
mov w2, w1
mov x1, x0
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
ldrb w1, [sp, 19]
ldr s0, [sp, 28]
fcvt d0, s0
add x0, sp, 80
mov w2, w1
mov x1, x0
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl puts
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 .L2
bl __stack_chk_fail
.L2:
ldp x29, x30, [sp], 112
.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 i
.data
.align 2
.type i, %object
.size i, 4
i:
.word 1
.section .rodata
.align 3
.LC0:
.string "%u\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
mov w0, 2
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L2
adrp x0, i
add x0, x0, :lo12:i
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
b .L3
.L2:
ldr w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
.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
.align 2
.global add
.type add, %function
add:
.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]
add w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size add, .-add
.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 w0, 1
str w0, [sp, 20]
mov w0, 2
str w0, [sp, 24]
ldr w1, [sp, 24]
ldr w0, [sp, 20]
bl add
str w0, [sp, 28]
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 "Hello"
.align 3
.LC1:
.string "this is a string"
.align 3
.LC3:
.string "\n==== print string ===="
.align 3
.LC4:
.string "p [%p]: %p, %s\n"
.align 3
.LC5:
.string "s [%p]: %p, %s\n"
.align 3
.LC6:
.string "t [%p]: %p, %s\n"
.align 3
.LC7:
.string "\n==== print character ===="
.align 3
.LC8:
.string "p [%p]: %c [%d]\n"
.align 3
.LC9:
.string "s [%p]: %c [%d]\n"
.align 3
.LC10:
.string "t [%p]: %c [%d]\n"
.align 3
.LC11:
.string "\n==== print string+1 ===="
.align 3
.LC12:
.string "p : %p, %s\n"
.align 3
.LC13:
.string "s : %p, %s\n"
.align 3
.LC14:
.string "t : %p, %s\n"
.align 3
.LC15:
.string "\n==== print (*character)+1 ===="
.align 3
.LC16:
.string "p : %c [%d]\n"
.align 3
.LC17:
.string "s : %c [%d]\n"
.align 3
.LC18:
.string "t : %c [%d]\n"
.align 3
.LC19:
.string "\n==== print *(character+1) ===="
.align 3
.LC20:
.string "\n==== pointer arithmetic vs array indexing ===="
.align 3
.LC21:
.string "s: [%p] %c\n"
.align 3
.LC22:
.string "\nPrint using pointer increment : s=p"
.align 3
.LC23:
.string "[%c]"
.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
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 x1, x0, :lo12:.LC2
add x0, sp, 40
ldr x2, [x1]
str x2, [x0]
ldr x1, [x1, 6]
str x1, [x0, 6]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
ldr x1, [sp, 24]
ldr x2, [sp, 24]
add x0, sp, 24
mov x3, x2
mov x2, x1
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x1, [sp, 32]
ldr x2, [sp, 32]
add x0, sp, 32
mov x3, x2
mov x2, x1
mov x1, x0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
add x2, sp, 40
add x1, sp, 40
add x0, sp, 40
mov x3, x2
mov x2, x1
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl puts
ldr x0, [sp, 24]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
ldrb w0, [x0]
mov w2, w0
add x0, sp, 24
mov w3, w2
mov w2, w1
mov x1, x0
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl printf
ldr x0, [sp, 32]
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 32]
ldrb w0, [x0]
mov w2, w0
add x0, sp, 32
mov w3, w2
mov w2, w1
mov x1, x0
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
ldrb w0, [sp, 40]
mov w1, w0
ldrb w0, [sp, 40]
mov w2, w0
add x0, sp, 40
mov w3, w2
mov w2, w1
mov x1, x0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
ldr x0, [sp, 24]
add x1, x0, 1
ldr x0, [sp, 24]
add x0, x0, 1
mov x2, x0
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl printf
ldr x0, [sp, 32]
add x1, x0, 1
ldr x0, [sp, 32]
add x0, x0, 1
mov x2, x0
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
add x0, sp, 40
add x0, x0, 1
add x1, sp, 40
add x1, x1, 1
mov x2, x1
mov x1, x0
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl printf
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl puts
ldr x0, [sp, 24]
ldrb w0, [x0]
add w1, w0, 1
ldr x0, [sp, 24]
ldrb w0, [x0]
add w0, w0, 1
mov w2, w0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl printf
ldr x0, [sp, 32]
ldrb w0, [x0]
add w1, w0, 1
ldr x0, [sp, 32]
ldrb w0, [x0]
add w0, w0, 1
mov w2, w0
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl printf
ldrb w0, [sp, 40]
add w0, w0, 1
ldrb w1, [sp, 40]
add w1, w1, 1
mov w2, w1
mov w1, w0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl puts
ldr x0, [sp, 24]
add x0, x0, 1
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 24]
add x0, x0, 1
ldrb w0, [x0]
mov w2, w0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl printf
ldr x0, [sp, 32]
add x0, x0, 1
ldrb w0, [x0]
mov w1, w0
ldr x0, [sp, 32]
add x0, x0, 1
ldrb w0, [x0]
mov w2, w0
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl printf
ldrb w0, [sp, 41]
mov w1, w0
ldrb w0, [sp, 41]
mov w2, w0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl puts
ldr x0, [sp, 32]
add x0, x0, 12
ldrb w0, [x0]
mov w1, w0
add x0, sp, 32
mov w2, w1
mov x1, x0
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl printf
ldr x0, [sp, 32]
add x0, x0, 12
ldrb w0, [x0]
mov w1, w0
add x0, sp, 32
mov w2, w1
mov x1, x0
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl printf
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl puts
ldr x0, [sp, 24]
str x0, [sp, 32]
b .L2
.L3:
ldr x0, [sp, 32]
ldrb w0, [x0]
mov w1, w0
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl printf
ldr x0, [sp, 32]
add x0, x0, 1
str x0, [sp, 32]
.L2:
ldr x0, [sp, 32]
ldrb w0, [x0]
cmp w0, 0
bne .L3
mov w0, 10
bl putchar
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 .L5
bl __stack_chk_fail
.L5:
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
.section .rodata
.align 3
.LC2:
.string "Also a string"
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global init_variable_array
.type init_variable_array, %function
init_variable_array:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
.cfi_def_cfa_register 29
sub sp, sp, #16
str w0, [x29, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 56]
mov x1, 0
mov x0, sp
mov x10, x0
ldr w0, [x29, 28]
lsl w0, w0, 1
str w0, [x29, 36]
ldr w1, [x29, 28]
ldr w0, [x29, 36]
add w0, w1, w0
add w0, w0, 1
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 40]
sxtw x1, w0
mov x8, x1
mov x9, 0
lsr x1, x8, 59
lsl x5, x9, 5
orr x5, x1, x5
lsl x4, x8, 5
sxtw x1, w0
mov x6, x1
mov x7, 0
lsr x1, x6, 59
lsl x3, x7, 5
orr x3, x1, x3
lsl x2, x6, 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, 48]
ldr w1, [x29, 28]
ldr w0, [x29, 36]
add w0, w1, w0
add w1, w0, 1
ldr x0, [x29, 48]
sxtw x1, w1
str wzr, [x0, x1, lsl 2]
mov sp, x10
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L5
bl __stack_chk_fail
.L5:
mov sp, x29
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE0:
.size init_variable_array, .-init_variable_array
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global argp_program_bug_address
.section .rodata
.align 3
.LC0:
.string "[email protected]"
.section .data.rel.local,"aw"
.align 3
.type argp_program_bug_address, %object
.size argp_program_bug_address, 8
argp_program_bug_address:
.xword .LC0
.global argp_program_version
.section .rodata
.align 3
.LC1:
.string "version 1.0"
.section .data.rel.local
.align 3
.type argp_program_version, %object
.size argp_program_version, 8
argp_program_version:
.xword .LC1
.section .rodata
.align 3
.LC2:
.string "too many arguments"
.align 3
.LC3:
.string "too few arguments"
.text
.align 2
.type parse_opt, %function
parse_opt:
.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 w0, [sp, 44]
str x1, [sp, 32]
str x2, [sp, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 40]
str x0, [sp, 64]
ldr w1, [sp, 44]
mov w0, 3
movk w0, 0x100, lsl 16
cmp w1, w0
beq .L2
ldr w1, [sp, 44]
mov w0, 3
movk w0, 0x100, lsl 16
cmp w1, w0
bgt .L14
ldr w1, [sp, 44]
mov w0, 1
movk w0, 0x100, lsl 16
cmp w1, w0
beq .L4
ldr w1, [sp, 44]
mov w0, 1
movk w0, 0x100, lsl 16
cmp w1, w0
bgt .L14
ldr w0, [sp, 44]
cmp w0, 888
beq .L5
ldr w0, [sp, 44]
cmp w0, 888
bgt .L14
ldr w0, [sp, 44]
cmp w0, 0
beq .L6
ldr w0, [sp, 44]
cmp w0, 100
bne .L14
mov w0, 1
str w0, [sp, 60]
ldr x0, [sp, 32]
cmp x0, 0
beq .L7
ldr x0, [sp, 32]
bl atoi
str w0, [sp, 60]
.L7:
str wzr, [sp, 56]
b .L8
.L9:
mov w0, 46
bl putchar
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L8:
ldr w1, [sp, 56]
ldr w0, [sp, 60]
cmp w1, w0
bcc .L9
mov w0, 10
bl putchar
b .L10
.L5:
mov w0, 45
bl putchar
b .L10
.L6:
ldr x3, [sp, 64]
ldr x0, [sp, 64]
add x0, x0, 8
ldr x2, [sp, 32]
mov x1, x0
mov x0, x3
bl argz_add
b .L10
.L2:
ldr x0, [sp, 64]
str xzr, [x0]
ldr x0, [sp, 64]
str xzr, [x0, 8]
b .L10
.L4:
ldr x0, [sp, 64]
ldr x2, [x0]
ldr x0, [sp, 64]
ldr x0, [x0, 8]
mov x1, x0
mov x0, x2
bl argz_count
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 2
bls .L11
adrp x0, .LC2
add x3, x0, :lo12:.LC2
mov w2, 0
mov w1, 1
ldr x0, [sp, 24]
bl argp_failure
b .L15
.L11:
ldr x0, [sp, 72]
cmp x0, 0
bne .L15
adrp x0, .LC3
add x3, x0, :lo12:.LC3
mov w2, 0
mov w1, 1
ldr x0, [sp, 24]
bl argp_failure
b .L15
.L14:
nop
b .L10
.L15:
nop
.L10:
mov w0, 0
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size parse_opt, .-parse_opt
.section .rodata
.align 3
.LC4:
.string "dot"
.align 3
.LC5:
.string "NUM"
.align 3
.LC6:
.string "Show a dot on the screen"
.align 3
.LC7:
.string "dash"
.align 3
.LC8:
.string "Show a dash on the screen"
.align 3
.LC9:
.string "WORD\nWORD WORD"
.align 3
.LC10:
.string " %s"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -272]!
.cfi_def_cfa_offset 272
.cfi_offset 29, -272
.cfi_offset 30, -264
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, 264]
mov x1, 0
add x0, sp, 120
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
stp q0, q0, [x0, 64]
stp q0, q0, [x0, 96]
str q0, [x0, 128]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
str x0, [sp, 120]
mov w0, 100
str w0, [sp, 128]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
str x0, [sp, 136]
mov w0, 1
str w0, [sp, 144]
adrp x0, .LC6
add x0, x0, :lo12:.LC6
str x0, [sp, 152]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
str x0, [sp, 168]
mov w0, 888
str w0, [sp, 176]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
str x0, [sp, 200]
add x0, sp, 64
movi v0.4s, 0
stp q0, q0, [x0]
str q0, [x0, 32]
fmov x1, d0
str x1, [x0, 48]
add x0, sp, 120
str x0, [sp, 64]
adrp x0, parse_opt
add x0, x0, :lo12:parse_opt
str x0, [sp, 72]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
str x0, [sp, 80]
add x1, sp, 48
add x0, sp, 64
mov x5, x1
mov x4, 0
mov w3, 0
ldr x2, [sp, 16]
ldr w1, [sp, 28]
bl argp_parse
cmp w0, 0
bne .L17
str xzr, [sp, 32]
b .L18
.L19:
ldr x1, [sp, 40]
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl printf
ldr x0, [sp, 40]
str x0, [sp, 32]
.L18:
ldr x0, [sp, 48]
ldr x1, [sp, 56]
ldr x2, [sp, 32]
bl argz_next
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L19
mov w0, 10
bl putchar
ldr x0, [sp, 48]
bl free
.L17:
mov w0, 0
mov w1, w0
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 .L21
bl __stack_chk_fail
.L21:
mov w0, w1
ldp x29, x30, [sp], 272
.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 "Hello World"
.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
str w0, [sp, 28]
str x1, [sp, 16]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
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
.global tabcp437
.data
.align 3
.type tabcp437, %object
.size tabcp437, 2048
tabcp437:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 199
.xword 252
.xword 233
.xword 226
.xword 228
.xword 224
.xword 229
.xword 231
.xword 234
.xword 235
.xword 232
.xword 239
.xword 238
.xword 236
.xword 196
.xword 197
.xword 201
.xword 230
.xword 198
.xword 244
.xword 246
.xword 242
.xword 251
.xword 249
.xword 255
.xword 214
.xword 220
.xword 162
.xword 163
.xword 165
.xword 8359
.xword 402
.xword 225
.xword 237
.xword 243
.xword 250
.xword 241
.xword 209
.xword 170
.xword 186
.xword 191
.xword 8976
.xword 172
.xword 189
.xword 188
.xword 161
.xword 171
.xword 187
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 9569
.xword 9570
.xword 9558
.xword 9557
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 9564
.xword 9563
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 9566
.xword 9567
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 9575
.xword 9576
.xword 9572
.xword 9573
.xword 9561
.xword 9560
.xword 9554
.xword 9555
.xword 9579
.xword 9578
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 9612
.xword 9616
.xword 9600
.xword 945
.xword 223
.xword 915
.xword 960
.xword 931
.xword 963
.xword 181
.xword 964
.xword 934
.xword 920
.xword 937
.xword 948
.xword 8734
.xword 966
.xword 949
.xword 8745
.xword 8801
.xword 177
.xword 8805
.xword 8804
.xword 8992
.xword 8993
.xword 247
.xword 8776
.xword 176
.xword 8729
.xword 183
.xword 8730
.xword 8319
.xword 178
.xword 9632
.xword 160
.global tabcp720
.align 3
.type tabcp720, %object
.size tabcp720, 2048
tabcp720:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword -1
.xword -1
.xword 233
.xword 226
.xword -1
.xword 224
.xword -1
.xword 231
.xword 234
.xword 235
.xword 232
.xword 239
.xword 238
.xword -1
.xword -1
.xword -1
.xword -1
.xword 1617
.xword 1618
.xword 244
.xword 164
.xword 1600
.xword 251
.xword 249
.xword 1569
.xword 1570
.xword 1571
.xword 1572
.xword 163
.xword 1573
.xword 1574
.xword 1575
.xword 1576
.xword 1577
.xword 1578
.xword 1579
.xword 1580
.xword 1581
.xword 1582
.xword 1583
.xword 1584
.xword 1585
.xword 1586
.xword 1587
.xword 1588
.xword 1589
.xword 171
.xword 187
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 9569
.xword 9570
.xword 9558
.xword 9557
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 9564
.xword 9563
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 9566
.xword 9567
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 9575
.xword 9576
.xword 9572
.xword 9573
.xword 9561
.xword 9560
.xword 9554
.xword 9555
.xword 9579
.xword 9578
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 9612
.xword 9616
.xword 9600
.xword 1590
.xword 1591
.xword 1592
.xword 1593
.xword 1594
.xword 1601
.xword 181
.xword 1602
.xword 1603
.xword 1604
.xword 1605
.xword 1606
.xword 1607
.xword 1608
.xword 1609
.xword 1610
.xword 8801
.xword 1611
.xword 1612
.xword 1613
.xword 1614
.xword 1615
.xword 1616
.xword 8776
.xword 176
.xword 8729
.xword 183
.xword 8730
.xword 8319
.xword 178
.xword 9632
.xword 160
.global tabcp737
.align 3
.type tabcp737, %object
.size tabcp737, 2048
tabcp737:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 913
.xword 914
.xword 915
.xword 916
.xword 917
.xword 918
.xword 919
.xword 920
.xword 921
.xword 922
.xword 923
.xword 924
.xword 925
.xword 926
.xword 927
.xword 928
.xword 929
.xword 931
.xword 932
.xword 933
.xword 934
.xword 935
.xword 936
.xword 937
.xword 945
.xword 946
.xword 947
.xword 948
.xword 949
.xword 950
.xword 951
.xword 952
.xword 953
.xword 954
.xword 955
.xword 956
.xword 957
.xword 958
.xword 959
.xword 960
.xword 961
.xword 963
.xword 962
.xword 964
.xword 965
.xword 966
.xword 967
.xword 968
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 9569
.xword 9570
.xword 9558
.xword 9557
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 9564
.xword 9563
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 9566
.xword 9567
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 9575
.xword 9576
.xword 9572
.xword 9573
.xword 9561
.xword 9560
.xword 9554
.xword 9555
.xword 9579
.xword 9578
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 9612
.xword 9616
.xword 9600
.xword 969
.xword 940
.xword 941
.xword 942
.xword 970
.xword 943
.xword 972
.xword 973
.xword 971
.xword 974
.xword 902
.xword 904
.xword 905
.xword 906
.xword 908
.xword 910
.xword 911
.xword 177
.xword 8805
.xword 8804
.xword 938
.xword 939
.xword 247
.xword 8776
.xword 176
.xword 8729
.xword 183
.xword 8730
.xword 8319
.xword 178
.xword 9632
.xword 160
.global tabcp775
.align 3
.type tabcp775, %object
.size tabcp775, 2048
tabcp775:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 262
.xword 252
.xword 233
.xword 257
.xword 228
.xword 291
.xword 229
.xword 263
.xword 322
.xword 275
.xword 342
.xword 343
.xword 299
.xword 377
.xword 196
.xword 197
.xword 201
.xword 230
.xword 198
.xword 333
.xword 246
.xword 290
.xword 162
.xword 346
.xword 347
.xword 214
.xword 220
.xword 248
.xword 163
.xword 216
.xword 215
.xword 164
.xword 256
.xword 298
.xword 243
.xword 379
.xword 380
.xword 378
.xword 8221
.xword 166
.xword 169
.xword 174
.xword 172
.xword 189
.xword 188
.xword 321
.xword 171
.xword 187
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 260
.xword 268
.xword 280
.xword 278
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 302
.xword 352
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 370
.xword 362
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 381
.xword 261
.xword 269
.xword 281
.xword 279
.xword 303
.xword 353
.xword 371
.xword 363
.xword 382
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 9612
.xword 9616
.xword 9600
.xword 211
.xword 223
.xword 332
.xword 323
.xword 245
.xword 213
.xword 181
.xword 324
.xword 310
.xword 311
.xword 315
.xword 316
.xword 326
.xword 274
.xword 325
.xword 8217
.xword 173
.xword 177
.xword 8220
.xword 190
.xword 182
.xword 167
.xword 247
.xword 8222
.xword 176
.xword 8729
.xword 183
.xword 185
.xword 179
.xword 178
.xword 9632
.xword 160
.global tabcp850
.align 3
.type tabcp850, %object
.size tabcp850, 2048
tabcp850:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 199
.xword 252
.xword 233
.xword 226
.xword 228
.xword 224
.xword 229
.xword 231
.xword 234
.xword 235
.xword 232
.xword 239
.xword 238
.xword 236
.xword 196
.xword 197
.xword 201
.xword 230
.xword 198
.xword 244
.xword 246
.xword 242
.xword 251
.xword 249
.xword 255
.xword 214
.xword 220
.xword 248
.xword 163
.xword 216
.xword 215
.xword 402
.xword 225
.xword 237
.xword 243
.xword 250
.xword 241
.xword 209
.xword 170
.xword 186
.xword 191
.xword 174
.xword 172
.xword 189
.xword 188
.xword 161
.xword 171
.xword 187
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 193
.xword 194
.xword 192
.xword 169
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 162
.xword 165
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 227
.xword 195
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 164
.xword 240
.xword 208
.xword 202
.xword 203
.xword 200
.xword 305
.xword 205
.xword 206
.xword 207
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 166
.xword 204
.xword 9600
.xword 211
.xword 223
.xword 212
.xword 210
.xword 245
.xword 213
.xword 181
.xword 254
.xword 222
.xword 218
.xword 219
.xword 217
.xword 253
.xword 221
.xword 175
.xword 180
.xword 173
.xword 177
.xword 8215
.xword 190
.xword 182
.xword 167
.xword 247
.xword 184
.xword 176
.xword 168
.xword 183
.xword 185
.xword 179
.xword 178
.xword 9632
.xword 160
.global tabcp852
.align 3
.type tabcp852, %object
.size tabcp852, 2048
tabcp852:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 199
.xword 252
.xword 233
.xword 226
.xword 228
.xword 367
.xword 263
.xword 231
.xword 322
.xword 235
.xword 336
.xword 337
.xword 238
.xword 377
.xword 196
.xword 262
.xword 201
.xword 313
.xword 314
.xword 244
.xword 246
.xword 317
.xword 318
.xword 346
.xword 347
.xword 214
.xword 220
.xword 356
.xword 357
.xword 321
.xword 215
.xword 269
.xword 225
.xword 237
.xword 243
.xword 250
.xword 260
.xword 261
.xword 381
.xword 382
.xword 280
.xword 281
.xword 172
.xword 378
.xword 268
.xword 351
.xword 171
.xword 187
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 193
.xword 194
.xword 282
.xword 350
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 379
.xword 380
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 258
.xword 259
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 164
.xword 273
.xword 272
.xword 270
.xword 203
.xword 271
.xword 327
.xword 205
.xword 206
.xword 283
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 354
.xword 366
.xword 9600
.xword 211
.xword 223
.xword 212
.xword 323
.xword 324
.xword 328
.xword 352
.xword 353
.xword 340
.xword 218
.xword 341
.xword 368
.xword 253
.xword 221
.xword 355
.xword 180
.xword 173
.xword 733
.xword 731
.xword 711
.xword 728
.xword 167
.xword 247
.xword 184
.xword 176
.xword 168
.xword 729
.xword 369
.xword 344
.xword 345
.xword 9632
.xword 160
.global tabcp855
.align 3
.type tabcp855, %object
.size tabcp855, 2048
tabcp855:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 1106
.xword 1026
.xword 1107
.xword 1027
.xword 1105
.xword 1025
.xword 1108
.xword 1028
.xword 1109
.xword 1029
.xword 1110
.xword 1030
.xword 1111
.xword 1031
.xword 1112
.xword 1032
.xword 1113
.xword 1033
.xword 1114
.xword 1034
.xword 1115
.xword 1035
.xword 1116
.xword 1036
.xword 1118
.xword 1038
.xword 1119
.xword 1039
.xword 1102
.xword 1070
.xword 1098
.xword 1066
.xword 1072
.xword 1040
.xword 1073
.xword 1041
.xword 1094
.xword 1062
.xword 1076
.xword 1044
.xword 1077
.xword 1045
.xword 1092
.xword 1060
.xword 1075
.xword 1043
.xword 171
.xword 187
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 1093
.xword 1061
.xword 1080
.xword 1048
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 1081
.xword 1049
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 1082
.xword 1050
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 164
.xword 1083
.xword 1051
.xword 1084
.xword 1052
.xword 1085
.xword 1053
.xword 1086
.xword 1054
.xword 1087
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 1055
.xword 1103
.xword 9600
.xword 1071
.xword 1088
.xword 1056
.xword 1089
.xword 1057
.xword 1090
.xword 1058
.xword 1091
.xword 1059
.xword 1078
.xword 1046
.xword 1074
.xword 1042
.xword 1100
.xword 1068
.xword 8470
.xword 173
.xword 1099
.xword 1067
.xword 1079
.xword 1047
.xword 1096
.xword 1064
.xword 1101
.xword 1069
.xword 1097
.xword 1065
.xword 1095
.xword 1063
.xword 167
.xword 9632
.xword 160
.global tabcp857
.align 3
.type tabcp857, %object
.size tabcp857, 2048
tabcp857:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 199
.xword 252
.xword 233
.xword 226
.xword 228
.xword 224
.xword 229
.xword 231
.xword 234
.xword 235
.xword 232
.xword 239
.xword 238
.xword 305
.xword 196
.xword 197
.xword 201
.xword 230
.xword 198
.xword 244
.xword 246
.xword 242
.xword 251
.xword 249
.xword 304
.xword 214
.xword 220
.xword 248
.xword 163
.xword 216
.xword 350
.xword 351
.xword 225
.xword 237
.xword 243
.xword 250
.xword 241
.xword 209
.xword 286
.xword 287
.xword 191
.xword 174
.xword 172
.xword 189
.xword 188
.xword 161
.xword 171
.xword 187
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 193
.xword 194
.xword 192
.xword 169
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 162
.xword 165
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 227
.xword 195
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 164
.xword 186
.xword 170
.xword 202
.xword 203
.xword 200
.xword -1
.xword 205
.xword 206
.xword 207
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 166
.xword 204
.xword 9600
.xword 211
.xword 223
.xword 212
.xword 210
.xword 245
.xword 213
.xword 181
.xword -1
.xword 215
.xword 218
.xword 219
.xword 217
.xword 236
.xword 255
.xword 175
.xword 180
.xword 173
.xword 177
.xword -1
.xword 190
.xword 182
.xword 167
.xword 247
.xword 184
.xword 176
.xword 168
.xword 183
.xword 185
.xword 179
.xword 178
.xword 9632
.xword 160
.global tabcp858
.align 3
.type tabcp858, %object
.size tabcp858, 2048
tabcp858:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 199
.xword 252
.xword 233
.xword 226
.xword 228
.xword 224
.xword 229
.xword 231
.xword 234
.xword 235
.xword 232
.xword 239
.xword 238
.xword 236
.xword 196
.xword 197
.xword 201
.xword 230
.xword 198
.xword 244
.xword 246
.xword 242
.xword 251
.xword 249
.xword 255
.xword 214
.xword 220
.xword 248
.xword 163
.xword 216
.xword 215
.xword 402
.xword 225
.xword 237
.xword 243
.xword 250
.xword 241
.xword 209
.xword 170
.xword 186
.xword 191
.xword 174
.xword 172
.xword 189
.xword 188
.xword 161
.xword 171
.xword 187
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 193
.xword 194
.xword 192
.xword 169
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 162
.xword 165
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 227
.xword 195
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 164
.xword 240
.xword 208
.xword 202
.xword 203
.xword 200
.xword 8364
.xword 205
.xword 206
.xword 207
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 166
.xword 204
.xword 9600
.xword 211
.xword 223
.xword 212
.xword 210
.xword 245
.xword 213
.xword 181
.xword 254
.xword 222
.xword 218
.xword 219
.xword 217
.xword 253
.xword 221
.xword 175
.xword 180
.xword 173
.xword 177
.xword 8215
.xword 190
.xword 182
.xword 167
.xword 247
.xword 184
.xword 176
.xword 168
.xword 183
.xword 185
.xword 179
.xword 178
.xword 9632
.xword 160
.global tabcp862
.align 3
.type tabcp862, %object
.size tabcp862, 2048
tabcp862:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 1488
.xword 1489
.xword 1490
.xword 1491
.xword 1492
.xword 1493
.xword 1494
.xword 1495
.xword 1496
.xword 1497
.xword 1498
.xword 1499
.xword 1500
.xword 1501
.xword 1502
.xword 1503
.xword 1504
.xword 1505
.xword 1506
.xword 1507
.xword 1508
.xword 1509
.xword 1510
.xword 1511
.xword 1512
.xword 1513
.xword 1514
.xword 162
.xword 163
.xword 165
.xword 8359
.xword 402
.xword 225
.xword 237
.xword 243
.xword 250
.xword 241
.xword 209
.xword 170
.xword 186
.xword 191
.xword 8976
.xword 172
.xword 189
.xword 188
.xword 161
.xword 171
.xword 187
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 9569
.xword 9570
.xword 9558
.xword 9557
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 9564
.xword 9563
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 9566
.xword 9567
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 9575
.xword 9576
.xword 9572
.xword 9573
.xword 9561
.xword 9560
.xword 9554
.xword 9555
.xword 9579
.xword 9578
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 9612
.xword 9616
.xword 9600
.xword 945
.xword 223
.xword 915
.xword 960
.xword 931
.xword 963
.xword 181
.xword 964
.xword 934
.xword 920
.xword 937
.xword 948
.xword 8734
.xword 966
.xword 949
.xword 8745
.xword 8801
.xword 177
.xword 8805
.xword 8804
.xword 8992
.xword 8993
.xword 247
.xword 8776
.xword 176
.xword 8729
.xword 183
.xword 8730
.xword 8319
.xword 178
.xword 9632
.xword 160
.global tabcp866
.align 3
.type tabcp866, %object
.size tabcp866, 2048
tabcp866:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 1040
.xword 1041
.xword 1042
.xword 1043
.xword 1044
.xword 1045
.xword 1046
.xword 1047
.xword 1048
.xword 1049
.xword 1050
.xword 1051
.xword 1052
.xword 1053
.xword 1054
.xword 1055
.xword 1056
.xword 1057
.xword 1058
.xword 1059
.xword 1060
.xword 1061
.xword 1062
.xword 1063
.xword 1064
.xword 1065
.xword 1066
.xword 1067
.xword 1068
.xword 1069
.xword 1070
.xword 1071
.xword 1072
.xword 1073
.xword 1074
.xword 1075
.xword 1076
.xword 1077
.xword 1078
.xword 1079
.xword 1080
.xword 1081
.xword 1082
.xword 1083
.xword 1084
.xword 1085
.xword 1086
.xword 1087
.xword 9617
.xword 9618
.xword 9619
.xword 9474
.xword 9508
.xword 9569
.xword 9570
.xword 9558
.xword 9557
.xword 9571
.xword 9553
.xword 9559
.xword 9565
.xword 9564
.xword 9563
.xword 9488
.xword 9492
.xword 9524
.xword 9516
.xword 9500
.xword 9472
.xword 9532
.xword 9566
.xword 9567
.xword 9562
.xword 9556
.xword 9577
.xword 9574
.xword 9568
.xword 9552
.xword 9580
.xword 9575
.xword 9576
.xword 9572
.xword 9573
.xword 9561
.xword 9560
.xword 9554
.xword 9555
.xword 9579
.xword 9578
.xword 9496
.xword 9484
.xword 9608
.xword 9604
.xword 9612
.xword 9616
.xword 9600
.xword 1088
.xword 1089
.xword 1090
.xword 1091
.xword 1092
.xword 1093
.xword 1094
.xword 1095
.xword 1096
.xword 1097
.xword 1098
.xword 1099
.xword 1100
.xword 1101
.xword 1102
.xword 1103
.xword 1025
.xword 1105
.xword 1028
.xword 1108
.xword 1031
.xword 1111
.xword 1038
.xword 1118
.xword 176
.xword 8729
.xword 183
.xword 8730
.xword 8470
.xword 164
.xword 9632
.xword 160
.global tabcp874
.align 3
.type tabcp874, %object
.size tabcp874, 2048
tabcp874:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 8364
.xword -1
.xword -1
.xword -1
.xword -1
.xword 8230
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword 160
.xword 3585
.xword 3586
.xword 3587
.xword 3588
.xword 3589
.xword 3590
.xword 3591
.xword 3592
.xword 3593
.xword 3594
.xword 3595
.xword 3596
.xword 3597
.xword 3598
.xword 3599
.xword 3600
.xword 3601
.xword 3602
.xword 3603
.xword 3604
.xword 3605
.xword 3606
.xword 3607
.xword 3608
.xword 3609
.xword 3610
.xword 3611
.xword 3612
.xword 3613
.xword 3614
.xword 3615
.xword 3616
.xword 3617
.xword 3618
.xword 3619
.xword 3620
.xword 3621
.xword 3622
.xword 3623
.xword 3624
.xword 3625
.xword 3626
.xword 3627
.xword 3628
.xword 3629
.xword 3630
.xword 3631
.xword 3632
.xword 3633
.xword 3634
.xword 3635
.xword 3636
.xword 3637
.xword 3638
.xword 3639
.xword 3640
.xword 3641
.xword 3642
.xword -1
.xword -1
.xword -1
.xword -1
.xword 3647
.xword 3648
.xword 3649
.xword 3650
.xword 3651
.xword 3652
.xword 3653
.xword 3654
.xword 3655
.xword 3656
.xword 3657
.xword 3658
.xword 3659
.xword 3660
.xword 3661
.xword 3662
.xword 3663
.xword 3664
.xword 3665
.xword 3666
.xword 3667
.xword 3668
.xword 3669
.xword 3670
.xword 3671
.xword 3672
.xword 3673
.xword 3674
.xword 3675
.xword -1
.xword -1
.xword -1
.xword -1
.global tabcp1250
.align 3
.type tabcp1250, %object
.size tabcp1250, 2048
tabcp1250:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 8364
.xword -1
.xword 8218
.xword -1
.xword 8222
.xword 8230
.xword 8224
.xword 8225
.xword -1
.xword 8240
.xword 352
.xword 8249
.xword 346
.xword 356
.xword 381
.xword 377
.xword -1
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword -1
.xword 8482
.xword 353
.xword 8250
.xword 347
.xword 357
.xword 382
.xword 378
.xword 160
.xword 711
.xword 728
.xword 321
.xword 164
.xword 260
.xword 166
.xword 167
.xword 168
.xword 169
.xword 350
.xword 171
.xword 172
.xword 173
.xword 174
.xword 379
.xword 176
.xword 177
.xword 731
.xword 322
.xword 180
.xword 181
.xword 182
.xword 183
.xword 184
.xword 261
.xword 351
.xword 187
.xword 317
.xword 733
.xword 318
.xword 380
.xword 340
.xword 193
.xword 194
.xword 258
.xword 196
.xword 313
.xword 262
.xword 199
.xword 268
.xword 201
.xword 280
.xword 203
.xword 282
.xword 205
.xword 206
.xword 270
.xword 272
.xword 323
.xword 327
.xword 211
.xword 212
.xword 336
.xword 214
.xword 215
.xword 344
.xword 366
.xword 218
.xword 368
.xword 220
.xword 221
.xword 354
.xword 223
.xword 341
.xword 225
.xword 226
.xword 259
.xword 228
.xword 314
.xword 263
.xword 231
.xword 269
.xword 233
.xword 281
.xword 235
.xword 283
.xword 237
.xword 238
.xword 271
.xword 273
.xword 324
.xword 328
.xword 243
.xword 244
.xword 337
.xword 246
.xword 247
.xword 345
.xword 367
.xword 250
.xword 369
.xword 252
.xword 253
.xword 355
.xword 729
.global tabcp1251
.align 3
.type tabcp1251, %object
.size tabcp1251, 2048
tabcp1251:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 1026
.xword 1027
.xword 8218
.xword 1107
.xword 8222
.xword 8230
.xword 8224
.xword 8225
.xword 8364
.xword 8240
.xword 1033
.xword 8249
.xword 1034
.xword 1036
.xword 1035
.xword 1039
.xword 1106
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword -1
.xword 8482
.xword 1113
.xword 8250
.xword 1114
.xword 1116
.xword 1115
.xword 1119
.xword 160
.xword 1038
.xword 1118
.xword 1032
.xword 164
.xword 1168
.xword 166
.xword 167
.xword 1025
.xword 169
.xword 1028
.xword 171
.xword 172
.xword 173
.xword 174
.xword 1031
.xword 176
.xword 177
.xword 1030
.xword 1110
.xword 1169
.xword 181
.xword 182
.xword 183
.xword 1105
.xword 8470
.xword 1108
.xword 187
.xword 1112
.xword 1029
.xword 1109
.xword 1111
.xword 1040
.xword 1041
.xword 1042
.xword 1043
.xword 1044
.xword 1045
.xword 1046
.xword 1047
.xword 1048
.xword 1049
.xword 1050
.xword 1051
.xword 1052
.xword 1053
.xword 1054
.xword 1055
.xword 1056
.xword 1057
.xword 1058
.xword 1059
.xword 1060
.xword 1061
.xword 1062
.xword 1063
.xword 1064
.xword 1065
.xword 1066
.xword 1067
.xword 1068
.xword 1069
.xword 1070
.xword 1071
.xword 1072
.xword 1073
.xword 1074
.xword 1075
.xword 1076
.xword 1077
.xword 1078
.xword 1079
.xword 1080
.xword 1081
.xword 1082
.xword 1083
.xword 1084
.xword 1085
.xword 1086
.xword 1087
.xword 1088
.xword 1089
.xword 1090
.xword 1091
.xword 1092
.xword 1093
.xword 1094
.xword 1095
.xword 1096
.xword 1097
.xword 1098
.xword 1099
.xword 1100
.xword 1101
.xword 1102
.xword 1103
.global tabcp1252
.align 3
.type tabcp1252, %object
.size tabcp1252, 2048
tabcp1252:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 8364
.xword -1
.xword 8218
.xword 402
.xword 8222
.xword 8230
.xword 8224
.xword 8225
.xword 710
.xword 8240
.xword 352
.xword 8249
.xword 338
.xword -1
.xword 381
.xword -1
.xword -1
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword 732
.xword 8482
.xword 353
.xword 8250
.xword 339
.xword -1
.xword 382
.xword 376
.xword 160
.xword 161
.xword 162
.xword 163
.xword 164
.xword 165
.xword 166
.xword 167
.xword 168
.xword 169
.xword 170
.xword 171
.xword 172
.xword 173
.xword 174
.xword 175
.xword 176
.xword 177
.xword 178
.xword 179
.xword 180
.xword 181
.xword 182
.xword 183
.xword 184
.xword 185
.xword 186
.xword 187
.xword 188
.xword 189
.xword 190
.xword 191
.xword 192
.xword 193
.xword 194
.xword 195
.xword 196
.xword 197
.xword 198
.xword 199
.xword 200
.xword 201
.xword 202
.xword 203
.xword 204
.xword 205
.xword 206
.xword 207
.xword 208
.xword 209
.xword 210
.xword 211
.xword 212
.xword 213
.xword 214
.xword 215
.xword 216
.xword 217
.xword 218
.xword 219
.xword 220
.xword 221
.xword 222
.xword 223
.xword 224
.xword 225
.xword 226
.xword 227
.xword 228
.xword 229
.xword 230
.xword 231
.xword 232
.xword 233
.xword 234
.xword 235
.xword 236
.xword 237
.xword 238
.xword 239
.xword 240
.xword 241
.xword 242
.xword 243
.xword 244
.xword 245
.xword 246
.xword 247
.xword 248
.xword 249
.xword 250
.xword 251
.xword 252
.xword 253
.xword 254
.xword 255
.global tabcp1253
.align 3
.type tabcp1253, %object
.size tabcp1253, 2048
tabcp1253:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 8364
.xword -1
.xword 8218
.xword 402
.xword 8222
.xword 8230
.xword 8224
.xword 8225
.xword -1
.xword 8240
.xword -1
.xword 8249
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword -1
.xword 8482
.xword -1
.xword 8250
.xword -1
.xword -1
.xword -1
.xword -1
.xword 160
.xword 901
.xword 902
.xword 163
.xword 164
.xword 165
.xword 166
.xword 167
.xword 168
.xword 169
.xword -1
.xword 171
.xword 172
.xword 173
.xword 174
.xword 8213
.xword 176
.xword 177
.xword 178
.xword 179
.xword 900
.xword 181
.xword 182
.xword 183
.xword 904
.xword 905
.xword 906
.xword 187
.xword 908
.xword 189
.xword 910
.xword 911
.xword 912
.xword 913
.xword 914
.xword 915
.xword 916
.xword 917
.xword 918
.xword 919
.xword 920
.xword 921
.xword 922
.xword 923
.xword 924
.xword 925
.xword 926
.xword 927
.xword 928
.xword 929
.xword -1
.xword 931
.xword 932
.xword 933
.xword 934
.xword 935
.xword 936
.xword 937
.xword 938
.xword 939
.xword 940
.xword 941
.xword 942
.xword 943
.xword 944
.xword 945
.xword 946
.xword 947
.xword 948
.xword 949
.xword 950
.xword 951
.xword 952
.xword 953
.xword 954
.xword 955
.xword 956
.xword 957
.xword 958
.xword 959
.xword 960
.xword 961
.xword 962
.xword 963
.xword 964
.xword 965
.xword 966
.xword 967
.xword 968
.xword 969
.xword 970
.xword 971
.xword 972
.xword 973
.xword 974
.xword -1
.global tabcp1254
.align 3
.type tabcp1254, %object
.size tabcp1254, 2048
tabcp1254:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 8364
.xword -1
.xword 8218
.xword 402
.xword 8222
.xword 8230
.xword 8224
.xword 8225
.xword 710
.xword 8240
.xword 352
.xword 8249
.xword 338
.xword -1
.xword -1
.xword -1
.xword -1
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword 732
.xword 8482
.xword 353
.xword 8250
.xword 339
.xword -1
.xword -1
.xword 376
.xword 160
.xword 161
.xword 162
.xword 163
.xword 164
.xword 165
.xword 166
.xword 167
.xword 168
.xword 169
.xword 170
.xword 171
.xword 172
.xword 173
.xword 174
.xword 175
.xword 176
.xword 177
.xword 178
.xword 179
.xword 180
.xword 181
.xword 182
.xword 183
.xword 184
.xword 185
.xword 186
.xword 187
.xword 188
.xword 189
.xword 190
.xword 191
.xword 192
.xword 193
.xword 194
.xword 195
.xword 196
.xword 197
.xword 198
.xword 199
.xword 200
.xword 201
.xword 202
.xword 203
.xword 204
.xword 205
.xword 206
.xword 207
.xword 286
.xword 209
.xword 210
.xword 211
.xword 212
.xword 213
.xword 214
.xword 215
.xword 216
.xword 217
.xword 218
.xword 219
.xword 220
.xword 304
.xword 350
.xword 223
.xword 224
.xword 225
.xword 226
.xword 227
.xword 228
.xword 229
.xword 230
.xword 231
.xword 232
.xword 233
.xword 234
.xword 235
.xword 236
.xword 237
.xword 238
.xword 239
.xword 287
.xword 241
.xword 242
.xword 243
.xword 244
.xword 245
.xword 246
.xword 247
.xword 248
.xword 249
.xword 250
.xword 251
.xword 252
.xword 305
.xword 351
.xword 255
.global tabcp1255
.align 3
.type tabcp1255, %object
.size tabcp1255, 2048
tabcp1255:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 8364
.xword -1
.xword 8218
.xword 402
.xword 8222
.xword 8230
.xword 8224
.xword 8225
.xword 710
.xword 8240
.xword -1
.xword 8249
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword 732
.xword 8482
.xword -1
.xword 8250
.xword -1
.xword -1
.xword -1
.xword -1
.xword 160
.xword 161
.xword 162
.xword 163
.xword 8362
.xword 165
.xword 166
.xword 167
.xword 168
.xword 169
.xword 215
.xword 171
.xword 172
.xword 173
.xword 174
.xword 175
.xword 176
.xword 177
.xword 178
.xword 179
.xword 180
.xword 181
.xword 182
.xword 183
.xword 184
.xword 185
.xword 247
.xword 187
.xword 188
.xword 189
.xword 190
.xword 191
.xword 1456
.xword 1457
.xword 1458
.xword 1459
.xword 1460
.xword 1461
.xword 1462
.xword 1463
.xword 1464
.xword 1465
.xword -1
.xword 1467
.xword 1468
.xword 1469
.xword 1470
.xword 1471
.xword 1472
.xword 1473
.xword 1474
.xword 1475
.xword 1520
.xword 1521
.xword 1522
.xword 1523
.xword 1524
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword -1
.xword 1488
.xword 1489
.xword 1490
.xword 1491
.xword 1492
.xword 1493
.xword 1494
.xword 1495
.xword 1496
.xword 1497
.xword 1498
.xword 1499
.xword 1500
.xword 1501
.xword 1502
.xword 1503
.xword 1504
.xword 1505
.xword 1506
.xword 1507
.xword 1508
.xword 1509
.xword 1510
.xword 1511
.xword 1512
.xword 1513
.xword 1514
.xword -1
.xword -1
.xword 8206
.xword 8207
.xword -1
.global tabcp1256
.align 3
.type tabcp1256, %object
.size tabcp1256, 2048
tabcp1256:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 8364
.xword 1662
.xword 8218
.xword 402
.xword 8222
.xword 8230
.xword 8224
.xword 8225
.xword 710
.xword 8240
.xword 1657
.xword 8249
.xword 338
.xword 1670
.xword 1688
.xword 1672
.xword 1711
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword 1705
.xword 8482
.xword 1681
.xword 8250
.xword 339
.xword 8204
.xword 8205
.xword 1722
.xword 160
.xword 1548
.xword 162
.xword 163
.xword 164
.xword 165
.xword 166
.xword 167
.xword 168
.xword 169
.xword 1726
.xword 171
.xword 172
.xword 173
.xword 174
.xword 175
.xword 176
.xword 177
.xword 178
.xword 179
.xword 180
.xword 181
.xword 182
.xword 183
.xword 184
.xword 185
.xword 1563
.xword 187
.xword 188
.xword 189
.xword 190
.xword 1567
.xword 1729
.xword 1569
.xword 1570
.xword 1571
.xword 1572
.xword 1573
.xword 1574
.xword 1575
.xword 1576
.xword 1577
.xword 1578
.xword 1579
.xword 1580
.xword 1581
.xword 1582
.xword 1583
.xword 1584
.xword 1585
.xword 1586
.xword 1587
.xword 1588
.xword 1589
.xword 1590
.xword 215
.xword 1591
.xword 1592
.xword 1593
.xword 1594
.xword 1600
.xword 1601
.xword 1602
.xword 1603
.xword 224
.xword 1604
.xword 226
.xword 1605
.xword 1606
.xword 1607
.xword 1608
.xword 231
.xword 232
.xword 233
.xword 234
.xword 235
.xword 1609
.xword 1610
.xword 238
.xword 239
.xword 1611
.xword 1612
.xword 1613
.xword 1614
.xword 244
.xword 1615
.xword 1616
.xword 247
.xword 1617
.xword 249
.xword 1618
.xword 251
.xword 252
.xword 8206
.xword 8207
.xword 1746
.global tabcp1257
.align 3
.type tabcp1257, %object
.size tabcp1257, 2048
tabcp1257:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 8364
.xword -1
.xword 8218
.xword -1
.xword 8222
.xword 8230
.xword 8224
.xword 8225
.xword -1
.xword 8240
.xword -1
.xword 8249
.xword -1
.xword 168
.xword 711
.xword 184
.xword -1
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword -1
.xword 8482
.xword -1
.xword 8250
.xword -1
.xword 175
.xword 731
.xword -1
.xword 160
.xword -1
.xword 162
.xword 163
.xword 164
.xword -1
.xword 166
.xword 167
.xword 216
.xword 169
.xword 342
.xword 171
.xword 172
.xword 173
.xword 174
.xword 198
.xword 176
.xword 177
.xword 178
.xword 179
.xword 180
.xword 181
.xword 182
.xword 183
.xword 248
.xword 185
.xword 343
.xword 187
.xword 188
.xword 189
.xword 190
.xword 230
.xword 260
.xword 302
.xword 256
.xword 262
.xword 196
.xword 197
.xword 280
.xword 274
.xword 268
.xword 201
.xword 377
.xword 278
.xword 290
.xword 310
.xword 298
.xword 315
.xword 352
.xword 323
.xword 325
.xword 211
.xword 332
.xword 213
.xword 214
.xword 215
.xword 370
.xword 321
.xword 346
.xword 362
.xword 220
.xword 379
.xword 381
.xword 223
.xword 261
.xword 303
.xword 257
.xword 263
.xword 228
.xword 229
.xword 281
.xword 275
.xword 269
.xword 233
.xword 378
.xword 279
.xword 291
.xword 311
.xword 299
.xword 316
.xword 353
.xword 324
.xword 326
.xword 243
.xword 333
.xword 245
.xword 246
.xword 247
.xword 371
.xword 322
.xword 347
.xword 363
.xword 252
.xword 380
.xword 382
.xword 729
.global tabcp1258
.align 3
.type tabcp1258, %object
.size tabcp1258, 2048
tabcp1258:
.xword 0
.xword 1
.xword 2
.xword 3
.xword 4
.xword 5
.xword 6
.xword 7
.xword 8
.xword 9
.xword 10
.xword 11
.xword 12
.xword 13
.xword 14
.xword 15
.xword 16
.xword 17
.xword 18
.xword 19
.xword 20
.xword 21
.xword 22
.xword 23
.xword 24
.xword 25
.xword 26
.xword 27
.xword 28
.xword 29
.xword 30
.xword 31
.xword 32
.xword 33
.xword 34
.xword 35
.xword 36
.xword 37
.xword 38
.xword 39
.xword 40
.xword 41
.xword 42
.xword 43
.xword 44
.xword 45
.xword 46
.xword 47
.xword 48
.xword 49
.xword 50
.xword 51
.xword 52
.xword 53
.xword 54
.xword 55
.xword 56
.xword 57
.xword 58
.xword 59
.xword 60
.xword 61
.xword 62
.xword 63
.xword 64
.xword 65
.xword 66
.xword 67
.xword 68
.xword 69
.xword 70
.xword 71
.xword 72
.xword 73
.xword 74
.xword 75
.xword 76
.xword 77
.xword 78
.xword 79
.xword 80
.xword 81
.xword 82
.xword 83
.xword 84
.xword 85
.xword 86
.xword 87
.xword 88
.xword 89
.xword 90
.xword 91
.xword 92
.xword 93
.xword 94
.xword 95
.xword 96
.xword 97
.xword 98
.xword 99
.xword 100
.xword 101
.xword 102
.xword 103
.xword 104
.xword 105
.xword 106
.xword 107
.xword 108
.xword 109
.xword 110
.xword 111
.xword 112
.xword 113
.xword 114
.xword 115
.xword 116
.xword 117
.xword 118
.xword 119
.xword 120
.xword 121
.xword 122
.xword 123
.xword 124
.xword 125
.xword 126
.xword 127
.xword 8364
.xword -1
.xword 8218
.xword 402
.xword 8222
.xword 8230
.xword 8224
.xword 8225
.xword 710
.xword 8240
.xword -1
.xword 8249
.xword 338
.xword -1
.xword -1
.xword -1
.xword -1
.xword 8216
.xword 8217
.xword 8220
.xword 8221
.xword 8226
.xword 8211
.xword 8212
.xword 732
.xword 8482
.xword -1
.xword 8250
.xword 339
.xword -1
.xword -1
.xword 376
.xword 160
.xword 161
.xword 162
.xword 163
.xword 164
.xword 165
.xword 166
.xword 167
.xword 168
.xword 169
.xword 170
.xword 171
.xword 172
.xword 173
.xword 174
.xword 175
.xword 176
.xword 177
.xword 178
.xword 179
.xword 180
.xword 181
.xword 182
.xword 183
.xword 184
.xword 185
.xword 186
.xword 187
.xword 188
.xword 189
.xword 190
.xword 191
.xword 192
.xword 193
.xword 194
.xword 258
.xword 196
.xword 197
.xword 198
.xword 199
.xword 200
.xword 201
.xword 202
.xword 203
.xword 768
.xword 205
.xword 206
.xword 207
.xword 272
.xword 209
.xword 777
.xword 211
.xword 212
.xword 416
.xword 214
.xword 215
.xword 216
.xword 217
.xword 218
.xword 219
.xword 220
.xword 431
.xword 771
.xword 223
.xword 224
.xword 225
.xword 226
.xword 259
.xword 228
.xword 229
.xword 230
.xword 231
.xword 232
.xword 233
.xword 234
.xword 235
.xword 769
.xword 237
.xword 238
.xword 239
.xword 273
.xword 241
.xword 803
.xword 243
.xword 244
.xword 417
.xword 246
.xword 247
.xword 248
.xword 249
.xword 250
.xword 251
.xword 252
.xword 432
.xword 8363
.xword 255
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global signaled
.bss
.align 2
.type signaled, %object
.size signaled, 4
signaled:
.zero 4
.section .rodata
.align 3
.LC0:
.string "username required when run as root\n"
.align 3
.LC1:
.string "getpwnam"
.align 3
.LC2:
.string "%s is superuser\n"
.align 3
.LC3:
.string "getpwuid"
.align 3
.LC4:
.string "/tmp/.vbox-%s-aux/mkrawsock"
.align 3
.LC5:
.string "socket pathname truncated\n"
.align 3
.LC6:
.string "%s: no directory separator\n"
.align 3
.LC7:
.string "chown"
.align 3
.LC8:
.string "mkdir"
.align 3
.LC9:
.string "%s: exists but not owned by %s\n"
.align 3
.LC10:
.string "%s: bad mode %04o\n"
.align 3
.LC11:
.string "socket"
.align 3
.LC12:
.string "chmod"
.align 3
.LC13:
.string "listen"
.align 3
.LC14:
.string "accept"
.align 3
.LC15:
.string "unlink"
.text
.align 2
.global main
.type main, %function
main:
.LFB34:
.cfi_startproc
stp x29, x30, [sp, -368]!
.cfi_def_cfa_offset 368
.cfi_offset 29, -368
.cfi_offset 30, -360
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -352
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, 360]
mov x1, 0
add x0, sp, 96
mov x2, 110
mov w1, 0
bl memset
mov w0, 1
strh w0, [sp, 96]
bl getuid
cmp w0, 0
bne .L2
ldr w0, [sp, 44]
cmp w0, 2
beq .L3
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 35
mov x1, 1
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl fwrite
mov w0, 1
b .L26
.L3:
bl __errno_location
str wzr, [x0]
ldr x0, [sp, 32]
add x0, x0, 8
ldr x0, [x0]
bl getpwnam
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L5
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
mov w0, 1
b .L26
.L5:
ldr x0, [sp, 72]
ldr w0, [x0, 16]
cmp w0, 0
bne .L6
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 72]
ldr x0, [x0]
mov x2, x0
adrp x0, .LC2
add x1, x0, :lo12:.LC2
mov x0, x3
bl fprintf
mov w0, 1
b .L26
.L2:
bl __errno_location
str wzr, [x0]
bl getuid
bl getpwuid
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L6
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl perror
mov w0, 1
b .L26
.L6:
ldr x0, [sp, 72]
ldr x1, [x0]
add x0, sp, 96
add x4, x0, 2
mov x3, x1
adrp x0, .LC4
add x2, x0, :lo12:.LC4
mov x1, 108
mov x0, x4
bl snprintf
sxtw x0, w0
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 108
bls .L7
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 26
mov x1, 1
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl fwrite
mov w0, 1
b .L26
.L7:
add x0, sp, 96
add x0, x0, 2
mov w1, 47
bl strrchr
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L8
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
add x0, sp, 96
add x0, x0, 2
mov x2, x0
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov x0, x3
bl fprintf
mov w0, 1
b .L26
.L8:
ldr x0, [sp, 88]
strb wzr, [x0]
add x0, sp, 96
add x0, x0, 2
mov w1, 448
bl mkdir
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bne .L9
ldr x0, [sp, 72]
ldr w1, [x0, 16]
ldr x0, [sp, 72]
ldr w2, [x0, 20]
add x0, sp, 96
add x0, x0, 2
bl chown
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L10
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl perror
mov w0, 1
b .L26
.L9:
bl __errno_location
ldr w0, [x0]
cmp w0, 17
beq .L11
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl perror
mov w0, 1
b .L26
.L11:
add x0, sp, 96
add x0, x0, 2
mov w2, 16384
mov w1, 0
bl open
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L12
add x0, sp, 96
add x0, x0, 2
bl perror
mov w0, 1
b .L26
.L12:
add x0, sp, 208
mov x1, x0
ldr w0, [sp, 60]
bl fstat
str w0, [sp, 56]
ldr w0, [sp, 60]
bl close
ldr w0, [sp, 56]
cmp w0, 0
bge .L14
add x0, sp, 96
add x0, x0, 2
bl perror
mov w0, 1
b .L26
.L14:
ldr w1, [sp, 232]
ldr x0, [sp, 72]
ldr w0, [x0, 16]
cmp w1, w0
beq .L15
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldr x0, [sp, 72]
ldr x1, [x0]
add x0, sp, 96
add x0, x0, 2
mov x3, x1
mov x2, x0
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, x4
bl fprintf
mov w0, 1
b .L26
.L15:
ldr w0, [sp, 224]
and w0, w0, 511
cmp w0, 448
beq .L10
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldr w0, [sp, 224]
and w1, w0, 511
add x0, sp, 96
add x0, x0, 2
mov w3, w1
mov x2, x0
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, x4
bl fprintf
mov w0, 1
b .L26
.L10:
ldr x0, [sp, 88]
mov w1, 47
strb w1, [x0]
mov w2, 0
mov w1, 1
mov w0, 1
bl socket
str w0, [sp, 64]
ldr w0, [sp, 64]
cmp w0, 0
bge .L17
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl perror
mov w0, 1
b .L26
.L17:
add x0, sp, 96
mov x19, x0
add x0, sp, 96
add x0, x0, 2
bl strlen
add w0, w0, 3
mov w2, w0
mov x1, x19
ldr w0, [sp, 64]
bl bind
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L18
add x0, sp, 96
add x0, x0, 2
bl perror
ldr w0, [sp, 64]
bl close
mov w0, 1
b .L26
.L18:
ldr x0, [sp, 72]
ldr w1, [x0, 16]
ldr x0, [sp, 72]
ldr w2, [x0, 20]
add x0, sp, 96
add x0, x0, 2
bl chown
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L19
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl perror
ldr w0, [sp, 64]
bl close
mov w0, 1
b .L26
.L19:
add x0, sp, 96
add x0, x0, 2
mov w1, 384
bl chmod
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L20
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl perror
ldr w0, [sp, 64]
bl close
mov w0, 1
b .L26
.L20:
mov w1, 1
ldr w0, [sp, 64]
bl listen
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L21
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl perror
ldr w0, [sp, 64]
bl close
mov w0, 1
b .L26
.L21:
add x0, sp, 208
mov x2, 152
mov w1, 0
bl memset
adrp x0, handler
add x0, x0, :lo12:handler
str x0, [sp, 208]
add x0, sp, 208
add x0, x0, 8
bl sigemptyset
add x0, sp, 208
mov x2, 0
mov x1, x0
mov w0, 2
bl sigaction
add x0, sp, 208
mov x2, 0
mov x1, x0
mov w0, 15
bl sigaction
b .L22
.L24:
mov x0, 0
mov x2, 0
mov x1, x0
ldr w0, [sp, 64]
bl accept
str w0, [sp, 68]
ldr w0, [sp, 68]
cmp w0, 0
bge .L23
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl perror
b .L22
.L23:
ldr w0, [sp, 68]
bl serve
ldr w0, [sp, 68]
bl close
.L22:
adrp x0, signaled
add x0, x0, :lo12:signaled
ldr w0, [x0]
cmp w0, 0
beq .L24
ldr w0, [sp, 64]
bl close
add x0, sp, 96
add x0, x0, 2
bl unlink
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L25
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl perror
.L25:
mov w0, 0
.L26:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 360]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L27
bl __stack_chk_fail
.L27:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 368
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size main, .-main
.align 2
.type handler, %function
handler:
.LFB35:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
adrp x0, signaled
add x0, x0, :lo12:signaled
mov w1, 1
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size handler, .-handler
.section .rodata
.align 3
.LC16:
.string "SO_PEERCRED"
.align 3
.LC17:
.string "request from pid %lu uid %lu "
.align 3
.LC18:
.string "recv"
.align 3
.LC19:
.string "for ICMPv4 socket\n"
.align 3
.LC20:
.string "for ICMPv6 socket\n"
.align 3
.LC21:
.string "bad request 0x%02x\n"
.align 3
.LC22:
.string "sendmsg"
.text
.align 2
.type serve, %function
serve:
.LFB36:
.cfi_startproc
stp x29, x30, [sp, -208]!
.cfi_def_cfa_offset 208
.cfi_offset 29, -208
.cfi_offset 30, -200
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, 200]
mov x1, 0
mov w0, 12
str w0, [sp, 44]
add x1, sp, 44
add x0, sp, 80
mov x4, x1
mov x3, x0
mov w2, 17
mov w1, 1
ldr w0, [sp, 28]
bl getsockopt
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 0
bge .L30
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl perror
b .L29
.L30:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x4, [x0]
ldr w0, [sp, 80]
sxtw x0, w0
ldr w1, [sp, 84]
uxtw x1, w1
mov x3, x1
mov x2, x0
adrp x0, .LC17
add x1, x0, :lo12:.LC17
mov x0, x4
bl fprintf
add x0, sp, 168
mov x2, 1
mov x1, x0
ldr w0, [sp, 28]
bl read
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
bge .L32
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl perror
b .L29
.L32:
mov w0, -1
str w0, [sp, 48]
ldrb w0, [sp, 168]
cmp w0, 52
beq .L33
cmp w0, 54
beq .L34
b .L43
.L33:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 18
mov x1, 1
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl fwrite
mov w0, 2
bl mkrawsock
str w0, [sp, 48]
b .L36
.L34:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 18
mov x1, 1
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl fwrite
mov w0, 10
bl mkrawsock
str w0, [sp, 48]
b .L36
.L43:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldrb w0, [sp, 168]
mov w2, w0
adrp x0, .LC21
add x1, x0, :lo12:.LC21
mov x0, x3
bl fprintf
b .L29
.L36:
ldr w0, [sp, 48]
cmp w0, 0
bge .L37
strb wzr, [sp, 168]
add x0, sp, 168
mov x2, 1
mov x1, x0
ldr w0, [sp, 28]
bl write
str x0, [sp, 72]
b .L29
.L37:
add x0, sp, 96
mov x2, 56
mov w1, 0
bl memset
add x0, sp, 176
mov x2, 24
mov w1, 0
bl memset
add x0, sp, 168
str x0, [sp, 152]
mov x0, 1
str x0, [sp, 160]
add x0, sp, 152
str x0, [sp, 112]
mov x0, 1
str x0, [sp, 120]
add x0, sp, 176
str x0, [sp, 128]
mov x0, 24
str x0, [sp, 136]
ldr x0, [sp, 136]
cmp x0, 15
bls .L38
ldr x0, [sp, 128]
b .L39
.L38:
mov x0, 0
.L39:
str x0, [sp, 64]
ldr x0, [sp, 64]
mov w1, 1
str w1, [x0, 8]
ldr x0, [sp, 64]
mov w1, 1
str w1, [x0, 12]
ldr x0, [sp, 64]
mov x1, 20
str x1, [x0]
ldr x0, [sp, 64]
add x0, x0, 16
ldr w1, [sp, 48]
str w1, [x0]
add x0, sp, 96
mov w2, 0
mov x1, x0
ldr w0, [sp, 28]
bl sendmsg
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bge .L40
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl perror
.L40:
ldr w0, [sp, 48]
bl close
.L29:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 200]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L42
bl __stack_chk_fail
.L42:
ldp x29, x30, [sp], 208
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size serve, .-serve
.section .rodata
.align 3
.LC23:
.string "IPPROTO_ICMP"
.align 3
.LC24:
.string "IPPROTO_ICMPV6"
.text
.align 2
.type mkrawsock, %function
mkrawsock:
.LFB37:
.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, 2
bne .L45
mov w2, 1
mov w1, 3
mov w0, 2
bl socket
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bge .L46
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl perror
mov w0, -1
b .L47
.L45:
mov w2, 58
mov w1, 3
mov w0, 10
bl socket
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bge .L46
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl perror
mov w0, -1
b .L47
.L46:
ldr w0, [sp, 44]
.L47:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE37:
.size mkrawsock, .-mkrawsock
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Hello World"
.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 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
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "**********************************"
.align 3
.LC1:
.string "* GESTION DE VEHICULES *"
.align 3
.LC2:
.string "1.Modifier le mot de passe\n2.Personnels\n3.clients\n4.Quitter\nChoix:"
.align 3
.LC3:
.string "%d"
.align 3
.LC4:
.string "clear"
.align 3
.LC5:
.string "passwd.dat"
.align 3
.LC6:
.string "*---> Personnel:"
.align 3
.LC7:
.ascii "\t1.Ajouter un vehicule\n\t2.Supprimer un vehicule\n\t3.Ajou"
.ascii "ter un client\n\t4.Modifier un client\n\t5.Supprimer un clie"
.ascii "nt\n\t6.Ajouter une "
.string "facture\n\t7.Supprimer une facture\n\t8.Reserver un vehicule pour un client\n\t9.Afficher les informations des clients\n\t10.Afficher les vehicules disponibles\n\t11.Afficher les reservations\n\t12.Afficher les factures\n\t13.Supprimer des reservations\n\t14.Retour\nChoix:"
.align 3
.LC8:
.string "*---> Clients:"
.align 3
.LC9:
.string "\t1.Mes factures\n\t2.Informations sur un vehicule\n\t3.Liste des vehicules disponibles\n\t4.Retour\n\tChoix:"
.text
.align 2
.global menu
.type menu, %function
menu:
.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]
bl verf_passFile
adrp x0, choix1.2
add x0, x0, :lo12:choix1.2
ldr w0, [x0]
cmp w0, 0
bne .L2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
mov w0, 10
bl putchar
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
adrp x0, choix1.2
add x1, x0, :lo12:choix1.2
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
bl getchar
mov w0, 10
bl putchar
b .L3
.L2:
adrp x0, choix1.2
add x0, x0, :lo12:choix1.2
ldr w0, [x0]
cmp w0, 4
ble .L3
adrp x0, choix1.2
add x0, x0, :lo12:choix1.2
str wzr, [x0]
.L3:
adrp x0, choix1.2
add x0, x0, :lo12:choix1.2
ldr w0, [x0]
cmp w0, 4
beq .L4
cmp w0, 4
bgt .L33
cmp w0, 3
beq .L6
cmp w0, 3
bgt .L33
cmp w0, 1
beq .L7
cmp w0, 2
beq .L8
b .L33
.L7:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl verf_pass
cmp w0, 0
beq .L9
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl remove
bl verf_passFile
.L9:
mov w0, 10
bl putchar
adrp x0, choix1.2
add x0, x0, :lo12:choix1.2
str wzr, [x0]
b .L5
.L8:
adrp x0, verf.1
add x0, x0, :lo12:verf.1
ldr w0, [x0]
cmp w0, 0
bne .L10
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl verf_pass
mov w1, w0
adrp x0, verf.1
add x0, x0, :lo12:verf.1
str w1, [x0]
.L10:
adrp x0, verf.1
add x0, x0, :lo12:verf.1
ldr w0, [x0]
cmp w0, 0
beq .L11
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl puts
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
adrp x0, choix2.0
add x1, x0, :lo12:choix2.0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
bl getchar
mov w0, 10
bl putchar
adrp x0, choix2.0
add x0, x0, :lo12:choix2.0
ldr w0, [x0]
cmp w0, 14
beq .L12
cmp w0, 14
bgt .L34
cmp w0, 13
beq .L14
cmp w0, 13
bgt .L34
cmp w0, 12
beq .L15
cmp w0, 12
bgt .L34
cmp w0, 11
beq .L16
cmp w0, 11
bgt .L34
cmp w0, 10
beq .L17
cmp w0, 10
bgt .L34
cmp w0, 9
beq .L18
cmp w0, 9
bgt .L34
cmp w0, 8
beq .L19
cmp w0, 8
bgt .L34
cmp w0, 7
beq .L20
cmp w0, 7
bgt .L34
cmp w0, 6
beq .L21
cmp w0, 6
bgt .L34
cmp w0, 5
beq .L22
cmp w0, 5
bgt .L34
cmp w0, 4
beq .L23
cmp w0, 4
bgt .L34
cmp w0, 3
beq .L24
cmp w0, 3
bgt .L34
cmp w0, 1
beq .L25
cmp w0, 2
beq .L26
b .L34
.L25:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl add_vehi
b .L27
.L26:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl del_vehi
b .L27
.L24:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl add_client
b .L27
.L23:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl modify_client
b .L27
.L22:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl del_client
b .L27
.L21:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl add_fact
b .L27
.L20:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl del_fact
b .L27
.L19:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl add_reserv
b .L27
.L18:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl info_client
b .L27
.L17:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl info_vehi
mov w0, 10
bl putchar
b .L27
.L16:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl info_reserv
b .L27
.L15:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl info_fact
b .L27
.L14:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl del_reserv
b .L27
.L12:
adrp x0, verf.1
add x0, x0, :lo12:verf.1
str wzr, [x0]
adrp x0, choix1.2
add x0, x0, :lo12:choix1.2
str wzr, [x0]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
b .L27
.L11:
adrp x0, choix1.2
add x0, x0, :lo12:choix1.2
str wzr, [x0]
b .L34
.L27:
b .L34
.L6:
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl puts
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl printf
adrp x0, choix2.0
add x1, x0, :lo12:choix2.0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
bl getchar
adrp x0, choix2.0
add x0, x0, :lo12:choix2.0
ldr w0, [x0]
cmp w0, 4
beq .L28
cmp w0, 4
bgt .L35
cmp w0, 3
beq .L30
cmp w0, 3
bgt .L35
cmp w0, 1
beq .L31
cmp w0, 2
beq .L32
b .L35
.L31:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl show_clientfact
mov w0, 10
bl putchar
b .L29
.L32:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl show_clientvehi
b .L29
.L30:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
bl info_vehi
b .L29
.L28:
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
adrp x0, choix1.2
add x0, x0, :lo12:choix1.2
str wzr, [x0]
nop
.L29:
b .L35
.L4:
ldr x0, [sp, 24]
str wzr, [x0]
b .L5
.L34:
nop
b .L33
.L35:
nop
.L5:
.L33:
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size menu, .-menu
.align 2
.global main
.type main, %function
main:
.LFB7:
.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
mov w0, 1
str w0, [sp, 20]
b .L37
.L38:
add x0, sp, 20
bl menu
.L37:
ldr w0, [sp, 20]
cmp w0, 0
bne .L38
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 .L40
bl __stack_chk_fail
.L40:
mov w0, w1
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
.section .rodata
.align 3
.LC10:
.string "Combien de vehicule voulez ajouter:"
.align 3
.LC11:
.string "Entrez la marque de la voiture:"
.align 3
.LC12:
.string "Entrez le kilometrage:"
.align 3
.LC13:
.string "%lf"
.align 3
.LC14:
.string "Entrez le type:"
.align 3
.LC15:
.string "Entrez le nombre limite de passagers:"
.align 3
.LC16:
.string "Entrez le prix de location du vehicule:"
.text
.align 2
.global add_vehi
.type add_vehi, %function
add_vehi:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -480]!
.cfi_def_cfa_offset 480
.cfi_offset 29, -480
.cfi_offset 30, -472
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 472]
mov x1, 0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
add x0, sp, 240
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
bl getchar
str wzr, [sp, 244]
b .L42
.L43:
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl puts
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 248
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 248
bl delRet
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl puts
add x0, sp, 248
add x0, x0, 104
mov x1, x0
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl __isoc99_scanf
bl getchar
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl puts
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 248
add x0, x0, 112
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 248
add x0, x0, 112
bl delRet
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl puts
add x0, sp, 248
add x0, x0, 212
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
bl getchar
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl puts
add x0, sp, 248
add x0, x0, 216
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
bl getchar
add x0, sp, 16
add x1, sp, 248
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]
ldp q0, q1, [x1, 192]
stp q0, q1, [x0, 192]
add x0, sp, 16
bl save_vehi
ldr w0, [sp, 244]
add w0, w0, 1
str w0, [sp, 244]
.L42:
ldr w0, [sp, 240]
ldr w1, [sp, 244]
cmp w1, w0
blt .L43
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 472]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L44
bl __stack_chk_fail
.L44:
ldp x29, x30, [sp], 480
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size add_vehi, .-add_vehi
.align 2
.global delRet
.type delRet, %function
delRet:
.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, 24]
str xzr, [sp, 40]
mov w1, 10
ldr x0, [sp, 24]
bl strchr
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L47
ldr x0, [sp, 40]
strb wzr, [x0]
.L47:
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size delRet, .-delRet
.section .rodata
.align 3
.LC17:
.string "a"
.align 3
.LC18:
.string "vehi.dat"
.align 3
.LC19:
.string "%s,%lf,%s,%d,%d\n"
.text
.align 2
.global save_vehi
.type save_vehi, %function
save_vehi:
.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 x19, [sp, 16]
.cfi_offset 19, -32
mov x19, x0
str xzr, [sp, 40]
adrp x0, .LC17
add x1, x0, :lo12:.LC17
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl fopen
str x0, [sp, 40]
ldr d0, [x19, 104]
ldr w1, [x19, 212]
ldr w2, [x19, 216]
add x0, x19, 112
mov w5, w2
mov w4, w1
mov x3, x0
mov x2, x19
adrp x0, .LC19
add x1, x0, :lo12:.LC19
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 40]
bl fclose
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
.LFE10:
.size save_vehi, .-save_vehi
.section .rodata
.align 3
.LC20:
.string "Entrez la marque du vehicule \303\240 supprimer"
.align 3
.LC21:
.string "r"
.align 3
.LC22:
.string "Le fichier vehi.dat n'existe pas ou n'a pas encore ete cr\303\251er\n"
.align 3
.LC23:
.string "w+"
.align 3
.LC24:
.string "tmp_vehi.dat"
.align 3
.LC25:
.string "La voiture de marque \"%s\" \303\240 bien \303\251t\303\251 supprimer\n"
.align 3
.LC26:
.string "Aucune voiture de la marque \"%s\" n'a \303\251t\303\251 trouv\303\251e\n"
.text
.align 2
.global del_vehi
.type del_vehi, %function
del_vehi:
.LFB11:
.cfi_startproc
sub sp, sp, #720
.cfi_def_cfa_offset 720
stp x29, x30, [sp]
.cfi_offset 29, -720
.cfi_offset 30, -712
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 712]
mov x1, 0
str xzr, [sp, 264]
str xzr, [sp, 272]
add x0, sp, 512
stp xzr, xzr, [x0, -8]
add x0, sp, 520
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
add x0, sp, 512
stp xzr, xzr, [x0, 96]
add x0, sp, 624
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
str wzr, [sp, 252]
str wzr, [sp, 256]
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl puts
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 504
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 504
bl delRet
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl fopen
str x0, [sp, 264]
ldr x0, [sp, 264]
cmp x0, 0
bne .L50
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 62
mov x1, 1
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl fwrite
mov w0, -1
bl exit
.L50:
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
b .L51
.L69:
str wzr, [sp, 260]
b .L52
.L54:
ldr w0, [sp, 252]
and w2, w0, 255
ldrsw x0, [sp, 260]
add x1, sp, 280
strb w2, [x1, x0]
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
ldr w0, [sp, 252]
cmp w0, 44
bne .L53
ldr w0, [sp, 260]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 280
strb wzr, [x1, x0]
.L53:
ldr w0, [sp, 260]
add w0, w0, 1
str w0, [sp, 260]
.L52:
ldr w0, [sp, 252]
cmp w0, 44
bne .L54
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
str wzr, [sp, 260]
b .L55
.L57:
ldr w0, [sp, 252]
and w2, w0, 255
ldrsw x0, [sp, 260]
add x1, sp, 608
strb w2, [x1, x0]
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
ldr w0, [sp, 252]
cmp w0, 44
bne .L56
ldr w0, [sp, 260]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 608
strb wzr, [x1, x0]
.L56:
ldr w0, [sp, 260]
add w0, w0, 1
str w0, [sp, 260]
.L55:
ldr w0, [sp, 252]
cmp w0, 44
bne .L57
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
add x0, sp, 608
mov x1, 0
bl strtod
str d0, [sp, 384]
str wzr, [sp, 260]
b .L58
.L60:
ldr w0, [sp, 252]
and w2, w0, 255
ldrsw x0, [sp, 260]
add x1, sp, 392
strb w2, [x1, x0]
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
ldr w0, [sp, 252]
cmp w0, 44
bne .L59
ldr w0, [sp, 260]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 392
strb wzr, [x1, x0]
.L59:
ldr w0, [sp, 260]
add w0, w0, 1
str w0, [sp, 260]
.L58:
ldr w0, [sp, 252]
cmp w0, 44
bne .L60
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
str wzr, [sp, 260]
b .L61
.L63:
ldr w0, [sp, 252]
and w2, w0, 255
ldrsw x0, [sp, 260]
add x1, sp, 608
strb w2, [x1, x0]
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
ldr w0, [sp, 252]
cmp w0, 44
bne .L62
ldr w0, [sp, 260]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 608
strb wzr, [x1, x0]
.L62:
ldr w0, [sp, 260]
add w0, w0, 1
str w0, [sp, 260]
.L61:
ldr w0, [sp, 252]
cmp w0, 44
bne .L63
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
add x0, sp, 608
mov w2, 10
mov x1, 0
bl strtol
str w0, [sp, 492]
str wzr, [sp, 260]
b .L64
.L66:
ldr w0, [sp, 252]
and w2, w0, 255
ldrsw x0, [sp, 260]
add x1, sp, 608
strb w2, [x1, x0]
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
ldr w0, [sp, 252]
cmp w0, 10
bne .L65
ldr w0, [sp, 260]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 608
strb wzr, [x1, x0]
.L65:
ldr w0, [sp, 260]
add w0, w0, 1
str w0, [sp, 260]
.L64:
ldr w0, [sp, 252]
cmp w0, 10
bne .L66
add x0, sp, 608
mov w2, 10
mov x1, 0
bl strtol
str w0, [sp, 496]
add x1, sp, 280
add x0, sp, 504
bl strcmp
cmp w0, 0
beq .L67
add x0, sp, 16
add x1, sp, 280
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]
ldp q0, q1, [x1, 192]
stp q0, q1, [x0, 192]
add x0, sp, 16
bl tmp_vehi
b .L68
.L67:
mov w0, 1
str w0, [sp, 256]
.L68:
ldr x0, [sp, 264]
bl fgetc
str w0, [sp, 252]
.L51:
ldr w0, [sp, 252]
cmn w0, #1
bne .L69
ldr w0, [sp, 256]
cmp w0, 0
beq .L70
ldr x0, [sp, 264]
bl fclose
adrp x0, .LC23
add x1, x0, :lo12:.LC23
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl fopen
str x0, [sp, 264]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl fopen
str x0, [sp, 272]
ldr x0, [sp, 272]
cmp x0, 0
beq .L71
ldr x0, [sp, 272]
bl fgetc
str w0, [sp, 252]
b .L72
.L73:
ldr x1, [sp, 264]
ldr w0, [sp, 252]
bl fputc
ldr x0, [sp, 272]
bl fgetc
str w0, [sp, 252]
.L72:
ldr w0, [sp, 252]
cmn w0, #1
bne .L73
ldr x0, [sp, 272]
bl fclose
ldr x0, [sp, 264]
bl fclose
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl remove
add x0, sp, 504
mov x1, x0
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl printf
b .L76
.L71:
add x0, sp, 504
mov x1, x0
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl printf
b .L76
.L70:
add x0, sp, 504
mov x1, x0
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl printf
.L76:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 712]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L75
bl __stack_chk_fail
.L75:
ldp x29, x30, [sp]
add sp, sp, 720
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size del_vehi, .-del_vehi
.section .rodata
.align 3
.LC27:
.string "Le fichier \"vehi.dat\" n'existe pas ou n'a pas encore ete cr\303\251er\n"
.text
.align 2
.global vehi_tab
.type vehi_tab, %function
vehi_tab:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -176
str x0, [sp, 40]
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]
str wzr, [sp, 48]
str wzr, [sp, 52]
str xzr, [sp, 72]
stp xzr, xzr, [sp, 80]
add x0, sp, 96
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl fopen
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L78
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 64
mov x1, 1
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl fwrite
mov w0, -1
bl exit
.L78:
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
b .L79
.L81:
ldr w0, [sp, 48]
cmp w0, 10
bne .L80
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L80:
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
.L79:
ldr w0, [sp, 48]
cmn w0, #1
bne .L81
ldrsw x0, [sp, 52]
mov x1, 224
bl calloc
str x0, [sp, 72]
ldr x0, [sp, 40]
ldr w1, [sp, 52]
str w1, [x0]
ldr x0, [sp, 64]
bl rewind
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
str wzr, [sp, 60]
b .L82
.L98:
str wzr, [sp, 56]
b .L83
.L85:
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 72]
add x1, x0, x1
ldr w0, [sp, 48]
and w2, w0, 255
ldrsw x0, [sp, 56]
strb w2, [x1, x0]
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 44
bne .L84
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 72]
add x1, x0, x1
ldr w0, [sp, 56]
add w0, w0, 1
sxtw x0, w0
strb wzr, [x1, x0]
.L84:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L83:
ldr w0, [sp, 48]
cmp w0, 44
bne .L85
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
str wzr, [sp, 56]
b .L86
.L88:
ldr w0, [sp, 48]
and w2, w0, 255
ldrsw x0, [sp, 56]
add x1, sp, 80
strb w2, [x1, x0]
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 44
bne .L87
ldr w0, [sp, 56]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 80
strb wzr, [x1, x0]
.L87:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L86:
ldr w0, [sp, 48]
cmp w0, 44
bne .L88
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 72]
add x19, x0, x1
add x0, sp, 80
mov x1, 0
bl strtod
str d0, [x19, 104]
str wzr, [sp, 56]
b .L89
.L91:
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 72]
add x1, x0, x1
ldr w0, [sp, 48]
and w2, w0, 255
ldrsw x0, [sp, 56]
add x0, x1, x0
mov w1, w2
strb w1, [x0, 112]
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 44
bne .L90
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 72]
add x1, x0, x1
ldr w0, [sp, 56]
add w0, w0, 1
sxtw x0, w0
add x0, x1, x0
strb wzr, [x0, 112]
.L90:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L89:
ldr w0, [sp, 48]
cmp w0, 44
bne .L91
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
str wzr, [sp, 56]
b .L92
.L94:
ldr w0, [sp, 48]
and w2, w0, 255
ldrsw x0, [sp, 56]
add x1, sp, 80
strb w2, [x1, x0]
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 44
bne .L93
ldr w0, [sp, 56]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 80
strb wzr, [x1, x0]
.L93:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L92:
ldr w0, [sp, 48]
cmp w0, 44
bne .L94
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
add x0, sp, 80
mov w2, 10
mov x1, 0
bl strtol
mov x2, x0
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 72]
add x0, x0, x1
mov w1, w2
str w1, [x0, 212]
str wzr, [sp, 56]
b .L95
.L97:
ldr w0, [sp, 48]
and w2, w0, 255
ldrsw x0, [sp, 56]
add x1, sp, 80
strb w2, [x1, x0]
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 10
bne .L96
ldr w0, [sp, 56]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 80
strb wzr, [x1, x0]
.L96:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L95:
ldr w0, [sp, 48]
cmp w0, 10
bne .L97
add x0, sp, 80
mov w2, 10
mov x1, 0
bl strtol
mov x2, x0
ldrsw x1, [sp, 60]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 72]
add x0, x0, x1
mov w1, w2
str w1, [x0, 216]
ldr x0, [sp, 64]
bl fgetc
str w0, [sp, 48]
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L82:
ldr w1, [sp, 60]
ldr w0, [sp, 52]
cmp w1, w0
blt .L98
ldr x0, [sp, 72]
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 .L100
bl __stack_chk_fail
.L100:
mov x0, x1
ldr x19, [sp, 16]
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size vehi_tab, .-vehi_tab
.section .rodata
.align 3
.LC28:
.string "<--- MARQUES DE VEHICULES DISPONIBLES --->\n"
.align 3
.LC29:
.string "\t\t\"%s\"\n"
.text
.align 2
.global show_vehi
.type show_vehi, %function
show_vehi:
.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 x0, [sp, 24]
str w1, [sp, 20]
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl puts
str wzr, [sp, 44]
b .L102
.L103:
ldrsw x1, [sp, 44]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 24]
add x0, x0, x1
mov x1, x0
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl printf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L102:
ldr w1, [sp, 44]
ldr w0, [sp, 20]
cmp w1, w0
blt .L103
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size show_vehi, .-show_vehi
.align 2
.global info_vehi
.type info_vehi, %function
info_vehi:
.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
str wzr, [sp, 28]
str xzr, [sp, 32]
add x0, sp, 28
bl vehi_tab
str x0, [sp, 32]
ldr w0, [sp, 28]
mov w1, w0
ldr x0, [sp, 32]
bl show_vehi
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 .L105
bl __stack_chk_fail
.L105:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size info_vehi, .-info_vehi
.section .rodata
.align 3
.LC30:
.string "*---> Ajout de clients:"
.align 3
.LC31:
.string "\tNom:"
.align 3
.LC32:
.string "\tPrenom:"
.align 3
.LC33:
.string "\tAdresse:"
.align 3
.LC34:
.string "\tMarque de vehicules disponibles:\n"
.align 3
.LC35:
.string "\n\tMarque du vehicule louer par le client:"
.align 3
.LC36:
.string "\n\t<*** La marque du vehicule entr\303\251e n'est pas repertori\303\251e ***>"
.align 3
.LC37:
.string "\n\t<*** Les informations du client ont bien \303\251t\303\251 enregistr\303\251es ***>"
.text
.align 2
.global add_client
.type add_client, %function
add_client:
.LFB15:
.cfi_startproc
sub sp, sp, #848
.cfi_def_cfa_offset 848
stp x29, x30, [sp]
.cfi_offset 29, -848
.cfi_offset 30, -840
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 840]
mov x1, 0
str wzr, [sp, 420]
mov w0, 1
str w0, [sp, 428]
str xzr, [sp, 432]
adrp x0, .LC30
add x0, x0, :lo12:.LC30
bl puts
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 440
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 440
bl delRet
adrp x0, .LC32
add x0, x0, :lo12:.LC32
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 440
add x0, x0, 100
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 440
add x0, x0, 100
bl delRet
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 440
add x0, x0, 200
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 440
add x0, x0, 200
bl delRet
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl puts
add x0, sp, 420
bl vehi_tab
str x0, [sp, 432]
ldr w0, [sp, 420]
mov w1, w0
ldr x0, [sp, 432]
bl show_vehi
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 440
add x0, x0, 300
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 440
add x0, x0, 300
bl delRet
str wzr, [sp, 424]
b .L107
.L109:
ldrsw x1, [sp, 424]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 432]
add x0, x0, x1
mov x1, x0
add x0, sp, 440
add x0, x0, 300
bl strcmp
cmp w0, 0
bne .L108
str wzr, [sp, 428]
.L108:
ldr w0, [sp, 424]
add w0, w0, 1
str w0, [sp, 424]
.L107:
ldr w0, [sp, 420]
ldr w1, [sp, 424]
cmp w1, w0
blt .L109
ldr w0, [sp, 428]
cmp w0, 0
beq .L110
adrp x0, .LC36
add x0, x0, :lo12:.LC36
bl puts
b .L113
.L110:
add x0, sp, 16
add x1, sp, 440
mov x2, 400
bl memcpy
add x0, sp, 16
bl save_client
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl puts
.L113:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 840]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L112
bl __stack_chk_fail
.L112:
ldp x29, x30, [sp]
add sp, sp, 848
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size add_client, .-add_client
.section .rodata
.align 3
.LC38:
.string "client.dat"
.align 3
.LC39:
.string "Erreur lors de l'ouverture du fichier\n"
.align 3
.LC40:
.string "%s,%s,%s,%s\n"
.text
.align 2
.global save_client
.type save_client, %function
save_client:
.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 x19, [sp, 16]
.cfi_offset 19, -32
mov x19, x0
str xzr, [sp, 40]
adrp x0, .LC17
add x1, x0, :lo12:.LC17
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L115
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 38
mov x1, 1
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl fwrite
mov w0, 1
bl exit
.L115:
add x2, x19, 300
add x1, x19, 200
add x0, x19, 100
mov x5, x2
mov x4, x1
mov x3, x0
mov x2, x19
adrp x0, .LC40
add x1, x0, :lo12:.LC40
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 40]
bl fclose
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
.LFE16:
.size save_client, .-save_client
.section .rodata
.align 3
.LC41:
.string "Entrez le nom du client \303\240 supprimer:"
.align 3
.LC42:
.string "Entrez le prenom du client \303\240 supprimer:"
.align 3
.LC43:
.string "Le fichier client.dat n'existe pas ou n'a pas encore ete cr\303\251er\n"
.align 3
.LC44:
.string "tmp_client.dat"
.align 3
.LC45:
.string "<*** Le client du nom de \"%s %s\" \303\240 bien \303\251t\303\251 supprimer ***>\n"
.align 3
.LC46:
.string "<*** Aucun client du nom de \"%s %s\" n'a \303\251t\303\251 trouv\303\251e ***>\n"
.text
.align 2
.global del_client
.type del_client, %function
del_client:
.LFB17:
.cfi_startproc
sub sp, sp, #1072
.cfi_def_cfa_offset 1072
stp x29, x30, [sp]
.cfi_offset 29, -1072
.cfi_offset 30, -1064
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1064]
mov x1, 0
str xzr, [sp, 440]
str xzr, [sp, 448]
add x0, sp, 1024
stp xzr, xzr, [x0, -168]
add x0, sp, 872
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
add x0, sp, 1024
stp xzr, xzr, [x0, -64]
add x0, sp, 976
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
str wzr, [sp, 428]
str wzr, [sp, 432]
adrp x0, .LC41
add x0, x0, :lo12:.LC41
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 856
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 856
bl delRet
adrp x0, .LC42
add x0, x0, :lo12:.LC42
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 960
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 960
bl delRet
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl fopen
str x0, [sp, 440]
ldr x0, [sp, 440]
cmp x0, 0
bne .L117
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 64
mov x1, 1
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl fwrite
mov w0, -1
bl exit
.L117:
ldr x0, [sp, 440]
bl fgetc
str w0, [sp, 428]
b .L118
.L133:
str wzr, [sp, 436]
b .L119
.L121:
ldr w0, [sp, 428]
and w2, w0, 255
ldrsw x0, [sp, 436]
add x1, sp, 456
strb w2, [x1, x0]
ldr x0, [sp, 440]
bl fgetc
str w0, [sp, 428]
ldr w0, [sp, 428]
cmp w0, 44
bne .L120
ldr w0, [sp, 436]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 456
strb wzr, [x1, x0]
.L120:
ldr w0, [sp, 436]
add w0, w0, 1
str w0, [sp, 436]
.L119:
ldr w0, [sp, 428]
cmp w0, 44
bne .L121
ldr x0, [sp, 440]
bl fgetc
str w0, [sp, 428]
str wzr, [sp, 436]
b .L122
.L124:
ldr w0, [sp, 428]
and w2, w0, 255
ldrsw x0, [sp, 436]
add x1, sp, 556
strb w2, [x1, x0]
ldr x0, [sp, 440]
bl fgetc
str w0, [sp, 428]
ldr w0, [sp, 428]
cmp w0, 44
bne .L123
ldr w0, [sp, 436]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 556
strb wzr, [x1, x0]
.L123:
ldr w0, [sp, 436]
add w0, w0, 1
str w0, [sp, 436]
.L122:
ldr w0, [sp, 428]
cmp w0, 44
bne .L124
ldr x0, [sp, 440]
bl fgetc
str w0, [sp, 428]
str wzr, [sp, 436]
b .L125
.L127:
ldr w0, [sp, 428]
and w2, w0, 255
ldrsw x0, [sp, 436]
add x1, sp, 656
strb w2, [x1, x0]
ldr x0, [sp, 440]
bl fgetc
str w0, [sp, 428]
ldr w0, [sp, 428]
cmp w0, 44
bne .L126
ldr w0, [sp, 436]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 656
strb wzr, [x1, x0]
.L126:
ldr w0, [sp, 436]
add w0, w0, 1
str w0, [sp, 436]
.L125:
ldr w0, [sp, 428]
cmp w0, 44
bne .L127
ldr x0, [sp, 440]
bl fgetc
str w0, [sp, 428]
str wzr, [sp, 436]
b .L128
.L130:
ldr w0, [sp, 428]
and w2, w0, 255
ldrsw x0, [sp, 436]
add x1, sp, 756
strb w2, [x1, x0]
ldr x0, [sp, 440]
bl fgetc
str w0, [sp, 428]
ldr w0, [sp, 428]
cmp w0, 10
bne .L129
ldr w0, [sp, 436]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 756
strb wzr, [x1, x0]
.L129:
ldr w0, [sp, 436]
add w0, w0, 1
str w0, [sp, 436]
.L128:
ldr w0, [sp, 428]
cmp w0, 10
bne .L130
add x1, sp, 456
add x0, sp, 856
bl strcmp
cmp w0, 0
bne .L131
add x0, sp, 456
add x1, x0, 100
add x0, sp, 960
bl strcmp
cmp w0, 0
bne .L131
mov w0, 1
str w0, [sp, 432]
b .L132
.L131:
add x0, sp, 16
add x1, sp, 456
mov x2, 400
bl memcpy
add x0, sp, 16
bl tmp_client
.L132:
ldr x0, [sp, 440]
bl fgetc
str w0, [sp, 428]
.L118:
ldr w0, [sp, 428]
cmn w0, #1
bne .L133
ldr w0, [sp, 432]
cmp w0, 0
beq .L134
ldr x0, [sp, 440]
bl fclose
adrp x0, .LC23
add x1, x0, :lo12:.LC23
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl fopen
str x0, [sp, 440]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl fopen
str x0, [sp, 448]
ldr x0, [sp, 448]
cmp x0, 0
beq .L135
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 428]
b .L136
.L137:
ldr x1, [sp, 440]
ldr w0, [sp, 428]
bl fputc
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 428]
.L136:
ldr w0, [sp, 428]
cmn w0, #1
bne .L137
ldr x0, [sp, 448]
bl fclose
ldr x0, [sp, 440]
bl fclose
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl remove
add x1, sp, 960
add x0, sp, 856
mov x2, x1
mov x1, x0
adrp x0, .LC45
add x0, x0, :lo12:.LC45
bl printf
b .L140
.L135:
add x1, sp, 960
add x0, sp, 856
mov x2, x1
mov x1, x0
adrp x0, .LC45
add x0, x0, :lo12:.LC45
bl printf
b .L140
.L134:
ldr x0, [sp, 440]
bl fclose
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl remove
add x1, sp, 960
add x0, sp, 856
mov x2, x1
mov x1, x0
adrp x0, .LC46
add x0, x0, :lo12:.LC46
bl printf
.L140:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1064]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L139
bl __stack_chk_fail
.L139:
ldp x29, x30, [sp]
add sp, sp, 1072
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size del_client, .-del_client
.section .rodata
.align 3
.LC47:
.string "Entrez le nom du client \303\240 modifi\303\251:"
.align 3
.LC48:
.string "Entrez le prenom du client \303\240 modifi\303\251:"
.align 3
.LC49:
.string "*---> Modification du client \"%s %s\":\n"
.align 3
.LC50:
.string "\n\t<*** Les informations du client\"%s %s\" ont bien \303\251t\303\251 modifi\303\251es ***>\n"
.text
.align 2
.global modify_client
.type modify_client, %function
modify_client:
.LFB18:
.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 xzr, [sp, 448]
str xzr, [sp, 456]
add x0, sp, 1024
stp xzr, xzr, [x0, -152]
add x0, sp, 888
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
add x0, sp, 1024
stp xzr, xzr, [x0, -48]
add x0, sp, 992
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
str wzr, [sp, 432]
str wzr, [sp, 436]
mov w0, 1
str w0, [sp, 440]
str xzr, [sp, 464]
adrp x0, .LC47
add x0, x0, :lo12:.LC47
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 872
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 872
bl delRet
adrp x0, .LC48
add x0, x0, :lo12:.LC48
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 976
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 976
bl delRet
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl fopen
str x0, [sp, 448]
ldr x0, [sp, 448]
cmp x0, 0
bne .L142
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 64
mov x1, 1
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl fwrite
mov w0, -1
bl exit
.L142:
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 432]
b .L143
.L162:
str wzr, [sp, 444]
b .L144
.L146:
ldr w0, [sp, 432]
and w2, w0, 255
ldrsw x0, [sp, 444]
add x1, sp, 472
strb w2, [x1, x0]
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 432]
ldr w0, [sp, 432]
cmp w0, 44
bne .L145
ldr w0, [sp, 444]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 472
strb wzr, [x1, x0]
.L145:
ldr w0, [sp, 444]
add w0, w0, 1
str w0, [sp, 444]
.L144:
ldr w0, [sp, 432]
cmp w0, 44
bne .L146
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 432]
str wzr, [sp, 444]
b .L147
.L149:
ldr w0, [sp, 432]
and w2, w0, 255
ldrsw x0, [sp, 444]
add x1, sp, 572
strb w2, [x1, x0]
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 432]
ldr w0, [sp, 432]
cmp w0, 44
bne .L148
ldr w0, [sp, 444]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 572
strb wzr, [x1, x0]
.L148:
ldr w0, [sp, 444]
add w0, w0, 1
str w0, [sp, 444]
.L147:
ldr w0, [sp, 432]
cmp w0, 44
bne .L149
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 432]
str wzr, [sp, 444]
b .L150
.L152:
ldr w0, [sp, 432]
and w2, w0, 255
ldrsw x0, [sp, 444]
add x1, sp, 672
strb w2, [x1, x0]
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 432]
ldr w0, [sp, 432]
cmp w0, 44
bne .L151
ldr w0, [sp, 444]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 672
strb wzr, [x1, x0]
.L151:
ldr w0, [sp, 444]
add w0, w0, 1
str w0, [sp, 444]
.L150:
ldr w0, [sp, 432]
cmp w0, 44
bne .L152
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 432]
str wzr, [sp, 444]
b .L153
.L155:
ldr w0, [sp, 432]
and w2, w0, 255
ldrsw x0, [sp, 444]
add x1, sp, 772
strb w2, [x1, x0]
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 432]
ldr w0, [sp, 432]
cmp w0, 10
bne .L154
ldr w0, [sp, 444]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 772
strb wzr, [x1, x0]
.L154:
ldr w0, [sp, 444]
add w0, w0, 1
str w0, [sp, 444]
.L153:
ldr w0, [sp, 432]
cmp w0, 10
bne .L155
add x1, sp, 472
add x0, sp, 872
bl strcmp
cmp w0, 0
bne .L156
add x0, sp, 472
add x1, x0, 100
add x0, sp, 976
bl strcmp
cmp w0, 0
bne .L156
add x1, sp, 976
add x0, sp, 872
mov x2, x1
mov x1, x0
adrp x0, .LC49
add x0, x0, :lo12:.LC49
bl printf
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 472
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 472
bl delRet
adrp x0, .LC32
add x0, x0, :lo12:.LC32
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 472
add x0, x0, 100
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 472
add x0, x0, 100
bl delRet
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 472
add x0, x0, 200
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 472
add x0, x0, 200
bl delRet
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl puts
add x0, sp, 428
bl vehi_tab
str x0, [sp, 464]
ldr w0, [sp, 428]
mov w1, w0
ldr x0, [sp, 464]
bl show_vehi
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 472
add x0, x0, 300
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 472
add x0, x0, 300
bl delRet
str wzr, [sp, 444]
b .L157
.L159:
ldrsw x1, [sp, 444]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 5
mov x1, x0
ldr x0, [sp, 464]
add x0, x0, x1
mov x1, x0
add x0, sp, 472
add x0, x0, 300
bl strcmp
cmp w0, 0
bne .L158
str wzr, [sp, 440]
.L158:
ldr w0, [sp, 444]
add w0, w0, 1
str w0, [sp, 444]
.L157:
ldr w0, [sp, 428]
ldr w1, [sp, 444]
cmp w1, w0
blt .L159
ldr w0, [sp, 440]
cmp w0, 0
beq .L160
adrp x0, .LC36
add x0, x0, :lo12:.LC36
bl puts
.L160:
mov w0, 1
str w0, [sp, 436]
add x0, sp, 16
add x1, sp, 472
mov x2, 400
bl memcpy
add x0, sp, 16
bl tmp_client
b .L161
.L156:
add x0, sp, 16
add x1, sp, 472
mov x2, 400
bl memcpy
add x0, sp, 16
bl tmp_client
.L161:
ldr x0, [sp, 448]
bl fgetc
str w0, [sp, 432]
.L143:
ldr w0, [sp, 432]
cmn w0, #1
bne .L162
ldr w0, [sp, 436]
cmp w0, 0
bne .L163
ldr x0, [sp, 448]
bl fclose
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl remove
add x1, sp, 976
add x0, sp, 872
mov x2, x1
mov x1, x0
adrp x0, .LC46
add x0, x0, :lo12:.LC46
bl printf
b .L169
.L163:
ldr x0, [sp, 448]
bl fclose
adrp x0, .LC23
add x1, x0, :lo12:.LC23
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl fopen
str x0, [sp, 448]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl fopen
str x0, [sp, 456]
ldr x0, [sp, 456]
cmp x0, 0
beq .L165
ldr x0, [sp, 456]
bl fgetc
str w0, [sp, 432]
b .L166
.L167:
ldr x1, [sp, 448]
ldr w0, [sp, 432]
bl fputc
ldr x0, [sp, 456]
bl fgetc
str w0, [sp, 432]
.L166:
ldr w0, [sp, 432]
cmn w0, #1
bne .L167
ldr x0, [sp, 456]
bl fclose
ldr x0, [sp, 448]
bl fclose
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl remove
add x1, sp, 976
add x0, sp, 872
mov x2, x1
mov x1, x0
adrp x0, .LC50
add x0, x0, :lo12:.LC50
bl printf
b .L169
.L165:
add x1, sp, 976
add x0, sp, 872
mov x2, x1
mov x1, x0
adrp x0, .LC50
add x0, x0, :lo12:.LC50
bl printf
.L169:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1080]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L168
bl __stack_chk_fail
.L168:
ldp x29, x30, [sp]
add sp, sp, 1088
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size modify_client, .-modify_client
.section .rodata
.align 3
.LC51:
.string "<--- INFORMATIONS CLIENTS --->"
.align 3
.LC52:
.string "\n"
.align 3
.LC53:
.string "\tNom: %s"
.align 3
.LC54:
.string "\n\tPrenom: %s"
.align 3
.LC55:
.string "\n\tAdresse: %s"
.align 3
.LC56:
.string "\n\tMarque de voiture louer: %s"
.text
.align 2
.global show_client
.type show_client, %function
show_client:
.LFB19:
.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
mov x19, x0
adrp x0, .LC51
add x0, x0, :lo12:.LC51
bl printf
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl puts
mov x1, x19
adrp x0, .LC53
add x0, x0, :lo12:.LC53
bl printf
add x0, x19, 100
mov x1, x0
adrp x0, .LC54
add x0, x0, :lo12:.LC54
bl printf
add x0, x19, 200
mov x1, x0
adrp x0, .LC55
add x0, x0, :lo12:.LC55
bl printf
add x0, x19, 300
mov x1, x0
adrp x0, .LC56
add x0, x0, :lo12:.LC56
bl printf
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl puts
nop
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
.LFE19:
.size show_client, .-show_client
.section .rodata
.align 3
.LC57:
.string "Il n'y a aucun client dans votre liste"
.text
.align 2
.global info_client
.type info_client, %function
info_client:
.LFB20:
.cfi_startproc
sub sp, sp, #848
.cfi_def_cfa_offset 848
stp x29, x30, [sp]
.cfi_offset 29, -848
.cfi_offset 30, -840
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 840]
mov x1, 0
str xzr, [sp, 432]
str wzr, [sp, 424]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl fopen
str x0, [sp, 432]
ldr x0, [sp, 432]
cmp x0, 0
bne .L172
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 64
mov x1, 1
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl fwrite
mov w0, -1
bl exit
.L172:
ldr x0, [sp, 432]
bl fgetc
str w0, [sp, 424]
ldr w0, [sp, 424]
cmn w0, #1
bne .L174
adrp x0, .LC57
add x0, x0, :lo12:.LC57
bl puts
b .L174
.L187:
str wzr, [sp, 428]
b .L175
.L177:
ldr w0, [sp, 424]
and w2, w0, 255
ldrsw x0, [sp, 428]
add x1, sp, 440
strb w2, [x1, x0]
ldr x0, [sp, 432]
bl fgetc
str w0, [sp, 424]
ldr w0, [sp, 424]
cmp w0, 44
bne .L176
ldr w0, [sp, 428]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 440
strb wzr, [x1, x0]
.L176:
ldr w0, [sp, 428]
add w0, w0, 1
str w0, [sp, 428]
.L175:
ldr w0, [sp, 424]
cmp w0, 44
bne .L177
ldr x0, [sp, 432]
bl fgetc
str w0, [sp, 424]
str wzr, [sp, 428]
b .L178
.L180:
ldr w0, [sp, 424]
and w2, w0, 255
ldrsw x0, [sp, 428]
add x1, sp, 540
strb w2, [x1, x0]
ldr x0, [sp, 432]
bl fgetc
str w0, [sp, 424]
ldr w0, [sp, 424]
cmp w0, 44
bne .L179
ldr w0, [sp, 428]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 540
strb wzr, [x1, x0]
.L179:
ldr w0, [sp, 428]
add w0, w0, 1
str w0, [sp, 428]
.L178:
ldr w0, [sp, 424]
cmp w0, 44
bne .L180
ldr x0, [sp, 432]
bl fgetc
str w0, [sp, 424]
str wzr, [sp, 428]
b .L181
.L183:
ldr w0, [sp, 424]
and w2, w0, 255
ldrsw x0, [sp, 428]
add x1, sp, 640
strb w2, [x1, x0]
ldr x0, [sp, 432]
bl fgetc
str w0, [sp, 424]
ldr w0, [sp, 424]
cmp w0, 44
bne .L182
ldr w0, [sp, 428]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 640
strb wzr, [x1, x0]
.L182:
ldr w0, [sp, 428]
add w0, w0, 1
str w0, [sp, 428]
.L181:
ldr w0, [sp, 424]
cmp w0, 44
bne .L183
ldr x0, [sp, 432]
bl fgetc
str w0, [sp, 424]
str wzr, [sp, 428]
b .L184
.L186:
ldr w0, [sp, 424]
and w2, w0, 255
ldrsw x0, [sp, 428]
add x1, sp, 740
strb w2, [x1, x0]
ldr x0, [sp, 432]
bl fgetc
str w0, [sp, 424]
ldr w0, [sp, 424]
cmp w0, 10
bne .L185
ldr w0, [sp, 428]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 740
strb wzr, [x1, x0]
.L185:
ldr w0, [sp, 428]
add w0, w0, 1
str w0, [sp, 428]
.L184:
ldr w0, [sp, 424]
cmp w0, 10
bne .L186
add x0, sp, 16
add x1, sp, 440
mov x2, 400
bl memcpy
add x0, sp, 16
bl show_client
ldr x0, [sp, 432]
bl fgetc
str w0, [sp, 424]
.L174:
ldr w0, [sp, 424]
cmn w0, #1
bne .L187
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 840]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L188
bl __stack_chk_fail
.L188:
ldp x29, x30, [sp]
add sp, sp, 848
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size info_client, .-info_client
.align 2
.global tmp_vehi
.type tmp_vehi, %function
tmp_vehi:
.LFB21:
.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
mov x19, x0
str xzr, [sp, 40]
adrp x0, .LC17
add x1, x0, :lo12:.LC17
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L190
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 38
mov x1, 1
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl fwrite
mov w0, -1
bl exit
.L190:
ldr d0, [x19, 104]
ldr w1, [x19, 212]
ldr w2, [x19, 216]
add x0, x19, 112
mov w5, w2
mov w4, w1
mov x3, x0
mov x2, x19
adrp x0, .LC19
add x1, x0, :lo12:.LC19
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 40]
bl fclose
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
.LFE21:
.size tmp_vehi, .-tmp_vehi
.align 2
.global tmp_client
.type tmp_client, %function
tmp_client:
.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 x19, [sp, 16]
.cfi_offset 19, -32
mov x19, x0
str xzr, [sp, 40]
adrp x0, .LC17
add x1, x0, :lo12:.LC17
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L192
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 38
mov x1, 1
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl fwrite
mov w0, -1
bl exit
.L192:
add x2, x19, 300
add x1, x19, 200
add x0, x19, 100
mov x5, x2
mov x4, x1
mov x3, x0
mov x2, x19
adrp x0, .LC40
add x1, x0, :lo12:.LC40
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 40]
bl fclose
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
.LFE22:
.size tmp_client, .-tmp_client
.section .rodata
.align 3
.LC58:
.string "*---> Ajouter une facture:"
.align 3
.LC59:
.string "\tCombien de facture voulez vous enregistrer?:"
.align 3
.LC60:
.string "\n\t<--- facture N\302\260%d: --->"
.align 3
.LC61:
.string "\n\tNom du client:"
.align 3
.LC62:
.string "\n\tPrenom du client:"
.align 3
.LC63:
.string "\n\tVoiture lou\303\251e:"
.align 3
.LC64:
.string "\n\tDate de location:"
.align 3
.LC65:
.string "\n\tSomme:"
.align 3
.LC66:
.string "<--- FACTURE(S) ENREGISTREE AVEC SUCCESS --->\n"
.text
.align 2
.global add_fact
.type add_fact, %function
add_fact:
.LFB23:
.cfi_startproc
sub sp, sp, #1056
.cfi_def_cfa_offset 1056
stp x29, x30, [sp]
.cfi_offset 29, -1056
.cfi_offset 30, -1048
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1048]
mov x1, 0
adrp x0, .LC58
add x0, x0, :lo12:.LC58
bl puts
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl printf
add x0, sp, 536
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
bl getchar
str wzr, [sp, 540]
b .L194
.L195:
ldr w0, [sp, 536]
add w0, w0, 1
mov w1, w0
adrp x0, .LC60
add x0, x0, :lo12:.LC60
bl printf
adrp x0, .LC61
add x0, x0, :lo12:.LC61
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 544
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 544
bl delRet
adrp x0, .LC62
add x0, x0, :lo12:.LC62
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 544
add x0, x0, 100
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 544
add x0, x0, 100
bl delRet
adrp x0, .LC63
add x0, x0, :lo12:.LC63
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 544
add x0, x0, 200
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 544
add x0, x0, 200
bl delRet
adrp x0, .LC64
add x0, x0, :lo12:.LC64
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 544
add x0, x0, 300
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 544
add x0, x0, 300
bl delRet
adrp x0, .LC65
add x0, x0, :lo12:.LC65
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 544
add x0, x0, 400
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 544
add x0, x0, 400
bl delRet
add x0, sp, 16
add x1, sp, 544
mov x2, 500
bl memcpy
add x0, sp, 16
bl save_fact
ldr w0, [sp, 540]
add w0, w0, 1
str w0, [sp, 540]
.L194:
ldr w0, [sp, 536]
ldr w1, [sp, 540]
cmp w1, w0
blt .L195
adrp x0, .LC66
add x0, x0, :lo12:.LC66
bl puts
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1048]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L196
bl __stack_chk_fail
.L196:
ldp x29, x30, [sp]
add sp, sp, 1056
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size add_fact, .-add_fact
.section .rodata
.align 3
.LC67:
.string "factures.dat"
.align 3
.LC68:
.string "%s,%s,%s,%s,%s\n"
.text
.align 2
.global save_fact
.type save_fact, %function
save_fact:
.LFB24:
.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
mov x19, x0
str xzr, [sp, 40]
adrp x0, .LC17
add x1, x0, :lo12:.LC17
adrp x0, .LC67
add x0, x0, :lo12:.LC67
bl fopen
str x0, [sp, 40]
add x3, x19, 400
add x2, x19, 300
add x1, x19, 200
add x0, x19, 100
mov x6, x3
mov x5, x2
mov x4, x1
mov x3, x0
mov x2, x19
adrp x0, .LC68
add x1, x0, :lo12:.LC68
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 40]
bl fclose
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
.LFE24:
.size save_fact, .-save_fact
.section .rodata
.align 3
.LC69:
.string "*---> Liste des factures:"
.align 3
.LC70:
.string "\n\tVoiture: %s"
.align 3
.LC71:
.string "\n\tDate: %s"
.align 3
.LC72:
.string "\n\tSomme: %s"
.text
.align 2
.global show_fact
.type show_fact, %function
show_fact:
.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 x19, [sp, 16]
.cfi_offset 19, -16
mov x19, x0
adrp x0, .LC69
add x0, x0, :lo12:.LC69
bl printf
mov w0, 10
bl putchar
mov x1, x19
adrp x0, .LC53
add x0, x0, :lo12:.LC53
bl printf
add x0, x19, 100
mov x1, x0
adrp x0, .LC54
add x0, x0, :lo12:.LC54
bl printf
add x0, x19, 200
mov x1, x0
adrp x0, .LC70
add x0, x0, :lo12:.LC70
bl printf
add x0, x19, 300
mov x1, x0
adrp x0, .LC71
add x0, x0, :lo12:.LC71
bl printf
add x0, x19, 400
mov x1, x0
adrp x0, .LC72
add x0, x0, :lo12:.LC72
bl printf
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl puts
nop
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
.LFE25:
.size show_fact, .-show_fact
.section .rodata
.align 3
.LC73:
.string "Le fichier factures.dat n'existe pas ou a \303\251t\303\251 supprim\303\251\n"
.align 3
.LC74:
.string "Il n'y a aucune factures dans votre liste"
.text
.align 2
.global info_fact
.type info_fact, %function
info_fact:
.LFB26:
.cfi_startproc
sub sp, sp, #1056
.cfi_def_cfa_offset 1056
stp x29, x30, [sp]
.cfi_offset 29, -1056
.cfi_offset 30, -1048
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1048]
mov x1, 0
str xzr, [sp, 536]
str wzr, [sp, 528]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC67
add x0, x0, :lo12:.LC67
bl fopen
str x0, [sp, 536]
ldr x0, [sp, 536]
cmp x0, 0
bne .L200
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 58
mov x1, 1
adrp x0, .LC73
add x0, x0, :lo12:.LC73
bl fwrite
mov w0, -1
bl exit
.L200:
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
ldr w0, [sp, 528]
cmn w0, #1
bne .L202
adrp x0, .LC74
add x0, x0, :lo12:.LC74
bl puts
b .L202
.L218:
str wzr, [sp, 532]
b .L203
.L205:
ldr w0, [sp, 528]
and w2, w0, 255
ldrsw x0, [sp, 532]
add x1, sp, 544
strb w2, [x1, x0]
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
ldr w0, [sp, 528]
cmp w0, 44
bne .L204
ldr w0, [sp, 532]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 544
strb wzr, [x1, x0]
.L204:
ldr w0, [sp, 532]
add w0, w0, 1
str w0, [sp, 532]
.L203:
ldr w0, [sp, 528]
cmp w0, 44
bne .L205
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
str wzr, [sp, 532]
b .L206
.L208:
ldr w0, [sp, 528]
and w2, w0, 255
ldrsw x0, [sp, 532]
add x1, sp, 644
strb w2, [x1, x0]
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
ldr w0, [sp, 528]
cmp w0, 44
bne .L207
ldr w0, [sp, 532]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 644
strb wzr, [x1, x0]
.L207:
ldr w0, [sp, 532]
add w0, w0, 1
str w0, [sp, 532]
.L206:
ldr w0, [sp, 528]
cmp w0, 44
bne .L208
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
str wzr, [sp, 532]
b .L209
.L211:
ldr w0, [sp, 528]
and w2, w0, 255
ldrsw x0, [sp, 532]
add x1, sp, 744
strb w2, [x1, x0]
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
ldr w0, [sp, 528]
cmp w0, 44
bne .L210
ldr w0, [sp, 532]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 744
strb wzr, [x1, x0]
.L210:
ldr w0, [sp, 532]
add w0, w0, 1
str w0, [sp, 532]
.L209:
ldr w0, [sp, 528]
cmp w0, 44
bne .L211
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
str wzr, [sp, 532]
b .L212
.L214:
ldr w0, [sp, 528]
and w2, w0, 255
ldrsw x0, [sp, 532]
add x1, sp, 844
strb w2, [x1, x0]
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
ldr w0, [sp, 528]
cmp w0, 44
bne .L213
ldr w0, [sp, 532]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 844
strb wzr, [x1, x0]
.L213:
ldr w0, [sp, 532]
add w0, w0, 1
str w0, [sp, 532]
.L212:
ldr w0, [sp, 528]
cmp w0, 44
bne .L214
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
str wzr, [sp, 532]
b .L215
.L217:
ldr w0, [sp, 528]
and w2, w0, 255
ldrsw x0, [sp, 532]
add x1, sp, 944
strb w2, [x1, x0]
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
ldr w0, [sp, 528]
cmp w0, 10
bne .L216
ldr w0, [sp, 532]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 944
strb wzr, [x1, x0]
.L216:
ldr w0, [sp, 532]
add w0, w0, 1
str w0, [sp, 532]
.L215:
ldr w0, [sp, 528]
cmp w0, 10
bne .L217
add x0, sp, 16
add x1, sp, 544
mov x2, 500
bl memcpy
add x0, sp, 16
bl show_fact
ldr x0, [sp, 536]
bl fgetc
str w0, [sp, 528]
.L202:
ldr w0, [sp, 528]
cmn w0, #1
bne .L218
ldr x0, [sp, 536]
bl fclose
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1048]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L219
bl __stack_chk_fail
.L219:
ldp x29, x30, [sp]
add sp, sp, 1056
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size info_fact, .-info_fact
.section .rodata
.align 3
.LC75:
.string "tmp_factures.dat"
.text
.align 2
.global tmp_fact
.type tmp_fact, %function
tmp_fact:
.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 x19, [sp, 16]
.cfi_offset 19, -32
mov x19, x0
str xzr, [sp, 40]
adrp x0, .LC17
add x1, x0, :lo12:.LC17
adrp x0, .LC75
add x0, x0, :lo12:.LC75
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L221
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 38
mov x1, 1
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl fwrite
mov w0, -1
bl exit
.L221:
add x3, x19, 400
add x2, x19, 300
add x1, x19, 200
add x0, x19, 100
mov x6, x3
mov x5, x2
mov x4, x1
mov x3, x0
mov x2, x19
adrp x0, .LC68
add x1, x0, :lo12:.LC68
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 40]
bl fclose
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
.LFE27:
.size tmp_fact, .-tmp_fact
.section .rodata
.align 3
.LC76:
.string "Entrez le nom du client dont vous voulez supprimer la facture:"
.align 3
.LC77:
.string "Entrez son prenom:"
.align 3
.LC78:
.string "<*** Les factures du client \"%s %s\" ont bien \303\251t\303\251 supprim\303\251es ***>\n"
.align 3
.LC79:
.string "<*** Aucune facture pour le client \"%s %s\" ***>\n"
.text
.align 2
.global del_fact
.type del_fact, %function
del_fact:
.LFB28:
.cfi_startproc
sub sp, sp, #1280
.cfi_def_cfa_offset 1280
stp x29, x30, [sp]
.cfi_offset 29, -1280
.cfi_offset 30, -1272
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1272]
mov x1, 0
str xzr, [sp, 544]
str xzr, [sp, 552]
add x0, sp, 1024
stp xzr, xzr, [x0, 40]
add x0, sp, 1080
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
add x0, sp, 1024
stp xzr, xzr, [x0, 144]
add x0, sp, 1184
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
str wzr, [sp, 532]
str wzr, [sp, 536]
adrp x0, .LC76
add x0, x0, :lo12:.LC76
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 1064
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 1064
bl delRet
adrp x0, .LC77
add x0, x0, :lo12:.LC77
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 1168
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 1168
bl delRet
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC67
add x0, x0, :lo12:.LC67
bl fopen
str x0, [sp, 544]
ldr x0, [sp, 544]
cmp x0, 0
bne .L223
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 58
mov x1, 1
adrp x0, .LC73
add x0, x0, :lo12:.LC73
bl fwrite
mov w0, -1
bl exit
.L223:
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
b .L224
.L242:
str wzr, [sp, 540]
b .L225
.L227:
ldr w0, [sp, 532]
and w2, w0, 255
ldrsw x0, [sp, 540]
add x1, sp, 560
strb w2, [x1, x0]
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
ldr w0, [sp, 532]
cmp w0, 44
bne .L226
ldr w0, [sp, 540]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 560
strb wzr, [x1, x0]
.L226:
ldr w0, [sp, 540]
add w0, w0, 1
str w0, [sp, 540]
.L225:
ldr w0, [sp, 532]
cmp w0, 44
bne .L227
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
str wzr, [sp, 540]
b .L228
.L230:
ldr w0, [sp, 532]
and w2, w0, 255
ldrsw x0, [sp, 540]
add x1, sp, 660
strb w2, [x1, x0]
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
ldr w0, [sp, 532]
cmp w0, 44
bne .L229
ldr w0, [sp, 540]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 660
strb wzr, [x1, x0]
.L229:
ldr w0, [sp, 540]
add w0, w0, 1
str w0, [sp, 540]
.L228:
ldr w0, [sp, 532]
cmp w0, 44
bne .L230
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
str wzr, [sp, 540]
b .L231
.L233:
ldr w0, [sp, 532]
and w2, w0, 255
ldrsw x0, [sp, 540]
add x1, sp, 760
strb w2, [x1, x0]
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
ldr w0, [sp, 532]
cmp w0, 44
bne .L232
ldr w0, [sp, 540]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 760
strb wzr, [x1, x0]
.L232:
ldr w0, [sp, 540]
add w0, w0, 1
str w0, [sp, 540]
.L231:
ldr w0, [sp, 532]
cmp w0, 44
bne .L233
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
str wzr, [sp, 540]
b .L234
.L236:
ldr w0, [sp, 532]
and w2, w0, 255
ldrsw x0, [sp, 540]
add x1, sp, 860
strb w2, [x1, x0]
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
ldr w0, [sp, 532]
cmp w0, 44
bne .L235
ldr w0, [sp, 540]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 860
strb wzr, [x1, x0]
.L235:
ldr w0, [sp, 540]
add w0, w0, 1
str w0, [sp, 540]
.L234:
ldr w0, [sp, 532]
cmp w0, 44
bne .L236
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
str wzr, [sp, 540]
b .L237
.L239:
ldr w0, [sp, 532]
and w2, w0, 255
ldrsw x0, [sp, 540]
add x1, sp, 960
strb w2, [x1, x0]
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
ldr w0, [sp, 532]
cmp w0, 10
bne .L238
ldr w0, [sp, 540]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 960
strb wzr, [x1, x0]
.L238:
ldr w0, [sp, 540]
add w0, w0, 1
str w0, [sp, 540]
.L237:
ldr w0, [sp, 532]
cmp w0, 10
bne .L239
add x1, sp, 560
add x0, sp, 1064
bl strcmp
cmp w0, 0
bne .L240
add x0, sp, 560
add x1, x0, 100
add x0, sp, 1168
bl strcmp
cmp w0, 0
bne .L240
mov w0, 1
str w0, [sp, 536]
b .L241
.L240:
add x0, sp, 16
add x1, sp, 560
mov x2, 500
bl memcpy
add x0, sp, 16
bl tmp_fact
.L241:
ldr x0, [sp, 544]
bl fgetc
str w0, [sp, 532]
.L224:
ldr w0, [sp, 532]
cmn w0, #1
bne .L242
ldr w0, [sp, 536]
cmp w0, 0
beq .L243
ldr x0, [sp, 544]
bl fclose
adrp x0, .LC23
add x1, x0, :lo12:.LC23
adrp x0, .LC67
add x0, x0, :lo12:.LC67
bl fopen
str x0, [sp, 544]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC75
add x0, x0, :lo12:.LC75
bl fopen
str x0, [sp, 552]
ldr x0, [sp, 552]
cmp x0, 0
beq .L244
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 532]
b .L245
.L246:
ldr x1, [sp, 544]
ldr w0, [sp, 532]
bl fputc
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 532]
.L245:
ldr w0, [sp, 532]
cmn w0, #1
bne .L246
ldr x0, [sp, 552]
bl fclose
ldr x0, [sp, 544]
bl fclose
adrp x0, .LC75
add x0, x0, :lo12:.LC75
bl remove
add x1, sp, 1168
add x0, sp, 1064
mov x2, x1
mov x1, x0
adrp x0, .LC78
add x0, x0, :lo12:.LC78
bl printf
b .L249
.L244:
add x1, sp, 1168
add x0, sp, 1064
mov x2, x1
mov x1, x0
adrp x0, .LC78
add x0, x0, :lo12:.LC78
bl printf
b .L249
.L243:
ldr x0, [sp, 544]
bl fclose
adrp x0, .LC75
add x0, x0, :lo12:.LC75
bl remove
add x1, sp, 1168
add x0, sp, 1064
mov x2, x1
mov x1, x0
adrp x0, .LC79
add x0, x0, :lo12:.LC79
bl printf
.L249:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1272]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L248
bl __stack_chk_fail
.L248:
ldp x29, x30, [sp]
add sp, sp, 1280
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE28:
.size del_fact, .-del_fact
.section .rodata
.align 3
.LC80:
.string "*---> Ajouter une reservation:"
.align 3
.LC81:
.string "\tCombien de reservation voulez vous enregistrer?:"
.align 3
.LC82:
.string "\n\t<--- reservation N\302\260%d: --->"
.align 3
.LC83:
.string "\n\tVoiture \303\240 reserv\303\251e:"
.align 3
.LC84:
.string "<--- RESERVATION(S) EFFECTUEE AVEC SUCCESS --->\n"
.text
.align 2
.global add_reserv
.type add_reserv, %function
add_reserv:
.LFB29:
.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
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 632]
mov x1, 0
adrp x0, .LC80
add x0, x0, :lo12:.LC80
bl puts
adrp x0, .LC81
add x0, x0, :lo12:.LC81
bl printf
add x0, sp, 320
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
bl getchar
str wzr, [sp, 324]
b .L251
.L252:
ldr w0, [sp, 320]
add w0, w0, 1
mov w1, w0
adrp x0, .LC82
add x0, x0, :lo12:.LC82
bl printf
adrp x0, .LC61
add x0, x0, :lo12:.LC61
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 328
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 328
bl delRet
adrp x0, .LC62
add x0, x0, :lo12:.LC62
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 328
add x0, x0, 100
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 328
add x0, x0, 100
bl delRet
adrp x0, .LC83
add x0, x0, :lo12:.LC83
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 328
add x0, x0, 200
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 328
add x0, x0, 200
bl delRet
add x0, sp, 16
add x1, sp, 328
mov x2, 300
bl memcpy
add x0, sp, 16
bl save_reserv
ldr w0, [sp, 324]
add w0, w0, 1
str w0, [sp, 324]
.L251:
ldr w0, [sp, 320]
ldr w1, [sp, 324]
cmp w1, w0
blt .L252
adrp x0, .LC84
add x0, x0, :lo12:.LC84
bl puts
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 632]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L253
bl __stack_chk_fail
.L253:
ldp x29, x30, [sp]
add sp, sp, 640
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE29:
.size add_reserv, .-add_reserv
.section .rodata
.align 3
.LC85:
.string "reservations.dat"
.align 3
.LC86:
.string "%s,%s,%s\n"
.text
.align 2
.global save_reserv
.type save_reserv, %function
save_reserv:
.LFB30:
.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
mov x19, x0
str xzr, [sp, 40]
adrp x0, .LC17
add x1, x0, :lo12:.LC17
adrp x0, .LC85
add x0, x0, :lo12:.LC85
bl fopen
str x0, [sp, 40]
add x1, x19, 200
add x0, x19, 100
mov x4, x1
mov x3, x0
mov x2, x19
adrp x0, .LC86
add x1, x0, :lo12:.LC86
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 40]
bl fclose
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
.LFE30:
.size save_reserv, .-save_reserv
.section .rodata
.align 3
.LC87:
.string "*---> Liste des reservations:"
.align 3
.LC88:
.string "\n\tVoiture reserv\303\251: %s"
.text
.align 2
.global show_reserv
.type show_reserv, %function
show_reserv:
.LFB31:
.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
mov x19, x0
adrp x0, .LC87
add x0, x0, :lo12:.LC87
bl printf
mov w0, 10
bl putchar
mov x1, x19
adrp x0, .LC53
add x0, x0, :lo12:.LC53
bl printf
add x0, x19, 100
mov x1, x0
adrp x0, .LC54
add x0, x0, :lo12:.LC54
bl printf
add x0, x19, 200
mov x1, x0
adrp x0, .LC88
add x0, x0, :lo12:.LC88
bl printf
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl puts
nop
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
.LFE31:
.size show_reserv, .-show_reserv
.section .rodata
.align 3
.LC89:
.string "Le fichier reservations.dat n'existe pas ou a \303\251t\303\251 supprim\303\251\n"
.align 3
.LC90:
.string "Il n'y a aucune reservations dans votre liste"
.text
.align 2
.global info_reserv
.type info_reserv, %function
info_reserv:
.LFB32:
.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
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 648]
mov x1, 0
str xzr, [sp, 336]
str wzr, [sp, 328]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC85
add x0, x0, :lo12:.LC85
bl fopen
str x0, [sp, 336]
ldr x0, [sp, 336]
cmp x0, 0
bne .L257
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 62
mov x1, 1
adrp x0, .LC89
add x0, x0, :lo12:.LC89
bl fwrite
mov w0, -1
bl exit
.L257:
ldr x0, [sp, 336]
bl fgetc
str w0, [sp, 328]
ldr w0, [sp, 328]
cmn w0, #1
bne .L259
adrp x0, .LC90
add x0, x0, :lo12:.LC90
bl puts
b .L259
.L269:
str wzr, [sp, 332]
b .L260
.L262:
ldr w0, [sp, 328]
and w2, w0, 255
ldrsw x0, [sp, 332]
add x1, sp, 344
strb w2, [x1, x0]
ldr x0, [sp, 336]
bl fgetc
str w0, [sp, 328]
ldr w0, [sp, 328]
cmp w0, 44
bne .L261
ldr w0, [sp, 332]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 344
strb wzr, [x1, x0]
.L261:
ldr w0, [sp, 332]
add w0, w0, 1
str w0, [sp, 332]
.L260:
ldr w0, [sp, 328]
cmp w0, 44
bne .L262
ldr x0, [sp, 336]
bl fgetc
str w0, [sp, 328]
str wzr, [sp, 332]
b .L263
.L265:
ldr w0, [sp, 328]
and w2, w0, 255
ldrsw x0, [sp, 332]
add x1, sp, 444
strb w2, [x1, x0]
ldr x0, [sp, 336]
bl fgetc
str w0, [sp, 328]
ldr w0, [sp, 328]
cmp w0, 44
bne .L264
ldr w0, [sp, 332]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 444
strb wzr, [x1, x0]
.L264:
ldr w0, [sp, 332]
add w0, w0, 1
str w0, [sp, 332]
.L263:
ldr w0, [sp, 328]
cmp w0, 44
bne .L265
ldr x0, [sp, 336]
bl fgetc
str w0, [sp, 328]
str wzr, [sp, 332]
b .L266
.L268:
ldr w0, [sp, 328]
and w2, w0, 255
ldrsw x0, [sp, 332]
add x1, sp, 544
strb w2, [x1, x0]
ldr x0, [sp, 336]
bl fgetc
str w0, [sp, 328]
ldr w0, [sp, 328]
cmp w0, 10
bne .L267
ldr w0, [sp, 332]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 544
strb wzr, [x1, x0]
.L267:
ldr w0, [sp, 332]
add w0, w0, 1
str w0, [sp, 332]
.L266:
ldr w0, [sp, 328]
cmp w0, 10
bne .L268
add x0, sp, 16
add x1, sp, 344
mov x2, 300
bl memcpy
add x0, sp, 16
bl show_reserv
ldr x0, [sp, 336]
bl fgetc
str w0, [sp, 328]
.L259:
ldr w0, [sp, 328]
cmn w0, #1
bne .L269
ldr x0, [sp, 336]
bl fclose
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 648]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L270
bl __stack_chk_fail
.L270:
ldp x29, x30, [sp]
add sp, sp, 656
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE32:
.size info_reserv, .-info_reserv
.section .rodata
.align 3
.LC91:
.string "tmp_reservations.dat"
.text
.align 2
.global tmp_reserv
.type tmp_reserv, %function
tmp_reserv:
.LFB33:
.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
mov x19, x0
str xzr, [sp, 40]
adrp x0, .LC17
add x1, x0, :lo12:.LC17
adrp x0, .LC91
add x0, x0, :lo12:.LC91
bl fopen
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
bne .L272
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 38
mov x1, 1
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl fwrite
mov w0, -1
bl exit
.L272:
add x1, x19, 200
add x0, x19, 100
mov x4, x1
mov x3, x0
mov x2, x19
adrp x0, .LC86
add x1, x0, :lo12:.LC86
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 40]
bl fclose
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
.LFE33:
.size tmp_reserv, .-tmp_reserv
.section .rodata
.align 3
.LC92:
.string "Entrez le nom du client dont vous voulez supprimer la reservation:"
.align 3
.LC93:
.string "Le fichier reservation.dat n'existe pas ou a \303\251t\303\251 supprim\303\251\n"
.align 3
.LC94:
.string "<*** Les reservations du client \"%s %s\" ont bien \303\251t\303\251 supprim\303\251es ***>\n"
.align 3
.LC95:
.string "<*** Aucune reservation(s) pour le client \"%s %s\" ***>\n"
.text
.align 2
.global del_reserv
.type del_reserv, %function
del_reserv:
.LFB34:
.cfi_startproc
sub sp, sp, #880
.cfi_def_cfa_offset 880
stp x29, x30, [sp]
.cfi_offset 29, -880
.cfi_offset 30, -872
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 872]
mov x1, 0
str xzr, [sp, 344]
str xzr, [sp, 352]
add x0, sp, 512
stp xzr, xzr, [x0, 152]
add x0, sp, 680
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
add x0, sp, 1024
stp xzr, xzr, [x0, -256]
add x0, sp, 784
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
str wzr, [sp, 332]
str wzr, [sp, 336]
adrp x0, .LC92
add x0, x0, :lo12:.LC92
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 664
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 664
bl delRet
adrp x0, .LC77
add x0, x0, :lo12:.LC77
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 768
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 768
bl delRet
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC85
add x0, x0, :lo12:.LC85
bl fopen
str x0, [sp, 344]
ldr x0, [sp, 344]
cmp x0, 0
bne .L274
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 61
mov x1, 1
adrp x0, .LC93
add x0, x0, :lo12:.LC93
bl fwrite
mov w0, -1
bl exit
.L274:
ldr x0, [sp, 344]
bl fgetc
str w0, [sp, 332]
b .L275
.L287:
str wzr, [sp, 340]
b .L276
.L278:
ldr w0, [sp, 332]
and w2, w0, 255
ldrsw x0, [sp, 340]
add x1, sp, 360
strb w2, [x1, x0]
ldr x0, [sp, 344]
bl fgetc
str w0, [sp, 332]
ldr w0, [sp, 332]
cmp w0, 44
bne .L277
ldr w0, [sp, 340]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 360
strb wzr, [x1, x0]
.L277:
ldr w0, [sp, 340]
add w0, w0, 1
str w0, [sp, 340]
.L276:
ldr w0, [sp, 332]
cmp w0, 44
bne .L278
ldr x0, [sp, 344]
bl fgetc
str w0, [sp, 332]
str wzr, [sp, 340]
b .L279
.L281:
ldr w0, [sp, 332]
and w2, w0, 255
ldrsw x0, [sp, 340]
add x1, sp, 460
strb w2, [x1, x0]
ldr x0, [sp, 344]
bl fgetc
str w0, [sp, 332]
ldr w0, [sp, 332]
cmp w0, 44
bne .L280
ldr w0, [sp, 340]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 460
strb wzr, [x1, x0]
.L280:
ldr w0, [sp, 340]
add w0, w0, 1
str w0, [sp, 340]
.L279:
ldr w0, [sp, 332]
cmp w0, 44
bne .L281
ldr x0, [sp, 344]
bl fgetc
str w0, [sp, 332]
str wzr, [sp, 340]
b .L282
.L284:
ldr w0, [sp, 332]
and w2, w0, 255
ldrsw x0, [sp, 340]
add x1, sp, 560
strb w2, [x1, x0]
ldr x0, [sp, 344]
bl fgetc
str w0, [sp, 332]
ldr w0, [sp, 332]
cmp w0, 10
bne .L283
ldr w0, [sp, 340]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 560
strb wzr, [x1, x0]
.L283:
ldr w0, [sp, 340]
add w0, w0, 1
str w0, [sp, 340]
.L282:
ldr w0, [sp, 332]
cmp w0, 10
bne .L284
add x1, sp, 360
add x0, sp, 664
bl strcmp
cmp w0, 0
bne .L285
add x0, sp, 360
add x1, x0, 100
add x0, sp, 768
bl strcmp
cmp w0, 0
bne .L285
mov w0, 1
str w0, [sp, 336]
b .L286
.L285:
add x0, sp, 16
add x1, sp, 360
mov x2, 300
bl memcpy
add x0, sp, 16
bl tmp_reserv
.L286:
ldr x0, [sp, 344]
bl fgetc
str w0, [sp, 332]
.L275:
ldr w0, [sp, 332]
cmn w0, #1
bne .L287
ldr w0, [sp, 336]
cmp w0, 0
beq .L288
ldr x0, [sp, 344]
bl fclose
adrp x0, .LC23
add x1, x0, :lo12:.LC23
adrp x0, .LC85
add x0, x0, :lo12:.LC85
bl fopen
str x0, [sp, 344]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC91
add x0, x0, :lo12:.LC91
bl fopen
str x0, [sp, 352]
ldr x0, [sp, 352]
cmp x0, 0
beq .L289
ldr x0, [sp, 352]
bl fgetc
str w0, [sp, 332]
b .L290
.L291:
ldr x1, [sp, 344]
ldr w0, [sp, 332]
bl fputc
ldr x0, [sp, 352]
bl fgetc
str w0, [sp, 332]
.L290:
ldr w0, [sp, 332]
cmn w0, #1
bne .L291
ldr x0, [sp, 352]
bl fclose
ldr x0, [sp, 344]
bl fclose
adrp x0, .LC91
add x0, x0, :lo12:.LC91
bl remove
add x1, sp, 768
add x0, sp, 664
mov x2, x1
mov x1, x0
adrp x0, .LC94
add x0, x0, :lo12:.LC94
bl printf
b .L294
.L289:
add x1, sp, 768
add x0, sp, 664
mov x2, x1
mov x1, x0
adrp x0, .LC94
add x0, x0, :lo12:.LC94
bl printf
b .L294
.L288:
ldr x0, [sp, 344]
bl fclose
adrp x0, .LC91
add x0, x0, :lo12:.LC91
bl remove
add x1, sp, 768
add x0, sp, 664
mov x2, x1
mov x1, x0
adrp x0, .LC95
add x0, x0, :lo12:.LC95
bl printf
.L294:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 872]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L293
bl __stack_chk_fail
.L293:
ldp x29, x30, [sp]
add sp, sp, 880
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE34:
.size del_reserv, .-del_reserv
.section .rodata
.align 3
.LC96:
.string "\n*---> Informations sur les factures:"
.align 3
.LC97:
.string "\n\tEntrez votre nom:"
.align 3
.LC98:
.string "\n\tEntrez votre prenom:"
.align 3
.LC99:
.string "Aucune facture n'a \303\251t\303\251 enregistrer"
.align 3
.LC100:
.string "Il n'y a aucune de vos factures dans notre liste"
.text
.align 2
.global show_clientfact
.type show_clientfact, %function
show_clientfact:
.LFB35:
.cfi_startproc
sub sp, sp, #1280
.cfi_def_cfa_offset 1280
stp x29, x30, [sp]
.cfi_offset 29, -1280
.cfi_offset 30, -1272
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1272]
mov x1, 0
str xzr, [sp, 552]
str wzr, [sp, 540]
mov w0, 1
str w0, [sp, 548]
add x0, sp, 1024
stp xzr, xzr, [x0, 40]
add x0, sp, 1080
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
add x0, sp, 1024
stp xzr, xzr, [x0, 144]
add x0, sp, 1184
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC67
add x0, x0, :lo12:.LC67
bl fopen
str x0, [sp, 552]
ldr x0, [sp, 552]
cmp x0, 0
bne .L296
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 58
mov x1, 1
adrp x0, .LC73
add x0, x0, :lo12:.LC73
bl fwrite
mov w0, -1
bl exit
.L296:
adrp x0, .LC96
add x0, x0, :lo12:.LC96
bl printf
adrp x0, .LC97
add x0, x0, :lo12:.LC97
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 1064
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 1064
bl delRet
adrp x0, .LC98
add x0, x0, :lo12:.LC98
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 1168
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 1168
bl delRet
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
ldr w0, [sp, 540]
cmn w0, #1
bne .L298
adrp x0, .LC99
add x0, x0, :lo12:.LC99
bl puts
b .L298
.L315:
str wzr, [sp, 544]
b .L299
.L301:
ldr w0, [sp, 540]
and w2, w0, 255
ldrsw x0, [sp, 544]
add x1, sp, 560
strb w2, [x1, x0]
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
ldr w0, [sp, 540]
cmp w0, 44
bne .L300
ldr w0, [sp, 544]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 560
strb wzr, [x1, x0]
.L300:
ldr w0, [sp, 544]
add w0, w0, 1
str w0, [sp, 544]
.L299:
ldr w0, [sp, 540]
cmp w0, 44
bne .L301
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
str wzr, [sp, 544]
b .L302
.L304:
ldr w0, [sp, 540]
and w2, w0, 255
ldrsw x0, [sp, 544]
add x1, sp, 660
strb w2, [x1, x0]
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
ldr w0, [sp, 540]
cmp w0, 44
bne .L303
ldr w0, [sp, 544]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 660
strb wzr, [x1, x0]
.L303:
ldr w0, [sp, 544]
add w0, w0, 1
str w0, [sp, 544]
.L302:
ldr w0, [sp, 540]
cmp w0, 44
bne .L304
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
str wzr, [sp, 544]
b .L305
.L307:
ldr w0, [sp, 540]
and w2, w0, 255
ldrsw x0, [sp, 544]
add x1, sp, 760
strb w2, [x1, x0]
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
ldr w0, [sp, 540]
cmp w0, 44
bne .L306
ldr w0, [sp, 544]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 760
strb wzr, [x1, x0]
.L306:
ldr w0, [sp, 544]
add w0, w0, 1
str w0, [sp, 544]
.L305:
ldr w0, [sp, 540]
cmp w0, 44
bne .L307
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
str wzr, [sp, 544]
b .L308
.L310:
ldr w0, [sp, 540]
and w2, w0, 255
ldrsw x0, [sp, 544]
add x1, sp, 860
strb w2, [x1, x0]
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
ldr w0, [sp, 540]
cmp w0, 44
bne .L309
ldr w0, [sp, 544]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 860
strb wzr, [x1, x0]
.L309:
ldr w0, [sp, 544]
add w0, w0, 1
str w0, [sp, 544]
.L308:
ldr w0, [sp, 540]
cmp w0, 44
bne .L310
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
str wzr, [sp, 544]
b .L311
.L313:
ldr w0, [sp, 540]
and w2, w0, 255
ldrsw x0, [sp, 544]
add x1, sp, 960
strb w2, [x1, x0]
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
ldr w0, [sp, 540]
cmp w0, 10
bne .L312
ldr w0, [sp, 544]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 960
strb wzr, [x1, x0]
.L312:
ldr w0, [sp, 544]
add w0, w0, 1
str w0, [sp, 544]
.L311:
ldr w0, [sp, 540]
cmp w0, 10
bne .L313
add x1, sp, 560
add x0, sp, 1064
bl strcmp
cmp w0, 0
bne .L314
add x0, sp, 560
add x1, x0, 100
add x0, sp, 1168
bl strcmp
cmp w0, 0
bne .L314
add x0, sp, 16
add x1, sp, 560
mov x2, 500
bl memcpy
add x0, sp, 16
bl show_fact
str wzr, [sp, 548]
.L314:
ldr x0, [sp, 552]
bl fgetc
str w0, [sp, 540]
.L298:
ldr w0, [sp, 540]
cmn w0, #1
bne .L315
ldr w0, [sp, 548]
cmp w0, 0
beq .L316
adrp x0, .LC100
add x0, x0, :lo12:.LC100
bl puts
.L316:
ldr x0, [sp, 552]
bl fclose
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1272]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L317
bl __stack_chk_fail
.L317:
ldp x29, x30, [sp]
add sp, sp, 1280
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size show_clientfact, .-show_clientfact
.section .rodata
.align 3
.LC101:
.string "*---> Informations vehicule:"
.align 3
.LC102:
.string "Entrez la marque du vehicule:"
.align 3
.LC103:
.string "Le fichier vehi.dat n'existe pas ou a \303\251t\303\251 supprim\303\251\n"
.align 3
.LC104:
.string "Il n'y aucun vehicule de la marque \"%s\" dans notre catalogue\n"
.text
.align 2
.global show_clientvehi
.type show_clientvehi, %function
show_clientvehi:
.LFB36:
.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
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 696]
mov x1, 0
str xzr, [sp, 256]
add x0, sp, 512
stp xzr, xzr, [x0, -24]
add x0, sp, 504
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
add x0, sp, 512
stp xzr, xzr, [x0, 80]
add x0, sp, 608
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
str wzr, [sp, 244]
mov w0, 1
str w0, [sp, 248]
adrp x0, .LC101
add x0, x0, :lo12:.LC101
bl puts
adrp x0, .LC102
add x0, x0, :lo12:.LC102
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 488
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 488
bl delRet
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl fopen
str x0, [sp, 256]
ldr x0, [sp, 256]
cmp x0, 0
bne .L319
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 54
mov x1, 1
adrp x0, .LC103
add x0, x0, :lo12:.LC103
bl fwrite
mov w0, -1
bl exit
.L319:
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
b .L320
.L337:
str wzr, [sp, 252]
b .L321
.L323:
ldr w0, [sp, 244]
and w2, w0, 255
ldrsw x0, [sp, 252]
add x1, sp, 264
strb w2, [x1, x0]
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
ldr w0, [sp, 244]
cmp w0, 44
bne .L322
ldr w0, [sp, 252]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 264
strb wzr, [x1, x0]
.L322:
ldr w0, [sp, 252]
add w0, w0, 1
str w0, [sp, 252]
.L321:
ldr w0, [sp, 244]
cmp w0, 44
bne .L323
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
str wzr, [sp, 252]
b .L324
.L326:
ldr w0, [sp, 244]
and w2, w0, 255
ldrsw x0, [sp, 252]
add x1, sp, 592
strb w2, [x1, x0]
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
ldr w0, [sp, 244]
cmp w0, 44
bne .L325
ldr w0, [sp, 252]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 592
strb wzr, [x1, x0]
.L325:
ldr w0, [sp, 252]
add w0, w0, 1
str w0, [sp, 252]
.L324:
ldr w0, [sp, 244]
cmp w0, 44
bne .L326
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
add x0, sp, 592
mov x1, 0
bl strtod
str d0, [sp, 368]
str wzr, [sp, 252]
b .L327
.L329:
ldr w0, [sp, 244]
and w2, w0, 255
ldrsw x0, [sp, 252]
add x1, sp, 376
strb w2, [x1, x0]
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
ldr w0, [sp, 244]
cmp w0, 44
bne .L328
ldr w0, [sp, 252]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 376
strb wzr, [x1, x0]
.L328:
ldr w0, [sp, 252]
add w0, w0, 1
str w0, [sp, 252]
.L327:
ldr w0, [sp, 244]
cmp w0, 44
bne .L329
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
str wzr, [sp, 252]
b .L330
.L332:
ldr w0, [sp, 244]
and w2, w0, 255
ldrsw x0, [sp, 252]
add x1, sp, 592
strb w2, [x1, x0]
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
ldr w0, [sp, 244]
cmp w0, 44
bne .L331
ldr w0, [sp, 252]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 592
strb wzr, [x1, x0]
.L331:
ldr w0, [sp, 252]
add w0, w0, 1
str w0, [sp, 252]
.L330:
ldr w0, [sp, 244]
cmp w0, 44
bne .L332
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
add x0, sp, 592
mov w2, 10
mov x1, 0
bl strtol
str w0, [sp, 476]
str wzr, [sp, 252]
b .L333
.L335:
ldr w0, [sp, 244]
and w2, w0, 255
ldrsw x0, [sp, 252]
add x1, sp, 592
strb w2, [x1, x0]
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
ldr w0, [sp, 244]
cmp w0, 10
bne .L334
ldr w0, [sp, 252]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 592
strb wzr, [x1, x0]
.L334:
ldr w0, [sp, 252]
add w0, w0, 1
str w0, [sp, 252]
.L333:
ldr w0, [sp, 244]
cmp w0, 10
bne .L335
add x0, sp, 592
mov w2, 10
mov x1, 0
bl strtol
str w0, [sp, 480]
add x1, sp, 264
add x0, sp, 488
bl strcmp
cmp w0, 0
bne .L336
add x0, sp, 16
add x1, sp, 264
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]
ldp q0, q1, [x1, 192]
stp q0, q1, [x0, 192]
add x0, sp, 16
bl view_vehi
str wzr, [sp, 248]
.L336:
ldr x0, [sp, 256]
bl fgetc
str w0, [sp, 244]
.L320:
ldr w0, [sp, 244]
cmn w0, #1
bne .L337
ldr w0, [sp, 248]
cmp w0, 0
beq .L340
add x0, sp, 488
mov x1, x0
adrp x0, .LC104
add x0, x0, :lo12:.LC104
bl printf
.L340:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 696]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L339
bl __stack_chk_fail
.L339:
ldp x29, x30, [sp]
add sp, sp, 704
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size show_clientvehi, .-show_clientvehi
.section .rodata
.align 3
.LC105:
.string "\n\tMarque: %s"
.align 3
.LC106:
.string "\n\tkilom\303\251trage: %lf"
.align 3
.LC107:
.string "\n\tType de voiture: %s"
.align 3
.LC108:
.string "\n\tNombre de passagers: %d"
.align 3
.LC109:
.string "\n\tPrix journalier de location: %d"
.text
.align 2
.global view_vehi
.type view_vehi, %function
view_vehi:
.LFB37:
.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
mov x19, x0
mov x1, x19
adrp x0, .LC105
add x0, x0, :lo12:.LC105
bl printf
ldr d0, [x19, 104]
adrp x0, .LC106
add x0, x0, :lo12:.LC106
bl printf
add x0, x19, 112
mov x1, x0
adrp x0, .LC107
add x0, x0, :lo12:.LC107
bl printf
ldr w0, [x19, 212]
mov w1, w0
adrp x0, .LC108
add x0, x0, :lo12:.LC108
bl printf
ldr w0, [x19, 216]
mov w1, w0
adrp x0, .LC109
add x0, x0, :lo12:.LC109
bl printf
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl puts
nop
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
.LFE37:
.size view_vehi, .-view_vehi
.align 2
.global cryptage
.type cryptage, %function
cryptage:
.LFB38:
.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]
b .L343
.L349:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 90
bhi .L344
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 64
bls .L344
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w1, [x0]
ldr w0, [sp, 4]
and w0, w0, 255
add w0, w1, w0
and w1, w0, 255
ldrsw x0, [sp, 28]
ldr x2, [sp, 8]
add x0, x2, x0
add w1, w1, 32
and w1, w1, 255
strb w1, [x0]
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 122
bls .L346
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, #26
and w1, w1, 255
strb w1, [x0]
b .L346
.L344:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 122
bhi .L347
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 96
bls .L347
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w1, [x0]
ldr w0, [sp, 4]
and w0, w0, 255
add w0, w1, w0
and w1, w0, 255
ldrsw x0, [sp, 28]
ldr x2, [sp, 8]
add x0, x2, x0
sub w1, w1, #32
and w1, w1, 255
strb w1, [x0]
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 90
bls .L346
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, #26
and w1, w1, 255
strb w1, [x0]
b .L346
.L347:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 57
bhi .L346
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bls .L346
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w2, [x0]
ldr w0, [sp]
and w1, w0, 255
ldrsw x0, [sp, 28]
ldr x3, [sp, 8]
add x0, x3, x0
add w1, w2, w1
and w1, w1, 255
strb w1, [x0]
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 57
bls .L346
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, #10
and w1, w1, 255
strb w1, [x0]
.L346:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L343:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L349
ldr x0, [sp, 8]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size cryptage, .-cryptage
.align 2
.global decrypt
.type decrypt, %function
decrypt:
.LFB39:
.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]
b .L352
.L358:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 90
bhi .L353
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 64
bls .L353
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w1, [x0]
ldr w0, [sp, 4]
and w0, w0, 255
sub w0, w1, w0
and w1, w0, 255
ldrsw x0, [sp, 28]
ldr x2, [sp, 8]
add x0, x2, x0
add w1, w1, 32
and w1, w1, 255
strb w1, [x0]
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 96
bhi .L355
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
add w1, w1, 26
and w1, w1, 255
strb w1, [x0]
b .L355
.L353:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 122
bhi .L356
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 96
bls .L356
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w1, [x0]
ldr w0, [sp, 4]
and w0, w0, 255
sub w0, w1, w0
and w1, w0, 255
ldrsw x0, [sp, 28]
ldr x2, [sp, 8]
add x0, x2, x0
sub w1, w1, #32
and w1, w1, 255
strb w1, [x0]
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 64
bhi .L355
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
add w1, w1, 26
and w1, w1, 255
strb w1, [x0]
b .L355
.L356:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 57
bhi .L355
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bls .L355
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w2, [x0]
ldr w0, [sp]
and w1, w0, 255
ldrsw x0, [sp, 28]
ldr x3, [sp, 8]
add x0, x3, x0
sub w1, w2, w1
and w1, w1, 255
strb w1, [x0]
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bhi .L355
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
add w1, w1, 10
and w1, w1, 255
strb w1, [x0]
.L355:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L352:
ldrsw x0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L358
ldr x0, [sp, 8]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size decrypt, .-decrypt
.section .rodata
.align 3
.LC110:
.string "Entrez un mot de passe pour prot\303\251ger l'acces aux ressources du personnel(minimum 4 caract\303\250res):"
.align 3
.LC111:
.string "w"
.align 3
.LC112:
.string "%s\n"
.text
.align 2
.global verf_passFile
.type verf_passFile, %function
verf_passFile:
.LFB40:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1, 0
stp xzr, xzr, [sp, 32]
add x0, sp, 48
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
str xzr, [sp, 24]
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl fopen
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L361
b .L362
.L363:
adrp x0, .LC110
add x0, x0, :lo12:.LC110
bl printf
adrp x0, .LC111
add x1, x0, :lo12:.LC111
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl fopen
str x0, [sp, 24]
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 32
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 32
bl delRet
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl system
.L362:
add x0, sp, 32
bl strlen
cmp x0, 3
bls .L363
add x0, sp, 32
mov w2, 4
mov w1, 7
bl cryptage
mov x2, x0
adrp x0, .LC112
add x1, x0, :lo12:.LC112
ldr x0, [sp, 24]
bl fprintf
.L361:
ldr x0, [sp, 24]
bl fclose
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 .L364
bl __stack_chk_fail
.L364:
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size verf_passFile, .-verf_passFile
.section .rodata
.align 3
.LC113:
.string "Entrez le mot de passe:"
.align 3
.LC114:
.string "Erreur lors de manipulation du fichier de mot de passe\n"
.align 3
.LC115:
.string "Attention le mot de passe entr\303\251 est incorrecte!"
.align 3
.LC116:
.string "\n<*** BIENVENUE !! ***>"
.text
.align 2
.global verf_pass
.type verf_pass, %function
verf_pass:
.LFB41:
.cfi_startproc
stp x29, x30, [sp, -256]!
.cfi_def_cfa_offset 256
.cfi_offset 29, -256
.cfi_offset 30, -248
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 248]
mov x1, 0
str wzr, [sp, 24]
stp xzr, xzr, [sp, 40]
add x0, sp, 56
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
stp xzr, xzr, [sp, 144]
add x0, sp, 160
movi v0.4s, 0
stp q0, q0, [x0]
stp q0, q0, [x0, 32]
str q0, [x0, 64]
fmov w1, s0
str w1, [x0, 80]
str xzr, [sp, 32]
adrp x0, .LC113
add x0, x0, :lo12:.LC113
bl printf
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 40
mov x2, x1
mov w1, 100
bl fgets
add x0, sp, 40
bl delRet
adrp x0, .LC21
add x1, x0, :lo12:.LC21
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl fopen
str x0, [sp, 32]
ldr x0, [sp, 32]
cmp x0, 0
bne .L366
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 55
mov x1, 1
adrp x0, .LC114
add x0, x0, :lo12:.LC114
bl fwrite
mov w0, -1
bl exit
.L366:
ldr x0, [sp, 32]
bl fgetc
str w0, [sp, 24]
str wzr, [sp, 28]
ldr w0, [sp, 24]
cmn w0, #1
bne .L368
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl remove
bl verf_passFile
b .L368
.L370:
ldr w0, [sp, 24]
and w2, w0, 255
ldrsw x0, [sp, 28]
add x1, sp, 144
strb w2, [x1, x0]
ldr x0, [sp, 32]
bl fgetc
str w0, [sp, 24]
ldr w0, [sp, 24]
cmp w0, 10
bne .L369
ldr w0, [sp, 28]
add w0, w0, 1
sxtw x0, w0
add x1, sp, 144
strb wzr, [x1, x0]
.L369:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L368:
ldr w0, [sp, 24]
cmp w0, 10
bne .L370
add x0, sp, 144
mov w2, 4
mov w1, 7
bl decrypt
mov x2, x0
add x0, sp, 40
mov x1, x0
mov x0, x2
bl strcmp
cmp w0, 0
beq .L371
adrp x0, .LC115
add x0, x0, :lo12:.LC115
bl puts
ldr x0, [sp, 32]
bl fclose
mov w0, 0
b .L373
.L371:
adrp x0, .LC116
add x0, x0, :lo12:.LC116
bl puts
ldr x0, [sp, 32]
bl fclose
mov w0, 1
.L373:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 248]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L374
bl __stack_chk_fail
.L374:
mov w0, w1
ldp x29, x30, [sp], 256
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE41:
.size verf_pass, .-verf_pass
.local choix1.2
.comm choix1.2,4,4
.local verf.1
.comm verf.1,4,4
.local choix2.0
.comm choix2.0,4,4
``` |
### 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, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 184]
mov x1, 0
adrp x0, rfds.1
add x0, x0, :lo12:rfds.1
str x0, [sp, 24]
str wzr, [sp, 16]
b .L2
.L3:
ldr x0, [sp, 24]
ldr w1, [sp, 16]
str xzr, [x0, x1, lsl 3]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L2:
ldr w0, [sp, 16]
cmp w0, 15
bls .L3
adrp x0, wfds.0
add x0, x0, :lo12:wfds.0
str x0, [sp, 32]
str wzr, [sp, 20]
b .L4
.L5:
ldr x0, [sp, 32]
ldr w1, [sp, 20]
str xzr, [x0, x1, lsl 3]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L4:
ldr w0, [sp, 20]
cmp w0, 15
bls .L5
adrp x0, rfds.1
add x0, x0, :lo12:rfds.1
ldr x0, [x0]
orr x1, x0, 1
adrp x0, rfds.1
add x0, x0, :lo12:rfds.1
str x1, [x0]
adrp x0, wfds.0
add x0, x0, :lo12:wfds.0
ldr x0, [x0]
orr x1, x0, 2
adrp x0, wfds.0
add x0, x0, :lo12:wfds.0
str x1, [x0]
adrp x0, wfds.0
add x0, x0, :lo12:wfds.0
ldr x0, [x0]
orr x1, x0, 4
adrp x0, wfds.0
add x0, x0, :lo12:wfds.0
str x1, [x0]
mov x0, 1
str x0, [sp, 40]
mov x0, 51711
movk x0, 0x3b9a, lsl 16
str x0, [sp, 48]
add x0, sp, 56
bl sigemptyset
add x0, sp, 56
mov w1, 15
bl sigaddset
add x1, sp, 56
add x0, sp, 40
mov x5, x1
mov x4, x0
mov x3, 0
adrp x0, wfds.0
add x2, x0, :lo12:wfds.0
adrp x0, rfds.1
add x1, x0, :lo12:rfds.1
mov w0, 3
bl pselect
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 .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.local rfds.1
.comm rfds.1,128,8
.local wfds.0
.comm wfds.0,128,8
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global GTMOAuth2VersionString
.section .rodata
.align 3
.type GTMOAuth2VersionString, %object
.size GTMOAuth2VersionString, 39
GTMOAuth2VersionString:
.string "@(#)PROGRAM:GTMOAuth2 PROJECT:Pods-1\n"
.global GTMOAuth2VersionNumber
.align 3
.type GTMOAuth2VersionNumber, %object
.size GTMOAuth2VersionNumber, 8
GTMOAuth2VersionNumber:
.word 0
.word 1072693248
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Hello, world!"
.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 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
``` |
### 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
str w0, [sp, 24]
mov w0, -1
str w0, [sp, 28]
ldr w1, [sp, 28]
ldr w0, [sp, 24]
add w0, w1, w0
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
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
.section .rodata
.align 3
.LC0:
.string "10! is %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
mov w0, 10
str w0, [sp, 24]
mov w0, 1
str w0, [sp, 28]
.L2:
ldr w1, [sp, 28]
ldr w0, [sp, 24]
mul w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 24]
sub w0, w0, #1
str w0, [sp, 24]
ldr w0, [sp, 24]
cmp w0, 1
bgt .L2
ldr w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
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
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "openfile"
.align 3
.LC2:
.string "./openfile"
.align 3
.LC3:
.string "execl error"
.align 3
.LC4:
.string "child did not terminate"
.text
.align 2
.global my_open
.type my_open, %function
my_open:
.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, 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
add x0, sp, 48
mov x3, x0
mov w2, 0
mov w1, 1
mov w0, 1
bl socketpair
bl fork
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bne .L2
ldr w0, [sp, 48]
bl close
ldr w0, [sp, 52]
add x4, sp, 56
mov w3, w0
adrp x0, .LC0
add x2, x0, :lo12:.LC0
mov x1, 10
mov x0, x4
bl snprintf
add x4, sp, 72
ldr w3, [sp, 20]
adrp x0, .LC0
add x2, x0, :lo12:.LC0
mov x1, 10
mov x0, x4
bl snprintf
add x1, sp, 72
add x0, sp, 56
mov x5, 0
mov x4, x1
ldr x3, [sp, 24]
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl execl
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl perror
mov w0, 1
bl exit
.L2:
ldr w0, [sp, 52]
bl close
add x0, sp, 36
mov w2, 0
mov x1, x0
ldr w0, [sp, 44]
bl waitpid
ldr w0, [sp, 36]
and w0, w0, 127
cmp w0, 0
beq .L3
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl perror
mov w0, 1
bl exit
.L3:
ldr w0, [sp, 36]
asr w0, w0, 8
and w0, w0, 255
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bne .L4
ldr w0, [sp, 48]
bl recv_fd
str w0, [sp, 40]
b .L5
.L4:
bl __errno_location
mov x1, x0
ldr w0, [sp, 36]
str w0, [x1]
mov w0, -1
str w0, [sp, 40]
.L5:
ldr w0, [sp, 48]
bl close
ldr w0, [sp, 40]
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 .L7
bl __stack_chk_fail
.L7:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size my_open, .-my_open
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global S
.section .rodata
.align 3
.type S, %object
.size S, 40
S:
.ascii "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ.,? "
.global fragmento
.align 3
.type fragmento, %object
.size fragmento, 28
fragmento:
.string "QUE A FORCA ESTEJA COM VOCE"
.align 3
.LC0:
.string "%i"
.align 3
.LC1:
.string "%s"
.text
.align 2
.global descriptografar
.type descriptografar, %function
descriptografar:
.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]
ldr x0, [sp, 16]
bl strlen
str w0, [sp, 56]
str wzr, [sp, 40]
str wzr, [sp, 60]
str wzr, [sp, 44]
b .L2
.L3:
ldrsw x0, [sp, 44]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L2:
ldr w0, [sp, 44]
cmp w0, 3
ble .L3
mov w0, 10
bl putchar
str wzr, [sp, 48]
b .L4
.L12:
str wzr, [sp, 52]
b .L5
.L10:
ldrsw x0, [sp, 48]
ldr x1, [sp, 16]
add x0, x1, x0
ldrb w1, [x0]
adrp x0, S
add x2, x0, :lo12:S
ldrsw x0, [sp, 52]
ldrb w0, [x2, x0]
cmp w1, w0
bne .L6
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
cmp w0, 0
beq .L13
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 52]
sub w0, w1, w0
cmp w0, 0
bge .L9
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 52]
sub w0, w1, w0
str w0, [sp, 60]
ldr w0, [sp, 60]
neg w0, w0
str w0, [sp, 60]
mov w1, 40
ldr w0, [sp, 60]
sub w3, w1, w0
ldrsw x0, [sp, 48]
ldr x1, [sp, 16]
add x0, x1, x0
adrp x1, S
add x2, x1, :lo12:S
sxtw x1, w3
ldrb w1, [x2, x1]
strb w1, [x0]
b .L8
.L9:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w0, [x0]
ldr w1, [sp, 52]
sub w3, w1, w0
ldrsw x0, [sp, 48]
ldr x1, [sp, 16]
add x0, x1, x0
adrp x1, S
add x2, x1, :lo12:S
sxtw x1, w3
ldrb w1, [x2, x1]
strb w1, [x0]
b .L8
.L6:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
.L5:
ldr w0, [sp, 52]
cmp w0, 39
ble .L10
b .L8
.L13:
nop
.L8:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
ldr w0, [sp, 40]
cmp w0, 4
bne .L11
str wzr, [sp, 40]
.L11:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L4:
ldr w1, [sp, 48]
ldr w0, [sp, 56]
cmp w1, w0
blt .L12
ldr x1, [sp, 16]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size descriptografar, .-descriptografar
.section .rodata
.align 3
.LC2:
.string "TESTE [I] valor1: %i valor2: %i, resultado %i\n"
.align 3
.LC3:
.string "Mensagem nao e da Resistencia!"
.text
.align 2
.global descobre_chave
.type descobre_chave, %function
descobre_chave:
.LFB7:
.cfi_startproc
sub sp, sp, #896
.cfi_def_cfa_offset 896
stp x29, x30, [sp]
.cfi_offset 29, -896
.cfi_offset 30, -888
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, 888]
mov x1, 0
str wzr, [sp, 44]
str wzr, [sp, 48]
str wzr, [sp, 52]
str wzr, [sp, 56]
str wzr, [sp, 60]
b .L15
.L29:
str wzr, [sp, 64]
b .L16
.L19:
ldrsw x0, [sp, 60]
ldr x1, [sp, 24]
add x0, x1, x0
ldrb w1, [x0]
adrp x0, S
add x2, x0, :lo12:S
ldrsw x0, [sp, 64]
ldrb w0, [x2, x0]
cmp w1, w0
bne .L17
ldr w0, [sp, 64]
str w0, [sp, 44]
b .L18
.L17:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L16:
ldr w0, [sp, 64]
cmp w0, 39
ble .L19
.L18:
str wzr, [sp, 68]
b .L20
.L23:
adrp x0, fragmento
add x1, x0, :lo12:fragmento
ldrsw x0, [sp, 52]
ldrb w1, [x1, x0]
adrp x0, S
add x2, x0, :lo12:S
ldrsw x0, [sp, 68]
ldrb w0, [x2, x0]
cmp w1, w0
bne .L21
ldr w0, [sp, 68]
str w0, [sp, 48]
b .L22
.L21:
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L20:
ldr w0, [sp, 68]
cmp w0, 39
ble .L23
.L22:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
ldr w0, [sp, 52]
cmp w0, 8
bne .L24
str wzr, [sp, 52]
.L24:
ldr w1, [sp, 44]
ldr w0, [sp, 48]
sub w2, w1, w0
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 88
str w2, [x1, x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 88
ldr w0, [x1, x0]
add w2, w0, 40
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w2, w0
lsr x0, x0, 32
asr w1, w0, 4
asr w0, w2, 31
sub w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 3
sub w1, w2, w0
cmp w1, 1
ble .L25
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 88
ldr w0, [x1, x0]
add w2, w0, 40
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w2, w0
lsr x0, x0, 32
asr w1, w0, 4
asr w0, w2, 31
sub w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 3
sub w1, w2, w0
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x2, sp, 88
str w1, [x2, x0]
b .L26
.L25:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 88
str wzr, [x1, x0]
.L26:
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x1, sp, 88
ldr w0, [x1, x0]
mov w3, w0
ldr w2, [sp, 48]
ldr w1, [sp, 44]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr w0, [sp, 60]
cmp w0, 6
ble .L27
ldr w0, [sp, 60]
sub w0, w0, #7
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr w1, [x1, x0]
ldr w0, [sp, 60]
sub w0, w0, #3
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 88
ldr w0, [x2, x0]
cmp w1, w0
bne .L27
ldr w0, [sp, 60]
sub w0, w0, #6
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr w1, [x1, x0]
ldr w0, [sp, 60]
sub w0, w0, #2
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 88
ldr w0, [x2, x0]
cmp w1, w0
bne .L27
ldr w0, [sp, 60]
sub w0, w0, #5
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr w1, [x1, x0]
ldr w0, [sp, 60]
sub w0, w0, #1
sxtw x0, w0
lsl x0, x0, 2
add x2, sp, 88
ldr w0, [x2, x0]
cmp w1, w0
bne .L27
ldr w0, [sp, 60]
sub w0, w0, #4
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr w1, [x1, x0]
ldrsw x0, [sp, 60]
lsl x0, x0, 2
add x2, sp, 88
ldr w0, [x2, x0]
cmp w1, w0
bne .L27
ldr w0, [sp, 60]
sub w0, w0, #7
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr w0, [x1, x0]
str w0, [sp, 72]
ldr w0, [sp, 60]
sub w0, w0, #6
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr w0, [x1, x0]
str w0, [sp, 76]
ldr w0, [sp, 60]
sub w0, w0, #5
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr w0, [x1, x0]
str w0, [sp, 80]
ldr w0, [sp, 60]
sub w0, w0, #4
sxtw x0, w0
lsl x0, x0, 2
add x1, sp, 88
ldr w0, [x1, x0]
str w0, [sp, 84]
add x0, sp, 72
ldr x1, [sp, 24]
bl descriptografar
mov w0, 1
str w0, [sp, 56]
b .L28
.L27:
ldr w0, [sp, 60]
add w0, w0, 1
str w0, [sp, 60]
.L15:
ldr w0, [sp, 60]
cmp w0, 199
ble .L29
.L28:
ldr w0, [sp, 56]
cmp w0, 0
bne .L32
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
.L32:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 888]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L31
bl __stack_chk_fail
.L31:
ldp x29, x30, [sp]
add sp, sp, 896
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size descobre_chave, .-descobre_chave
.align 2
.global main
.type main, %function
main:
.LFB8:
.cfi_startproc
stp x29, x30, [sp, -240]!
.cfi_def_cfa_offset 240
.cfi_offset 29, -240
.cfi_offset 30, -232
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 232]
mov x1, 0
adrp x0, :got:stdin
ldr x0, [x0, #:got_lo12:stdin]
ldr x1, [x0]
add x0, sp, 24
mov x2, x1
mov w1, 200
bl fgets
add x0, sp, 24
bl descobre_chave
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 232]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L35
bl __stack_chk_fail
.L35:
mov w0, w1
ldp x29, x30, [sp], 240
.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
.section .rodata
.align 3
.LC1:
.string "Forking failure"
.align 3
.LC2:
.string "Received the string: %s "
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.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
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 152]
mov x1, 0
adrp x0, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 56
ldr x2, [x1]
str x2, [x0]
ldr x1, [x1, 6]
str x1, [x0, 6]
add x0, sp, 48
bl pipe
bl fork
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl perror
mov w0, 1
bl exit
.L2:
ldr w0, [sp, 44]
cmp w0, 0
bne .L3
ldr w0, [sp, 48]
bl close
ldr w19, [sp, 52]
add x0, sp, 56
bl strlen
mov x1, x0
add x0, sp, 56
mov x2, x1
mov x1, x0
mov w0, w19
bl write
mov w0, 0
bl exit
.L3:
ldr w0, [sp, 52]
bl close
ldr w0, [sp, 48]
add x1, sp, 72
mov x2, 80
bl read
add x0, sp, 72
mov x1, x0
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, 152]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
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
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "Hellow world\n"
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "byRef(ptr to %i)\n"
.text
.align 2
.type byRef, %function
byRef:
.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 x0, [sp, 24]
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size byRef, .-byRef
.section .rodata
.align 3
.LC1:
.string "byPtr(ptr to %i)\n"
.text
.align 2
.type byPtr, %function
byPtr:
.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 x0, [sp, 24]
ldr x0, [sp, 24]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size byPtr, .-byPtr
.section .rodata
.align 3
.LC2:
.string "byString(%s)\n"
.text
.align 2
.type byString, %function
byString:
.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 x0, [sp, 24]
ldr x1, [sp, 24]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size byString, .-byString
.section .rodata
.align 3
.LC3:
.string "byCString(%s)\n"
.text
.align 2
.type byCString, %function
byCString:
.LFB3:
.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]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size byCString, .-byCString
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Rettangolo:"
.align 3
.LC1:
.string "area: %f\nperimetro: %f\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, .LC0
add x0, x0, :lo12:.LC0
bl puts
bl creaRettangolo
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr s1, [x0, 8]
ldr x0, [sp, 40]
ldr s0, [x0]
fsub s0, s1, s0
str s0, [sp, 24]
ldr x0, [sp, 40]
ldr s1, [x0, 12]
ldr x0, [sp, 40]
ldr s0, [x0, 4]
fsub s0, s1, s0
str s0, [sp, 28]
ldr s1, [sp, 24]
ldr s0, [sp, 28]
fmul s0, s1, s0
str s0, [sp, 32]
ldr s1, [sp, 24]
ldr s0, [sp, 28]
fadd s0, s1, s0
fadd s0, s0, s0
str s0, [sp, 36]
ldr s0, [sp, 32]
fcvt d2, s0
ldr s0, [sp, 36]
fcvt d0, s0
fmov d1, d0
fmov d0, d2
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
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
.section .rodata
.align 3
.LC2:
.string "Inserisci coordinate del punto in basso a sx"
.align 3
.LC3:
.string "%f %f"
.align 3
.LC4:
.string "Inserisci coordinate del punto in alto a dx"
.text
.align 2
.global creaRettangolo
.type creaRettangolo, %function
creaRettangolo:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 16
bl malloc
str x0, [sp, 24]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
ldr x1, [sp, 24]
ldr x0, [sp, 24]
add x0, x0, 4
mov x2, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
ldr x0, [sp, 24]
add x1, x0, 8
ldr x0, [sp, 24]
add x0, x0, 12
mov x2, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr x0, [sp, 24]
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size creaRettangolo, .-creaRettangolo
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global imaxabs
.type imaxabs, %function
imaxabs:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
cmp x0, 0
csneg x0, x0, x0, ge
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size imaxabs, .-imaxabs
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "%d%d"
.align 3
.LC2:
.string "divisao impossivel"
.align 3
.LC3:
.string "%.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 x0, sp, 28
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
b .L2
.L4:
add x1, sp, 36
add x0, sp, 32
mov x2, x1
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 36]
cmp w0, 0
bne .L3
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
b .L2
.L3:
ldr s0, [sp, 32]
scvtf s1, s0
ldr s0, [sp, 36]
scvtf s0, s0
fdiv s0, s1, s0
fcvt d0, s0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
.L2:
ldr w0, [sp, 28]
sub w1, w0, #1
str w1, [sp, 28]
cmp w0, 0
bne .L4
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
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
.type cpuset_nexttok, %function
cpuset_nexttok:
.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]
ldr x0, [sp, 24]
add x0, x0, 1
mov w1, 44
bl strchr
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L2
ldr x0, [sp, 40]
add x0, x0, 1
b .L3
.L2:
mov x0, 0
.L3:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size cpuset_nexttok, .-cpuset_nexttok
.section .rodata
.align 3
.LC0:
.string "%d-%d"
.text
.align 2
.type cpuset_getrange, %function
cpuset_getrange:
.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]
ldr x3, [sp, 24]
ldr x2, [sp, 32]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 40]
bl __isoc99_sscanf
str w0, [sp, 60]
ldr w0, [sp, 60]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size cpuset_getrange, .-cpuset_getrange
.align 2
.global cpu_in_cpuset
.type cpu_in_cpuset, %function
cpu_in_cpuset:
.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, 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, 56]
mov x1, 0
ldr x0, [sp, 16]
str x0, [sp, 48]
b .L7
.L12:
add x1, sp, 40
add x0, sp, 36
mov x2, x1
mov x1, x0
ldr x0, [sp, 48]
bl cpuset_getrange
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 1
bne .L8
ldr w0, [sp, 36]
ldr w1, [sp, 28]
cmp w1, w0
bne .L8
mov w0, 1
b .L11
.L8:
ldr w0, [sp, 44]
cmp w0, 2
bne .L10
ldr w0, [sp, 36]
ldr w1, [sp, 28]
cmp w1, w0
blt .L10
ldr w0, [sp, 40]
ldr w1, [sp, 28]
cmp w1, w0
bgt .L10
mov w0, 1
b .L11
.L10:
ldr x0, [sp, 48]
bl cpuset_nexttok
str x0, [sp, 48]
.L7:
ldr x0, [sp, 48]
cmp x0, 0
bne .L12
mov w0, 0
.L11:
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 .L13
bl __stack_chk_fail
.L13:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size cpu_in_cpuset, .-cpu_in_cpuset
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC1:
.string "int = %d\n"
.align 3
.LC2:
.string "char= %d\n"
.align 3
.LC3:
.string "INTWALA"
.align 3
.LC4:
.string "%d \n"
.align 3
.LC5:
.string "CHARWALA"
.align 3
.LC6:
.string "%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
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, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 40
ldr q0, [x1]
str q0, [x0]
ldr q0, [x1, 12]
str q0, [x0, 12]
mov x1, 4
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov x1, 1
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
mov w0, 120
strb w0, [sp, 19]
add x0, sp, 19
str x0, [sp, 24]
mov w0, 10
str w0, [sp, 20]
add x0, sp, 20
str x0, [sp, 32]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
ldr x1, [sp, 32]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr x0, [sp, 32]
add x0, x0, 4
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl puts
ldr x1, [sp, 24]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
ldr w0, [sp, 44]
mov w1, w0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
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, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L3
bl __stack_chk_fail
.L3:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size main, .-main
.section .rodata
.align 3
.LC0:
.word 6
.word 3
.word 4
.word 5
.word 6
.word 7
.word 8
.text
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.data
.align 3
.type junk, %object
.size junk, 30
junk:
.string "\n@(#)LIBF77 VERSION 19990503\n"
.text
.align 2
.type spow_ui, %function
spow_ui:
.LFB10:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str s0, [sp, 12]
str w0, [sp, 8]
fmov s0, 1.0e+0
str s0, [sp, 20]
ldr w0, [sp, 8]
cmp w0, 0
beq .L2
ldr w0, [sp, 8]
cmp w0, 0
bge .L3
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
ldr s0, [sp, 12]
fmov s1, 1.0e+0
fdiv s0, s1, s0
str s0, [sp, 12]
.L3:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
.L7:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L4
ldr s1, [sp, 20]
ldr s0, [sp, 12]
fmul s0, s1, s0
str s0, [sp, 20]
.L4:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L9
ldr s0, [sp, 12]
fmul s0, s0, s0
str s0, [sp, 12]
b .L7
.L9:
nop
.L2:
ldr s0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size spow_ui, .-spow_ui
.align 2
.type dpow_ui, %function
dpow_ui:
.LFB11:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, 8]
str w0, [sp, 4]
fmov d0, 1.0e+0
str d0, [sp, 16]
ldr w0, [sp, 4]
cmp w0, 0
beq .L11
ldr w0, [sp, 4]
cmp w0, 0
bge .L12
ldr w0, [sp, 4]
neg w0, w0
str w0, [sp, 4]
ldr d0, [sp, 8]
fmov d1, 1.0e+0
fdiv d0, d1, d0
str d0, [sp, 8]
.L12:
ldrsw x0, [sp, 4]
str x0, [sp, 24]
.L16:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L13
ldr d1, [sp, 16]
ldr d0, [sp, 8]
fmul d0, d1, d0
str d0, [sp, 16]
.L13:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L18
ldr d0, [sp, 8]
fmul d0, d0, d0
str d0, [sp, 8]
b .L16
.L18:
nop
.L11:
ldr d0, [sp, 16]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size dpow_ui, .-dpow_ui
.align 2
.type cpow_ui, %function
cpow_ui:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
fmov s2, s0
fmov s0, s1
fmov s1, s2
str s1, [sp, 24]
str s0, [sp, 28]
str w0, [sp, 20]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
fmov s0, 1.0e+0
str s0, [sp, 56]
str wzr, [sp, 60]
ldr w0, [sp, 20]
cmp w0, 0
beq .L27
ldr w0, [sp, 20]
cmp w0, 0
bge .L21
ldr w0, [sp, 20]
neg w0, w0
str w0, [sp, 20]
ldr s3, [sp, 36]
ldr s2, [sp, 32]
movi v1.2s, #0
fmov s0, 1.0e+0
bl __divsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
.L21:
ldrsw x0, [sp, 20]
str x0, [sp, 48]
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
.L25:
ldr x0, [sp, 48]
and x0, x0, 1
cmp x0, 0
beq .L22
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 44]
ldr s0, [sp, 40]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 56]
str s0, [sp, 60]
ldr s0, [sp, 56]
str s0, [sp, 40]
ldr s0, [sp, 60]
str s0, [sp, 44]
.L22:
ldr x0, [sp, 48]
lsr x0, x0, 1
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
beq .L28
ldr s3, [sp, 36]
ldr s2, [sp, 32]
ldr s1, [sp, 36]
ldr s0, [sp, 32]
bl __mulsc3
fmov s2, s0
fmov s0, s1
str s2, [sp, 24]
str s0, [sp, 28]
ldr s0, [sp, 24]
str s0, [sp, 32]
ldr s0, [sp, 28]
str s0, [sp, 36]
b .L25
.L27:
str wzr, [sp, 44]
fmov s0, 1.0e+0
str s0, [sp, 40]
b .L20
.L28:
nop
.L20:
ldr s1, [sp, 40]
ldr s0, [sp, 44]
fmov s2, s1
fmov s1, s0
fmov s0, s2
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size cpow_ui, .-cpow_ui
.align 2
.type zpow_ui, %function
zpow_ui:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
fmov d2, d0
fmov d0, d1
fmov d1, d2
str d1, [sp, 32]
str d0, [sp, 40]
str w0, [sp, 28]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
fmov d0, 1.0e+0
str d0, [sp, 96]
str xzr, [sp, 104]
ldr w0, [sp, 28]
cmp w0, 0
beq .L37
ldr w0, [sp, 28]
cmp w0, 0
bge .L31
ldr w0, [sp, 28]
neg w0, w0
str w0, [sp, 28]
ldr d3, [sp, 72]
ldr d2, [sp, 64]
movi d1, #0
fmov d0, 1.0e+0
bl __divdc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
.L31:
ldrsw x0, [sp, 28]
str x0, [sp, 56]
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
.L35:
ldr x0, [sp, 56]
and x0, x0, 1
cmp x0, 0
beq .L32
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 88]
ldr d0, [sp, 80]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 96]
str d0, [sp, 104]
ldr d0, [sp, 96]
str d0, [sp, 80]
ldr d0, [sp, 104]
str d0, [sp, 88]
.L32:
ldr x0, [sp, 56]
lsr x0, x0, 1
str x0, [sp, 56]
ldr x0, [sp, 56]
cmp x0, 0
beq .L38
ldr d3, [sp, 72]
ldr d2, [sp, 64]
ldr d1, [sp, 72]
ldr d0, [sp, 64]
bl __muldc3
fmov d2, d0
fmov d0, d1
str d2, [sp, 32]
str d0, [sp, 40]
ldr d0, [sp, 32]
str d0, [sp, 64]
ldr d0, [sp, 40]
str d0, [sp, 72]
b .L35
.L37:
str xzr, [sp, 88]
fmov d0, 1.0e+0
str d0, [sp, 80]
b .L30
.L38:
nop
.L30:
ldr d1, [sp, 80]
ldr d0, [sp, 88]
fmov d2, d1
fmov d1, d0
fmov d0, d2
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size zpow_ui, .-zpow_ui
.align 2
.type pow_ii, %function
pow_ii:
.LFB14:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 8]
cmp w0, 0
bgt .L40
ldr w0, [sp, 8]
cmp w0, 0
beq .L41
ldr w0, [sp, 12]
cmp w0, 1
bne .L42
.L41:
mov w0, 1
str w0, [sp, 20]
b .L40
.L42:
ldr w0, [sp, 12]
cmn w0, #1
beq .L43
ldr w0, [sp, 12]
cmp w0, 0
bne .L44
mov w1, 1
ldr w0, [sp, 12]
sdiv w0, w1, w0
b .L45
.L44:
mov w0, 0
.L45:
str w0, [sp, 20]
b .L40
.L43:
ldr w0, [sp, 8]
neg w0, w0
str w0, [sp, 8]
.L40:
ldr w0, [sp, 8]
cmp w0, 0
bgt .L46
ldr w0, [sp, 8]
cmp w0, 0
beq .L47
ldr w0, [sp, 12]
cmp w0, 1
beq .L47
ldr w0, [sp, 12]
cmn w0, #1
bne .L47
.L46:
ldrsw x0, [sp, 8]
str x0, [sp, 24]
mov w0, 1
str w0, [sp, 20]
.L51:
ldr x0, [sp, 24]
and x0, x0, 1
cmp x0, 0
beq .L48
ldr w1, [sp, 20]
ldr w0, [sp, 12]
mul w0, w1, w0
str w0, [sp, 20]
.L48:
ldr x0, [sp, 24]
lsr x0, x0, 1
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
beq .L53
ldr w0, [sp, 12]
mul w0, w0, w0
str w0, [sp, 12]
b .L51
.L53:
nop
.L47:
ldr w0, [sp, 20]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size pow_ii, .-pow_ii
.align 2
.type dmaxloc_, %function
dmaxloc_:
.LFB15:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
ldrsw x0, [sp, 20]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
str d0, [sp, 40]
ldr w0, [sp, 20]
str w0, [sp, 36]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 32]
b .L55
.L58:
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
ldr d1, [sp, 40]
fcmpe d1, d0
bmi .L60
b .L56
.L60:
ldr w0, [sp, 32]
str w0, [sp, 36]
ldrsw x0, [sp, 32]
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 24]
add x0, x1, x0
ldr d0, [x0]
str d0, [sp, 40]
.L56:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L55:
ldr w1, [sp, 32]
ldr w0, [sp, 16]
cmp w1, w0
ble .L58
ldr w1, [sp, 36]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size dmaxloc_, .-dmaxloc_
.align 2
.type smaxloc_, %function
smaxloc_:
.LFB16:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 24]
str w1, [sp, 20]
str w2, [sp, 16]
str x3, [sp, 8]
ldrsw x0, [sp, 20]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
ldr w0, [sp, 20]
str w0, [sp, 44]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 40]
b .L62
.L65:
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
ldr s1, [sp, 36]
fcmpe s1, s0
bmi .L67
b .L63
.L67:
ldr w0, [sp, 40]
str w0, [sp, 44]
ldrsw x0, [sp, 40]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 24]
add x0, x1, x0
ldr s0, [x0]
str s0, [sp, 36]
.L63:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L62:
ldr w1, [sp, 40]
ldr w0, [sp, 16]
cmp w1, w0
ble .L65
ldr w1, [sp, 44]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
add sp, sp, 48
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size smaxloc_, .-smaxloc_
.data
.align 2
.type c__1, %object
.size c__1, 4
c__1:
.word 1
.local c__0
.comm c__0,4,4
.align 2
.type c_n1, %object
.size c_n1, 4
c_n1:
.word -1
.local c_b38
.comm c_b38,8,8
.align 3
.type c_b39, %object
.size c_b39, 8
c_b39:
.word 0
.word 1072693248
.section .rodata
.align 3
.LC0:
.string "N"
.align 3
.LC1:
.string "V"
.align 3
.LC2:
.string "S"
.align 3
.LC3:
.string " "
.align 3
.LC4:
.string "DGEQRF"
.align 3
.LC5:
.string "DORMQR"
.align 3
.LC6:
.string "DORGQR"
.align 3
.LC7:
.string "DGGES "
.align 3
.LC8:
.string "P"
.align 3
.LC9:
.string "M"
.align 3
.LC10:
.string "G"
.align 3
.LC11:
.string "T"
.align 3
.LC12:
.string "L"
.align 3
.LC13:
.string "Full"
.align 3
.LC14:
.string "R"
.align 3
.LC15:
.string "H"
.align 3
.LC16:
.string "U"
.text
.align 2
.global dgges_
.type dgges_, %function
dgges_:
.LFB21:
.cfi_startproc
sub sp, sp, #624
.cfi_def_cfa_offset 624
stp x29, x30, [sp, 144]
.cfi_offset 29, -480
.cfi_offset 30, -472
add x29, sp, 144
stp x19, x20, [sp, 160]
.cfi_offset 19, -464
.cfi_offset 20, -456
str x0, [sp, 344]
str x1, [sp, 336]
str x2, [sp, 328]
str x3, [sp, 320]
str x4, [sp, 312]
str x5, [sp, 304]
str x6, [sp, 296]
str x7, [sp, 288]
ldr x0, [sp, 624]
str x0, [sp, 280]
ldr x0, [sp, 632]
str x0, [sp, 272]
ldr x0, [sp, 640]
str x0, [sp, 264]
ldr x0, [sp, 648]
str x0, [sp, 256]
ldr x0, [sp, 656]
str x0, [sp, 248]
ldr x0, [sp, 664]
str x0, [sp, 240]
ldr x0, [sp, 672]
str x0, [sp, 232]
ldr x0, [sp, 680]
str x0, [sp, 224]
ldr x0, [sp, 688]
str x0, [sp, 216]
ldr x0, [sp, 696]
str x0, [sp, 208]
ldr x0, [sp, 704]
str x0, [sp, 200]
ldr x0, [sp, 712]
str x0, [sp, 192]
ldr x0, [sp, 720]
str x0, [sp, 184]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 616]
mov x1, 0
ldr x0, [sp, 296]
ldr w0, [x0]
str w0, [sp, 440]
ldr w0, [sp, 440]
add w0, w0, 1
str w0, [sp, 444]
ldrsw x0, [sp, 444]
lsl x0, x0, 3
neg x0, x0
ldr x1, [sp, 304]
add x0, x1, x0
str x0, [sp, 304]
ldr x0, [sp, 280]
ldr w0, [x0]
str w0, [sp, 448]
ldr w0, [sp, 448]
add w0, w0, 1
str w0, [sp, 452]
ldrsw x0, [sp, 452]
lsl x0, x0, 3
neg x0, x0
ldr x1, [sp, 288]
add x0, x1, x0
str x0, [sp, 288]
ldr x0, [sp, 264]
sub x0, x0, #8
str x0, [sp, 264]
ldr x0, [sp, 256]
sub x0, x0, #8
str x0, [sp, 256]
ldr x0, [sp, 248]
sub x0, x0, #8
str x0, [sp, 248]
ldr x0, [sp, 232]
ldr w0, [x0]
str w0, [sp, 456]
ldr w0, [sp, 456]
add w0, w0, 1
str w0, [sp, 460]
ldrsw x0, [sp, 460]
lsl x0, x0, 3
neg x0, x0
ldr x1, [sp, 240]
add x0, x1, x0
str x0, [sp, 240]
ldr x0, [sp, 216]
ldr w0, [x0]
str w0, [sp, 464]
ldr w0, [sp, 464]
add w0, w0, 1
str w0, [sp, 468]
ldrsw x0, [sp, 468]
lsl x0, x0, 3
neg x0, x0
ldr x1, [sp, 224]
add x0, x1, x0
str x0, [sp, 224]
ldr x0, [sp, 208]
sub x0, x0, #8
str x0, [sp, 208]
ldr x0, [sp, 192]
sub x0, x0, #4
str x0, [sp, 192]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 344]
bl lsame_
cmp w0, 0
beq .L69
mov w0, 1
str w0, [sp, 420]
str wzr, [sp, 376]
b .L70
.L69:
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 344]
bl lsame_
cmp w0, 0
beq .L71
mov w0, 2
str w0, [sp, 420]
mov w0, 1
str w0, [sp, 376]
b .L70
.L71:
mov w0, -1
str w0, [sp, 420]
str wzr, [sp, 376]
.L70:
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 336]
bl lsame_
cmp w0, 0
beq .L72
mov w0, 1
str w0, [sp, 424]
str wzr, [sp, 380]
b .L73
.L72:
adrp x0, .LC1
add x1, x0, :lo12:.LC1
ldr x0, [sp, 336]
bl lsame_
cmp w0, 0
beq .L74
mov w0, 2
str w0, [sp, 424]
mov w0, 1
str w0, [sp, 380]
b .L73
.L74:
mov w0, -1
str w0, [sp, 424]
str wzr, [sp, 380]
.L73:
adrp x0, .LC2
add x1, x0, :lo12:.LC2
ldr x0, [sp, 328]
bl lsame_
str w0, [sp, 472]
ldr x0, [sp, 184]
str wzr, [x0]
ldr x0, [sp, 200]
ldr w0, [x0]
cmn w0, #1
cset w0, eq
and w0, w0, 255
str w0, [sp, 476]
ldr w0, [sp, 420]
cmp w0, 0
bgt .L75
ldr x0, [sp, 184]
mov w1, -1
str w1, [x0]
b .L76
.L75:
ldr w0, [sp, 424]
cmp w0, 0
bgt .L77
ldr x0, [sp, 184]
mov w1, -2
str w1, [x0]
b .L76
.L77:
ldr w0, [sp, 472]
cmp w0, 0
bne .L78
adrp x0, .LC0
add x1, x0, :lo12:.LC0
ldr x0, [sp, 328]
bl lsame_
cmp w0, 0
bne .L78
ldr x0, [sp, 184]
mov w1, -3
str w1, [x0]
b .L76
.L78:
ldr x0, [sp, 312]
ldr w0, [x0]
cmp w0, 0
bge .L79
ldr x0, [sp, 184]
mov w1, -5
str w1, [x0]
b .L76
.L79:
ldr x0, [sp, 296]
ldr w1, [x0]
ldr x0, [sp, 312]
ldr w0, [x0]
mov w2, 1
cmp w0, 0
csel w0, w0, w2, gt
cmp w1, w0
bge .L80
ldr x0, [sp, 184]
mov w1, -7
str w1, [x0]
b .L76
.L80:
ldr x0, [sp, 280]
ldr w1, [x0]
ldr x0, [sp, 312]
ldr w0, [x0]
mov w2, 1
cmp w0, 0
csel w0, w0, w2, gt
cmp w1, w0
bge .L81
ldr x0, [sp, 184]
mov w1, -9
str w1, [x0]
b .L76
.L81:
ldr x0, [sp, 232]
ldr w0, [x0]
cmp w0, 0
ble .L82
ldr w0, [sp, 376]
cmp w0, 0
beq .L83
ldr x0, [sp, 232]
ldr w1, [x0]
ldr x0, [sp, 312]
ldr w0, [x0]
cmp w1, w0
bge .L83
.L82:
ldr x0, [sp, 184]
mov w1, -15
str w1, [x0]
b .L76
.L83:
ldr x0, [sp, 216]
ldr w0, [x0]
cmp w0, 0
ble .L84
ldr w0, [sp, 380]
cmp w0, 0
beq .L76
ldr x0, [sp, 216]
ldr w1, [x0]
ldr x0, [sp, 312]
ldr w0, [x0]
cmp w1, w0
bge .L76
.L84:
ldr x0, [sp, 184]
mov w1, -17
str w1, [x0]
.L76:
ldr x0, [sp, 184]
ldr w0, [x0]
cmp w0, 0
bne .L85
ldr x0, [sp, 312]
ldr w0, [x0]
cmp w0, 0
ble .L86
ldr x0, [sp, 312]
ldr w0, [x0]
lsl w0, w0, 3
str w0, [sp, 360]
ldr x0, [sp, 312]
ldr w1, [x0]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
lsl w0, w0, 1
add w0, w0, 16
str w0, [sp, 364]
ldr w1, [sp, 360]
ldr w0, [sp, 364]
cmp w1, w0
csel w0, w1, w0, ge
str w0, [sp, 432]
ldr x0, [sp, 312]
ldr w0, [x0]
ldr w1, [sp, 432]
sub w19, w1, w0
ldr x0, [sp, 312]
ldr w20, [x0]
mov w0, 1
str w0, [sp]
mov w7, 6
adrp x0, c__0
add x6, x0, :lo12:c__0
ldr x5, [sp, 312]
adrp x0, c__1
add x4, x0, :lo12:c__1
ldr x3, [sp, 312]
adrp x0, .LC3
add x2, x0, :lo12:.LC3
adrp x0, .LC4
add x1, x0, :lo12:.LC4
adrp x0, c__1
add x0, x0, :lo12:c__1
bl ilaenv_
mul w0, w20, w0
add w0, w19, w0
str w0, [sp, 436]
ldr w0, [sp, 436]
str w0, [sp, 360]
ldr x0, [sp, 312]
ldr w0, [x0]
ldr w1, [sp, 432]
sub w19, w1, w0
ldr x0, [sp, 312]
ldr w20, [x0]
mov w0, 1
str w0, [sp]
mov w7, 6
adrp x0, c_n1
add x6, x0, :lo12:c_n1
ldr x5, [sp, 312]
adrp x0, c__1
add x4, x0, :lo12:c__1
ldr x3, [sp, 312]
adrp x0, .LC3
add x2, x0, :lo12:.LC3
adrp x0, .LC5
add x1, x0, :lo12:.LC5
adrp x0, c__1
add x0, x0, :lo12:c__1
bl ilaenv_
mul w0, w20, w0
add w0, w19, w0
str w0, [sp, 364]
ldr w1, [sp, 360]
ldr w0, [sp, 364]
cmp w1, w0
csel w0, w1, w0, ge
str w0, [sp, 436]
ldr w0, [sp, 376]
cmp w0, 0
beq .L87
ldr w0, [sp, 436]
str w0, [sp, 360]
ldr x0, [sp, 312]
ldr w0, [x0]
ldr w1, [sp, 432]
sub w19, w1, w0
ldr x0, [sp, 312]
ldr w20, [x0]
mov w0, 1
str w0, [sp]
mov w7, 6
adrp x0, c_n1
add x6, x0, :lo12:c_n1
ldr x5, [sp, 312]
adrp x0, c__1
add x4, x0, :lo12:c__1
ldr x3, [sp, 312]
adrp x0, .LC3
add x2, x0, :lo12:.LC3
adrp x0, .LC6
add x1, x0, :lo12:.LC6
adrp x0, c__1
add x0, x0, :lo12:c__1
bl ilaenv_
mul w0, w20, w0
add w0, w19, w0
str w0, [sp, 364]
ldr w1, [sp, 360]
ldr w0, [sp, 364]
cmp w1, w0
csel w0, w1, w0, ge
str w0, [sp, 436]
b .L87
.L86:
mov w0, 1
str w0, [sp, 432]
mov w0, 1
str w0, [sp, 436]
.L87:
ldr x0, [sp, 208]
add x0, x0, 8
ldr w1, [sp, 436]
scvtf d0, w1
str d0, [x0]
ldr x0, [sp, 200]
ldr w0, [x0]
ldr w1, [sp, 432]
cmp w1, w0
ble .L85
ldr w0, [sp, 476]
cmp w0, 0
bne .L85
ldr x0, [sp, 184]
mov w1, -19
str w1, [x0]
.L85:
ldr x0, [sp, 184]
ldr w0, [x0]
cmp w0, 0
beq .L88
ldr x0, [sp, 184]
ldr w0, [x0]
neg w0, w0
str w0, [sp, 360]
add x0, sp, 360
mov w2, 6
mov x1, x0
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl xerbla_
mov w0, 0
b .L155
.L88:
ldr w0, [sp, 476]
cmp w0, 0
beq .L90
mov w0, 0
b .L155
.L90:
ldr x0, [sp, 312]
ldr w0, [x0]
cmp w0, 0
bne .L91
ldr x0, [sp, 272]
str wzr, [x0]
mov w0, 0
b .L155
.L91:
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl dlamch_
str d0, [sp, 560]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl dlamch_
str d0, [sp, 528]
ldr d0, [sp, 528]
fmov d1, 1.0e+0
fdiv d0, d1, d0
str d0, [sp, 536]
add x1, sp, 536
add x0, sp, 528
bl dlabad_
ldr d0, [sp, 528]
bl sqrt
fmov d1, d0
ldr d0, [sp, 560]
fdiv d0, d1, d0
str d0, [sp, 568]
ldr d0, [sp, 568]
fmov d1, 1.0e+0
fdiv d0, d1, d0
str d0, [sp, 576]
ldrsw x0, [sp, 444]
lsl x0, x0, 3
ldr x1, [sp, 304]
add x1, x1, x0
ldr x0, [sp, 208]
add x0, x0, 8
mov x5, x0
ldr x4, [sp, 296]
mov x3, x1
ldr x2, [sp, 312]
ldr x1, [sp, 312]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl dlange_
str d0, [sp, 496]
str wzr, [sp, 412]
ldr d0, [sp, 496]
fcmpe d0, #0.0
bgt .L157
b .L92
.L157:
ldr d0, [sp, 496]
ldr d1, [sp, 568]
fcmpe d1, d0
bgt .L158
b .L92
.L158:
ldr d0, [sp, 568]
str d0, [sp, 544]
mov w0, 1
str w0, [sp, 412]
b .L95
.L92:
ldr d0, [sp, 496]
ldr d1, [sp, 576]
fcmpe d1, d0
bmi .L159
b .L95
.L159:
ldr d0, [sp, 576]
str d0, [sp, 544]
mov w0, 1
str w0, [sp, 412]
.L95:
ldr w0, [sp, 412]
cmp w0, 0
beq .L97
ldrsw x0, [sp, 444]
lsl x0, x0, 3
ldr x1, [sp, 304]
add x3, x1, x0
add x2, sp, 544
add x1, sp, 496
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 296]
str x0, [sp]
mov x7, x3
ldr x6, [sp, 312]
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl dlascl_
.L97:
ldrsw x0, [sp, 452]
lsl x0, x0, 3
ldr x1, [sp, 288]
add x1, x1, x0
ldr x0, [sp, 208]
add x0, x0, 8
mov x5, x0
ldr x4, [sp, 280]
mov x3, x1
ldr x2, [sp, 312]
ldr x1, [sp, 312]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl dlange_
str d0, [sp, 504]
str wzr, [sp, 416]
ldr d0, [sp, 504]
fcmpe d0, #0.0
bgt .L160
b .L98
.L160:
ldr d0, [sp, 504]
ldr d1, [sp, 568]
fcmpe d1, d0
bgt .L161
b .L98
.L161:
ldr d0, [sp, 568]
str d0, [sp, 552]
mov w0, 1
str w0, [sp, 416]
b .L101
.L98:
ldr d0, [sp, 504]
ldr d1, [sp, 576]
fcmpe d1, d0
bmi .L162
b .L101
.L162:
ldr d0, [sp, 576]
str d0, [sp, 552]
mov w0, 1
str w0, [sp, 416]
.L101:
ldr w0, [sp, 416]
cmp w0, 0
beq .L103
ldrsw x0, [sp, 452]
lsl x0, x0, 3
ldr x1, [sp, 288]
add x3, x1, x0
add x2, sp, 552
add x1, sp, 504
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 280]
str x0, [sp]
mov x7, x3
ldr x6, [sp, 312]
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl dlascl_
.L103:
mov w0, 1
str w0, [sp, 480]
ldr x0, [sp, 312]
ldr w0, [x0]
add w0, w0, 1
str w0, [sp, 484]
ldr x0, [sp, 312]
ldr w0, [x0]
ldr w1, [sp, 484]
add w0, w1, w0
str w0, [sp, 488]
ldrsw x0, [sp, 444]
lsl x0, x0, 3
ldr x1, [sp, 304]
add x8, x1, x0
ldrsw x0, [sp, 452]
lsl x0, x0, 3
ldr x1, [sp, 288]
add x4, x1, x0
ldrsw x0, [sp, 480]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x0, x1, x0
ldrsw x1, [sp, 484]
lsl x1, x1, 3
ldr x2, [sp, 208]
add x1, x2, x1
ldrsw x2, [sp, 488]
lsl x2, x2, 3
ldr x3, [sp, 208]
add x2, x3, x2
add x6, sp, 388
add x5, sp, 392
add x3, sp, 368
str x3, [sp, 24]
str x2, [sp, 16]
str x1, [sp, 8]
str x0, [sp]
mov x7, x6
mov x6, x5
ldr x5, [sp, 280]
ldr x3, [sp, 296]
mov x2, x8
ldr x1, [sp, 312]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl dggbal_
ldr w0, [sp, 388]
add w1, w0, 1
ldr w0, [sp, 392]
sub w0, w1, w0
str w0, [sp, 384]
ldr x0, [sp, 312]
ldr w0, [x0]
add w1, w0, 1
ldr w0, [sp, 392]
sub w0, w1, w0
str w0, [sp, 372]
ldr w0, [sp, 488]
str w0, [sp, 492]
ldr w0, [sp, 384]
ldr w1, [sp, 492]
add w0, w1, w0
str w0, [sp, 488]
ldr x0, [sp, 200]
ldr w0, [x0]
add w1, w0, 1
ldr w0, [sp, 488]
sub w0, w1, w0
str w0, [sp, 360]
ldr w1, [sp, 392]
ldr w0, [sp, 448]
mul w1, w1, w0
ldr w0, [sp, 392]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 288]
add x2, x1, x0
ldrsw x0, [sp, 492]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x3, x1, x0
ldrsw x0, [sp, 488]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x4, x1, x0
add x6, sp, 368
add x5, sp, 360
add x1, sp, 372
add x0, sp, 384
mov x7, x6
mov x6, x5
mov x5, x4
mov x4, x3
ldr x3, [sp, 280]
bl dgeqrf_
ldr x0, [sp, 200]
ldr w0, [x0]
add w1, w0, 1
ldr w0, [sp, 488]
sub w0, w1, w0
str w0, [sp, 360]
ldr w1, [sp, 392]
ldr w0, [sp, 448]
mul w1, w1, w0
ldr w0, [sp, 392]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 288]
add x5, x1, x0
ldrsw x0, [sp, 492]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x6, x1, x0
ldr w1, [sp, 392]
ldr w0, [sp, 440]
mul w1, w1, w0
ldr w0, [sp, 392]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 304]
add x0, x1, x0
ldrsw x1, [sp, 488]
lsl x1, x1, 3
ldr x2, [sp, 208]
add x1, x2, x1
add x4, sp, 384
add x3, sp, 372
add x8, sp, 384
add x2, sp, 368
str x2, [sp, 32]
add x2, sp, 360
str x2, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 296]
str x1, [sp, 8]
str x0, [sp]
mov x7, x6
ldr x6, [sp, 280]
mov x2, x8
adrp x0, .LC11
add x1, x0, :lo12:.LC11
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl dormqr_
ldr w0, [sp, 376]
cmp w0, 0
beq .L104
ldrsw x0, [sp, 460]
lsl x0, x0, 3
ldr x1, [sp, 240]
add x0, x1, x0
ldr x6, [sp, 232]
mov x5, x0
adrp x0, c_b39
add x4, x0, :lo12:c_b39
adrp x0, c_b38
add x3, x0, :lo12:c_b38
ldr x2, [sp, 312]
ldr x1, [sp, 312]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl dlaset_
ldr w0, [sp, 384]
cmp w0, 1
ble .L105
ldr w0, [sp, 384]
sub w0, w0, #1
str w0, [sp, 360]
ldr w0, [sp, 384]
sub w0, w0, #1
str w0, [sp, 364]
ldr w0, [sp, 392]
add w1, w0, 1
ldr w2, [sp, 392]
ldr w0, [sp, 448]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 288]
add x3, x1, x0
ldr w0, [sp, 392]
add w1, w0, 1
ldr w2, [sp, 392]
ldr w0, [sp, 456]
mul w0, w2, w0
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 240]
add x2, x1, x0
add x1, sp, 364
add x0, sp, 360
ldr x6, [sp, 232]
mov x5, x2
ldr x4, [sp, 280]
mov x2, x1
mov x1, x0
adrp x0, .LC12
add x0, x0, :lo12:.LC12
bl dlacpy_
.L105:
ldr x0, [sp, 200]
ldr w0, [x0]
add w1, w0, 1
ldr w0, [sp, 488]
sub w0, w1, w0
str w0, [sp, 360]
ldr w1, [sp, 392]
ldr w0, [sp, 456]
mul w1, w1, w0
ldr w0, [sp, 392]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 240]
add x3, x1, x0
ldrsw x0, [sp, 492]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x4, x1, x0
ldrsw x0, [sp, 488]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x5, x1, x0
add x6, sp, 360
add x2, sp, 384
add x1, sp, 384
add x8, sp, 384
add x0, sp, 368
str x0, [sp]
mov x7, x6
mov x6, x5
mov x5, x4
ldr x4, [sp, 232]
mov x0, x8
bl dorgqr_
.L104:
ldr w0, [sp, 380]
cmp w0, 0
beq .L106
ldrsw x0, [sp, 468]
lsl x0, x0, 3
ldr x1, [sp, 224]
add x0, x1, x0
ldr x6, [sp, 216]
mov x5, x0
adrp x0, c_b39
add x4, x0, :lo12:c_b39
adrp x0, c_b38
add x3, x0, :lo12:c_b38
ldr x2, [sp, 312]
ldr x1, [sp, 312]
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl dlaset_
.L106:
ldrsw x0, [sp, 444]
lsl x0, x0, 3
ldr x1, [sp, 304]
add x5, x1, x0
ldrsw x0, [sp, 452]
lsl x0, x0, 3
ldr x1, [sp, 288]
add x6, x1, x0
ldrsw x0, [sp, 460]
lsl x0, x0, 3
ldr x1, [sp, 240]
add x0, x1, x0
ldrsw x1, [sp, 468]
lsl x1, x1, 3
ldr x2, [sp, 224]
add x1, x2, x1
add x4, sp, 388
add x3, sp, 392
add x2, sp, 368
str x2, [sp, 40]
ldr x2, [sp, 216]
str x2, [sp, 32]
str x1, [sp, 24]
ldr x1, [sp, 232]
str x1, [sp, 16]
str x0, [sp, 8]
ldr x0, [sp, 280]
str x0, [sp]
mov x7, x6
ldr x6, [sp, 296]
ldr x2, [sp, 312]
ldr x1, [sp, 336]
ldr x0, [sp, 344]
bl dgghrd_
ldr w0, [sp, 492]
str w0, [sp, 488]
ldr x0, [sp, 200]
ldr w0, [x0]
add w1, w0, 1
ldr w0, [sp, 488]
sub w0, w1, w0
str w0, [sp, 360]
ldrsw x0, [sp, 444]
lsl x0, x0, 3
ldr x1, [sp, 304]
add x10, x1, x0
ldrsw x0, [sp, 452]
lsl x0, x0, 3
ldr x1, [sp, 288]
add x0, x1, x0
ldr x1, [sp, 264]
add x1, x1, 8
ldr x2, [sp, 256]
add x2, x2, 8
ldr x3, [sp, 248]
add x3, x3, 8
ldrsw x4, [sp, 460]
lsl x4, x4, 3
ldr x5, [sp, 240]
add x4, x5, x4
ldrsw x5, [sp, 468]
lsl x5, x5, 3
ldr x6, [sp, 224]
add x5, x6, x5
ldrsw x6, [sp, 488]
lsl x6, x6, 3
ldr x7, [sp, 208]
add x6, x7, x6
add x9, sp, 388
add x8, sp, 392
add x7, sp, 368
str x7, [sp, 88]
add x7, sp, 360
str x7, [sp, 80]
str x6, [sp, 72]
ldr x6, [sp, 216]
str x6, [sp, 64]
str x5, [sp, 56]
ldr x5, [sp, 232]
str x5, [sp, 48]
str x4, [sp, 40]
str x3, [sp, 32]
str x2, [sp, 24]
str x1, [sp, 16]
ldr x1, [sp, 280]
str x1, [sp, 8]
str x0, [sp]
ldr x7, [sp, 296]
mov x6, x10
mov x5, x9
mov x4, x8
ldr x3, [sp, 312]
ldr x2, [sp, 336]
ldr x1, [sp, 344]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl dhgeqz_
ldr w0, [sp, 368]
cmp w0, 0
beq .L107
ldr w0, [sp, 368]
cmp w0, 0
ble .L108
ldr x0, [sp, 312]
ldr w1, [x0]
ldr w0, [sp, 368]
cmp w1, w0
blt .L108
ldr w1, [sp, 368]
ldr x0, [sp, 184]
str w1, [x0]
b .L109
.L108:
ldr x0, [sp, 312]
ldr w1, [x0]
ldr w0, [sp, 368]
cmp w1, w0
bge .L110
ldr x0, [sp, 312]
ldr w0, [x0]
lsl w1, w0, 1
ldr w0, [sp, 368]
cmp w1, w0
blt .L110
ldr w1, [sp, 368]
ldr x0, [sp, 312]
ldr w0, [x0]
sub w1, w1, w0
ldr x0, [sp, 184]
str w1, [x0]
b .L109
.L110:
ldr x0, [sp, 312]
ldr w0, [x0]
add w1, w0, 1
ldr x0, [sp, 184]
str w1, [x0]
b .L111
.L109:
b .L111
.L107:
ldr x0, [sp, 272]
str wzr, [x0]
ldr w0, [sp, 472]
cmp w0, 0
beq .L112
ldr w0, [sp, 412]
cmp w0, 0
beq .L113
ldr x0, [sp, 264]
add x3, x0, 8
add x2, sp, 496
add x1, sp, 544
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 312]
str x0, [sp]
mov x7, x3
adrp x0, c__1
add x6, x0, :lo12:c__1
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl dlascl_
ldr x0, [sp, 256]
add x3, x0, 8
add x2, sp, 496
add x1, sp, 544
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 312]
str x0, [sp]
mov x7, x3
adrp x0, c__1
add x6, x0, :lo12:c__1
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl dlascl_
.L113:
ldr w0, [sp, 416]
cmp w0, 0
beq .L114
ldr x0, [sp, 248]
add x3, x0, 8
add x2, sp, 504
add x1, sp, 552
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 312]
str x0, [sp]
mov x7, x3
adrp x0, c__1
add x6, x0, :lo12:c__1
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl dlascl_
.L114:
ldr x0, [sp, 312]
ldr w0, [x0]
str w0, [sp, 360]
mov w0, 1
str w0, [sp, 396]
b .L115
.L116:
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x4, x1, x0
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x5, x1, x0
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x2, x1, x0
ldrsw x0, [sp, 396]
lsl x0, x0, 2
ldr x1, [sp, 192]
add x19, x1, x0
ldr x3, [sp, 320]
mov x1, x5
mov x0, x4
blr x3
str w0, [x19]
ldr w0, [sp, 396]
add w0, w0, 1
str w0, [sp, 396]
.L115:
ldr w0, [sp, 360]
ldr w1, [sp, 396]
cmp w1, w0
ble .L116
ldr x0, [sp, 200]
ldr w1, [x0]
ldr w0, [sp, 488]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 360]
ldr x0, [sp, 192]
add x10, x0, 4
ldrsw x0, [sp, 444]
lsl x0, x0, 3
ldr x1, [sp, 304]
add x11, x1, x0
ldrsw x0, [sp, 452]
lsl x0, x0, 3
ldr x1, [sp, 288]
add x7, x1, x0
ldr x0, [sp, 264]
add x0, x0, 8
ldr x1, [sp, 256]
add x1, x1, 8
ldr x2, [sp, 248]
add x2, x2, 8
ldrsw x3, [sp, 460]
lsl x3, x3, 3
ldr x4, [sp, 240]
add x3, x4, x3
ldrsw x4, [sp, 468]
lsl x4, x4, 3
ldr x5, [sp, 224]
add x4, x5, x4
ldrsw x5, [sp, 488]
lsl x5, x5, 3
ldr x6, [sp, 208]
add x5, x6, x5
add x9, sp, 380
add x8, sp, 376
add x6, sp, 368
str x6, [sp, 128]
adrp x6, c__1
add x6, x6, :lo12:c__1
str x6, [sp, 120]
add x6, sp, 592
str x6, [sp, 112]
add x6, sp, 360
str x6, [sp, 104]
str x5, [sp, 96]
add x5, sp, 600
str x5, [sp, 88]
add x5, sp, 520
str x5, [sp, 80]
add x5, sp, 512
str x5, [sp, 72]
ldr x5, [sp, 272]
str x5, [sp, 64]
ldr x5, [sp, 216]
str x5, [sp, 56]
str x4, [sp, 48]
ldr x4, [sp, 232]
str x4, [sp, 40]
str x3, [sp, 32]
str x2, [sp, 24]
str x1, [sp, 16]
str x0, [sp, 8]
ldr x0, [sp, 280]
str x0, [sp]
ldr x6, [sp, 296]
mov x5, x11
ldr x4, [sp, 312]
mov x3, x10
mov x2, x9
mov x1, x8
adrp x0, c__0
add x0, x0, :lo12:c__0
bl dtgsen_
ldr w0, [sp, 368]
cmp w0, 1
bne .L112
ldr x0, [sp, 312]
ldr w0, [x0]
add w1, w0, 3
ldr x0, [sp, 184]
str w1, [x0]
.L112:
ldr w0, [sp, 376]
cmp w0, 0
beq .L117
ldrsw x0, [sp, 480]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x4, x1, x0
ldrsw x0, [sp, 484]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x5, x1, x0
ldrsw x0, [sp, 460]
lsl x0, x0, 3
ldr x1, [sp, 240]
add x0, x1, x0
add x3, sp, 388
add x2, sp, 392
add x1, sp, 368
str x1, [sp, 16]
ldr x1, [sp, 232]
str x1, [sp, 8]
str x0, [sp]
ldr x7, [sp, 312]
mov x6, x5
mov x5, x4
mov x4, x3
mov x3, x2
ldr x2, [sp, 312]
adrp x0, .LC12
add x1, x0, :lo12:.LC12
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl dggbak_
.L117:
ldr w0, [sp, 380]
cmp w0, 0
beq .L118
ldrsw x0, [sp, 480]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x4, x1, x0
ldrsw x0, [sp, 484]
lsl x0, x0, 3
ldr x1, [sp, 208]
add x5, x1, x0
ldrsw x0, [sp, 468]
lsl x0, x0, 3
ldr x1, [sp, 224]
add x0, x1, x0
add x3, sp, 388
add x2, sp, 392
add x1, sp, 368
str x1, [sp, 16]
ldr x1, [sp, 216]
str x1, [sp, 8]
str x0, [sp]
ldr x7, [sp, 312]
mov x6, x5
mov x5, x4
mov x4, x3
mov x3, x2
ldr x2, [sp, 312]
adrp x0, .LC14
add x1, x0, :lo12:.LC14
adrp x0, .LC8
add x0, x0, :lo12:.LC8
bl dggbak_
.L118:
ldr w0, [sp, 412]
cmp w0, 0
beq .L119
ldr x0, [sp, 312]
ldr w0, [x0]
str w0, [sp, 360]
mov w0, 1
str w0, [sp, 396]
b .L120
.L133:
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
ldr d0, [x0]
fcmp d0, #0.0
beq .L121
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x0, x1, x0
ldr d1, [x0]
ldr d0, [sp, 536]
fdiv d1, d1, d0
ldr d2, [sp, 544]
ldr d0, [sp, 496]
fdiv d0, d2, d0
fcmpe d1, d0
bgt .L122
ldr d1, [sp, 528]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x0, x1, x0
ldr d0, [x0]
fdiv d1, d1, d0
ldr d2, [sp, 496]
ldr d0, [sp, 544]
fdiv d0, d2, d0
fcmpe d1, d0
bgt .L122
b .L166
.L122:
ldr w1, [sp, 396]
ldr w0, [sp, 440]
mul w1, w1, w0
ldr w0, [sp, 396]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 304]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x0, x1, x0
ldr d0, [x0]
fdiv d0, d1, d0
str d0, [sp, 584]
ldr d0, [sp, 584]
fcmpe d0, #0.0
bge .L163
b .L167
.L163:
ldr d0, [sp, 584]
b .L127
.L167:
ldr d0, [sp, 584]
fneg d0, d0
.L127:
ldr x0, [sp, 208]
add x0, x0, 8
str d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [sp, 208]
add x0, x0, 8
ldr d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
fmul d0, d1, d0
str d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [sp, 208]
add x0, x0, 8
ldr d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x0, x1, x0
fmul d0, d1, d0
str d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [sp, 208]
add x0, x0, 8
ldr d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
fmul d0, d1, d0
str d0, [x0]
b .L121
.L166:
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
ldr d1, [x0]
ldr d0, [sp, 536]
fdiv d1, d1, d0
ldr d2, [sp, 544]
ldr d0, [sp, 496]
fdiv d0, d2, d0
fcmpe d1, d0
bgt .L128
ldr d1, [sp, 528]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
ldr d0, [x0]
fdiv d1, d1, d0
ldr d2, [sp, 496]
ldr d0, [sp, 544]
fdiv d0, d2, d0
fcmpe d1, d0
bgt .L128
b .L121
.L128:
ldr w0, [sp, 396]
add w1, w0, 1
ldr w0, [sp, 440]
mul w1, w1, w0
ldr w0, [sp, 396]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 304]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
ldr d0, [x0]
fdiv d0, d1, d0
str d0, [sp, 584]
ldr d0, [sp, 584]
fcmpe d0, #0.0
bge .L164
b .L168
.L164:
ldr d0, [sp, 584]
b .L132
.L168:
ldr d0, [sp, 584]
fneg d0, d0
.L132:
ldr x0, [sp, 208]
add x0, x0, 8
str d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [sp, 208]
add x0, x0, 8
ldr d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
fmul d0, d1, d0
str d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [sp, 208]
add x0, x0, 8
ldr d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x0, x1, x0
fmul d0, d1, d0
str d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [sp, 208]
add x0, x0, 8
ldr d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
fmul d0, d1, d0
str d0, [x0]
.L121:
ldr w0, [sp, 396]
add w0, w0, 1
str w0, [sp, 396]
.L120:
ldr w0, [sp, 360]
ldr w1, [sp, 396]
cmp w1, w0
ble .L133
.L119:
ldr w0, [sp, 416]
cmp w0, 0
beq .L134
ldr x0, [sp, 312]
ldr w0, [x0]
str w0, [sp, 360]
mov w0, 1
str w0, [sp, 396]
b .L135
.L142:
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
ldr d0, [x0]
fcmp d0, #0.0
beq .L136
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
ldr d1, [x0]
ldr d0, [sp, 536]
fdiv d1, d1, d0
ldr d2, [sp, 552]
ldr d0, [sp, 504]
fdiv d0, d2, d0
fcmpe d1, d0
bgt .L137
ldr d1, [sp, 528]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
ldr d0, [x0]
fdiv d1, d1, d0
ldr d2, [sp, 504]
ldr d0, [sp, 552]
fdiv d0, d2, d0
fcmpe d1, d0
bgt .L137
b .L136
.L137:
ldr w1, [sp, 396]
ldr w0, [sp, 448]
mul w1, w1, w0
ldr w0, [sp, 396]
add w0, w1, w0
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 288]
add x0, x1, x0
ldr d1, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
ldr d0, [x0]
fdiv d0, d1, d0
str d0, [sp, 584]
ldr d0, [sp, 584]
fcmpe d0, #0.0
bge .L165
b .L169
.L165:
ldr d0, [sp, 584]
b .L141
.L169:
ldr d0, [sp, 584]
fneg d0, d0
.L141:
ldr x0, [sp, 208]
add x0, x0, 8
str d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [sp, 208]
add x0, x0, 8
ldr d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
fmul d0, d1, d0
str d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [sp, 208]
add x0, x0, 8
ldr d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x0, x1, x0
fmul d0, d1, d0
str d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
ldr d1, [x0]
ldr x0, [sp, 208]
add x0, x0, 8
ldr d0, [x0]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
fmul d0, d1, d0
str d0, [x0]
.L136:
ldr w0, [sp, 396]
add w0, w0, 1
str w0, [sp, 396]
.L135:
ldr w0, [sp, 360]
ldr w1, [sp, 396]
cmp w1, w0
ble .L142
.L134:
ldr w0, [sp, 412]
cmp w0, 0
beq .L143
ldrsw x0, [sp, 444]
lsl x0, x0, 3
ldr x1, [sp, 304]
add x3, x1, x0
add x2, sp, 496
add x1, sp, 544
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 296]
str x0, [sp]
mov x7, x3
ldr x6, [sp, 312]
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl dlascl_
ldr x0, [sp, 264]
add x3, x0, 8
add x2, sp, 496
add x1, sp, 544
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 312]
str x0, [sp]
mov x7, x3
adrp x0, c__1
add x6, x0, :lo12:c__1
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl dlascl_
ldr x0, [sp, 256]
add x3, x0, 8
add x2, sp, 496
add x1, sp, 544
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 312]
str x0, [sp]
mov x7, x3
adrp x0, c__1
add x6, x0, :lo12:c__1
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl dlascl_
.L143:
ldr w0, [sp, 416]
cmp w0, 0
beq .L144
ldrsw x0, [sp, 452]
lsl x0, x0, 3
ldr x1, [sp, 288]
add x3, x1, x0
add x2, sp, 504
add x1, sp, 552
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 280]
str x0, [sp]
mov x7, x3
ldr x6, [sp, 312]
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl dlascl_
ldr x0, [sp, 248]
add x3, x0, 8
add x2, sp, 504
add x1, sp, 552
add x0, sp, 368
str x0, [sp, 8]
ldr x0, [sp, 312]
str x0, [sp]
mov x7, x3
adrp x0, c__1
add x6, x0, :lo12:c__1
ldr x5, [sp, 312]
mov x4, x2
mov x3, x1
adrp x0, c__0
add x2, x0, :lo12:c__0
adrp x0, c__0
add x1, x0, :lo12:c__0
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl dlascl_
.L144:
ldr w0, [sp, 472]
cmp w0, 0
beq .L170
mov w0, 1
str w0, [sp, 428]
mov w0, 1
str w0, [sp, 404]
ldr x0, [sp, 272]
str wzr, [x0]
str wzr, [sp, 408]
ldr x0, [sp, 312]
ldr w0, [x0]
str w0, [sp, 360]
mov w0, 1
str w0, [sp, 396]
b .L145
.L154:
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 264]
add x4, x1, x0
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x5, x1, x0
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 248]
add x0, x1, x0
ldr x3, [sp, 320]
mov x2, x0
mov x1, x5
mov x0, x4
blr x3
str w0, [sp, 400]
ldrsw x0, [sp, 396]
lsl x0, x0, 3
ldr x1, [sp, 256]
add x0, x1, x0
ldr d0, [x0]
fcmp d0, #0.0
bne .L146
ldr w0, [sp, 400]
cmp w0, 0
beq .L147
ldr x0, [sp, 272]
ldr w0, [x0]
add w1, w0, 1
ldr x0, [sp, 272]
str w1, [x0]
.L147:
str wzr, [sp, 408]
ldr w0, [sp, 400]
cmp w0, 0
beq .L148
ldr w0, [sp, 428]
cmp w0, 0
bne .L148
ldr x0, [sp, 312]
ldr w0, [x0]
add w1, w0, 2
ldr x0, [sp, 184]
str w1, [x0]
b .L148
.L146:
ldr w0, [sp, 408]
cmp w0, 1
bne .L149
ldr w0, [sp, 400]
cmp w0, 0
bne .L150
ldr w0, [sp, 428]
cmp w0, 0
beq .L151
.L150:
mov w0, 1
b .L152
.L151:
mov w0, 0
.L152:
str w0, [sp, 400]
ldr w0, [sp, 400]
str w0, [sp, 428]
ldr w0, [sp, 400]
cmp w0, 0
beq .L153
ldr x0, [sp, 272]
ldr w0, [x0]
add w1, w0, 2
ldr x0, [sp, 272]
str w1, [x0]
.L153:
mov w0, -1
str w0, [sp, 408]
ldr w0, [sp, 400]
cmp w0, 0
beq .L148
ldr w0, [sp, 404]
cmp w0, 0
bne .L148
ldr x0, [sp, 312]
ldr w0, [x0]
add w1, w0, 2
ldr x0, [sp, 184]
str w1, [x0]
b .L148
.L149:
mov w0, 1
str w0, [sp, 408]
.L148:
ldr w0, [sp, 428]
str w0, [sp, 404]
ldr w0, [sp, 400]
str w0, [sp, 428]
ldr w0, [sp, 396]
add w0, w0, 1
str w0, [sp, 396]
.L145:
ldr w0, [sp, 360]
ldr w1, [sp, 396]
cmp w1, w0
ble .L154
.L170:
nop
.L111:
ldr x0, [sp, 208]
add x0, x0, 8
ldr w1, [sp, 436]
scvtf d0, w1
str d0, [x0]
mov w0, 0
.L155:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 616]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L156
bl __stack_chk_fail
.L156:
mov w0, w1
ldp x19, x20, [sp, 160]
ldp x29, x30, [sp, 144]
add sp, sp, 624
.cfi_restore 29
.cfi_restore 30
.cfi_restore 19
.cfi_restore 20
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size dgges_, .-dgges_
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global ldexp
.type ldexp, %function
ldexp:
.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 d0, [sp, 24]
str w0, [sp, 20]
ldr w0, [sp, 20]
ldr d0, [sp, 24]
bl scalbn
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size ldexp, .-ldexp
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global foo1
.type foo1, %function
foo1:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, 12]
str s1, [sp, 8]
ldr s1, [sp, 12]
ldr s0, [sp, 8]
fcmpe s1, s0
cset w0, mi
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size foo1, .-foo1
.align 2
.global foo2
.type foo2, %function
foo2:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, 12]
str s1, [sp, 8]
ldr s1, [sp, 12]
ldr s0, [sp, 8]
fcmpe s1, s0
cset w0, gt
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size foo2, .-foo2
.align 2
.global foo3
.type foo3, %function
foo3:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, 12]
str s1, [sp, 8]
ldr s1, [sp, 12]
ldr s0, [sp, 8]
fcmpe s1, s0
cset w0, mi
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size foo3, .-foo3
.align 2
.global foo4
.type foo4, %function
foo4:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, 12]
str s1, [sp, 8]
ldr s1, [sp, 12]
ldr s0, [sp, 8]
fcmpe s1, s0
cset w0, gt
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size foo4, .-foo4
``` |
### 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 wzr, [sp, 8]
mov w0, -100
str w0, [sp, 12]
b .L2
.L5:
ldr w0, [sp, 8]
add w0, w0, 1
str w0, [sp, 8]
b .L3
.L4:
ldr w1, [sp, 12]
ldr w0, [sp, 8]
add w0, w1, w0
str w0, [sp, 12]
.L3:
ldr w0, [sp, 12]
cmp w0, 19
ble .L4
.L2:
ldr w0, [sp, 8]
cmp w0, 100
ble .L5
mov w0, 1
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
.section .rodata
.align 3
.LC0:
.string "hello world"
.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
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
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global _x
.bss
.type _x, %object
.size _x, 1
_x:
.zero 1
.global _y
.type _y, %object
.size _y, 1
_y:
.zero 1
.global sum
.type sum, %object
.size sum, 1
sum:
.zero 1
.section .rodata
.align 3
.LC0:
.string "program.c"
.align 3
.LC1:
.string "sum > 100"
.text
.align 2
.global func_overflow
.type func_overflow, %function
func_overflow:
.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, _x
add x0, x0, :lo12:_x
mov w1, 105
strb w1, [x0]
adrp x0, _y
add x0, x0, :lo12:_y
mov w1, -16
strb w1, [x0]
adrp x0, _x
add x0, x0, :lo12:_x
ldrb w1, [x0]
adrp x0, _y
add x0, x0, :lo12:_y
ldrb w0, [x0]
add w0, w1, w0
and w1, w0, 255
adrp x0, sum
add x0, x0, :lo12:sum
strb w1, [x0]
adrp x0, sum
add x0, x0, :lo12:sum
ldrb w0, [x0]
cmp w0, 100
bhi .L3
adrp x0, __PRETTY_FUNCTION__.0
add x3, x0, :lo12:__PRETTY_FUNCTION__.0
mov w2, 9
adrp x0, .LC0
add x1, x0, :lo12:.LC0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __assert_fail
.L3:
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size func_overflow, .-func_overflow
.align 2
.global main
.type main, %function
main:
.LFB1:
.cfi_startproc
mov w0, 0
ret
.cfi_endproc
.LFE1:
.size main, .-main
.section .rodata
.align 3
.type __PRETTY_FUNCTION__.0, %object
.size __PRETTY_FUNCTION__.0, 14
__PRETTY_FUNCTION__.0:
.string "func_overflow"
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%d%d"
.align 3
.LC1:
.string "%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
add x1, sp, 20
add x0, sp, 16
mov x2, x1
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 20]
cmp w0, 0
bne .L2
str wzr, [sp, 36]
b .L3
.L2:
ldr w0, [sp, 16]
cmp w0, 1
bne .L4
mov w0, 1
str w0, [sp, 36]
b .L3
.L4:
ldr w1, [sp, 16]
ldr w0, [sp, 20]
cmp w1, w0
bne .L5
mov w0, 1
str w0, [sp, 36]
b .L3
.L5:
mov w0, 1
str w0, [sp, 28]
ldr w1, [sp, 16]
ldr w0, [sp, 20]
sub w0, w1, w0
add w0, w0, 1
str w0, [sp, 24]
b .L6
.L7:
ldr w1, [sp, 28]
ldr w0, [sp, 24]
mul w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L6:
ldr w0, [sp, 16]
ldr w1, [sp, 24]
cmp w1, w0
ble .L7
mov w0, 1
str w0, [sp, 24]
mov w0, 1
str w0, [sp, 32]
b .L8
.L9:
ldr w1, [sp, 32]
ldr w0, [sp, 24]
mul w0, w1, w0
str w0, [sp, 32]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L8:
ldr w0, [sp, 20]
ldr w1, [sp, 24]
cmp w1, w0
ble .L9
ldr w1, [sp, 28]
ldr w0, [sp, 32]
sdiv w0, w1, w0
str w0, [sp, 36]
.L3:
ldr w1, [sp, 36]
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 .L11
bl __stack_chk_fail
.L11:
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 "Errore allocazione vettore"
.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
mov x0, 0
bl time
bl srand
bl rand
mov w1, w0
mov w0, 29855
movk w0, 0x4178, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 8
asr w0, w1, 31
sub w0, w2, w0
mov w2, 1001
mul w0, w0, w2
sub w0, w1, w0
add w0, w0, 10
str w0, [sp, 20]
ldrsw x0, [sp, 20]
bl vet_alloc
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L2
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
mov w0, -1
b .L3
.L2:
ldrsw x0, [sp, 20]
mov x1, x0
ldr x0, [sp, 24]
bl rand_fill_vet
ldrsw x0, [sp, 20]
mov x1, x0
ldr x0, [sp, 24]
bl bubble_sort
adrp x0, :got:stdout
ldr x0, [x0, #:got_lo12:stdout]
ldr x0, [x0]
ldrsw x1, [sp, 20]
mov w3, 1
mov x2, x1
ldr x1, [sp, 24]
bl print_vet
mov w0, 0
.L3:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.align 2
.global vet_alloc
.type vet_alloc, %function
vet_alloc:
.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]
lsl x0, x0, 2
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size vet_alloc, .-vet_alloc
.align 2
.global rand_fill_vet
.type rand_fill_vet, %function
rand_fill_vet:
.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 x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 40]
str x1, [sp, 32]
str xzr, [sp, 56]
b .L7
.L8:
ldr x0, [sp, 56]
lsl x0, x0, 2
ldr x1, [sp, 40]
add x19, x1, x0
bl rand
str w0, [x19]
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
.L7:
ldr x1, [sp, 56]
ldr x0, [sp, 32]
cmp x1, x0
bcc .L8
nop
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
.LFE8:
.size rand_fill_vet, .-rand_fill_vet
.section .rodata
.align 3
.LC1:
.string "%*i"
.align 3
.LC2:
.string "%*i "
.text
.align 2
.global print_vet
.type print_vet, %function
print_vet:
.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 x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str w3, [sp, 20]
str xzr, [sp, 56]
b .L10
.L13:
ldr x0, [sp, 24]
sub x0, x0, #1
ldr x1, [sp, 56]
cmp x1, x0
bne .L11
adrp x0, .LC1
add x0, x0, :lo12:.LC1
b .L12
.L11:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
.L12:
ldr x1, [sp, 56]
lsl x1, x1, 2
ldr x2, [sp, 32]
add x1, x2, x1
ldr w1, [x1]
mov w3, w1
ldr w2, [sp, 20]
mov x1, x0
ldr x0, [sp, 40]
bl fprintf
ldr x0, [sp, 56]
add x0, x0, 1
str x0, [sp, 56]
.L10:
ldr x1, [sp, 56]
ldr x0, [sp, 24]
cmp x1, x0
bcc .L13
ldr x0, [sp, 56]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size print_vet, .-print_vet
.align 2
.global bubble_sort
.type bubble_sort, %function
bubble_sort:
.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 x1, [sp, 16]
str xzr, [sp, 32]
b .L16
.L20:
ldr x0, [sp, 32]
add x0, x0, 1
str x0, [sp, 40]
b .L17
.L19:
ldr x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
ldr w1, [x0]
ldr x0, [sp, 40]
lsl x0, x0, 2
ldr x2, [sp, 24]
add x0, x2, x0
ldr w0, [x0]
cmp w1, w0
ble .L18
ldr x0, [sp, 32]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x2, x1, x0
ldr x0, [sp, 40]
lsl x0, x0, 2
ldr x1, [sp, 24]
add x0, x1, x0
mov x1, x0
mov x0, x2
bl swap
.L18:
ldr x0, [sp, 40]
add x0, x0, 1
str x0, [sp, 40]
.L17:
ldr x1, [sp, 40]
ldr x0, [sp, 16]
cmp x1, x0
bcc .L19
ldr x0, [sp, 32]
add x0, x0, 1
str x0, [sp, 32]
.L16:
ldr x1, [sp, 32]
ldr x0, [sp, 16]
cmp x1, x0
bcc .L20
nop
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size bubble_sort, .-bubble_sort
.align 2
.global swap
.type swap, %function
swap:
.LFB11:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
ldr x0, [sp, 8]
ldr w0, [x0]
str w0, [sp, 28]
ldr x0, [sp]
ldr w1, [x0]
ldr x0, [sp, 8]
str w1, [x0]
ldr x0, [sp]
ldr w1, [sp, 28]
str w1, [x0]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size swap, .-swap
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Time taken ( in ticks ) :%d "
.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
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, 72]
mov x1, 0
bl fork
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
beq .L2
mov x0, 0
bl wait
b .L3
.L2:
ldr x0, [sp, 16]
add x0, x0, 8
ldr x2, [x0]
ldr x0, [sp, 16]
add x0, x0, 8
mov x1, x0
mov x0, x2
bl execvp
.L3:
add x0, sp, 40
bl times
ldr x1, [sp, 56]
ldr x0, [sp, 64]
add x0, x1, x0
mov x1, x0
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, 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
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "1: Thread# %d: x = %d\n"
.align 3
.LC1:
.string "2: Thread# %d: x = %d\n"
.align 3
.LC2:
.string "3: Thread# %d: x = %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
mov w0, 2
str w0, [sp, 24]
bl omp_get_thread_num
cmp w0, 0
bne .L2
mov w0, 5
str w0, [sp, 24]
b .L3
.L2:
ldr w0, [sp, 24]
str w0, [sp, 28]
bl omp_get_thread_num
ldr w2, [sp, 28]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
.L3:
bl omp_get_thread_num
cmp w0, 0
bne .L4
bl omp_get_thread_num
ldr w2, [sp, 24]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L5
.L4:
bl omp_get_thread_num
ldr w2, [sp, 24]
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
.L5:
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 cacos
.type cacos, %function
cacos:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
fmov d2, d0
fmov d0, d1
fmov d1, d2
str d1, [sp, 16]
str d0, [sp, 24]
ldr d0, [sp, 16]
str d0, [sp, 40]
ldr d0, [sp, 24]
str d0, [sp, 48]
ldr d0, [sp, 16]
ldr d1, [sp, 24]
bl casin
fmov d2, d0
fmov d0, d1
str d2, [sp, 64]
str d0, [sp, 72]
ldr d0, [sp, 64]
str d0, [sp, 32]
ldr d0, [sp, 72]
str d0, [sp, 56]
ldr d0, [sp, 32]
adrp x0, .LC0
ldr d1, [x0, #:lo12:.LC0]
fsub d0, d1, d0
str d0, [sp, 32]
ldr d0, [sp, 32]
str d0, [sp, 64]
str xzr, [sp, 72]
movi d0, #0
movi d1, #0
fmul d1, d0, d1
ldr d2, [sp, 32]
fsub d1, d2, d1
str d1, [sp, 32]
movi d1, #0
fsub d0, d1, d0
str d0, [sp, 56]
ldr d0, [sp, 56]
ldr d1, [sp, 32]
str d1, [sp, 64]
str d0, [sp, 72]
ldr d1, [sp, 32]
ldr d0, [sp, 56]
fmov d2, d1
fmov d1, d0
fmov d0, d2
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size cacos, .-cacos
.section .rodata
.align 3
.LC0:
.word 1413754136
.word 1073291771
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global createStack
.type createStack, %function
createStack:
.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 w0, [sp, 28]
mov x0, 16
bl malloc
str x0, [sp, 40]
ldr x0, [sp, 40]
mov w1, -1
str w1, [x0]
ldr x0, [sp, 40]
ldr w1, [sp, 28]
str w1, [x0, 4]
ldr x0, [sp, 40]
ldr w0, [x0, 4]
sxtw x0, w0
lsl x0, x0, 2
bl malloc
mov x1, x0
ldr x0, [sp, 40]
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
.LFE0:
.size createStack, .-createStack
.align 2
.global isEmpty
.type isEmpty, %function
isEmpty:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
cmn w0, #1
cset w0, eq
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size isEmpty, .-isEmpty
.align 2
.global isFull
.type isFull, %function
isFull:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 4]
sub w0, w0, #1
cmp w1, w0
cset w0, eq
and w0, w0, 255
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size isFull, .-isFull
.section .rodata
.align 3
.LC0:
.string "Array is Empty"
.text
.align 2
.global pop
.type pop, %function
pop:
.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 x0, [sp, 24]
ldr x0, [sp, 24]
bl isEmpty
cmp w0, 0
beq .L8
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
mov w0, 0
b .L9
.L8:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 44]
ldr x0, [sp, 24]
ldr w0, [x0]
sub w1, w0, #1
ldr x0, [sp, 24]
str w1, [x0]
ldr w0, [sp, 44]
.L9:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size pop, .-pop
.section .rodata
.align 3
.LC1:
.string "StackOverflow"
.align 3
.LC2:
.string "Inserted Successfully"
.text
.align 2
.global push
.type push, %function
push:
.LFB4:
.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]
bl isFull
cmp w0, 0
beq .L11
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
b .L10
.L11:
ldr x0, [sp, 24]
ldr x1, [x0, 8]
ldr x0, [sp, 24]
ldr w0, [x0]
add w2, w0, 1
ldr x0, [sp, 24]
str w2, [x0]
ldr x0, [sp, 24]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w1, [sp, 20]
str w1, [x0]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
.L10:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size push, .-push
.section .rodata
.align 3
.LC3:
.string "Enter 1 to Push Element\nEnter 2 to Pop an Element\nEnter 3 to EXIT ---> "
.align 3
.LC4:
.string "%d"
.align 3
.LC5:
.string "Enter the data : "
.align 3
.LC6:
.string "Popped Element is : %d\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB5:
.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, 3
bl createStack
str x0, [sp, 32]
mov w0, 1
str w0, [sp, 24]
b .L14
.L19:
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
add x0, sp, 16
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
ldr w0, [sp, 16]
cmp w0, 3
beq .L15
cmp w0, 3
bgt .L14
cmp w0, 1
beq .L16
cmp w0, 2
beq .L17
b .L14
.L16:
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
add x0, sp, 20
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl __isoc99_scanf
ldr w0, [sp, 20]
mov w1, w0
ldr x0, [sp, 32]
bl push
nop
b .L14
.L17:
ldr x0, [sp, 32]
bl pop
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L14
ldr w1, [sp, 28]
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
b .L14
.L15:
str wzr, [sp, 24]
.L14:
ldr w0, [sp, 24]
cmp w0, 0
bne .L19
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 .L21
bl __stack_chk_fail
.L21:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE5:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global WPD_COMMAND_OBJECT_MANAGEMENT_UPDATE_OBJECT_WITH_PROPERTIES_AND_DATA
.section .rodata
.align 3
.type WPD_COMMAND_OBJECT_MANAGEMENT_UPDATE_OBJECT_WITH_PROPERTIES_AND_DATA, %object
.size WPD_COMMAND_OBJECT_MANAGEMENT_UPDATE_OBJECT_WITH_PROPERTIES_AND_DATA, 24
WPD_COMMAND_OBJECT_MANAGEMENT_UPDATE_OBJECT_WITH_PROPERTIES_AND_DATA:
.xword 4011738077
.hword -22035
.hword 17217
.ascii "\213\314\030a\222\256\240\211"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global Temperature
.bss
.align 3
.type Temperature, %object
.size Temperature, 8032032
Temperature:
.zero 8032032
.global Temperature_previous
.align 3
.type Temperature_previous, %object
.size Temperature_previous, 8032032
Temperature_previous:
.zero 8032032
.section .rodata
.align 3
.LC0:
.string "\nMax error at iteration %d was %f\n"
.align 3
.LC1:
.string "Total time was %f seconds.\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]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 104]
mov x1, 0
mov w0, 1
str w0, [sp, 44]
mov x0, 4636737291354636288
fmov d0, x0
str d0, [sp, 48]
add x0, sp, 56
mov x1, 0
bl gettimeofday
bl initialize
b .L2
.L12:
mov w0, 1
str w0, [sp, 36]
b .L3
.L6:
mov w0, 1
str w0, [sp, 40]
b .L4
.L5:
ldr w0, [sp, 36]
add w2, w0, 1
adrp x0, Temperature_previous
add x0, x0, :lo12:Temperature_previous
ldrsw x1, [sp, 40]
sxtw x3, w2
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
ldr d1, [x0, x1, lsl 3]
ldr w0, [sp, 36]
sub w2, w0, #1
adrp x0, Temperature_previous
add x0, x0, :lo12:Temperature_previous
ldrsw x1, [sp, 40]
sxtw x3, w2
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fadd d1, d1, d0
ldr w0, [sp, 40]
add w1, w0, 1
adrp x0, Temperature_previous
add x0, x0, :lo12:Temperature_previous
sxtw x1, w1
ldrsw x3, [sp, 36]
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fadd d1, d1, d0
ldr w0, [sp, 40]
sub w1, w0, #1
adrp x0, Temperature_previous
add x0, x0, :lo12:Temperature_previous
sxtw x1, w1
ldrsw x3, [sp, 36]
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fadd d1, d1, d0
fmov d0, 2.5e-1
fmul d0, d1, d0
adrp x0, Temperature
add x0, x0, :lo12:Temperature
ldrsw x1, [sp, 40]
ldrsw x3, [sp, 36]
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L4:
ldr w0, [sp, 40]
cmp w0, 1000
ble .L5
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L3:
ldr w0, [sp, 36]
cmp w0, 1000
ble .L6
str xzr, [sp, 48]
mov w0, 1
str w0, [sp, 36]
b .L7
.L10:
mov w0, 1
str w0, [sp, 40]
b .L8
.L9:
adrp x0, Temperature
add x0, x0, :lo12:Temperature
ldrsw x1, [sp, 40]
ldrsw x3, [sp, 36]
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
ldr d1, [x0, x1, lsl 3]
adrp x0, Temperature_previous
add x0, x0, :lo12:Temperature_previous
ldrsw x1, [sp, 40]
ldrsw x3, [sp, 36]
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
fsub d0, d1, d0
fabs d0, d0
ldr d1, [sp, 48]
bl fmax
str d0, [sp, 48]
adrp x0, Temperature
add x0, x0, :lo12:Temperature
ldrsw x1, [sp, 40]
ldrsw x3, [sp, 36]
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
ldr d0, [x0, x1, lsl 3]
adrp x0, Temperature_previous
add x0, x0, :lo12:Temperature_previous
ldrsw x1, [sp, 40]
ldrsw x3, [sp, 36]
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L8:
ldr w0, [sp, 40]
cmp w0, 1000
ble .L9
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L7:
ldr w0, [sp, 36]
cmp w0, 1000
ble .L10
ldr w1, [sp, 44]
mov w0, 34079
movk w0, 0x51eb, lsl 16
smull x0, w1, w0
lsr x0, x0, 32
asr w2, w0, 5
asr w0, w1, 31
sub w0, w2, w0
mov w2, 100
mul w0, w0, w2
sub w0, w1, w0
cmp w0, 0
bne .L11
ldr w0, [sp, 44]
bl track_progress
.L11:
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L2:
ldr d0, [sp, 48]
adrp x0, .LC2
ldr d1, [x0, #:lo12:.LC2]
fcmpe d0, d1
bgt .L12
add x0, sp, 72
mov x1, 0
bl gettimeofday
ldr x1, [sp, 72]
ldr x0, [sp, 56]
sub x0, x1, x0
str x0, [sp, 88]
ldr x1, [sp, 80]
ldr x0, [sp, 64]
sub x0, x1, x0
str x0, [sp, 96]
ldr x0, [sp, 96]
cmp x0, 0
bge .L13
ldr x0, [sp, 88]
sub x0, x0, #1
str x0, [sp, 88]
ldr x1, [sp, 96]
mov x0, 16960
movk x0, 0xf, lsl 16
add x0, x1, x0
str x0, [sp, 96]
.L13:
ldr w0, [sp, 44]
sub w0, w0, #1
ldr d0, [sp, 48]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr d0, [sp, 88]
scvtf d1, d0
ldr d0, [sp, 96]
scvtf d0, d0
mov x0, 145685290680320
movk x0, 0x412e, lsl 48
fmov d2, x0
fdiv d0, d0, d2
fadd d0, d1, d0
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, 104]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L15
bl __stack_chk_fail
.L15:
mov w0, w1
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.align 2
.global initialize
.type initialize, %function
initialize:
.LFB7:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 8]
b .L17
.L20:
str wzr, [sp, 12]
b .L18
.L19:
adrp x0, Temperature_previous
add x0, x0, :lo12:Temperature_previous
ldrsw x1, [sp, 12]
ldrsw x3, [sp, 8]
mov x2, 1002
mul x2, x3, x2
add x1, x2, x1
str xzr, [x0, x1, lsl 3]
ldr w0, [sp, 12]
add w0, w0, 1
str w0, [sp, 12]
.L18:
ldr w0, [sp, 12]
cmp w0, 1000
ble .L19
ldr w0, [sp, 8]
add w0, w0, 1
str w0, [sp, 8]
.L17:
ldr w0, [sp, 8]
cmp w0, 1000
ble .L20
str wzr, [sp, 8]
b .L21
.L22:
adrp x0, Temperature_previous
add x1, x0, :lo12:Temperature_previous
ldrsw x2, [sp, 8]
mov x0, 8016
mul x0, x2, x0
add x0, x1, x0
str xzr, [x0]
ldr w0, [sp, 8]
scvtf d0, w0
adrp x0, .LC3
ldr d1, [x0, #:lo12:.LC3]
fmul d0, d0, d1
adrp x0, Temperature_previous
add x1, x0, :lo12:Temperature_previous
ldrsw x2, [sp, 8]
mov x0, 8016
mul x0, x2, x0
add x0, x1, x0
str d0, [x0, 8008]
ldr w0, [sp, 8]
add w0, w0, 1
str w0, [sp, 8]
.L21:
ldr w0, [sp, 8]
cmp w0, 1000
ble .L22
str wzr, [sp, 12]
b .L23
.L24:
adrp x0, Temperature_previous
add x0, x0, :lo12:Temperature_previous
ldrsw x1, [sp, 12]
str xzr, [x0, x1, lsl 3]
ldr w0, [sp, 12]
scvtf d0, w0
adrp x0, .LC3
ldr d1, [x0, #:lo12:.LC3]
fmul d0, d0, d1
adrp x0, Temperature_previous
add x0, x0, :lo12:Temperature_previous
ldrsw x2, [sp, 12]
mov x1, 19962
movk x1, 0xf, lsl 16
add x1, x2, x1
str d0, [x0, x1, lsl 3]
ldr w0, [sp, 12]
add w0, w0, 1
str w0, [sp, 12]
.L23:
ldr w0, [sp, 12]
cmp w0, 1000
ble .L24
nop
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size initialize, .-initialize
.section .rodata
.align 3
.LC4:
.string "---------- Iteration number: %d ----------\n"
.align 3
.LC5:
.string "[%d,%d]: %5.2f "
.text
.align 2
.global track_progress
.type track_progress, %function
track_progress:
.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]
ldr w1, [sp, 28]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
mov w0, 995
str w0, [sp, 44]
b .L26
.L27:
adrp x0, Temperature
add x1, x0, :lo12:Temperature
ldrsw x2, [sp, 44]
mov x0, 8024
mul x0, x2, x0
add x0, x1, x0
ldr d0, [x0]
ldr w2, [sp, 44]
ldr w1, [sp, 44]
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L26:
ldr w0, [sp, 44]
cmp w0, 1000
ble .L27
mov w0, 10
bl putchar
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size track_progress, .-track_progress
.section .rodata
.align 3
.LC2:
.word 1202590843
.word 1065646817
.align 3
.LC3:
.word -1717986918
.word 1069128089
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Enter the distance: "
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "distance: %d"
.align 3
.LC3:
.string "\namount: %.2f"
.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 w0, [sp, 16]
cmp w0, 30
bgt .L2
ldr w0, [sp, 16]
scvtf d0, w0
mov x0, 4632233691727265792
fmov d1, x0
fmul d0, d0, d1
fcvt s0, d0
str s0, [sp, 20]
b .L3
.L2:
ldr w0, [sp, 16]
cmp w0, 30
ble .L3
ldr w0, [sp, 16]
sub w1, w0, #30
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
lsl w0, w0, 3
add w0, w0, 1500
scvtf s0, w0
str s0, [sp, 20]
.L3:
ldr w0, [sp, 16]
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
ldr s0, [sp, 20]
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, 24]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
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 s
.bss
.align 3
.type s, %object
.size s, 4
s:
.zero 4
.section .rodata
.align 3
.LC0:
.string "s.x = %d, s.y = %d\n"
.text
.align 2
.global printS
.type printS, %function
printS:
.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, s
add x0, x0, :lo12:s
ldr x0, [x0]
ubfx x0, x0, 0, 2
and w0, w0, 255
mov w1, w0
adrp x0, s
add x0, x0, :lo12:s
ldr x0, [x0]
sbfx x0, x0, 2, 2
sxtb w0, w0
mov w2, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size printS, .-printS
.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
adrp x0, s
add x0, x0, :lo12:s
ldrb w1, [x0]
and w1, w1, -4
strb w1, [x0]
adrp x0, s
add x1, x0, :lo12:s
ldrb w0, [x1]
mov w2, -2
bfi w0, w2, 2, 2
strb w0, [x1]
bl printS
adrp x0, s
add x1, x0, :lo12:s
ldrb w0, [x1]
mov w2, 1
bfi w0, w2, 0, 2
strb w0, [x1]
adrp x0, s
add x0, x0, :lo12:s
ldrb w1, [x0]
orr w1, w1, 12
strb w1, [x0]
bl printS
adrp x0, s
add x1, x0, :lo12:s
ldrb w0, [x1]
mov w2, 2
bfi w0, w2, 0, 2
strb w0, [x1]
adrp x0, s
add x0, x0, :lo12:s
ldrb w1, [x0]
and w1, w1, -13
strb w1, [x0]
bl printS
adrp x0, s
add x0, x0, :lo12:s
ldrb w1, [x0]
orr w1, w1, 3
strb w1, [x0]
adrp x0, s
add x1, x0, :lo12:s
ldrb w0, [x1]
mov w2, 1
bfi w0, w2, 2, 2
strb w0, [x1]
bl printS
mov w0, 0
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
.section .rodata
.align 3
.LC0:
.string "%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
mov w0, 4
str w0, [sp, 20]
mov w0, 6
str w0, [sp, 24]
ldr w1, [sp, 20]
ldr w0, [sp, 24]
add w0, w1, w0
str w0, [sp, 28]
ldr w1, [sp, 28]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 1
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 "hello world!"
.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
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
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "Je suis file_3.c dans Module_4 dans Projet_4"
.text
.align 2
.global main
.type main, %function
main:
.LFB6:
.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 printf
nop
nop
ldp x29, x30, [sp], 16
.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
.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
.align 2
.type __bswap_32, %function
__bswap_32:
.LFB1:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
ldr w0, [sp, 12]
rev w0, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size __bswap_32, .-__bswap_32
.global procid
.bss
.align 3
.type procid, %object
.size procid, 8
procid:
.zero 8
.section .tbss,"awT",@nobits
.align 2
.type skip_segv, %object
.size skip_segv, 4
skip_segv:
.zero 4
.align 3
.type segv_env, %object
.size segv_env, 312
segv_env:
.zero 312
.text
.align 2
.type segv_handler, %function
segv_handler:
.LFB34:
.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]
ldr x0, [sp, 32]
ldr x0, [x0, 16]
str x0, [sp, 56]
mov x0, 1048576
str x0, [sp, 64]
mov x0, 104857600
str x0, [sp, 72]
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
ldr w0, [x0]
cmp w0, 0
beq .L6
ldr x1, [sp, 56]
ldr x0, [sp, 64]
cmp x1, x0
bcc .L7
ldr x1, [sp, 56]
ldr x0, [sp, 72]
cmp x1, x0
bls .L6
.L7:
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
mov w1, 1
bl _longjmp
.L6:
ldr w0, [sp, 44]
bl exit
.cfi_endproc
.LFE34:
.size segv_handler, .-segv_handler
.align 2
.type install_segv_handler, %function
install_segv_handler:
.LFB35:
.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
add x0, sp, 16
mov x2, 152
mov w1, 0
bl memset
mov x0, 1
str x0, [sp, 16]
add x0, sp, 16
mov w4, 8
mov x3, 0
mov x2, x0
mov w1, 32
mov x0, 134
bl syscall
add x0, sp, 16
mov w4, 8
mov x3, 0
mov x2, x0
mov w1, 33
mov x0, 134
bl syscall
add x0, sp, 16
mov x2, 152
mov w1, 0
bl memset
adrp x0, segv_handler
add x0, x0, :lo12:segv_handler
str x0, [sp, 16]
mov w0, 4
movk w0, 0x4000, lsl 16
str w0, [sp, 152]
add x0, sp, 16
mov x2, 0
mov x1, x0
mov w0, 11
bl sigaction
add x0, sp, 16
mov x2, 0
mov x1, x0
mov w0, 7
bl sigaction
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 168]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L9
bl __stack_chk_fail
.L9:
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE35:
.size install_segv_handler, .-install_segv_handler
.align 2
.type sleep_ms, %function
sleep_ms:
.LFB36:
.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]
mov w1, w0
mov w0, 1000
mul w0, w1, w0
bl usleep
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE36:
.size sleep_ms, .-sleep_ms
.align 2
.type current_time_ms, %function
current_time_ms:
.LFB37:
.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, 1
bl clock_gettime
cmp w0, 0
beq .L12
mov w0, 1
bl exit
.L12:
ldr x0, [sp, 24]
mov x1, x0
mov x0, x1
lsl x0, x0, 5
sub x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 3
mov x1, x0
ldr x0, [sp, 32]
mov x2, x0
mov x0, 13531
movk x0, 0xd7b6, lsl 16
movk x0, 0xde82, lsl 32
movk x0, 0x431b, lsl 48
umulh x0, x2, x0
lsr x0, x0, 18
add x0, x1, x0
mov x1, x0
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 .L14
bl __stack_chk_fail
.L14:
mov x0, x1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE37:
.size current_time_ms, .-current_time_ms
.align 2
.type use_temporary_dir, %function
use_temporary_dir:
.LFB38:
.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
adrp x0, .LC6
add x0, x0, :lo12:.LC6
add x2, sp, 32
mov x3, x0
ldp x0, x1, [x3]
stp x0, x1, [x2]
add x1, x3, 15
add x0, x2, 15
ldr w1, [x1]
str w1, [x0]
add x0, sp, 32
bl mkdtemp
str x0, [sp, 24]
ldr x0, [sp, 24]
cmp x0, 0
bne .L16
mov w0, 1
bl exit
.L16:
mov w1, 511
ldr x0, [sp, 24]
bl chmod
cmp w0, 0
beq .L17
mov w0, 1
bl exit
.L17:
ldr x0, [sp, 24]
bl chdir
cmp w0, 0
beq .L20
mov w0, 1
bl exit
.L20:
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 .L19
bl __stack_chk_fail
.L19:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE38:
.size use_temporary_dir, .-use_temporary_dir
.section .rodata
.align 3
.LC6:
.string "./syzkaller.XXXXXX"
.text
.align 2
.type thread_start, %function
thread_start:
.LFB39:
.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, 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, 120]
mov x1, 0
add x0, sp, 56
bl pthread_attr_init
add x0, sp, 56
mov x1, 131072
bl pthread_attr_setstacksize
str wzr, [sp, 44]
b .L22
.L28:
add x1, sp, 56
add x0, sp, 48
ldr x3, [sp, 16]
ldr x2, [sp, 24]
bl pthread_create
cmp w0, 0
bne .L23
add x0, sp, 56
bl pthread_attr_destroy
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 120]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L29
b .L30
.L23:
bl __errno_location
ldr w0, [x0]
cmp w0, 11
bne .L31
mov w0, 50
bl usleep
nop
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L22:
ldr w0, [sp, 44]
cmp w0, 99
ble .L28
b .L27
.L31:
nop
.L27:
mov w0, 1
bl exit
.L30:
bl __stack_chk_fail
.L29:
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE39:
.size thread_start, .-thread_start
.align 2
.type event_init, %function
event_init:
.LFB40:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE40:
.size event_init, .-event_init
.align 2
.type event_reset, %function
event_reset:
.LFB41:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
str wzr, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE41:
.size event_reset, .-event_reset
.align 2
.type event_set, %function
event_set:
.LFB42:
.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]
ldr w0, [x0]
cmp w0, 0
beq .L35
mov w0, 1
bl exit
.L35:
ldr x0, [sp, 24]
mov w1, 1
stlr w1, [x0]
ldr x0, [sp, 24]
mov w3, 16960
movk w3, 0xf, lsl 16
mov w2, 129
mov x1, x0
mov x0, 98
bl syscall
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE42:
.size event_set, .-event_set
.align 2
.type event_wait, %function
event_wait:
.LFB43:
.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]
b .L37
.L38:
ldr x0, [sp, 24]
mov w4, 0
mov w3, 0
mov w2, 128
mov x1, x0
mov x0, 98
bl syscall
.L37:
ldr x0, [sp, 24]
ldar w0, [x0]
cmp w0, 0
beq .L38
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE43:
.size event_wait, .-event_wait
.align 2
.type event_isset, %function
event_isset:
.LFB44:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldar w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE44:
.size event_isset, .-event_isset
.align 2
.type event_timedwait, %function
event_timedwait:
.LFB45:
.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 x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
bl current_time_ms
str x0, [sp, 40]
ldr x0, [sp, 40]
str x0, [sp, 32]
.L45:
ldr x1, [sp, 40]
ldr x0, [sp, 32]
sub x0, x1, x0
ldr x1, [sp, 16]
add x0, x1, x0
str x0, [sp, 48]
ldr x0, [sp, 48]
lsr x1, x0, 3
mov x0, 63439
movk x0, 0xe353, lsl 16
movk x0, 0x9ba5, lsl 32
movk x0, 0x20c4, lsl 48
umulh x0, x1, x0
lsr x0, x0, 4
str x0, [sp, 56]
ldr x2, [sp, 48]
lsr x1, x2, 3
mov x0, 63439
movk x0, 0xe353, lsl 16
movk x0, 0x9ba5, lsl 32
movk x0, 0x20c4, lsl 48
umulh x0, x1, x0
lsr x1, x0, 4
mov x0, x1
lsl x0, x0, 5
sub x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 3
sub x1, x2, x0
mov x0, 16960
movk x0, 0xf, lsl 16
mul x0, x1, x0
str x0, [sp, 64]
ldr x0, [sp, 24]
add x1, sp, 56
mov x4, x1
mov w3, 0
mov w2, 128
mov x1, x0
mov x0, 98
bl syscall
ldr x0, [sp, 24]
ldr w0, [x0]
cmp w0, 0
beq .L42
mov w0, 1
b .L46
.L42:
bl current_time_ms
str x0, [sp, 32]
ldr x1, [sp, 32]
ldr x0, [sp, 40]
sub x0, x1, x0
ldr x1, [sp, 16]
cmp x1, x0
bcs .L45
mov w0, 0
.L46:
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 .L47
bl __stack_chk_fail
.L47:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE45:
.size event_timedwait, .-event_timedwait
.align 2
.type write_file, %function
write_file:
.LFB46:
.cfi_startproc
sub sp, sp, #1328
.cfi_def_cfa_offset 1328
stp x29, x30, [sp]
.cfi_offset 29, -1328
.cfi_offset 30, -1320
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str x2, [sp, 1280]
str x3, [sp, 1288]
str x4, [sp, 1296]
str x5, [sp, 1304]
str x6, [sp, 1312]
str x7, [sp, 1320]
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, 1328
str x0, [sp, 88]
add x0, sp, 1328
str x0, [sp, 96]
add x0, sp, 1280
str x0, [sp, 104]
mov w0, -48
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 x3, x1
ldr x2, [sp, 48]
mov x1, 1024
bl vsnprintf
strb wzr, [sp, 1143]
add x0, sp, 120
bl strlen
str w0, [sp, 76]
mov w1, 1
movk w1, 0x8, lsl 16
ldr x0, [sp, 56]
bl open
str w0, [sp, 80]
ldr w0, [sp, 80]
cmn w0, #1
bne .L49
mov w0, 0
b .L52
.L49:
ldrsw x1, [sp, 76]
add x0, sp, 120
mov x2, x1
mov x1, x0
ldr w0, [sp, 80]
bl write
mov x1, x0
ldrsw x0, [sp, 76]
cmp x1, x0
beq .L51
bl __errno_location
ldr w0, [x0]
str w0, [sp, 84]
ldr w0, [sp, 80]
bl close
bl __errno_location
mov x1, x0
ldr w0, [sp, 84]
str w0, [x1]
mov w0, 0
b .L52
.L51:
ldr w0, [sp, 80]
bl close
mov w0, 1
.L52:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1144]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L53
bl __stack_chk_fail
.L53:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 1328
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE46:
.size write_file, .-write_file
.local nlmsg
.comm nlmsg,1104,8
.align 2
.type netlink_init, %function
netlink_init:
.LFB47:
.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 x3, [sp, 24]
str w4, [sp, 20]
mov x2, 1104
mov w1, 0
ldr x0, [sp, 40]
bl memset
ldr x0, [sp, 40]
add x0, x0, 80
str x0, [sp, 56]
ldr w0, [sp, 36]
and w1, w0, 65535
ldr x0, [sp, 56]
strh w1, [x0, 4]
ldr w0, [sp, 32]
sxth w1, w0
mov w0, 5
orr w0, w1, w0
sxth w0, w0
and w1, w0, 65535
ldr x0, [sp, 56]
strh w1, [x0, 6]
ldr x0, [sp, 56]
add x0, x0, 16
ldrsw x1, [sp, 20]
mov x2, x1
ldr x1, [sp, 24]
bl memcpy
ldr w0, [sp, 20]
add w0, w0, 3
uxtw x0, w0
and x0, x0, 4294967292
add x0, x0, 16
ldr x1, [sp, 56]
add x1, x1, x0
ldr x0, [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
.LFE47:
.size netlink_init, .-netlink_init
.align 2
.type netlink_attr, %function
netlink_attr:
.LFB48:
.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]
ldr x0, [sp, 40]
ldr x0, [x0]
str x0, [sp, 56]
ldr w0, [sp, 32]
and w0, w0, 65535
add w0, w0, 4
and w1, w0, 65535
ldr x0, [sp, 56]
strh w1, [x0]
ldr w0, [sp, 36]
and w1, w0, 65535
ldr x0, [sp, 56]
strh w1, [x0, 2]
ldr x0, [sp, 56]
add x0, x0, 4
ldrsw x1, [sp, 32]
mov x2, x1
ldr x1, [sp, 24]
bl memcpy
ldr x0, [sp, 40]
ldr x1, [x0]
ldr x0, [sp, 56]
ldrh w0, [x0]
add w0, w0, 3
uxtw x0, w0
and x0, x0, 4294967292
add x1, x1, x0
ldr x0, [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
.LFE48:
.size netlink_attr, .-netlink_attr
.align 2
.type netlink_nest, %function
netlink_nest:
.LFB49:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
ldr x0, [x0]
str x0, [sp, 24]
ldr w0, [sp, 4]
and w1, w0, 65535
ldr x0, [sp, 24]
strh w1, [x0, 2]
ldr x0, [sp, 8]
ldr x0, [x0]
add x1, x0, 4
ldr x0, [sp, 8]
str x1, [x0]
ldr x0, [sp, 8]
ldr w0, [x0, 8]
add w2, w0, 1
ldr x1, [sp, 8]
str w2, [x1, 8]
ldr x1, [sp, 8]
sxtw x0, w0
add x0, x0, 2
ldr x2, [sp, 24]
str x2, [x1, x0, lsl 3]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE49:
.size netlink_nest, .-netlink_nest
.align 2
.type netlink_done, %function
netlink_done:
.LFB50:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0, 8]
sub w1, w0, #1
ldr x0, [sp, 8]
str w1, [x0, 8]
ldr x0, [sp, 8]
ldr w1, [x0, 8]
ldr x0, [sp, 8]
sxtw x1, w1
add x1, x1, 2
ldr x0, [x0, x1, lsl 3]
str x0, [sp, 24]
ldr x0, [sp, 8]
ldr x1, [x0]
ldr x0, [sp, 24]
sub x0, x1, x0
and w1, w0, 65535
ldr x0, [sp, 24]
strh w1, [x0]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE50:
.size netlink_done, .-netlink_done
.align 2
.type netlink_send_ext, %function
netlink_send_ext:
.LFB51:
.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]
strh w2, [sp, 34]
str x3, [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, 40]
ldr x1, [x0]
ldr x0, [sp, 40]
add x0, x0, 80
add x0, x0, 1024
cmp x1, x0
bhi .L59
ldr x0, [sp, 40]
ldr w0, [x0, 8]
cmp w0, 0
beq .L60
.L59:
mov w0, 1
bl exit
.L60:
ldr x0, [sp, 40]
add x0, x0, 80
str x0, [sp, 64]
ldr x0, [sp, 40]
ldr x1, [x0]
ldr x0, [sp, 40]
add x0, x0, 80
sub x0, x1, x0
mov w1, w0
ldr x0, [sp, 64]
str w1, [x0]
add x0, sp, 72
mov x2, 12
mov w1, 0
bl memset
mov w0, 16
strh w0, [sp, 72]
ldr x0, [sp, 40]
add x1, x0, 80
ldr x0, [sp, 64]
ldr w0, [x0]
uxtw x0, w0
add x2, sp, 72
mov w5, 12
mov x4, x2
mov w3, 0
mov x2, x0
ldr w0, [sp, 36]
bl sendto
str w0, [sp, 60]
ldr x0, [sp, 64]
ldr w0, [x0]
ldr w1, [sp, 60]
cmp w1, w0
beq .L61
mov w0, 1
bl exit
.L61:
ldr x0, [sp, 40]
add x0, x0, 80
mov w3, 0
mov x2, 1024
mov x1, x0
ldr w0, [sp, 36]
bl recv
str w0, [sp, 60]
ldr x0, [sp, 64]
ldrh w0, [x0, 4]
cmp w0, 3
bne .L62
ldr x0, [sp, 24]
str wzr, [x0]
mov w0, 0
b .L68
.L62:
ldr w0, [sp, 60]
cmp w0, 15
bhi .L64
mov w0, 1
bl exit
.L64:
ldr x0, [sp, 24]
cmp x0, 0
beq .L65
ldr x0, [sp, 64]
ldrh w0, [x0, 4]
ldrh w1, [sp, 34]
cmp w1, w0
bne .L65
ldr w1, [sp, 60]
ldr x0, [sp, 24]
str w1, [x0]
mov w0, 0
b .L68
.L65:
ldr w0, [sp, 60]
cmp w0, 35
bhi .L66
mov w0, 1
bl exit
.L66:
ldr x0, [sp, 64]
ldrh w0, [x0, 4]
cmp w0, 2
beq .L67
mov w0, 1
bl exit
.L67:
ldr x0, [sp, 64]
add x0, x0, 16
ldr w0, [x0]
neg w0, w0
.L68:
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 .L69
bl __stack_chk_fail
.L69:
mov w0, w1
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE51:
.size netlink_send_ext, .-netlink_send_ext
.align 2
.type netlink_send, %function
netlink_send:
.LFB52:
.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 x3, 0
mov w2, 0
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl netlink_send_ext
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE52:
.size netlink_send, .-netlink_send
.align 2
.type netlink_next_msg, %function
netlink_next_msg:
.LFB53:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str w2, [sp]
ldr x0, [sp, 8]
add x1, x0, 80
ldr w0, [sp, 4]
add x0, x1, x0
str x0, [sp, 24]
ldr w1, [sp, 4]
ldr w0, [sp]
cmp w1, w0
beq .L73
ldr x0, [sp, 24]
ldr w1, [x0]
ldr w0, [sp, 4]
add w0, w1, w0
ldr w1, [sp]
cmp w1, w0
bcs .L74
.L73:
mov w0, -1
b .L75
.L74:
ldr x0, [sp, 24]
ldr w0, [x0]
.L75:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE53:
.size netlink_next_msg, .-netlink_next_msg
.align 2
.type netlink_add_device_impl, %function
netlink_add_device_impl:
.LFB54:
.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
add x0, sp, 56
mov w4, 16
mov x3, x0
mov w2, 1536
mov w1, 16
ldr x0, [sp, 40]
bl netlink_init
ldr x0, [sp, 24]
cmp x0, 0
beq .L77
ldr x0, [sp, 24]
bl strlen
mov w3, w0
ldr x2, [sp, 24]
mov w1, 3
ldr x0, [sp, 40]
bl netlink_attr
.L77:
mov w1, 18
ldr x0, [sp, 40]
bl netlink_nest
ldr x0, [sp, 32]
bl strlen
mov w3, w0
ldr x2, [sp, 32]
mov w1, 1
ldr x0, [sp, 40]
bl netlink_attr
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 .L78
bl __stack_chk_fail
.L78:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE54:
.size netlink_add_device_impl, .-netlink_add_device_impl
.align 2
.type netlink_add_device, %function
netlink_add_device:
.LFB55:
.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 x3, [sp, 16]
ldr x2, [sp, 16]
ldr x1, [sp, 24]
ldr x0, [sp, 40]
bl netlink_add_device_impl
ldr x0, [sp, 40]
bl netlink_done
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send
str w0, [sp, 60]
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE55:
.size netlink_add_device, .-netlink_add_device
.section .rodata
.align 3
.LC7:
.string "veth"
.text
.align 2
.type netlink_add_veth, %function
netlink_add_veth:
.LFB56:
.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 x3, [sp, 16]
ldr x2, [sp, 24]
adrp x0, .LC7
add x1, x0, :lo12:.LC7
ldr x0, [sp, 40]
bl netlink_add_device_impl
mov w1, 2
ldr x0, [sp, 40]
bl netlink_nest
mov w1, 1
ldr x0, [sp, 40]
bl netlink_nest
ldr x0, [sp, 40]
ldr x0, [x0]
add x1, x0, 16
ldr x0, [sp, 40]
str x1, [x0]
ldr x0, [sp, 16]
bl strlen
mov w3, w0
ldr x2, [sp, 16]
mov w1, 3
ldr x0, [sp, 40]
bl netlink_attr
ldr x0, [sp, 40]
bl netlink_done
ldr x0, [sp, 40]
bl netlink_done
ldr x0, [sp, 40]
bl netlink_done
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send
str w0, [sp, 60]
nop
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE56:
.size netlink_add_veth, .-netlink_add_veth
.section .rodata
.align 3
.LC8:
.string "hsr"
.text
.align 2
.type netlink_add_hsr, %function
netlink_add_hsr:
.LFB57:
.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, 56]
str w1, [sp, 52]
str x2, [sp, 40]
str x3, [sp, 32]
str x4, [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 x2, [sp, 40]
adrp x0, .LC8
add x1, x0, :lo12:.LC8
ldr x0, [sp, 56]
bl netlink_add_device_impl
mov w1, 2
ldr x0, [sp, 56]
bl netlink_nest
ldr x0, [sp, 32]
bl if_nametoindex
str w0, [sp, 76]
add x0, sp, 76
mov w3, 4
mov x2, x0
mov w1, 1
ldr x0, [sp, 56]
bl netlink_attr
ldr x0, [sp, 24]
bl if_nametoindex
str w0, [sp, 80]
add x0, sp, 80
mov w3, 4
mov x2, x0
mov w1, 2
ldr x0, [sp, 56]
bl netlink_attr
ldr x0, [sp, 56]
bl netlink_done
ldr x0, [sp, 56]
bl netlink_done
ldr w1, [sp, 52]
ldr x0, [sp, 56]
bl netlink_send
str w0, [sp, 84]
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 .L82
bl __stack_chk_fail
.L82:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE57:
.size netlink_add_hsr, .-netlink_add_hsr
.align 2
.type netlink_add_linked, %function
netlink_add_linked:
.LFB58:
.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 w1, [sp, 52]
str x2, [sp, 40]
str x3, [sp, 32]
str x4, [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
ldr x2, [sp, 32]
ldr x1, [sp, 40]
ldr x0, [sp, 56]
bl netlink_add_device_impl
ldr x0, [sp, 56]
bl netlink_done
ldr x0, [sp, 24]
bl if_nametoindex
str w0, [sp, 64]
add x0, sp, 64
mov w3, 4
mov x2, x0
mov w1, 5
ldr x0, [sp, 56]
bl netlink_attr
ldr w1, [sp, 52]
ldr x0, [sp, 56]
bl netlink_send
str w0, [sp, 68]
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 .L84
bl __stack_chk_fail
.L84:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE58:
.size netlink_add_linked, .-netlink_add_linked
.section .rodata
.align 3
.LC9:
.string "vlan"
.text
.align 2
.type netlink_add_vlan, %function
netlink_add_vlan:
.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 w1, [sp, 36]
str x2, [sp, 24]
str x3, [sp, 16]
strh w4, [sp, 34]
strh w5, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
ldr x2, [sp, 24]
adrp x0, .LC9
add x1, x0, :lo12:.LC9
ldr x0, [sp, 40]
bl netlink_add_device_impl
mov w1, 2
ldr x0, [sp, 40]
bl netlink_nest
add x0, sp, 34
mov w3, 2
mov x2, x0
mov w1, 1
ldr x0, [sp, 40]
bl netlink_attr
add x0, sp, 32
mov w3, 2
mov x2, x0
mov w1, 5
ldr x0, [sp, 40]
bl netlink_attr
ldr x0, [sp, 40]
bl netlink_done
ldr x0, [sp, 40]
bl netlink_done
ldr x0, [sp, 16]
bl if_nametoindex
str w0, [sp, 48]
add x0, sp, 48
mov w3, 4
mov x2, x0
mov w1, 5
ldr x0, [sp, 40]
bl netlink_attr
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send
str w0, [sp, 52]
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 .L86
bl __stack_chk_fail
.L86:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE59:
.size netlink_add_vlan, .-netlink_add_vlan
.section .rodata
.align 3
.LC10:
.string "macvlan"
.text
.align 2
.type netlink_add_macvlan, %function
netlink_add_macvlan:
.LFB60:
.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 x3, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 72]
mov x1, 0
ldr x2, [sp, 24]
adrp x0, .LC10
add x1, x0, :lo12:.LC10
ldr x0, [sp, 40]
bl netlink_add_device_impl
mov w1, 2
ldr x0, [sp, 40]
bl netlink_nest
mov w0, 4
str w0, [sp, 60]
add x0, sp, 60
mov w3, 4
mov x2, x0
mov w1, 1
ldr x0, [sp, 40]
bl netlink_attr
ldr x0, [sp, 40]
bl netlink_done
ldr x0, [sp, 40]
bl netlink_done
ldr x0, [sp, 16]
bl if_nametoindex
str w0, [sp, 64]
add x0, sp, 64
mov w3, 4
mov x2, x0
mov w1, 5
ldr x0, [sp, 40]
bl netlink_attr
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send
str w0, [sp, 68]
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 .L88
bl __stack_chk_fail
.L88:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE60:
.size netlink_add_macvlan, .-netlink_add_macvlan
.section .rodata
.align 3
.LC11:
.string "geneve"
.text
.align 2
.type netlink_add_geneve, %function
netlink_add_geneve:
.LFB61:
.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 w1, [sp, 52]
str x2, [sp, 40]
str w3, [sp, 48]
str x4, [sp, 32]
str x5, [sp, 24]
ldr x2, [sp, 40]
adrp x0, .LC11
add x1, x0, :lo12:.LC11
ldr x0, [sp, 56]
bl netlink_add_device_impl
mov w1, 2
ldr x0, [sp, 56]
bl netlink_nest
add x0, sp, 48
mov w3, 4
mov x2, x0
mov w1, 1
ldr x0, [sp, 56]
bl netlink_attr
ldr x0, [sp, 32]
cmp x0, 0
beq .L90
mov w3, 4
ldr x2, [sp, 32]
mov w1, 2
ldr x0, [sp, 56]
bl netlink_attr
.L90:
ldr x0, [sp, 24]
cmp x0, 0
beq .L91
mov w3, 16
ldr x2, [sp, 24]
mov w1, 7
ldr x0, [sp, 56]
bl netlink_attr
.L91:
ldr x0, [sp, 56]
bl netlink_done
ldr x0, [sp, 56]
bl netlink_done
ldr w1, [sp, 52]
ldr x0, [sp, 56]
bl netlink_send
str w0, [sp, 76]
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE61:
.size netlink_add_geneve, .-netlink_add_geneve
.section .rodata
.align 3
.LC12:
.string "ipvlan"
.text
.align 2
.type netlink_add_ipvlan, %function
netlink_add_ipvlan:
.LFB62:
.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 x3, [sp, 16]
strh w4, [sp, 34]
strh w5, [sp, 32]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 56]
mov x1, 0
ldr x2, [sp, 24]
adrp x0, .LC12
add x1, x0, :lo12:.LC12
ldr x0, [sp, 40]
bl netlink_add_device_impl
mov w1, 2
ldr x0, [sp, 40]
bl netlink_nest
add x0, sp, 34
mov w3, 2
mov x2, x0
mov w1, 1
ldr x0, [sp, 40]
bl netlink_attr
add x0, sp, 32
mov w3, 2
mov x2, x0
mov w1, 2
ldr x0, [sp, 40]
bl netlink_attr
ldr x0, [sp, 40]
bl netlink_done
ldr x0, [sp, 40]
bl netlink_done
ldr x0, [sp, 16]
bl if_nametoindex
str w0, [sp, 48]
add x0, sp, 48
mov w3, 4
mov x2, x0
mov w1, 5
ldr x0, [sp, 40]
bl netlink_attr
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send
str w0, [sp, 52]
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 .L93
bl __stack_chk_fail
.L93:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE62:
.size netlink_add_ipvlan, .-netlink_add_ipvlan
.align 2
.type netlink_device_change, %function
netlink_device_change:
.LFB63:
.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, 72]
str w1, [sp, 68]
str x2, [sp, 56]
strb w3, [sp, 67]
str x4, [sp, 48]
str x5, [sp, 40]
str w6, [sp, 36]
str x7, [sp, 24]
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, 88
mov x2, 16
mov w1, 0
bl memset
ldrb w0, [sp, 67]
cmp w0, 0
beq .L95
mov w0, 1
str w0, [sp, 100]
ldr w0, [sp, 100]
str w0, [sp, 96]
.L95:
ldr x0, [sp, 56]
bl if_nametoindex
str w0, [sp, 92]
add x0, sp, 88
mov w4, 16
mov x3, x0
mov w2, 0
mov w1, 16
ldr x0, [sp, 72]
bl netlink_init
ldr x0, [sp, 24]
cmp x0, 0
beq .L96
ldr x0, [sp, 24]
bl strlen
mov w3, w0
ldr x2, [sp, 24]
mov w1, 3
ldr x0, [sp, 72]
bl netlink_attr
.L96:
ldr x0, [sp, 48]
cmp x0, 0
beq .L97
ldr x0, [sp, 48]
bl if_nametoindex
str w0, [sp, 80]
add x0, sp, 80
mov w3, 4
mov x2, x0
mov w1, 10
ldr x0, [sp, 72]
bl netlink_attr
.L97:
ldr w0, [sp, 36]
cmp w0, 0
beq .L98
ldr w3, [sp, 36]
ldr x2, [sp, 40]
mov w1, 1
ldr x0, [sp, 72]
bl netlink_attr
.L98:
ldr w1, [sp, 68]
ldr x0, [sp, 72]
bl netlink_send
str w0, [sp, 84]
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 .L99
bl __stack_chk_fail
.L99:
ldp x29, x30, [sp], 112
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE63:
.size netlink_device_change, .-netlink_device_change
.align 2
.type netlink_add_addr, %function
netlink_add_addr:
.LFB64:
.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 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, 56]
mov x1, 0
add x0, sp, 48
mov x2, 8
mov w1, 0
bl memset
ldr w0, [sp, 32]
cmp w0, 4
bne .L101
mov w0, 2
b .L102
.L101:
mov w0, 10
.L102:
strb w0, [sp, 48]
ldr w0, [sp, 32]
cmp w0, 4
bne .L103
mov w0, 24
b .L104
.L103:
mov w0, 120
.L104:
strb w0, [sp, 49]
strb wzr, [sp, 51]
ldr x0, [sp, 24]
bl if_nametoindex
str w0, [sp, 52]
add x0, sp, 48
mov w4, 8
mov x3, x0
mov w2, 1280
mov w1, 20
ldr x0, [sp, 40]
bl netlink_init
ldr w3, [sp, 32]
ldr x2, [sp, 16]
mov w1, 2
ldr x0, [sp, 40]
bl netlink_attr
ldr w3, [sp, 32]
ldr x2, [sp, 16]
mov w1, 1
ldr x0, [sp, 40]
bl netlink_attr
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_send
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 .L106
bl __stack_chk_fail
.L106:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE64:
.size netlink_add_addr, .-netlink_add_addr
.align 2
.type netlink_add_addr4, %function
netlink_add_addr4:
.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 w1, [sp, 36]
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, 56]
mov x1, 0
add x0, sp, 48
mov x2, x0
ldr x1, [sp, 16]
mov w0, 2
bl inet_pton
add x0, sp, 48
mov w4, 4
mov x3, x0
ldr x2, [sp, 24]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_add_addr
str w0, [sp, 52]
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 .L108
bl __stack_chk_fail
.L108:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE65:
.size netlink_add_addr4, .-netlink_add_addr4
.align 2
.type netlink_add_addr6, %function
netlink_add_addr6:
.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, 40]
str w1, [sp, 36]
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, 72]
mov x1, 0
add x0, sp, 56
mov x2, x0
ldr x1, [sp, 16]
mov w0, 10
bl inet_pton
add x0, sp, 56
mov w4, 16
mov x3, x0
ldr x2, [sp, 24]
ldr w1, [sp, 36]
ldr x0, [sp, 40]
bl netlink_add_addr
str w0, [sp, 52]
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 .L110
bl __stack_chk_fail
.L110:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE66:
.size netlink_add_addr6, .-netlink_add_addr6
.align 2
.type netlink_add_neigh, %function
netlink_add_neigh:
.LFB67:
.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, 56]
str w1, [sp, 52]
str x2, [sp, 40]
str x3, [sp, 32]
str w4, [sp, 48]
str x5, [sp, 24]
str w6, [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, 72
mov x2, 12
mov w1, 0
bl memset
ldr w0, [sp, 48]
cmp w0, 4
bne .L112
mov w0, 2
b .L113
.L112:
mov w0, 10
.L113:
strb w0, [sp, 72]
ldr x0, [sp, 40]
bl if_nametoindex
str w0, [sp, 76]
mov w0, 128
strh w0, [sp, 80]
add x0, sp, 72
mov w4, 12
mov x3, x0
mov w2, 1536
mov w1, 28
ldr x0, [sp, 56]
bl netlink_init
ldr w3, [sp, 48]
ldr x2, [sp, 32]
mov w1, 1
ldr x0, [sp, 56]
bl netlink_attr
ldr w3, [sp, 20]
ldr x2, [sp, 24]
mov w1, 2
ldr x0, [sp, 56]
bl netlink_attr
ldr w1, [sp, 52]
ldr x0, [sp, 56]
bl netlink_send
str w0, [sp, 68]
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 .L114
bl __stack_chk_fail
.L114:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE67:
.size netlink_add_neigh, .-netlink_add_neigh
.data
.align 2
.type tunfd, %object
.size tunfd, 4
tunfd:
.word -1
.local tun_frags_enabled
.comm tun_frags_enabled,4,4
.section .rodata
.align 3
.LC13:
.string "/dev/net/tun"
.align 3
.LC14:
.string "tun: can't open /dev/net/tun: please enable CONFIG_TUN=y"
.align 3
.LC15:
.string "otherwise fuzzing or reproducing might not work as intended"
.align 3
.LC16:
.string "syz_tun"
.align 3
.LC17:
.string "/proc/sys/net/ipv6/conf/%s/accept_dad"
.align 3
.LC18:
.string "0"
.align 3
.LC19:
.string "/proc/sys/net/ipv6/conf/%s/router_solicitations"
.align 3
.LC20:
.string "172.20.20.170"
.align 3
.LC21:
.string "fe80::aa"
.align 3
.LC22:
.string "172.20.20.187"
.align 3
.LC23:
.string "fe80::bb"
.text
.align 2
.type initialize_tun, %function
initialize_tun:
.LFB68:
.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
mov w1, 2050
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl open
mov w1, w0
adrp x0, tunfd
add x0, x0, :lo12:tunfd
str w1, [x0]
adrp x0, tunfd
add x0, x0, :lo12:tunfd
ldr w0, [x0]
cmn w0, #1
bne .L116
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl puts
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl puts
b .L115
.L116:
mov w0, 240
str w0, [sp, 32]
adrp x0, tunfd
add x0, x0, :lo12:tunfd
ldr w0, [x0]
ldr w1, [sp, 32]
bl dup2
cmp w0, 0
bge .L118
mov w0, 1
bl exit
.L118:
adrp x0, tunfd
add x0, x0, :lo12:tunfd
ldr w0, [x0]
bl close
adrp x0, tunfd
add x0, x0, :lo12:tunfd
ldr w1, [sp, 32]
str w1, [x0]
add x0, sp, 64
mov x2, 40
mov w1, 0
bl memset
add x3, sp, 64
mov x2, 16
adrp x0, .LC16
add x1, x0, :lo12:.LC16
mov x0, x3
bl strncpy
mov w0, 4098
strh w0, [sp, 80]
adrp x0, tunfd
add x0, x0, :lo12:tunfd
ldr w0, [x0]
add x1, sp, 64
mov x2, x1
mov x1, 21706
movk x1, 0x4004, lsl 16
bl ioctl
cmp w0, 0
bge .L119
mov w0, 1
bl exit
.L119:
add x3, sp, 104
adrp x0, .LC16
add x2, x0, :lo12:.LC16
adrp x0, .LC17
add x1, x0, :lo12:.LC17
mov x0, x3
bl sprintf
add x2, sp, 104
adrp x0, .LC18
add x1, x0, :lo12:.LC18
mov x0, x2
bl write_file
add x3, sp, 104
adrp x0, .LC16
add x2, x0, :lo12:.LC16
adrp x0, .LC19
add x1, x0, :lo12:.LC19
mov x0, x3
bl sprintf
add x2, sp, 104
adrp x0, .LC18
add x1, x0, :lo12:.LC18
mov x0, x2
bl write_file
mov w2, 0
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
bne .L120
mov w0, 1
bl exit
.L120:
adrp x0, .LC20
add x3, x0, :lo12:.LC20
adrp x0, .LC16
add x2, x0, :lo12:.LC16
ldr w1, [sp, 36]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_addr4
adrp x0, .LC21
add x3, x0, :lo12:.LC21
adrp x0, .LC16
add x2, x0, :lo12:.LC16
ldr w1, [sp, 36]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_addr6
mov x0, 43707
movk x0, 0xaaaa, lsl 16
movk x0, 0xaaaa, lsl 32
str x0, [sp, 40]
add x0, sp, 24
mov x2, x0
adrp x0, .LC22
add x1, x0, :lo12:.LC22
mov w0, 2
bl inet_pton
add x1, sp, 40
add x0, sp, 24
mov w6, 6
mov x5, x1
mov w4, 4
mov x3, x0
adrp x0, .LC16
add x2, x0, :lo12:.LC16
ldr w1, [sp, 36]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_neigh
add x0, sp, 48
mov x2, x0
adrp x0, .LC23
add x1, x0, :lo12:.LC23
mov w0, 10
bl inet_pton
add x1, sp, 40
add x0, sp, 48
mov w6, 6
mov x5, x1
mov w4, 16
mov x3, x0
adrp x0, .LC16
add x2, x0, :lo12:.LC16
ldr w1, [sp, 36]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_neigh
mov w0, 2863311530
movk x0, 0xaaaa, lsl 32
str x0, [sp, 40]
add x0, sp, 40
mov x7, 0
mov w6, 6
mov x5, x0
mov x4, 0
mov w3, 1
adrp x0, .LC16
add x2, x0, :lo12:.LC16
ldr w1, [sp, 36]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_device_change
ldr w0, [sp, 36]
bl close
.L115:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 168]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L121
bl __stack_chk_fail
.L121:
ldp x29, x30, [sp], 176
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE68:
.size initialize_tun, .-initialize_tun
.global kInitNetNsFd
.section .rodata
.align 2
.type kInitNetNsFd, %object
.size kInitNetNsFd, 4
kInitNetNsFd:
.word 239
.align 3
.LC24:
.string "devlink"
.text
.align 2
.type netlink_devlink_id_get, %function
netlink_devlink_id_get:
.LFB69:
.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
strh wzr, [sp, 46]
add x0, sp, 48
mov x2, 4
mov w1, 0
bl memset
mov w0, 3
strb w0, [sp, 48]
add x0, sp, 48
mov w4, 4
mov x3, x0
mov w2, 0
mov w1, 16
ldr x0, [sp, 24]
bl netlink_init
mov w3, 8
adrp x0, .LC24
add x2, x0, :lo12:.LC24
mov w1, 2
ldr x0, [sp, 24]
bl netlink_attr
add x0, sp, 56
mov x3, x0
mov w2, 16
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl netlink_send_ext
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L123
mov w0, -1
b .L130
.L123:
ldr x0, [sp, 24]
add x0, x0, 80
add x0, x0, 20
str x0, [sp, 64]
b .L125
.L128:
ldr x0, [sp, 64]
ldrh w0, [x0, 2]
cmp w0, 1
bne .L126
ldr x0, [sp, 64]
ldrh w0, [x0, 4]
strh w0, [sp, 46]
b .L127
.L126:
ldr x0, [sp, 64]
ldrh w0, [x0]
add w0, w0, 3
uxtw x0, w0
and x0, x0, 4294967292
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 64]
.L125:
ldr x0, [sp, 24]
add x1, x0, 80
ldr w0, [sp, 56]
sxtw x0, w0
add x0, x1, x0
ldr x1, [sp, 64]
cmp x1, x0
bcc .L128
.L127:
ldrh w0, [sp, 46]
cmp w0, 0
bne .L129
mov w0, -1
b .L130
.L129:
ldr x0, [sp, 24]
add x0, x0, 80
mov w3, 0
mov x2, 1024
mov x1, x0
ldr w0, [sp, 20]
bl recv
ldrh w0, [sp, 46]
.L130:
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 .L131
bl __stack_chk_fail
.L131:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE69:
.size netlink_devlink_id_get, .-netlink_devlink_id_get
.align 2
.type netlink_devlink_netns_move, %function
netlink_devlink_netns_move:
.LFB70:
.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
mov w2, 16
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 60]
ldr w0, [sp, 60]
cmn w0, #1
bne .L133
mov w0, 1
bl exit
.L133:
ldr w1, [sp, 60]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_devlink_id_get
str w0, [sp, 64]
ldr w0, [sp, 64]
cmn w0, #1
beq .L137
add x0, sp, 56
mov x2, 4
mov w1, 0
bl memset
mov w0, 37
strb w0, [sp, 56]
add x0, sp, 56
mov w4, 4
mov x3, x0
mov w2, 0
ldr w1, [sp, 64]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_init
ldr x0, [sp, 40]
bl strlen
add w0, w0, 1
mov w3, w0
ldr x2, [sp, 40]
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
ldr x0, [sp, 32]
bl strlen
add w0, w0, 1
mov w3, w0
ldr x2, [sp, 32]
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 28
mov w3, 4
mov x2, x0
mov w1, 138
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
ldr w1, [sp, 60]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_send
str w0, [sp, 68]
b .L135
.L137:
nop
.L135:
ldr w0, [sp, 60]
bl close
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 .L136
bl __stack_chk_fail
.L136:
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE70:
.size netlink_devlink_netns_move, .-netlink_devlink_netns_move
.local nlmsg2
.comm nlmsg2,1104,8
.section .rodata
.align 3
.LC25:
.string "%s%d"
.text
.align 2
.type initialize_devlink_ports, %function
initialize_devlink_ports:
.LFB71:
.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, 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, 120]
mov x1, 0
mov w2, 16
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 68]
ldr w0, [sp, 68]
cmn w0, #1
bne .L139
mov w0, 1
bl exit
.L139:
mov w2, 0
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 72]
ldr w0, [sp, 72]
cmn w0, #1
bne .L140
mov w0, 1
bl exit
.L140:
ldr w1, [sp, 68]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_devlink_id_get
str w0, [sp, 76]
ldr w0, [sp, 76]
cmn w0, #1
beq .L151
add x0, sp, 56
mov x2, 4
mov w1, 0
bl memset
mov w0, 5
strb w0, [sp, 56]
add x0, sp, 56
mov w4, 4
mov x3, x0
mov w2, 768
ldr w1, [sp, 76]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_init
ldr x0, [sp, 40]
bl strlen
add w0, w0, 1
mov w3, w0
ldr x2, [sp, 40]
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
ldr x0, [sp, 32]
bl strlen
add w0, w0, 1
mov w3, w0
ldr x2, [sp, 32]
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
ldr w0, [sp, 76]
and w1, w0, 65535
add x0, sp, 60
mov x3, x0
mov w2, w1
ldr w1, [sp, 68]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_send_ext
str w0, [sp, 80]
ldr w0, [sp, 80]
cmp w0, 0
bne .L152
str wzr, [sp, 64]
strh wzr, [sp, 54]
b .L144
.L149:
ldrsw x0, [sp, 64]
add x1, x0, 20
adrp x0, nlmsg+80
add x0, x0, :lo12:nlmsg+80
add x0, x1, x0
str x0, [sp, 88]
b .L145
.L148:
ldr x0, [sp, 88]
ldrh w0, [x0, 2]
cmp w0, 7
bne .L146
ldr x0, [sp, 88]
add x0, x0, 4
str x0, [sp, 96]
ldrh w0, [sp, 54]
add x5, sp, 104
mov w4, w0
ldr x3, [sp, 24]
adrp x0, .LC25
add x2, x0, :lo12:.LC25
mov x1, 16
mov x0, x5
bl snprintf
add x0, sp, 104
mov x7, x0
mov w6, 0
mov x5, 0
mov x4, 0
mov w3, 1
ldr x2, [sp, 96]
ldr w1, [sp, 72]
adrp x0, nlmsg2
add x0, x0, :lo12:nlmsg2
bl netlink_device_change
b .L147
.L146:
ldr x0, [sp, 88]
ldrh w0, [x0]
add w0, w0, 3
uxtw x0, w0
and x0, x0, 4294967292
ldr x1, [sp, 88]
add x0, x1, x0
str x0, [sp, 88]
.L145:
ldrsw x1, [sp, 64]
ldrsw x0, [sp, 84]
add x1, x1, x0
adrp x0, nlmsg+80
add x0, x0, :lo12:nlmsg+80
add x0, x1, x0
ldr x1, [sp, 88]
cmp x1, x0
bcc .L148
.L147:
ldr w1, [sp, 64]
ldr w0, [sp, 84]
add w0, w1, w0
str w0, [sp, 64]
ldrh w0, [sp, 54]
add w0, w0, 1
strh w0, [sp, 54]
.L144:
ldr w0, [sp, 64]
ldr w1, [sp, 60]
mov w2, w1
mov w1, w0
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_next_msg
str w0, [sp, 84]
ldr w0, [sp, 84]
cmn w0, #1
bne .L149
b .L142
.L151:
nop
b .L142
.L152:
nop
.L142:
ldr w0, [sp, 72]
bl close
ldr w0, [sp, 68]
bl close
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 120]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L150
bl __stack_chk_fail
.L150:
ldp x29, x30, [sp], 128
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE71:
.size initialize_devlink_ports, .-initialize_devlink_ports
.section .rodata
.align 3
.LC26:
.string "/proc/self/ns/net"
.align 3
.LC27:
.string "0000:00:10.0"
.align 3
.LC28:
.string "pci"
.align 3
.LC29:
.string "netpci"
.text
.align 2
.type initialize_devlink_pci, %function
initialize_devlink_pci:
.LFB72:
.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, 0
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl open
str w0, [sp, 24]
ldr w0, [sp, 24]
cmn w0, #1
bne .L154
mov w0, 1
bl exit
.L154:
mov w0, 239
mov w1, 0
bl setns
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L155
mov w0, 1
bl exit
.L155:
ldr w2, [sp, 24]
adrp x0, .LC27
add x1, x0, :lo12:.LC27
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl netlink_devlink_netns_move
mov w1, 0
ldr w0, [sp, 24]
bl setns
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L156
mov w0, 1
bl exit
.L156:
ldr w0, [sp, 24]
bl close
adrp x0, .LC29
add x2, x0, :lo12:.LC29
adrp x0, .LC27
add x1, x0, :lo12:.LC27
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl initialize_devlink_ports
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE72:
.size initialize_devlink_pci, .-initialize_devlink_pci
.section .rodata
.align 3
.LC30:
.string "%u %u"
.align 3
.LC31:
.string "/sys/bus/netdevsim/new_device"
.align 3
.LC32:
.string "netdevsim%d"
.align 3
.LC33:
.string "netdevsim"
.text
.align 2
.type netdevsim_add, %function
netdevsim_add:
.LFB73:
.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]
str w1, [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 x4, sp, 40
ldr w3, [sp, 24]
ldr w2, [sp, 28]
adrp x0, .LC30
add x1, x0, :lo12:.LC30
mov x0, x4
bl sprintf
add x0, sp, 40
mov x1, x0
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl write_file
and w0, w0, 255
cmp w0, 0
beq .L160
add x4, sp, 40
ldr w3, [sp, 28]
adrp x0, .LC32
add x2, x0, :lo12:.LC32
mov x1, 16
mov x0, x4
bl snprintf
add x1, sp, 40
adrp x0, .LC33
add x2, x0, :lo12:.LC33
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl initialize_devlink_ports
.L160:
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 .L159
bl __stack_chk_fail
.L159:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE73:
.size netdevsim_add, .-netdevsim_add
.section .rodata
.align 3
.LC34:
.string "wireguard"
.text
.align 2
.type netlink_wireguard_id_get, %function
netlink_wireguard_id_get:
.LFB74:
.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
strh wzr, [sp, 46]
add x0, sp, 48
mov x2, 4
mov w1, 0
bl memset
mov w0, 3
strb w0, [sp, 48]
add x0, sp, 48
mov w4, 4
mov x3, x0
mov w2, 0
mov w1, 16
ldr x0, [sp, 24]
bl netlink_init
mov w3, 10
adrp x0, .LC34
add x2, x0, :lo12:.LC34
mov w1, 2
ldr x0, [sp, 24]
bl netlink_attr
add x0, sp, 56
mov x3, x0
mov w2, 16
ldr w1, [sp, 20]
ldr x0, [sp, 24]
bl netlink_send_ext
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
beq .L162
mov w0, -1
b .L169
.L162:
ldr x0, [sp, 24]
add x0, x0, 80
add x0, x0, 20
str x0, [sp, 64]
b .L164
.L167:
ldr x0, [sp, 64]
ldrh w0, [x0, 2]
cmp w0, 1
bne .L165
ldr x0, [sp, 64]
ldrh w0, [x0, 4]
strh w0, [sp, 46]
b .L166
.L165:
ldr x0, [sp, 64]
ldrh w0, [x0]
add w0, w0, 3
uxtw x0, w0
and x0, x0, 4294967292
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 64]
.L164:
ldr x0, [sp, 24]
add x1, x0, 80
ldr w0, [sp, 56]
sxtw x0, w0
add x0, x1, x0
ldr x1, [sp, 64]
cmp x1, x0
bcc .L167
.L166:
ldrh w0, [sp, 46]
cmp w0, 0
bne .L168
mov w0, -1
b .L169
.L168:
ldr x0, [sp, 24]
add x0, x0, 80
mov w3, 0
mov x2, 1024
mov x1, x0
ldr w0, [sp, 20]
bl recv
ldrh w0, [sp, 46]
.L169:
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 .L170
bl __stack_chk_fail
.L170:
mov w0, w1
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE74:
.size netlink_wireguard_id_get, .-netlink_wireguard_id_get
.align 2
.type netlink_wireguard_setup, %function
netlink_wireguard_setup:
.LFB75:
.cfi_startproc
stp x29, x30, [sp, -480]!
.cfi_def_cfa_offset 480
.cfi_offset 29, -480
.cfi_offset 30, -472
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 472]
mov x1, 0
mov w0, 26487
movk w0, 0x30, lsl 16
str w0, [sp, 208]
mov w0, 26487
movk w0, 0x31, lsl 16
str w0, [sp, 216]
mov w0, 26487
movk w0, 0x32, lsl 16
str w0, [sp, 224]
adrp x0, .LC35
add x1, x0, :lo12:.LC35
add x0, sp, 232
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldrb w1, [x1, 32]
strb w1, [x0, 32]
adrp x0, .LC36
add x1, x0, :lo12:.LC36
add x0, sp, 272
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldrb w1, [x1, 32]
strb w1, [x0, 32]
adrp x0, .LC37
add x1, x0, :lo12:.LC37
add x0, sp, 312
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldrb w1, [x1, 32]
strb w1, [x0, 32]
adrp x0, .LC38
add x1, x0, :lo12:.LC38
add x0, sp, 352
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldrb w1, [x1, 32]
strb w1, [x0, 32]
adrp x0, .LC39
add x1, x0, :lo12:.LC39
add x0, sp, 392
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldrb w1, [x1, 32]
strb w1, [x0, 32]
adrp x0, .LC40
add x1, x0, :lo12:.LC40
add x0, sp, 432
ldp q0, q1, [x1]
stp q0, q1, [x0]
ldrb w1, [x1, 32]
strb w1, [x0, 32]
mov w0, 20001
strh w0, [sp, 22]
mov w0, 20002
strh w0, [sp, 24]
mov w0, 20003
strh w0, [sp, 26]
mov w0, 2
strh w0, [sp, 28]
mov w0, 10
strh w0, [sp, 30]
stp xzr, xzr, [sp, 80]
mov w0, 2
strh w0, [sp, 80]
ldrh w0, [sp, 24]
bl htons
and w0, w0, 65535
strh w0, [sp, 82]
mov w0, 1
movk w0, 0x7f00, lsl 16
bl htonl
str w0, [sp, 84]
stp xzr, xzr, [sp, 96]
mov w0, 2
strh w0, [sp, 96]
ldrh w0, [sp, 26]
bl htons
and w0, w0, 65535
strh w0, [sp, 98]
mov w0, 1
movk w0, 0x7f00, lsl 16
bl htonl
str w0, [sp, 100]
stp xzr, xzr, [sp, 144]
str xzr, [sp, 160]
str wzr, [sp, 168]
mov w0, 10
strh w0, [sp, 144]
ldrh w0, [sp, 22]
bl htons
and w0, w0, 65535
strh w0, [sp, 146]
adrp x0, :got:in6addr_loopback
ldr x0, [x0, #:got_lo12:in6addr_loopback]
ldp x0, x1, [x0]
stp x0, x1, [sp, 152]
stp xzr, xzr, [sp, 176]
str xzr, [sp, 192]
str wzr, [sp, 200]
mov w0, 10
strh w0, [sp, 176]
ldrh w0, [sp, 26]
bl htons
and w0, w0, 65535
strh w0, [sp, 178]
adrp x0, :got:in6addr_loopback
ldr x0, [x0, #:got_lo12:in6addr_loopback]
ldp x0, x1, [x0]
stp x0, x1, [sp, 184]
str wzr, [sp, 32]
mov w0, -2147483648
bl htonl
str w0, [sp, 40]
stp xzr, xzr, [sp, 112]
stp xzr, xzr, [sp, 128]
mov w0, -128
strb w0, [sp, 128]
mov w0, 1
strb w0, [sp, 21]
adrp x0, .LC0
add x1, x0, :lo12:.LC0
add x0, sp, 64
ldr x2, [x1]
str x2, [x0]
ldr w1, [x1, 8]
str w1, [x0, 8]
str wzr, [sp, 48]
mov w0, 1
strb w0, [sp, 48]
mov w0, 1
strb w0, [sp, 49]
mov w2, 16
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 52]
ldr w0, [sp, 52]
cmn w0, #1
bne .L172
mov w0, 1
bl exit
.L172:
ldr w1, [sp, 52]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_wireguard_id_get
str w0, [sp, 56]
ldr w0, [sp, 56]
cmn w0, #1
beq .L176
add x0, sp, 48
mov w4, 4
mov x3, x0
mov w2, 0
ldr w1, [sp, 56]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_init
add x0, sp, 208
mov w3, 4
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 232
mov w3, 32
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 22
mov w3, 2
mov x2, x0
mov w1, 6
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
mov w1, 32776
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 392
mov w3, 32
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 80
mov w3, 16
mov x2, x0
mov w1, 4
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 64
mov w3, 2
mov x2, x0
mov w1, 5
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
mov w1, 32777
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 28
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 32
mov w3, 4
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 30
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 112
mov w3, 16
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 432
mov w3, 32
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 176
mov w3, 28
mov x2, x0
mov w1, 4
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 64
add x0, x0, 2
mov w3, 2
mov x2, x0
mov w1, 5
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
mov w1, 32777
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 28
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 40
mov w3, 4
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 30
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 128
mov w3, 16
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
ldr w1, [sp, 52]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_send
str w0, [sp, 60]
add x0, sp, 48
mov w4, 4
mov x3, x0
mov w2, 0
ldr w1, [sp, 56]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_init
add x0, sp, 216
mov w3, 4
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 272
mov w3, 32
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 24
mov w3, 2
mov x2, x0
mov w1, 6
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
mov w1, 32776
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 352
mov w3, 32
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 144
mov w3, 28
mov x2, x0
mov w1, 4
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 64
add x0, x0, 4
mov w3, 2
mov x2, x0
mov w1, 5
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
mov w1, 32777
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 28
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 32
mov w3, 4
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 30
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 112
mov w3, 16
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 432
mov w3, 32
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 96
mov w3, 16
mov x2, x0
mov w1, 4
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 64
add x0, x0, 6
mov w3, 2
mov x2, x0
mov w1, 5
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
mov w1, 32777
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 28
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 40
mov w3, 4
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 30
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 128
mov w3, 16
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
ldr w1, [sp, 52]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_send
str w0, [sp, 60]
add x0, sp, 48
mov w4, 4
mov x3, x0
mov w2, 0
ldr w1, [sp, 56]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_init
add x0, sp, 224
mov w3, 4
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 312
mov w3, 32
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 26
mov w3, 2
mov x2, x0
mov w1, 6
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
mov w1, 32776
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 352
mov w3, 32
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 144
mov w3, 28
mov x2, x0
mov w1, 4
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 64
add x0, x0, 8
mov w3, 2
mov x2, x0
mov w1, 5
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
mov w1, 32777
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 28
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 32
mov w3, 4
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 30
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 112
mov w3, 16
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 392
mov w3, 32
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 80
mov w3, 16
mov x2, x0
mov w1, 4
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 64
add x0, x0, 10
mov w3, 2
mov x2, x0
mov w1, 5
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
mov w1, 32777
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 28
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 40
mov w3, 4
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
mov w1, 32768
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_nest
add x0, sp, 30
mov w3, 2
mov x2, x0
mov w1, 1
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 128
mov w3, 16
mov x2, x0
mov w1, 2
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
add x0, sp, 21
mov w3, 1
mov x2, x0
mov w1, 3
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_attr
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_done
ldr w1, [sp, 52]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_send
str w0, [sp, 60]
b .L174
.L176:
nop
.L174:
ldr w0, [sp, 52]
bl close
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 472]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L175
bl __stack_chk_fail
.L175:
ldp x29, x30, [sp], 480
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE75:
.size netlink_wireguard_setup, .-netlink_wireguard_setup
.section .rodata
.align 3
.LC35:
.string "\240\\\250Ol\234\2168S\342\375zp\256\017\262\017\241R`\f\260\bE\027O\b\007o\215xC"
.align 3
.LC36:
.string "\260\200s\350\324N\221\343\332\222,\"C\202D\273\210\\i\342i\310\351\3305\261\024):M\334n"
.align 3
.LC37:
.string "\240\313\207\232G\365\274dL\016i?\246\3201\307J\025S\266\351\001\271\377/Q\214x\004/\265B"
.align 3
.LC38:
.string "\227\\\235\201\311\203\310 \236\347\201%K\211\237\216\331%\256\237\t#\302<b\365<W\315\277i\034"
.align 3
.LC39:
.string "\321s(\231\366\021\315\211\224\003M\177A=\311Wc\016T\223\302\205\254\244"
.string "e\313c\021\276ik"
.align 3
.LC40:
.string "\364M\243g\250\216\346VO\002\002\021Eg'\b/\\\353\356\213\033\365\353s74\033E\2339\""
.align 3
.LC0:
.hword 1
.hword 3
.hword 7
.hword 9
.hword 14
.hword 19
.text
.section .rodata
.align 3
.LC41:
.string "ip6gretap"
.align 3
.LC42:
.string "ip6gretap0"
.align 3
.LC1:
.string "bridge"
.align 3
.LC43:
.string "bridge0"
.align 3
.LC44:
.string "vcan"
.align 3
.LC45:
.string "vcan0"
.align 3
.LC2:
.string "bond"
.align 3
.LC46:
.string "bond0"
.align 3
.LC3:
.string "team"
.align 3
.LC47:
.string "team0"
.align 3
.LC48:
.string "dummy"
.align 3
.LC49:
.string "dummy0"
.align 3
.LC50:
.string "nlmon"
.align 3
.LC51:
.string "nlmon0"
.align 3
.LC52:
.string "caif"
.align 3
.LC53:
.string "caif0"
.align 3
.LC4:
.string "batadv"
.align 3
.LC54:
.string "batadv0"
.align 3
.LC55:
.string "vxcan"
.align 3
.LC56:
.string "vxcan1"
.align 3
.LC57:
.string "xfrm"
.align 3
.LC58:
.string "xfrm0"
.align 3
.LC59:
.string "wg0"
.align 3
.LC60:
.string "wg1"
.align 3
.LC61:
.string "wg2"
.align 3
.LC63:
.string "lo"
.align 3
.LC64:
.string "sit0"
.align 3
.LC65:
.string "tunl0"
.align 3
.LC66:
.string "gre0"
.align 3
.LC67:
.string "gretap0"
.align 3
.LC68:
.string "ip_vti0"
.align 3
.LC69:
.string "ip6_vti0"
.align 3
.LC70:
.string "ip6tnl0"
.align 3
.LC71:
.string "ip6gre0"
.align 3
.LC72:
.string "erspan0"
.align 3
.LC73:
.string "veth0"
.align 3
.LC74:
.string "veth1"
.align 3
.LC75:
.string "veth0_to_bridge"
.align 3
.LC76:
.string "veth1_to_bridge"
.align 3
.LC77:
.string "veth0_to_bond"
.align 3
.LC78:
.string "veth1_to_bond"
.align 3
.LC79:
.string "veth0_to_team"
.align 3
.LC80:
.string "veth1_to_team"
.align 3
.LC81:
.string "veth0_to_hsr"
.align 3
.LC82:
.string "veth1_to_hsr"
.align 3
.LC83:
.string "hsr0"
.align 3
.LC84:
.string "vxcan0"
.align 3
.LC85:
.string "veth0_virt_wifi"
.align 3
.LC86:
.string "veth1_virt_wifi"
.align 3
.LC87:
.string "virt_wifi0"
.align 3
.LC88:
.string "veth0_vlan"
.align 3
.LC89:
.string "veth1_vlan"
.align 3
.LC90:
.string "vlan0"
.align 3
.LC91:
.string "vlan1"
.align 3
.LC92:
.string "macvlan0"
.align 3
.LC93:
.string "macvlan1"
.align 3
.LC94:
.string "ipvlan0"
.align 3
.LC95:
.string "ipvlan1"
.align 3
.LC96:
.string "veth0_macvtap"
.align 3
.LC97:
.string "veth1_macvtap"
.align 3
.LC98:
.string "macvtap0"
.align 3
.LC99:
.string "macsec0"
.align 3
.LC100:
.string "veth0_to_batadv"
.align 3
.LC101:
.string "veth1_to_batadv"
.align 3
.LC102:
.string "batadv_slave_0"
.align 3
.LC103:
.string "batadv_slave_1"
.align 3
.LC104:
.string "geneve0"
.align 3
.LC105:
.string "geneve1"
.align 3
.LC106:
.string "%s_slave_0"
.align 3
.LC107:
.string "veth0_to_%s"
.align 3
.LC108:
.string "%s_slave_1"
.align 3
.LC109:
.string "veth1_to_%s"
.align 3
.LC110:
.string "%s0"
.align 3
.LC111:
.string "bridge_slave_0"
.align 3
.LC112:
.string "bridge_slave_1"
.align 3
.LC113:
.string "hsr_slave_0"
.align 3
.LC114:
.string "hsr_slave_1"
.align 3
.LC115:
.string "virt_wifi"
.align 3
.LC116:
.string "macvtap"
.align 3
.LC117:
.string "macsec"
.align 3
.LC118:
.string "172.20.20.%d"
.align 3
.LC119:
.string "fc00::01"
.align 3
.LC120:
.string "fe80::%02x"
.text
.align 2
.type initialize_netdevices, %function
initialize_netdevices:
.LFB76:
.cfi_startproc
sub sp, sp, #1456
.cfi_def_cfa_offset 1456
stp x29, x30, [sp]
.cfi_offset 29, -1456
.cfi_offset 30, -1448
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1448]
mov x1, 0
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x3, sp, 1272
mov w2, w0
adrp x0, .LC32
add x1, x0, :lo12:.LC32
mov x0, x3
bl sprintf
adrp x0, .LC41
add x0, x0, :lo12:.LC41
str x0, [sp, 88]
adrp x0, .LC42
add x0, x0, :lo12:.LC42
str x0, [sp, 96]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
str x0, [sp, 104]
adrp x0, .LC43
add x0, x0, :lo12:.LC43
str x0, [sp, 112]
adrp x0, .LC44
add x0, x0, :lo12:.LC44
str x0, [sp, 120]
adrp x0, .LC45
add x0, x0, :lo12:.LC45
str x0, [sp, 128]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
str x0, [sp, 136]
adrp x0, .LC46
add x0, x0, :lo12:.LC46
str x0, [sp, 144]
adrp x0, .LC3
add x0, x0, :lo12:.LC3
str x0, [sp, 152]
adrp x0, .LC47
add x0, x0, :lo12:.LC47
str x0, [sp, 160]
adrp x0, .LC48
add x0, x0, :lo12:.LC48
str x0, [sp, 168]
adrp x0, .LC49
add x0, x0, :lo12:.LC49
str x0, [sp, 176]
adrp x0, .LC50
add x0, x0, :lo12:.LC50
str x0, [sp, 184]
adrp x0, .LC51
add x0, x0, :lo12:.LC51
str x0, [sp, 192]
adrp x0, .LC52
add x0, x0, :lo12:.LC52
str x0, [sp, 200]
adrp x0, .LC53
add x0, x0, :lo12:.LC53
str x0, [sp, 208]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
str x0, [sp, 216]
adrp x0, .LC54
add x0, x0, :lo12:.LC54
str x0, [sp, 224]
adrp x0, .LC55
add x0, x0, :lo12:.LC55
str x0, [sp, 232]
adrp x0, .LC56
add x0, x0, :lo12:.LC56
str x0, [sp, 240]
adrp x0, .LC33
add x0, x0, :lo12:.LC33
str x0, [sp, 248]
add x0, sp, 1272
str x0, [sp, 256]
adrp x0, .LC7
add x0, x0, :lo12:.LC7
str x0, [sp, 264]
str xzr, [sp, 272]
adrp x0, .LC57
add x0, x0, :lo12:.LC57
str x0, [sp, 280]
adrp x0, .LC58
add x0, x0, :lo12:.LC58
str x0, [sp, 288]
adrp x0, .LC34
add x0, x0, :lo12:.LC34
str x0, [sp, 296]
adrp x0, .LC59
add x0, x0, :lo12:.LC59
str x0, [sp, 304]
adrp x0, .LC34
add x0, x0, :lo12:.LC34
str x0, [sp, 312]
adrp x0, .LC60
add x0, x0, :lo12:.LC60
str x0, [sp, 320]
adrp x0, .LC34
add x0, x0, :lo12:.LC34
str x0, [sp, 328]
adrp x0, .LC61
add x0, x0, :lo12:.LC61
str x0, [sp, 336]
sub x0, sp, #584
add x0, x0, 640
adrp x1, .LC62
add x1, x1, :lo12:.LC62
ld1 {v0.16b - v1.16b}, [x1]
st1 {v0.16b - v1.16b}, [x0]
add x0, sp, 344
mov x1, 928
mov x2, x1
mov w1, 0
bl memset
adrp x0, .LC63
add x0, x0, :lo12:.LC63
str x0, [sp, 344]
mov w0, 6
str w0, [sp, 352]
adrp x0, .LC64
add x0, x0, :lo12:.LC64
str x0, [sp, 360]
adrp x0, .LC43
add x0, x0, :lo12:.LC43
str x0, [sp, 376]
mov w0, 6
str w0, [sp, 384]
adrp x0, .LC45
add x0, x0, :lo12:.LC45
str x0, [sp, 392]
mov w0, 1
strb w0, [sp, 404]
adrp x0, .LC65
add x0, x0, :lo12:.LC65
str x0, [sp, 408]
adrp x0, .LC66
add x0, x0, :lo12:.LC66
str x0, [sp, 424]
adrp x0, .LC67
add x0, x0, :lo12:.LC67
str x0, [sp, 440]
mov w0, 6
str w0, [sp, 448]
adrp x0, .LC68
add x0, x0, :lo12:.LC68
str x0, [sp, 456]
adrp x0, .LC69
add x0, x0, :lo12:.LC69
str x0, [sp, 472]
adrp x0, .LC70
add x0, x0, :lo12:.LC70
str x0, [sp, 488]
adrp x0, .LC71
add x0, x0, :lo12:.LC71
str x0, [sp, 504]
adrp x0, .LC42
add x0, x0, :lo12:.LC42
str x0, [sp, 520]
mov w0, 6
str w0, [sp, 528]
adrp x0, .LC72
add x0, x0, :lo12:.LC72
str x0, [sp, 536]
mov w0, 6
str w0, [sp, 544]
adrp x0, .LC46
add x0, x0, :lo12:.LC46
str x0, [sp, 552]
mov w0, 6
str w0, [sp, 560]
adrp x0, .LC73
add x0, x0, :lo12:.LC73
str x0, [sp, 568]
mov w0, 6
str w0, [sp, 576]
adrp x0, .LC74
add x0, x0, :lo12:.LC74
str x0, [sp, 584]
mov w0, 6
str w0, [sp, 592]
adrp x0, .LC47
add x0, x0, :lo12:.LC47
str x0, [sp, 600]
mov w0, 6
str w0, [sp, 608]
adrp x0, .LC75
add x0, x0, :lo12:.LC75
str x0, [sp, 616]
mov w0, 6
str w0, [sp, 624]
adrp x0, .LC76
add x0, x0, :lo12:.LC76
str x0, [sp, 632]
mov w0, 6
str w0, [sp, 640]
adrp x0, .LC77
add x0, x0, :lo12:.LC77
str x0, [sp, 648]
mov w0, 6
str w0, [sp, 656]
adrp x0, .LC78
add x0, x0, :lo12:.LC78
str x0, [sp, 664]
mov w0, 6
str w0, [sp, 672]
adrp x0, .LC79
add x0, x0, :lo12:.LC79
str x0, [sp, 680]
mov w0, 6
str w0, [sp, 688]
adrp x0, .LC80
add x0, x0, :lo12:.LC80
str x0, [sp, 696]
mov w0, 6
str w0, [sp, 704]
adrp x0, .LC81
add x0, x0, :lo12:.LC81
str x0, [sp, 712]
mov w0, 6
str w0, [sp, 720]
adrp x0, .LC82
add x0, x0, :lo12:.LC82
str x0, [sp, 728]
mov w0, 6
str w0, [sp, 736]
adrp x0, .LC83
add x0, x0, :lo12:.LC83
str x0, [sp, 744]
adrp x0, .LC49
add x0, x0, :lo12:.LC49
str x0, [sp, 760]
mov w0, 6
str w0, [sp, 768]
adrp x0, .LC51
add x0, x0, :lo12:.LC51
str x0, [sp, 776]
adrp x0, .LC84
add x0, x0, :lo12:.LC84
str x0, [sp, 792]
mov w0, 1
strb w0, [sp, 804]
adrp x0, .LC56
add x0, x0, :lo12:.LC56
str x0, [sp, 808]
mov w0, 1
strb w0, [sp, 820]
adrp x0, .LC53
add x0, x0, :lo12:.LC53
str x0, [sp, 824]
mov w0, 6
str w0, [sp, 832]
adrp x0, .LC54
add x0, x0, :lo12:.LC54
str x0, [sp, 840]
mov w0, 6
str w0, [sp, 848]
add x0, sp, 1272
str x0, [sp, 856]
mov w0, 6
str w0, [sp, 864]
adrp x0, .LC58
add x0, x0, :lo12:.LC58
str x0, [sp, 872]
mov w0, 6
str w0, [sp, 880]
adrp x0, .LC85
add x0, x0, :lo12:.LC85
str x0, [sp, 888]
mov w0, 6
str w0, [sp, 896]
adrp x0, .LC86
add x0, x0, :lo12:.LC86
str x0, [sp, 904]
mov w0, 6
str w0, [sp, 912]
adrp x0, .LC87
add x0, x0, :lo12:.LC87
str x0, [sp, 920]
mov w0, 6
str w0, [sp, 928]
adrp x0, .LC88
add x0, x0, :lo12:.LC88
str x0, [sp, 936]
mov w0, 6
str w0, [sp, 944]
adrp x0, .LC89
add x0, x0, :lo12:.LC89
str x0, [sp, 952]
mov w0, 6
str w0, [sp, 960]
adrp x0, .LC90
add x0, x0, :lo12:.LC90
str x0, [sp, 968]
mov w0, 6
str w0, [sp, 976]
adrp x0, .LC91
add x0, x0, :lo12:.LC91
str x0, [sp, 984]
mov w0, 6
str w0, [sp, 992]
adrp x0, .LC92
add x0, x0, :lo12:.LC92
str x0, [sp, 1000]
mov w0, 6
str w0, [sp, 1008]
adrp x0, .LC93
add x0, x0, :lo12:.LC93
str x0, [sp, 1016]
mov w0, 6
str w0, [sp, 1024]
adrp x0, .LC94
add x0, x0, :lo12:.LC94
str x0, [sp, 1032]
mov w0, 6
str w0, [sp, 1040]
adrp x0, .LC95
add x0, x0, :lo12:.LC95
str x0, [sp, 1048]
mov w0, 6
str w0, [sp, 1056]
adrp x0, .LC96
add x0, x0, :lo12:.LC96
str x0, [sp, 1064]
mov w0, 6
str w0, [sp, 1072]
adrp x0, .LC97
add x0, x0, :lo12:.LC97
str x0, [sp, 1080]
mov w0, 6
str w0, [sp, 1088]
adrp x0, .LC98
add x0, x0, :lo12:.LC98
str x0, [sp, 1096]
mov w0, 6
str w0, [sp, 1104]
adrp x0, .LC99
add x0, x0, :lo12:.LC99
str x0, [sp, 1112]
mov w0, 6
str w0, [sp, 1120]
adrp x0, .LC100
add x0, x0, :lo12:.LC100
str x0, [sp, 1128]
mov w0, 6
str w0, [sp, 1136]
adrp x0, .LC101
add x0, x0, :lo12:.LC101
str x0, [sp, 1144]
mov w0, 6
str w0, [sp, 1152]
adrp x0, .LC102
add x0, x0, :lo12:.LC102
str x0, [sp, 1160]
mov w0, 6
str w0, [sp, 1168]
adrp x0, .LC103
add x0, x0, :lo12:.LC103
str x0, [sp, 1176]
mov w0, 6
str w0, [sp, 1184]
adrp x0, .LC104
add x0, x0, :lo12:.LC104
str x0, [sp, 1192]
mov w0, 6
str w0, [sp, 1200]
adrp x0, .LC105
add x0, x0, :lo12:.LC105
str x0, [sp, 1208]
mov w0, 6
str w0, [sp, 1216]
adrp x0, .LC59
add x0, x0, :lo12:.LC59
str x0, [sp, 1224]
adrp x0, .LC60
add x0, x0, :lo12:.LC60
str x0, [sp, 1240]
adrp x0, .LC61
add x0, x0, :lo12:.LC61
str x0, [sp, 1256]
mov w2, 0
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L178
mov w0, 1
bl exit
.L178:
str wzr, [sp, 24]
b .L179
.L180:
ldr w0, [sp, 24]
lsl x0, x0, 4
add x1, sp, 88
ldr x2, [x1, x0]
ldr w0, [sp, 24]
lsl x0, x0, 4
add x1, sp, 96
ldr x0, [x1, x0]
mov x3, x0
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_device
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L179:
ldr w0, [sp, 24]
cmp w0, 15
bls .L180
str wzr, [sp, 24]
b .L181
.L182:
sub x0, sp, #584
add x0, x0, 640
ldr w1, [sp, 24]
ldr x0, [x0, x1, lsl 3]
add x3, sp, 1320
mov x2, x0
adrp x0, .LC106
add x1, x0, :lo12:.LC106
mov x0, x3
bl sprintf
sub x0, sp, #584
add x0, x0, 640
ldr w1, [sp, 24]
ldr x0, [x0, x1, lsl 3]
add x3, sp, 1352
mov x2, x0
adrp x0, .LC107
add x1, x0, :lo12:.LC107
mov x0, x3
bl sprintf
add x1, sp, 1352
add x0, sp, 1320
mov x3, x1
mov x2, x0
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_veth
sub x0, sp, #584
add x0, x0, 640
ldr w1, [sp, 24]
ldr x0, [x0, x1, lsl 3]
add x3, sp, 1384
mov x2, x0
adrp x0, .LC108
add x1, x0, :lo12:.LC108
mov x0, x3
bl sprintf
sub x0, sp, #584
add x0, x0, 640
ldr w1, [sp, 24]
ldr x0, [x0, x1, lsl 3]
add x3, sp, 1416
mov x2, x0
adrp x0, .LC109
add x1, x0, :lo12:.LC109
mov x0, x3
bl sprintf
add x1, sp, 1416
add x0, sp, 1384
mov x3, x1
mov x2, x0
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_veth
sub x0, sp, #584
add x0, x0, 640
ldr w1, [sp, 24]
ldr x0, [x0, x1, lsl 3]
add x3, sp, 1288
mov x2, x0
adrp x0, .LC110
add x1, x0, :lo12:.LC110
mov x0, x3
bl sprintf
add x1, sp, 1288
add x0, sp, 1320
mov x7, 0
mov w6, 0
mov x5, 0
mov x4, x1
mov w3, 0
mov x2, x0
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_device_change
add x1, sp, 1288
add x0, sp, 1384
mov x7, 0
mov w6, 0
mov x5, 0
mov x4, x1
mov w3, 0
mov x2, x0
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_device_change
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L181:
ldr w0, [sp, 24]
cmp w0, 3
bls .L182
mov x7, 0
mov w6, 0
mov x5, 0
mov x4, 0
mov w3, 1
adrp x0, .LC111
add x2, x0, :lo12:.LC111
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_device_change
mov x7, 0
mov w6, 0
mov x5, 0
mov x4, 0
mov w3, 1
adrp x0, .LC112
add x2, x0, :lo12:.LC112
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_device_change
adrp x0, .LC81
add x3, x0, :lo12:.LC81
adrp x0, .LC113
add x2, x0, :lo12:.LC113
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_veth
adrp x0, .LC82
add x3, x0, :lo12:.LC82
adrp x0, .LC114
add x2, x0, :lo12:.LC114
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_veth
adrp x0, .LC114
add x4, x0, :lo12:.LC114
adrp x0, .LC113
add x3, x0, :lo12:.LC113
adrp x0, .LC83
add x2, x0, :lo12:.LC83
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_hsr
mov x7, 0
mov w6, 0
mov x5, 0
mov x4, 0
mov w3, 1
adrp x0, .LC113
add x2, x0, :lo12:.LC113
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_device_change
mov x7, 0
mov w6, 0
mov x5, 0
mov x4, 0
mov w3, 1
adrp x0, .LC114
add x2, x0, :lo12:.LC114
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_device_change
adrp x0, .LC86
add x3, x0, :lo12:.LC86
adrp x0, .LC85
add x2, x0, :lo12:.LC85
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_veth
adrp x0, .LC86
add x4, x0, :lo12:.LC86
adrp x0, .LC87
add x3, x0, :lo12:.LC87
adrp x0, .LC115
add x2, x0, :lo12:.LC115
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_linked
adrp x0, .LC89
add x3, x0, :lo12:.LC89
adrp x0, .LC88
add x2, x0, :lo12:.LC88
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_veth
mov w0, -32512
bl htons
and w0, w0, 65535
mov w5, w0
mov w4, 0
adrp x0, .LC88
add x3, x0, :lo12:.LC88
adrp x0, .LC90
add x2, x0, :lo12:.LC90
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_vlan
mov w0, -30552
bl htons
and w0, w0, 65535
mov w5, w0
mov w4, 1
adrp x0, .LC88
add x3, x0, :lo12:.LC88
adrp x0, .LC91
add x2, x0, :lo12:.LC91
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_vlan
adrp x0, .LC89
add x3, x0, :lo12:.LC89
adrp x0, .LC92
add x2, x0, :lo12:.LC92
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_macvlan
adrp x0, .LC89
add x3, x0, :lo12:.LC89
adrp x0, .LC93
add x2, x0, :lo12:.LC93
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_macvlan
mov w5, 0
mov w4, 0
adrp x0, .LC88
add x3, x0, :lo12:.LC88
adrp x0, .LC94
add x2, x0, :lo12:.LC94
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_ipvlan
mov w5, 2
mov w4, 2
adrp x0, .LC88
add x3, x0, :lo12:.LC88
adrp x0, .LC95
add x2, x0, :lo12:.LC95
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_ipvlan
adrp x0, .LC97
add x3, x0, :lo12:.LC97
adrp x0, .LC96
add x2, x0, :lo12:.LC96
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_veth
adrp x0, .LC96
add x4, x0, :lo12:.LC96
adrp x0, .LC98
add x3, x0, :lo12:.LC98
adrp x0, .LC116
add x2, x0, :lo12:.LC116
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_linked
adrp x0, .LC97
add x4, x0, :lo12:.LC97
adrp x0, .LC99
add x3, x0, :lo12:.LC99
adrp x0, .LC117
add x2, x0, :lo12:.LC117
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_linked
add x3, sp, 1384
mov w2, 24
adrp x0, .LC118
add x1, x0, :lo12:.LC118
mov x0, x3
bl sprintf
add x1, sp, 16
add x0, sp, 1384
mov x2, x1
mov x1, x0
mov w0, 2
bl inet_pton
cmp w0, 0
bgt .L183
mov w0, 1
bl exit
.L183:
add x0, sp, 40
mov x2, x0
adrp x0, .LC119
add x1, x0, :lo12:.LC119
mov w0, 10
bl inet_pton
cmp w0, 0
bgt .L184
mov w0, 1
bl exit
.L184:
add x0, sp, 16
mov x5, 0
mov x4, x0
mov w3, 0
adrp x0, .LC104
add x2, x0, :lo12:.LC104
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_geneve
add x0, sp, 40
mov x5, x0
mov x4, 0
mov w3, 1
adrp x0, .LC105
add x2, x0, :lo12:.LC105
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_geneve
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
mov w1, 4
bl netdevsim_add
bl netlink_wireguard_setup
str wzr, [sp, 24]
b .L185
.L187:
ldr w0, [sp, 24]
add w0, w0, 10
add x3, sp, 1416
mov w2, w0
adrp x0, .LC118
add x1, x0, :lo12:.LC118
mov x0, x3
bl sprintf
ldr w0, [sp, 24]
lsl x0, x0, 4
add x1, sp, 344
ldr x0, [x1, x0]
add x1, sp, 1416
mov x3, x1
mov x2, x0
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_addr4
ldr w0, [sp, 24]
lsl x0, x0, 4
add x1, sp, 356
ldrb w0, [x1, x0]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L186
ldr w0, [sp, 24]
add w0, w0, 10
add x3, sp, 1416
mov w2, w0
adrp x0, .LC120
add x1, x0, :lo12:.LC120
mov x0, x3
bl sprintf
ldr w0, [sp, 24]
lsl x0, x0, 4
add x1, sp, 344
ldr x0, [x1, x0]
add x1, sp, 1416
mov x3, x1
mov x2, x0
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_addr6
.L186:
ldr w0, [sp, 24]
add x0, x0, 10
lsl x1, x0, 40
mov w0, 2863311530
movk x0, 0xaa, lsl 32
add x0, x1, x0
str x0, [sp, 32]
ldr w0, [sp, 24]
lsl x0, x0, 4
add x1, sp, 344
ldr x2, [x1, x0]
ldr w0, [sp, 24]
lsl x0, x0, 4
add x1, sp, 352
ldr w1, [x1, x0]
add x0, sp, 32
mov x7, 0
mov w6, w1
mov x5, x0
mov x4, 0
mov w3, 1
ldr w1, [sp, 28]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_device_change
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L185:
ldr w0, [sp, 24]
cmp w0, 57
bls .L187
ldr w0, [sp, 28]
bl close
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1448]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L188
bl __stack_chk_fail
.L188:
ldp x29, x30, [sp]
add sp, sp, 1456
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE76:
.size initialize_netdevices, .-initialize_netdevices
.data
.align 3
.LC62:
.xword .LC1
.xword .LC2
.xword .LC3
.xword .LC4
.text
.section .rodata
.align 3
.LC121:
.string "nr"
.align 3
.LC122:
.string "rose"
.align 3
.LC123:
.string "172.30.%d.%d"
.align 3
.LC124:
.string "fe88::%02x:%02x"
.text
.align 2
.type initialize_netdevices_init, %function
initialize_netdevices_init:
.LFB77:
.cfi_startproc
stp x29, x30, [sp, -144]!
.cfi_def_cfa_offset 144
.cfi_offset 29, -144
.cfi_offset 30, -136
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 136]
mov x1, 0
mov w2, 0
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 24]
ldr w0, [sp, 24]
cmn w0, #1
bne .L190
mov w0, 1
bl exit
.L190:
stp xzr, xzr, [sp, 40]
stp xzr, xzr, [sp, 56]
adrp x0, .LC121
add x0, x0, :lo12:.LC121
str x0, [sp, 40]
mov w0, 7
str w0, [sp, 48]
mov w0, 1
strb w0, [sp, 52]
adrp x0, .LC122
add x0, x0, :lo12:.LC122
str x0, [sp, 56]
mov w0, 5
str w0, [sp, 64]
mov w0, 1
strb w0, [sp, 68]
mov w0, 1
strb w0, [sp, 69]
str wzr, [sp, 20]
b .L191
.L193:
ldr w0, [sp, 20]
lsl x0, x0, 4
add x1, sp, 40
ldr x1, [x1, x0]
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x4, sp, 72
mov w3, w0
mov x2, x1
adrp x0, .LC25
add x1, x0, :lo12:.LC25
mov x0, x4
bl sprintf
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add w0, w0, 1
add x4, sp, 104
mov w3, w0
ldr w2, [sp, 20]
adrp x0, .LC123
add x1, x0, :lo12:.LC123
mov x0, x4
bl sprintf
add x1, sp, 104
add x0, sp, 72
mov x3, x1
mov x2, x0
ldr w1, [sp, 24]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_addr4
ldr w0, [sp, 20]
lsl x0, x0, 4
add x1, sp, 52
ldrb w0, [x1, x0]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
beq .L192
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add w0, w0, 1
add x4, sp, 104
mov w3, w0
ldr w2, [sp, 20]
adrp x0, .LC124
add x1, x0, :lo12:.LC124
mov x0, x4
bl sprintf
add x1, sp, 104
add x0, sp, 72
mov x3, x1
mov x2, x0
ldr w1, [sp, 24]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_add_addr6
.L192:
ldr w0, [sp, 20]
lsl x0, x0, 4
add x1, sp, 48
ldr w0, [x1, x0]
str w0, [sp, 28]
ldr w1, [sp, 20]
ldr w0, [sp, 28]
sub w0, w0, #2
lsl w0, w0, 3
lsl x1, x1, x0
adrp x0, procid
add x0, x0, :lo12:procid
ldr x2, [x0]
ldr w0, [sp, 28]
sub w0, w0, #1
lsl w0, w0, 3
lsl x0, x2, x0
add x1, x1, x0
mov x0, 48059
movk x0, 0xbb, lsl 16
add x0, x1, x0
str x0, [sp, 32]
ldr w0, [sp, 20]
lsl x0, x0, 4
add x1, sp, 53
ldrb w0, [x1, x0]
cmp w0, 0
cset w0, ne
and w0, w0, 255
eor w0, w0, 1
and w0, w0, 255
and w0, w0, 1
and w2, w0, 255
add x1, sp, 32
add x0, sp, 72
mov x7, 0
ldr w6, [sp, 28]
mov x5, x1
mov x4, 0
mov w3, w2
mov x2, x0
ldr w1, [sp, 24]
adrp x0, nlmsg
add x0, x0, :lo12:nlmsg
bl netlink_device_change
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L191:
ldr w0, [sp, 20]
cmp w0, 1
bls .L193
ldr w0, [sp, 24]
bl close
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 .L194
bl __stack_chk_fail
.L194:
ldp x29, x30, [sp], 144
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE77:
.size initialize_netdevices_init, .-initialize_netdevices_init
.align 2
.type read_tun, %function
read_tun:
.LFB78:
.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]
adrp x0, tunfd
add x0, x0, :lo12:tunfd
ldr w0, [x0]
cmp w0, 0
bge .L196
mov w0, -1
b .L197
.L196:
adrp x0, tunfd
add x0, x0, :lo12:tunfd
ldr w0, [x0]
ldrsw x1, [sp, 20]
mov x2, x1
ldr x1, [sp, 24]
bl read
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 0
bge .L198
bl __errno_location
ldr w0, [x0]
cmp w0, 11
bne .L199
mov w0, -1
b .L197
.L199:
bl __errno_location
ldr w0, [x0]
cmp w0, 77
bne .L200
mov w0, -1
b .L197
.L200:
mov w0, 1
bl exit
.L198:
ldr w0, [sp, 44]
.L197:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE78:
.size read_tun, .-read_tun
.align 2
.type flush_tun, %function
flush_tun:
.LFB79:
.cfi_startproc
sub sp, sp, #1024
.cfi_def_cfa_offset 1024
stp x29, x30, [sp]
.cfi_offset 29, -1024
.cfi_offset 30, -1016
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1016]
mov x1, 0
nop
.L202:
add x0, sp, 16
mov w1, 1000
bl read_tun
cmn w0, #1
bne .L202
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1016]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L203
bl __stack_chk_fail
.L203:
ldp x29, x30, [sp]
add sp, sp, 1024
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE79:
.size flush_tun, .-flush_tun
.section .rodata
.align 3
.LC125:
.string "filter"
.align 3
.LC126:
.string "nat"
.align 3
.LC127:
.string "mangle"
.align 3
.LC128:
.string "raw"
.align 3
.LC129:
.string "security"
.section .data.rel.local,"aw"
.align 3
.type ipv4_tables, %object
.size ipv4_tables, 8640
ipv4_tables:
.xword .LC125
.zero 1720
.xword .LC126
.zero 1720
.xword .LC127
.zero 1720
.xword .LC128
.zero 1720
.xword .LC129
.zero 1720
.align 3
.type ipv6_tables, %object
.size ipv6_tables, 8640
ipv6_tables:
.xword .LC125
.zero 1720
.xword .LC126
.zero 1720
.xword .LC127
.zero 1720
.xword .LC128
.zero 1720
.xword .LC129
.zero 1720
.align 3
.type arpt_tables, %object
.size arpt_tables, 1696
arpt_tables:
.xword .LC125
.zero 1688
.text
.align 2
.type checkpoint_iptables, %function
checkpoint_iptables:
.LFB80:
.cfi_startproc
sub sp, sp, #1664
.cfi_def_cfa_offset 1664
stp x29, x30, [sp]
.cfi_offset 29, -1664
.cfi_offset 30, -1656
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1656]
mov x1, 0
mov w2, 6
mov w1, 1
ldr w0, [sp, 32]
bl socket
str w0, [sp, 68]
ldr w0, [sp, 68]
cmn w0, #1
bne .L205
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L220
cmp w0, 97
beq .L220
mov w0, 1
bl exit
.L205:
str wzr, [sp, 64]
b .L209
.L218:
ldrsw x1, [sp, 64]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 6
mov x1, x0
ldr x0, [sp, 40]
add x0, x0, x1
str x0, [sp, 72]
ldr x0, [sp, 72]
add x2, x0, 8
ldr x0, [sp, 72]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
ldr x0, [sp, 72]
add x2, x0, 96
ldr x0, [sp, 72]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
mov w0, 84
str w0, [sp, 60]
ldr x0, [sp, 72]
add x0, x0, 8
add x1, sp, 60
mov x4, x1
mov x3, x0
mov w2, 64
ldr w1, [sp, 28]
ldr w0, [sp, 68]
bl getsockopt
cmp w0, 0
beq .L210
bl __errno_location
ldr w0, [x0]
cmp w0, 2
bgt .L211
cmp w0, 0
bgt .L221
b .L213
.L211:
cmp w0, 92
beq .L221
.L213:
mov w0, 1
bl exit
.L210:
ldr x0, [sp, 72]
ldr w0, [x0, 88]
cmp w0, 1536
bls .L215
mov w0, 1
bl exit
.L215:
ldr x0, [sp, 72]
ldr w0, [x0, 84]
cmp w0, 10
bls .L216
mov w0, 1
bl exit
.L216:
add x0, sp, 80
mov x2, 1576
mov w1, 0
bl memset
ldr x0, [sp, 72]
ldr x1, [x0]
add x0, sp, 80
bl strcpy
ldr x0, [sp, 72]
ldr w0, [x0, 88]
str w0, [sp, 112]
ldr x0, [sp, 72]
ldr w0, [x0, 88]
add w0, w0, 40
str w0, [sp, 60]
add x1, sp, 60
add x0, sp, 80
mov x4, x1
mov x3, x0
mov w2, 65
ldr w1, [sp, 28]
ldr w0, [sp, 68]
bl getsockopt
cmp w0, 0
beq .L217
mov w0, 1
bl exit
.L217:
ldr x0, [sp, 72]
ldr w1, [x0, 40]
ldr x0, [sp, 72]
str w1, [x0, 128]
ldr x0, [sp, 72]
ldr w1, [x0, 84]
ldr x0, [sp, 72]
str w1, [x0, 132]
ldr x0, [sp, 72]
ldr w1, [x0, 88]
ldr x0, [sp, 72]
str w1, [x0, 136]
ldr x0, [sp, 72]
add x3, x0, 140
ldr x0, [sp, 72]
add x0, x0, 44
mov x2, 20
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 72]
add x3, x0, 160
ldr x0, [sp, 72]
add x0, x0, 64
mov x2, 20
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 72]
add x3, x0, 192
ldr x0, [sp, 72]
ldr w0, [x0, 88]
uxtw x1, w0
add x0, sp, 80
add x0, x0, 40
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
b .L214
.L221:
nop
.L214:
ldr w0, [sp, 64]
add w0, w0, 1
str w0, [sp, 64]
.L209:
ldr w1, [sp, 64]
ldr w0, [sp, 36]
cmp w1, w0
blt .L218
ldr w0, [sp, 68]
bl close
b .L204
.L220:
nop
.L204:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1656]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L219
bl __stack_chk_fail
.L219:
ldp x29, x30, [sp]
add sp, sp, 1664
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE80:
.size checkpoint_iptables, .-checkpoint_iptables
.align 2
.type reset_iptables, %function
reset_iptables:
.LFB81:
.cfi_startproc
sub sp, sp, #1904
.cfi_def_cfa_offset 1904
stp x29, x30, [sp]
.cfi_offset 29, -1904
.cfi_offset 30, -1896
mov x29, sp
str x0, [sp, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1896]
mov x1, 0
mov w2, 6
mov w1, 1
ldr w0, [sp, 32]
bl socket
str w0, [sp, 60]
ldr w0, [sp, 60]
cmn w0, #1
bne .L223
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L235
cmp w0, 97
beq .L235
mov w0, 1
bl exit
.L223:
str wzr, [sp, 56]
b .L227
.L233:
ldrsw x1, [sp, 56]
mov x0, x1
lsl x0, x0, 3
sub x0, x0, x1
lsl x0, x0, 2
sub x0, x0, x1
lsl x0, x0, 6
mov x1, x0
ldr x0, [sp, 40]
add x0, x0, x1
str x0, [sp, 64]
ldr x0, [sp, 64]
ldr w0, [x0, 40]
cmp w0, 0
beq .L236
add x0, sp, 72
mov x2, 84
mov w1, 0
bl memset
ldr x0, [sp, 64]
ldr x1, [x0]
add x0, sp, 72
bl strcpy
mov w0, 84
str w0, [sp, 52]
add x1, sp, 52
add x0, sp, 72
mov x4, x1
mov x3, x0
mov w2, 64
ldr w1, [sp, 28]
ldr w0, [sp, 60]
bl getsockopt
cmp w0, 0
beq .L230
mov w0, 1
bl exit
.L230:
ldr x0, [sp, 64]
add x0, x0, 8
add x1, sp, 72
mov x2, 84
bl memcmp
cmp w0, 0
bne .L231
add x0, sp, 320
mov x2, 1576
mov w1, 0
bl memset
ldr x0, [sp, 64]
ldr x1, [x0]
add x0, sp, 320
bl strcpy
ldr x0, [sp, 64]
ldr w0, [x0, 88]
str w0, [sp, 352]
ldr w0, [sp, 352]
add w0, w0, 40
str w0, [sp, 52]
add x1, sp, 52
add x0, sp, 320
mov x4, x1
mov x3, x0
mov w2, 65
ldr w1, [sp, 28]
ldr w0, [sp, 60]
bl getsockopt
cmp w0, 0
beq .L232
mov w0, 1
bl exit
.L232:
ldr x0, [sp, 64]
add x3, x0, 192
ldr x0, [sp, 64]
ldr w0, [x0, 88]
uxtw x1, w0
add x0, sp, 320
add x0, x0, 40
mov x2, x1
mov x1, x0
mov x0, x3
bl memcmp
cmp w0, 0
beq .L237
.L231:
ldr w1, [sp, 148]
ldr x0, [sp, 64]
str w1, [x0, 180]
ldr x0, [sp, 64]
add x1, sp, 160
str x1, [x0, 184]
ldr x0, [sp, 64]
ldr w0, [x0, 136]
add w0, w0, 96
str w0, [sp, 52]
ldr x0, [sp, 64]
add x0, x0, 96
ldr w1, [sp, 52]
mov w4, w1
mov x3, x0
mov w2, 64
ldr w1, [sp, 28]
ldr w0, [sp, 60]
bl setsockopt
cmp w0, 0
beq .L229
mov w0, 1
bl exit
.L236:
nop
b .L229
.L237:
nop
.L229:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L227:
ldr w1, [sp, 56]
ldr w0, [sp, 36]
cmp w1, w0
blt .L233
ldr w0, [sp, 60]
bl close
b .L222
.L235:
nop
.L222:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1896]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L234
bl __stack_chk_fail
.L234:
ldp x29, x30, [sp]
add sp, sp, 1904
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE81:
.size reset_iptables, .-reset_iptables
.align 2
.type checkpoint_arptables, %function
checkpoint_arptables:
.LFB82:
.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
mov w2, 6
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
bne .L239
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L254
cmp w0, 97
beq .L254
mov w0, 1
bl exit
.L239:
str wzr, [sp, 32]
b .L243
.L252:
ldr w1, [sp, 32]
mov x0, 1696
mul x1, x1, x0
adrp x0, arpt_tables
add x0, x0, :lo12:arpt_tables
add x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 40]
add x2, x0, 8
ldr x0, [sp, 40]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
ldr x0, [sp, 40]
add x2, x0, 80
ldr x0, [sp, 40]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
mov w0, 68
str w0, [sp, 28]
ldr x0, [sp, 40]
add x0, x0, 8
add x1, sp, 28
mov x4, x1
mov x3, x0
mov w2, 96
mov w1, 0
ldr w0, [sp, 36]
bl getsockopt
cmp w0, 0
beq .L244
bl __errno_location
ldr w0, [x0]
cmp w0, 2
bgt .L245
cmp w0, 0
bgt .L255
b .L247
.L245:
cmp w0, 92
beq .L255
.L247:
mov w0, 1
bl exit
.L244:
ldr x0, [sp, 40]
ldr w0, [x0, 72]
cmp w0, 1536
bls .L249
mov w0, 1
bl exit
.L249:
ldr x0, [sp, 40]
ldr w0, [x0, 68]
cmp w0, 10
bls .L250
mov w0, 1
bl exit
.L250:
add x0, sp, 48
mov x2, 1576
mov w1, 0
bl memset
ldr x0, [sp, 40]
ldr x1, [x0]
add x0, sp, 48
bl strcpy
ldr x0, [sp, 40]
ldr w0, [x0, 72]
str w0, [sp, 80]
ldr x0, [sp, 40]
ldr w0, [x0, 72]
add w0, w0, 40
str w0, [sp, 28]
add x1, sp, 28
add x0, sp, 48
mov x4, x1
mov x3, x0
mov w2, 97
mov w1, 0
ldr w0, [sp, 36]
bl getsockopt
cmp w0, 0
beq .L251
mov w0, 1
bl exit
.L251:
ldr x0, [sp, 40]
ldr w1, [x0, 40]
ldr x0, [sp, 40]
str w1, [x0, 112]
ldr x0, [sp, 40]
ldr w1, [x0, 68]
ldr x0, [sp, 40]
str w1, [x0, 116]
ldr x0, [sp, 40]
ldr w1, [x0, 72]
ldr x0, [sp, 40]
str w1, [x0, 120]
ldr x0, [sp, 40]
add x3, x0, 124
ldr x0, [sp, 40]
add x0, x0, 44
mov x2, 12
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 40]
add x3, x0, 136
ldr x0, [sp, 40]
add x0, x0, 56
mov x2, 12
mov x1, x0
mov x0, x3
bl memcpy
ldr x0, [sp, 40]
add x3, x0, 160
ldr x0, [sp, 40]
ldr w0, [x0, 72]
uxtw x1, w0
add x0, sp, 48
add x0, x0, 40
mov x2, x1
mov x1, x0
mov x0, x3
bl memcpy
b .L248
.L255:
nop
.L248:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L243:
ldr w0, [sp, 32]
cmp w0, 0
beq .L252
ldr w0, [sp, 36]
bl close
b .L238
.L254:
nop
.L238:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1624]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L253
bl __stack_chk_fail
.L253:
ldp x29, x30, [sp]
add sp, sp, 1632
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE82:
.size checkpoint_arptables, .-checkpoint_arptables
.align 2
.type reset_arptables, %function
reset_arptables:
.LFB83:
.cfi_startproc
sub sp, sp, #1856
.cfi_def_cfa_offset 1856
stp x29, x30, [sp]
.cfi_offset 29, -1856
.cfi_offset 30, -1848
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1848]
mov x1, 0
mov w2, 6
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L257
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L269
cmp w0, 97
beq .L269
mov w0, 1
bl exit
.L257:
str wzr, [sp, 24]
b .L261
.L267:
ldr w1, [sp, 24]
mov x0, 1696
mul x1, x1, x0
adrp x0, arpt_tables
add x0, x0, :lo12:arpt_tables
add x0, x1, x0
str x0, [sp, 32]
ldr x0, [sp, 32]
ldr w0, [x0, 40]
cmp w0, 0
beq .L270
add x0, sp, 40
mov x2, 68
mov w1, 0
bl memset
ldr x0, [sp, 32]
ldr x1, [x0]
add x0, sp, 40
bl strcpy
mov w0, 68
str w0, [sp, 20]
add x1, sp, 20
add x0, sp, 40
mov x4, x1
mov x3, x0
mov w2, 96
mov w1, 0
ldr w0, [sp, 28]
bl getsockopt
cmp w0, 0
beq .L264
mov w0, 1
bl exit
.L264:
ldr x0, [sp, 32]
add x0, x0, 8
add x1, sp, 40
mov x2, 68
bl memcmp
cmp w0, 0
bne .L265
add x0, sp, 272
mov x2, 1576
mov w1, 0
bl memset
ldr x0, [sp, 32]
ldr x1, [x0]
add x0, sp, 272
bl strcpy
ldr x0, [sp, 32]
ldr w0, [x0, 72]
str w0, [sp, 304]
ldr w0, [sp, 304]
add w0, w0, 40
str w0, [sp, 20]
add x1, sp, 20
add x0, sp, 272
mov x4, x1
mov x3, x0
mov w2, 97
mov w1, 0
ldr w0, [sp, 28]
bl getsockopt
cmp w0, 0
beq .L266
mov w0, 1
bl exit
.L266:
ldr x0, [sp, 32]
add x3, x0, 160
ldr x0, [sp, 32]
ldr w0, [x0, 72]
uxtw x1, w0
add x0, sp, 272
add x0, x0, 40
mov x2, x1
mov x1, x0
mov x0, x3
bl memcmp
cmp w0, 0
beq .L271
.L265:
ldr w1, [sp, 100]
ldr x0, [sp, 32]
str w1, [x0, 148]
ldr x0, [sp, 32]
add x1, sp, 112
str x1, [x0, 152]
ldr x0, [sp, 32]
ldr w0, [x0, 120]
add w0, w0, 80
str w0, [sp, 20]
ldr x0, [sp, 32]
add x0, x0, 80
ldr w1, [sp, 20]
mov w4, w1
mov x3, x0
mov w2, 96
mov w1, 0
ldr w0, [sp, 28]
bl setsockopt
cmp w0, 0
beq .L263
mov w0, 1
bl exit
.L270:
nop
b .L263
.L271:
nop
.L263:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L261:
ldr w0, [sp, 24]
cmp w0, 0
beq .L267
ldr w0, [sp, 28]
bl close
b .L256
.L269:
nop
.L256:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1848]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L268
bl __stack_chk_fail
.L268:
ldp x29, x30, [sp]
add sp, sp, 1856
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE83:
.size reset_arptables, .-reset_arptables
.section .rodata
.align 3
.LC130:
.string "broute"
.section .data.rel.local
.align 3
.type ebt_tables, %object
.size ebt_tables, 4992
ebt_tables:
.xword .LC125
.zero 1656
.xword .LC126
.zero 1656
.xword .LC130
.zero 1656
.text
.align 2
.type checkpoint_ebtables, %function
checkpoint_ebtables:
.LFB84:
.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 w2, 6
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 28]
ldr w0, [sp, 28]
cmn w0, #1
bne .L273
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L286
cmp w0, 97
beq .L286
mov w0, 1
bl exit
.L273:
str wzr, [sp, 24]
b .L277
.L284:
ldr w1, [sp, 24]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 7
adrp x1, ebt_tables
add x1, x1, :lo12:ebt_tables
add x0, x0, x1
str x0, [sp, 32]
ldr x0, [sp, 32]
add x2, x0, 8
ldr x0, [sp, 32]
ldr x0, [x0]
mov x1, x0
mov x0, x2
bl strcpy
mov w0, 120
str w0, [sp, 20]
ldr x0, [sp, 32]
add x0, x0, 8
add x1, sp, 20
mov x4, x1
mov x3, x0
mov w2, 130
mov w1, 0
ldr w0, [sp, 28]
bl getsockopt
cmp w0, 0
beq .L278
bl __errno_location
ldr w0, [x0]
cmp w0, 2
bgt .L279
cmp w0, 0
bgt .L287
b .L281
.L279:
cmp w0, 92
beq .L287
.L281:
mov w0, 1
bl exit
.L278:
ldr x0, [sp, 32]
ldr w0, [x0, 48]
cmp w0, 1536
bls .L283
mov w0, 1
bl exit
.L283:
ldr x0, [sp, 32]
str wzr, [x0, 104]
ldr x0, [sp, 32]
add x1, x0, 128
ldr x0, [sp, 32]
str x1, [x0, 120]
ldr x0, [sp, 32]
ldr w0, [x0, 48]
add w0, w0, 120
str w0, [sp, 20]
ldr x0, [sp, 32]
add x0, x0, 8
add x1, sp, 20
mov x4, x1
mov x3, x0
mov w2, 131
mov w1, 0
ldr w0, [sp, 28]
bl getsockopt
cmp w0, 0
beq .L282
mov w0, 1
bl exit
.L287:
nop
.L282:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L277:
ldr w0, [sp, 24]
cmp w0, 2
bls .L284
ldr w0, [sp, 28]
bl close
b .L272
.L286:
nop
.L272:
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 .L285
bl __stack_chk_fail
.L285:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE84:
.size checkpoint_ebtables, .-checkpoint_ebtables
.align 2
.type reset_ebtables, %function
reset_ebtables:
.LFB85:
.cfi_startproc
sub sp, sp, #1712
.cfi_def_cfa_offset 1712
stp x29, x30, [sp]
.cfi_offset 29, -1712
.cfi_offset 30, -1704
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1704]
mov x1, 0
mov w2, 6
mov w1, 1
mov w0, 2
bl socket
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
bne .L289
bl __errno_location
ldr w0, [x0]
cmp w0, 92
beq .L306
cmp w0, 97
beq .L306
mov w0, 1
bl exit
.L289:
str wzr, [sp, 24]
b .L293
.L304:
ldr w1, [sp, 24]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 2
add x0, x0, x1
lsl x0, x0, 7
adrp x1, ebt_tables
add x1, x1, :lo12:ebt_tables
add x0, x0, x1
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0, 40]
cmp w0, 0
beq .L307
add x0, sp, 48
mov x2, 120
mov w1, 0
bl memset
ldr x0, [sp, 40]
ldr x1, [x0]
add x0, sp, 48
bl strcpy
mov w0, 120
str w0, [sp, 20]
add x1, sp, 20
add x0, sp, 48
mov x4, x1
mov x3, x0
mov w2, 128
mov w1, 0
ldr w0, [sp, 36]
bl getsockopt
cmp w0, 0
beq .L296
mov w0, 1
bl exit
.L296:
str wzr, [sp, 144]
ldr x0, [sp, 40]
str xzr, [x0, 120]
str wzr, [sp, 32]
b .L297
.L298:
ldr x1, [sp, 40]
ldr w0, [sp, 32]
add x0, x0, 6
lsl x0, x0, 3
add x0, x1, x0
str xzr, [x0, 8]
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L297:
ldr w0, [sp, 32]
cmp w0, 5
bls .L298
ldr x0, [sp, 40]
add x0, x0, 8
add x1, sp, 48
mov x2, 120
bl memcmp
cmp w0, 0
bne .L299
add x0, sp, 168
mov x2, 1536
mov w1, 0
bl memset
add x0, sp, 168
str x0, [sp, 160]
ldr w0, [sp, 88]
add w0, w0, 120
str w0, [sp, 20]
add x1, sp, 20
add x0, sp, 48
mov x4, x1
mov x3, x0
mov w2, 129
mov w1, 0
ldr w0, [sp, 36]
bl getsockopt
cmp w0, 0
beq .L300
mov w0, 1
bl exit
.L300:
ldr x0, [sp, 40]
add x0, x0, 128
ldr w1, [sp, 88]
uxtw x2, w1
add x1, sp, 168
bl memcmp
cmp w0, 0
beq .L308
.L299:
str wzr, [sp, 28]
str wzr, [sp, 32]
b .L301
.L303:
ldr x0, [sp, 40]
ldr w0, [x0, 40]
ldr w1, [sp, 32]
mov w2, 1
lsl w1, w2, w1
and w0, w0, w1
cmp w0, 0
beq .L302
ldr x0, [sp, 40]
add x2, x0, 128
ldr w1, [sp, 28]
mov x0, x1
lsl x0, x0, 1
add x0, x0, x1
lsl x0, x0, 4
add x1, x2, x0
ldr x2, [sp, 40]
ldr w0, [sp, 32]
add x0, x0, 6
lsl x0, x0, 3
add x0, x2, x0
str x1, [x0, 8]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L302:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L301:
ldr w0, [sp, 32]
cmp w0, 5
bls .L303
ldr x0, [sp, 40]
add x1, x0, 128
ldr x0, [sp, 40]
str x1, [x0, 120]
ldr x0, [sp, 40]
ldr w0, [x0, 48]
add w0, w0, 120
str w0, [sp, 20]
ldr x0, [sp, 40]
add x0, x0, 8
ldr w1, [sp, 20]
mov w4, w1
mov x3, x0
mov w2, 128
mov w1, 0
ldr w0, [sp, 36]
bl setsockopt
cmp w0, 0
beq .L295
mov w0, 1
bl exit
.L307:
nop
b .L295
.L308:
nop
.L295:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L293:
ldr w0, [sp, 24]
cmp w0, 2
bls .L304
ldr w0, [sp, 36]
bl close
b .L288
.L306:
nop
.L288:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 1704]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L305
bl __stack_chk_fail
.L305:
ldp x29, x30, [sp]
add sp, sp, 1712
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE85:
.size reset_ebtables, .-reset_ebtables
.align 2
.type checkpoint_net_namespace, %function
checkpoint_net_namespace:
.LFB86:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl checkpoint_ebtables
bl checkpoint_arptables
mov w3, 0
mov w2, 2
mov w1, 5
adrp x0, ipv4_tables
add x0, x0, :lo12:ipv4_tables
bl checkpoint_iptables
mov w3, 41
mov w2, 10
mov w1, 5
adrp x0, ipv6_tables
add x0, x0, :lo12:ipv6_tables
bl checkpoint_iptables
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE86:
.size checkpoint_net_namespace, .-checkpoint_net_namespace
.align 2
.type reset_net_namespace, %function
reset_net_namespace:
.LFB87:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl reset_ebtables
bl reset_arptables
mov w3, 0
mov w2, 2
mov w1, 5
adrp x0, ipv4_tables
add x0, x0, :lo12:ipv4_tables
bl reset_iptables
mov w3, 41
mov w2, 10
mov w1, 5
adrp x0, ipv6_tables
add x0, x0, :lo12:ipv6_tables
bl reset_iptables
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE87:
.size reset_net_namespace, .-reset_net_namespace
.section .rodata
.align 3
.LC131:
.string "/syzcgroup"
.align 3
.LC132:
.string "/syzcgroup/unified"
.align 3
.LC133:
.string "cgroup2"
.align 3
.LC134:
.string "none"
.align 3
.LC135:
.string "+cpu +memory +io +pids +rdma"
.align 3
.LC136:
.string "/syzcgroup/unified/cgroup.subtree_control"
.align 3
.LC137:
.string "/syzcgroup/cpu"
.align 3
.LC138:
.string "cpuset,cpuacct,perf_event,hugetlb"
.align 3
.LC139:
.string "cgroup"
.align 3
.LC140:
.string "1"
.align 3
.LC141:
.string "/syzcgroup/cpu/cgroup.clone_children"
.align 3
.LC142:
.string "/syzcgroup/net"
.align 3
.LC143:
.string "net_cls,net_prio,devices,freezer"
.text
.align 2
.type setup_cgroups, %function
setup_cgroups:
.LFB88:
.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, .LC131
add x0, x0, :lo12:.LC131
bl mkdir
mov w1, 511
adrp x0, .LC132
add x0, x0, :lo12:.LC132
bl mkdir
mov x4, 0
mov x3, 0
adrp x0, .LC133
add x2, x0, :lo12:.LC133
adrp x0, .LC132
add x1, x0, :lo12:.LC132
adrp x0, .LC134
add x0, x0, :lo12:.LC134
bl mount
mov w1, 511
adrp x0, .LC132
add x0, x0, :lo12:.LC132
bl chmod
adrp x0, .LC135
add x1, x0, :lo12:.LC135
adrp x0, .LC136
add x0, x0, :lo12:.LC136
bl write_file
mov w1, 511
adrp x0, .LC137
add x0, x0, :lo12:.LC137
bl mkdir
adrp x0, .LC138
add x4, x0, :lo12:.LC138
mov x3, 0
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC137
add x1, x0, :lo12:.LC137
adrp x0, .LC134
add x0, x0, :lo12:.LC134
bl mount
adrp x0, .LC140
add x1, x0, :lo12:.LC140
adrp x0, .LC141
add x0, x0, :lo12:.LC141
bl write_file
mov w1, 511
adrp x0, .LC137
add x0, x0, :lo12:.LC137
bl chmod
mov w1, 511
adrp x0, .LC142
add x0, x0, :lo12:.LC142
bl mkdir
adrp x0, .LC143
add x4, x0, :lo12:.LC143
mov x3, 0
adrp x0, .LC139
add x2, x0, :lo12:.LC139
adrp x0, .LC142
add x1, x0, :lo12:.LC142
adrp x0, .LC134
add x0, x0, :lo12:.LC134
bl mount
mov w1, 511
adrp x0, .LC142
add x0, x0, :lo12:.LC142
bl chmod
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE88:
.size setup_cgroups, .-setup_cgroups
.section .rodata
.align 3
.LC144:
.string "/syzcgroup/unified/syz%llu"
.align 3
.LC145:
.string "%s/pids.max"
.align 3
.LC146:
.string "32"
.align 3
.LC147:
.string "%s/memory.low"
.align 3
.LC148:
.string "%d"
.align 3
.LC149:
.string "%s/memory.high"
.align 3
.LC150:
.string "%s/memory.max"
.align 3
.LC151:
.string "%s/cgroup.procs"
.align 3
.LC152:
.string "/syzcgroup/cpu/syz%llu"
.align 3
.LC153:
.string "/syzcgroup/net/syz%llu"
.text
.align 2
.type setup_cgroups_loop, %function
setup_cgroups_loop:
.LFB89:
.cfi_startproc
stp x29, x30, [sp, -224]!
.cfi_def_cfa_offset 224
.cfi_offset 29, -224
.cfi_offset 30, -216
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 216]
mov x1, 0
bl getpid
str w0, [sp, 20]
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x4, sp, 24
mov x3, x0
adrp x0, .LC144
add x2, x0, :lo12:.LC144
mov x1, 64
mov x0, x4
bl snprintf
add x0, sp, 24
mov w1, 511
bl mkdir
add x0, sp, 24
add x4, sp, 88
mov x3, x0
adrp x0, .LC145
add x2, x0, :lo12:.LC145
mov x1, 128
mov x0, x4
bl snprintf
add x2, sp, 88
adrp x0, .LC146
add x1, x0, :lo12:.LC146
mov x0, x2
bl write_file
add x0, sp, 24
add x4, sp, 88
mov x3, x0
adrp x0, .LC147
add x2, x0, :lo12:.LC147
mov x1, 128
mov x0, x4
bl snprintf
add x3, sp, 88
mov w2, 312475648
adrp x0, .LC148
add x1, x0, :lo12:.LC148
mov x0, x3
bl write_file
add x0, sp, 24
add x4, sp, 88
mov x3, x0
adrp x0, .LC149
add x2, x0, :lo12:.LC149
mov x1, 128
mov x0, x4
bl snprintf
add x3, sp, 88
mov w2, 313524224
adrp x0, .LC148
add x1, x0, :lo12:.LC148
mov x0, x3
bl write_file
add x0, sp, 24
add x4, sp, 88
mov x3, x0
adrp x0, .LC150
add x2, x0, :lo12:.LC150
mov x1, 128
mov x0, x4
bl snprintf
add x3, sp, 88
mov w2, 314572800
adrp x0, .LC148
add x1, x0, :lo12:.LC148
mov x0, x3
bl write_file
add x0, sp, 24
add x4, sp, 88
mov x3, x0
adrp x0, .LC151
add x2, x0, :lo12:.LC151
mov x1, 128
mov x0, x4
bl snprintf
add x3, sp, 88
ldr w2, [sp, 20]
adrp x0, .LC148
add x1, x0, :lo12:.LC148
mov x0, x3
bl write_file
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x4, sp, 24
mov x3, x0
adrp x0, .LC152
add x2, x0, :lo12:.LC152
mov x1, 64
mov x0, x4
bl snprintf
add x0, sp, 24
mov w1, 511
bl mkdir
add x0, sp, 24
add x4, sp, 88
mov x3, x0
adrp x0, .LC151
add x2, x0, :lo12:.LC151
mov x1, 128
mov x0, x4
bl snprintf
add x3, sp, 88
ldr w2, [sp, 20]
adrp x0, .LC148
add x1, x0, :lo12:.LC148
mov x0, x3
bl write_file
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x4, sp, 24
mov x3, x0
adrp x0, .LC153
add x2, x0, :lo12:.LC153
mov x1, 64
mov x0, x4
bl snprintf
add x0, sp, 24
mov w1, 511
bl mkdir
add x0, sp, 24
add x4, sp, 88
mov x3, x0
adrp x0, .LC151
add x2, x0, :lo12:.LC151
mov x1, 128
mov x0, x4
bl snprintf
add x3, sp, 88
ldr w2, [sp, 20]
adrp x0, .LC148
add x1, x0, :lo12:.LC148
mov x0, x3
bl write_file
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 216]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L313
bl __stack_chk_fail
.L313:
ldp x29, x30, [sp], 224
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE89:
.size setup_cgroups_loop, .-setup_cgroups_loop
.section .rodata
.align 3
.LC154:
.string "./cgroup"
.align 3
.LC155:
.string "./cgroup.cpu"
.align 3
.LC156:
.string "./cgroup.net"
.text
.align 2
.type setup_cgroups_test, %function
setup_cgroups_test:
.LFB90:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
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, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x4, sp, 24
mov x3, x0
adrp x0, .LC144
add x2, x0, :lo12:.LC144
mov x1, 64
mov x0, x4
bl snprintf
add x2, sp, 24
adrp x0, .LC154
add x1, x0, :lo12:.LC154
mov x0, x2
bl symlink
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x4, sp, 24
mov x3, x0
adrp x0, .LC152
add x2, x0, :lo12:.LC152
mov x1, 64
mov x0, x4
bl snprintf
add x2, sp, 24
adrp x0, .LC155
add x1, x0, :lo12:.LC155
mov x0, x2
bl symlink
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x4, sp, 24
mov x3, x0
adrp x0, .LC153
add x2, x0, :lo12:.LC153
mov x1, 64
mov x0, x4
bl snprintf
add x2, sp, 24
adrp x0, .LC156
add x1, x0, :lo12:.LC156
mov x0, x2
bl symlink
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 .L315
bl __stack_chk_fail
.L315:
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE90:
.size setup_cgroups_test, .-setup_cgroups_test
.section .rodata
.align 3
.LC157:
.string "fusectl"
.align 3
.LC158:
.string "/sys/fs/fuse/connections"
.text
.align 2
.type setup_common, %function
setup_common:
.LFB91:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov x4, 0
mov x3, 0
adrp x0, .LC157
add x2, x0, :lo12:.LC157
adrp x0, .LC158
add x1, x0, :lo12:.LC158
mov x0, 0
bl mount
bl setup_cgroups
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE91:
.size setup_common, .-setup_common
.align 2
.type sandbox_common, %function
sandbox_common:
.LFB92:
.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 w4, 0
mov w3, 0
mov w2, 0
mov w1, 9
mov w0, 1
bl prctl
bl setpgrp
bl setsid
mov w1, 0
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl open
str w0, [sp, 20]
ldr w0, [sp, 20]
cmn w0, #1
bne .L318
mov w0, 1
bl exit
.L318:
mov w0, 239
mov w1, w0
ldr w0, [sp, 20]
bl dup2
cmp w0, 0
bge .L319
mov w0, 1
bl exit
.L319:
ldr w0, [sp, 20]
bl close
mov x0, 209715200
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 9
bl setrlimit
mov x0, 33554432
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 8
bl setrlimit
mov x0, 142606336
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 1
bl setrlimit
mov x0, 1048576
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 3
bl setrlimit
str xzr, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 4
bl setrlimit
mov x0, 256
str x0, [sp, 32]
ldr x0, [sp, 32]
str x0, [sp, 24]
add x0, sp, 24
mov x1, x0
mov w0, 7
bl setrlimit
mov w0, 131072
bl unshare
mov w0, 134217728
bl unshare
mov w0, 33554432
bl unshare
mov w0, 67108864
bl unshare
mov w0, 262144
bl unshare
str wzr, [sp, 16]
b .L320
.L321:
adrp x0, sysctls.0
add x1, x0, :lo12:sysctls.0
ldr w0, [sp, 16]
lsl x0, x0, 4
add x0, x1, x0
ldr x2, [x0]
adrp x0, sysctls.0
add x1, x0, :lo12:sysctls.0
ldr w0, [sp, 16]
lsl x0, x0, 4
add x0, x1, x0
ldr x0, [x0, 8]
mov x1, x0
mov x0, x2
bl write_file
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L320:
ldr w0, [sp, 16]
cmp w0, 6
bls .L321
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 .L322
bl __stack_chk_fail
.L322:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE92:
.size sandbox_common, .-sandbox_common
.align 2
.global wait_for_loop
.type wait_for_loop, %function
wait_for_loop:
.LFB93:
.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
ldr w0, [sp, 28]
cmp w0, 0
bge .L324
mov w0, 1
bl exit
.L324:
str wzr, [sp, 36]
nop
.L325:
add x0, sp, 36
mov w2, 1073741824
mov x1, x0
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
bne .L325
ldr w0, [sp, 36]
asr w0, w0, 8
and w0, w0, 255
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 .L327
bl __stack_chk_fail
.L327:
mov w0, w1
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE93:
.size wait_for_loop, .-wait_for_loop
.align 2
.type drop_caps, %function
drop_caps:
.LFB94:
.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
str xzr, [sp, 24]
stp xzr, xzr, [sp, 32]
str xzr, [sp, 48]
mov w0, 1314
movk w0, 0x2008, lsl 16
str w0, [sp, 24]
bl getpid
str w0, [sp, 28]
add x1, sp, 32
add x0, sp, 24
mov x2, x1
mov x1, x0
mov x0, 90
bl syscall
cmp x0, 0
beq .L329
mov w0, 1
bl exit
.L329:
mov w0, 8912896
str w0, [sp, 20]
ldr w1, [sp, 32]
ldr w0, [sp, 20]
mvn w0, w0
and w0, w1, w0
str w0, [sp, 32]
ldr w1, [sp, 36]
ldr w0, [sp, 20]
mvn w0, w0
and w0, w1, w0
str w0, [sp, 36]
ldr w1, [sp, 40]
ldr w0, [sp, 20]
mvn w0, w0
and w0, w1, w0
str w0, [sp, 40]
add x1, sp, 32
add x0, sp, 24
mov x2, x1
mov x1, x0
mov x0, 91
bl syscall
cmp x0, 0
beq .L332
mov w0, 1
bl exit
.L332:
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 .L331
bl __stack_chk_fail
.L331:
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE94:
.size drop_caps, .-drop_caps
.align 2
.type do_sandbox_none, %function
do_sandbox_none:
.LFB95:
.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, 536870912
bl unshare
bl fork
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
beq .L334
ldr w0, [sp, 28]
bl wait_for_loop
b .L336
.L334:
bl setup_common
bl sandbox_common
bl drop_caps
bl initialize_netdevices_init
mov w0, 1073741824
bl unshare
bl initialize_devlink_pci
bl initialize_tun
bl initialize_netdevices
bl loop
mov w0, 1
bl exit
.L336:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE95:
.size do_sandbox_none, .-do_sandbox_none
.section .rodata
.align 3
.LC159:
.string "."
.align 3
.LC160:
.string ".."
.align 3
.LC161:
.string "%s/%s"
.text
.align 2
.type remove_dir, %function
remove_dir:
.LFB96:
.cfi_startproc
mov x12, 4320
sub sp, sp, x12
.cfi_def_cfa_offset 4320
stp x29, x30, [sp]
.cfi_offset 29, -4320
.cfi_offset 30, -4312
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, 4312]
mov x1, 0
str wzr, [sp, 44]
.L338:
nop
.L339:
mov w1, 2
ldr x0, [sp, 24]
bl umount2
cmp w0, 0
beq .L339
ldr x0, [sp, 24]
bl opendir
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L342
bl __errno_location
ldr w0, [x0]
cmp w0, 24
bne .L341
mov w0, 1
bl exit
.L341:
mov w0, 1
bl exit
.L357:
ldr x0, [sp, 80]
add x2, x0, 19
adrp x0, .LC159
add x1, x0, :lo12:.LC159
mov x0, x2
bl strcmp
cmp w0, 0
beq .L368
ldr x0, [sp, 80]
add x2, x0, 19
adrp x0, .LC160
add x1, x0, :lo12:.LC160
mov x0, x2
bl strcmp
cmp w0, 0
beq .L368
ldr x0, [sp, 80]
add x0, x0, 19
add x5, sp, 216
mov x4, x0
ldr x3, [sp, 24]
adrp x0, .LC161
add x2, x0, :lo12:.LC161
mov x1, 4096
mov x0, x5
bl snprintf
nop
.L346:
add x0, sp, 216
mov w1, 2
bl umount2
cmp w0, 0
beq .L346
add x1, sp, 88
add x0, sp, 216
bl lstat
cmp w0, 0
beq .L347
mov w0, 1
bl exit
.L347:
ldr w0, [sp, 104]
and w0, w0, 61440
cmp w0, 16384
bne .L348
add x0, sp, 216
bl remove_dir
b .L342
.L348:
str wzr, [sp, 48]
.L356:
add x0, sp, 216
bl unlink
cmp w0, 0
beq .L369
bl __errno_location
ldr w0, [x0]
cmp w0, 1
bne .L351
add x0, sp, 216
mov w1, 0
bl open
str w0, [sp, 60]
ldr w0, [sp, 60]
cmn w0, #1
beq .L351
str xzr, [sp, 64]
add x0, sp, 64
mov x2, x0
mov x1, 26114
movk x1, 0x4008, lsl 16
ldr w0, [sp, 60]
bl ioctl
ldr w0, [sp, 60]
bl close
b .L352
.L351:
bl __errno_location
ldr w0, [x0]
cmp w0, 30
beq .L370
bl __errno_location
ldr w0, [x0]
cmp w0, 16
bne .L354
ldr w0, [sp, 48]
cmp w0, 100
ble .L355
.L354:
mov w0, 1
bl exit
.L355:
add x0, sp, 216
mov w1, 2
bl umount2
cmp w0, 0
beq .L352
mov w0, 1
bl exit
.L352:
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
b .L356
.L369:
nop
b .L342
.L370:
nop
b .L342
.L368:
nop
.L342:
ldr x0, [sp, 72]
bl readdir
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L357
ldr x0, [sp, 72]
bl closedir
str wzr, [sp, 52]
.L366:
ldr x0, [sp, 24]
bl rmdir
cmp w0, 0
beq .L371
ldr w0, [sp, 52]
cmp w0, 99
bgt .L360
bl __errno_location
ldr w0, [x0]
cmp w0, 1
bne .L361
mov w1, 0
ldr x0, [sp, 24]
bl open
str w0, [sp, 56]
ldr w0, [sp, 56]
cmn w0, #1
beq .L361
str xzr, [sp, 64]
add x0, sp, 64
mov x2, x0
mov x1, 26114
movk x1, 0x4008, lsl 16
ldr w0, [sp, 56]
bl ioctl
ldr w0, [sp, 56]
bl close
b .L362
.L361:
bl __errno_location
ldr w0, [x0]
cmp w0, 30
beq .L372
bl __errno_location
ldr w0, [x0]
cmp w0, 16
bne .L364
mov w1, 2
ldr x0, [sp, 24]
bl umount2
cmp w0, 0
beq .L373
mov w0, 1
bl exit
.L364:
bl __errno_location
ldr w0, [x0]
cmp w0, 39
bne .L360
ldr w0, [sp, 44]
cmp w0, 99
bgt .L360
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
b .L338
.L360:
mov w0, 1
bl exit
.L373:
nop
.L362:
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
b .L366
.L371:
nop
b .L359
.L372:
nop
.L359:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 4312]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L367
bl __stack_chk_fail
.L367:
ldp x29, x30, [sp]
mov x12, 4320
add sp, sp, x12
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE96:
.size remove_dir, .-remove_dir
.section .rodata
.align 3
.LC162:
.string "/sys/fs/fuse/connections/%s/abort"
.text
.align 2
.type kill_and_wait, %function
kill_and_wait:
.LFB97:
.cfi_startproc
stp x29, x30, [sp, -368]!
.cfi_def_cfa_offset 368
.cfi_offset 29, -368
.cfi_offset 30, -360
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, 360]
mov x1, 0
ldr w0, [sp, 28]
neg w0, w0
mov w1, 9
bl kill
mov w1, 9
ldr w0, [sp, 28]
bl kill
str wzr, [sp, 32]
b .L375
.L378:
mov w2, 1
movk w2, 0x4000, lsl 16
ldr x1, [sp, 16]
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
beq .L389
mov w0, 1000
bl usleep
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L375:
ldr w0, [sp, 32]
cmp w0, 99
ble .L378
adrp x0, .LC158
add x0, x0, :lo12:.LC158
bl opendir
str x0, [sp, 40]
ldr x0, [sp, 40]
cmp x0, 0
beq .L392
.L386:
ldr x0, [sp, 40]
bl readdir
str x0, [sp, 48]
ldr x0, [sp, 48]
cmp x0, 0
bne .L380
ldr x0, [sp, 40]
bl closedir
b .L392
.L380:
ldr x0, [sp, 48]
add x2, x0, 19
adrp x0, .LC159
add x1, x0, :lo12:.LC159
mov x0, x2
bl strcmp
cmp w0, 0
beq .L390
ldr x0, [sp, 48]
add x2, x0, 19
adrp x0, .LC160
add x1, x0, :lo12:.LC160
mov x0, x2
bl strcmp
cmp w0, 0
beq .L390
ldr x0, [sp, 48]
add x0, x0, 19
add x4, sp, 56
mov x3, x0
adrp x0, .LC162
add x2, x0, :lo12:.LC162
mov x1, 300
mov x0, x4
bl snprintf
add x0, sp, 56
mov w1, 1
bl open
str w0, [sp, 36]
ldr w0, [sp, 36]
cmn w0, #1
beq .L391
add x0, sp, 56
mov x2, 1
mov x1, x0
ldr w0, [sp, 36]
bl write
ldr w0, [sp, 36]
bl close
b .L386
.L390:
nop
b .L386
.L391:
nop
b .L386
.L392:
nop
.L387:
mov w2, 1073741824
ldr x1, [sp, 16]
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
bne .L387
b .L374
.L389:
nop
.L374:
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 360]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L388
bl __stack_chk_fail
.L388:
ldp x29, x30, [sp], 368
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE97:
.size kill_and_wait, .-kill_and_wait
.align 2
.type setup_loop, %function
setup_loop:
.LFB98:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl setup_cgroups_loop
bl checkpoint_net_namespace
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE98:
.size setup_loop, .-setup_loop
.align 2
.type reset_loop, %function
reset_loop:
.LFB99:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
bl reset_net_namespace
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE99:
.size reset_loop, .-reset_loop
.section .rodata
.align 3
.LC163:
.string "1000"
.align 3
.LC164:
.string "/proc/self/oom_score_adj"
.text
.align 2
.type setup_test, %function
setup_test:
.LFB100:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov w4, 0
mov w3, 0
mov w2, 0
mov w1, 9
mov w0, 1
bl prctl
bl setpgrp
bl setup_cgroups_test
adrp x0, .LC163
add x1, x0, :lo12:.LC163
adrp x0, .LC164
add x0, x0, :lo12:.LC164
bl write_file
bl flush_tun
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE100:
.size setup_test, .-setup_test
.align 2
.type close_fds, %function
close_fds:
.LFB101:
.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, 3
str w0, [sp, 28]
b .L397
.L398:
ldr w0, [sp, 28]
bl close
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L397:
ldr w0, [sp, 28]
cmp w0, 29
ble .L398
nop
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE101:
.size close_fds, .-close_fds
.section .rodata
.align 3
.LC165:
.string "binfmt_misc"
.align 3
.LC166:
.string "/proc/sys/fs/binfmt_misc"
.align 3
.LC167:
.string ":syz0:M:0:\001::./file0:"
.align 3
.LC168:
.string "/proc/sys/fs/binfmt_misc/register"
.align 3
.LC169:
.string ":syz1:M:1:\002::./file0:POC"
.text
.align 2
.type setup_binfmt_misc, %function
setup_binfmt_misc:
.LFB102:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov x4, 0
mov x3, 0
adrp x0, .LC165
add x2, x0, :lo12:.LC165
adrp x0, .LC166
add x1, x0, :lo12:.LC166
mov x0, 0
bl mount
adrp x0, .LC167
add x1, x0, :lo12:.LC167
adrp x0, .LC168
add x0, x0, :lo12:.LC168
bl write_file
adrp x0, .LC169
add x1, x0, :lo12:.LC169
adrp x0, .LC168
add x0, x0, :lo12:.LC168
bl write_file
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE102:
.size setup_binfmt_misc, .-setup_binfmt_misc
.local threads
.comm threads,256,8
.local running
.comm running,4,4
.global __aarch64_ldadd4_relax
.align 2
.type thr, %function
thr:
.LFB103:
.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]
.L401:
ldr x0, [sp, 40]
add x0, x0, 8
bl event_wait
ldr x0, [sp, 40]
add x0, x0, 8
bl event_reset
ldr x0, [sp, 40]
ldr w0, [x0, 4]
bl execute_call
adrp x0, running
add x1, x0, :lo12:running
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_relax
ldr x0, [sp, 40]
add x0, x0, 12
bl event_set
b .L401
.cfi_endproc
.LFE103:
.size thr, .-thr
.align 2
.type execute_one, %function
execute_one:
.LFB104:
.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, 32]
b .L403
.L410:
str wzr, [sp, 36]
b .L404
.L409:
ldrsw x0, [sp, 36]
lsl x1, x0, 4
adrp x0, threads
add x0, x0, :lo12:threads
add x0, x1, x0
str x0, [sp, 40]
ldr x0, [sp, 40]
ldr w0, [x0]
cmp w0, 0
bne .L405
ldr x0, [sp, 40]
mov w1, 1
str w1, [x0]
ldr x0, [sp, 40]
add x0, x0, 8
bl event_init
ldr x0, [sp, 40]
add x0, x0, 12
bl event_init
ldr x0, [sp, 40]
add x0, x0, 12
bl event_set
ldr x1, [sp, 40]
adrp x0, thr
add x0, x0, :lo12:thr
bl thread_start
.L405:
ldr x0, [sp, 40]
add x0, x0, 12
bl event_isset
cmp w0, 0
beq .L415
ldr x0, [sp, 40]
add x0, x0, 12
bl event_reset
ldr x0, [sp, 40]
ldr w1, [sp, 32]
str w1, [x0, 4]
adrp x0, running
add x0, x0, :lo12:running
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_relax
ldr x0, [sp, 40]
add x0, x0, 8
bl event_set
ldr x0, [sp, 40]
add x0, x0, 12
mov x1, 45
bl event_timedwait
b .L408
.L415:
nop
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L404:
ldr w0, [sp, 36]
cmp w0, 15
ble .L409
.L408:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
.L403:
ldr w0, [sp, 32]
cmp w0, 6
ble .L410
str wzr, [sp, 28]
b .L411
.L413:
mov x0, 1
bl sleep_ms
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L411:
ldr w0, [sp, 28]
cmp w0, 99
bgt .L412
adrp x0, running
add x0, x0, :lo12:running
ldr w0, [x0]
cmp w0, 0
bne .L413
.L412:
bl close_fds
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE104:
.size execute_one, .-execute_one
.section .rodata
.align 3
.LC170:
.string "./%d"
.text
.align 2
.type loop, %function
loop:
.LFB105:
.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
bl setup_loop
str wzr, [sp, 24]
.L426:
add x3, sp, 40
ldr w2, [sp, 24]
adrp x0, .LC170
add x1, x0, :lo12:.LC170
mov x0, x3
bl sprintf
add x0, sp, 40
mov w1, 511
bl mkdir
cmp w0, 0
beq .L417
mov w0, 1
bl exit
.L417:
bl reset_loop
bl fork
str w0, [sp, 28]
ldr w0, [sp, 28]
cmp w0, 0
bge .L418
mov w0, 1
bl exit
.L418:
ldr w0, [sp, 28]
cmp w0, 0
bne .L419
add x0, sp, 40
bl chdir
cmp w0, 0
beq .L420
mov w0, 1
bl exit
.L420:
bl setup_test
bl execute_one
mov w0, 0
bl exit
.L419:
str wzr, [sp, 20]
bl current_time_ms
str x0, [sp, 32]
.L425:
add x0, sp, 20
mov w2, 1
movk w2, 0x4000, lsl 16
mov x1, x0
mov w0, -1
bl waitpid
mov w1, w0
ldr w0, [sp, 28]
cmp w0, w1
beq .L429
mov x0, 1
bl sleep_ms
bl current_time_ms
mov x1, x0
ldr x0, [sp, 32]
sub x1, x1, x0
mov x0, 4999
cmp x1, x0
bls .L430
add x0, sp, 20
mov x1, x0
ldr w0, [sp, 28]
bl kill_and_wait
b .L422
.L430:
nop
b .L425
.L429:
nop
.L422:
add x0, sp, 40
bl remove_dir
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
b .L426
.cfi_endproc
.LFE105:
.size loop, .-loop
.global r
.data
.align 3
.type r, %object
.size r, 8
r:
.xword -1
.global __aarch64_ldadd4_acq_rel
.section .rodata
.align 3
.LC171:
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.string ""
.text
.align 2
.type execute_call, %function
execute_call:
.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 x19, [sp, 16]
.cfi_offset 19, -48
str w0, [sp, 44]
ldr w0, [sp, 44]
cmp w0, 6
beq .L432
ldr w0, [sp, 44]
cmp w0, 6
bgt .L532
ldr w0, [sp, 44]
cmp w0, 5
beq .L434
ldr w0, [sp, 44]
cmp w0, 5
bgt .L532
ldr w0, [sp, 44]
cmp w0, 4
beq .L435
ldr w0, [sp, 44]
cmp w0, 4
bgt .L532
ldr w0, [sp, 44]
cmp w0, 3
beq .L436
ldr w0, [sp, 44]
cmp w0, 3
bgt .L532
ldr w0, [sp, 44]
cmp w0, 2
beq .L437
ldr w0, [sp, 44]
cmp w0, 2
bgt .L532
ldr w0, [sp, 44]
cmp w0, 0
beq .L438
ldr w0, [sp, 44]
cmp w0, 1
beq .L439
b .L532
.L438:
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L441
mov x0, 960
movk x0, 0x2000, lsl 16
mov w1, 18
str w1, [x0]
.L441:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L442
mov x0, 964
movk x0, 0x2000, lsl 16
mov w1, 58
str w1, [x0]
.L442:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L443
mov x0, 968
movk x0, 0x2000, lsl 16
mov w1, 4
str w1, [x0]
.L443:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L444
mov x0, 972
movk x0, 0x2000, lsl 16
mov w1, 1024
str w1, [x0]
.L444:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L445
mov x0, 976
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L445:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L446
mov x0, 980
movk x0, 0x2000, lsl 16
mov w1, 1
str w1, [x0]
.L446:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L447
mov x0, 984
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L447:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L448
mov x0, 988
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L448:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L449
mov x0, 989
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L449:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L450
mov x0, 990
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L450:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L451
mov x0, 991
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L451:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L452
mov x0, 992
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L452:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L453
mov x0, 993
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L453:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L454
mov x0, 994
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L454:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L455
mov x0, 995
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L455:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L456
mov x0, 996
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L456:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L457
mov x0, 997
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L457:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L458
mov x0, 998
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L458:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L459
mov x0, 999
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L459:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L460
mov x0, 1000
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L460:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L461
mov x0, 1001
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L461:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L462
mov x0, 1002
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L462:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L463
mov x0, 1003
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L463:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L464
mov x0, 1004
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L464:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L465
mov x0, 1008
movk x0, 0x2000, lsl 16
mov w1, -1
str w1, [x0]
.L465:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L466
mov x0, 1012
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L466:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L467
mov x0, 1016
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L467:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L468
mov x0, 1020
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L468:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mov x3, 60
mov x2, 960
movk x2, 0x2000, lsl 16
mov x1, 0
mov x0, 280
bl syscall
b .L433
.L439:
mov x3, 10
mov x2, 2
mov x1, 33
mov x0, 198
bl syscall
b .L433
.L437:
mov x3, 0
mov x2, 1
mov x1, 10
mov x0, 198
bl syscall
str x0, [sp, 56]
ldr x0, [sp, 56]
cmn x0, #1
beq .L533
ldr x1, [sp, 56]
adrp x0, r
add x0, x0, :lo12:r
str x1, [x0]
b .L533
.L436:
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L470
mov x0, 64
movk x0, 0x2000, lsl 16
mov w1, 1
str w1, [x0]
.L470:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
adrp x0, r
add x0, x0, :lo12:r
ldr x0, [x0]
mov x5, 4
mov x4, 64
movk x4, 0x2000, lsl 16
mov x3, 19
mov x2, 6
mov x1, x0
mov x0, 208
bl syscall
b .L433
.L435:
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L471
mov x0, 320
movk x0, 0x2000, lsl 16
mov w1, 10
strh w1, [x0]
.L471:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L472
mov x19, 322
movk x19, 0x2000, lsl 16
mov w0, 0
bl __bswap_16
and w0, w0, 65535
strh w0, [x19]
.L472:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L473
mov x19, 324
movk x19, 0x2000, lsl 16
mov w0, 0
bl __bswap_32
str w0, [x19]
.L473:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L474
mov x2, 16
adrp x0, .LC171
add x1, x0, :lo12:.LC171
mov x0, 328
movk x0, 0x2000, lsl 16
bl memcpy
.L474:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L475
mov x0, 344
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L475:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
adrp x0, r
add x0, x0, :lo12:r
ldr x0, [x0]
mov x3, 28
mov x2, 320
movk x2, 0x2000, lsl 16
mov x1, x0
mov x0, 203
bl syscall
b .L433
.L434:
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L476
mov x0, 536870912
mov w1, 5
str w1, [x0]
.L476:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L477
mov x0, 4
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L477:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L478
mov x0, 8
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L478:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L479
mov x0, 12
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L479:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L480
mov x0, 16
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L480:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L481
mov x0, 20
movk x0, 0x2000, lsl 16
mov w1, -1
str w1, [x0]
.L481:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L482
mov x0, 24
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L482:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L483
mov x0, 28
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L483:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L484
mov x0, 29
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L484:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L485
mov x0, 30
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L485:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L486
mov x0, 31
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L486:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L487
mov x0, 32
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L487:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L488
mov x0, 33
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L488:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L489
mov x0, 34
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L489:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L490
mov x0, 35
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L490:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L491
mov x0, 36
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L491:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L492
mov x0, 37
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L492:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L493
mov x0, 38
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L493:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L494
mov x0, 39
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L494:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L495
mov x0, 40
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L495:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L496
mov x0, 41
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L496:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L497
mov x0, 42
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L497:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L498
mov x0, 43
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L498:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L499
mov x0, 44
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L499:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L500
mov x0, 48
movk x0, 0x2000, lsl 16
mov w1, -1
str w1, [x0]
.L500:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L501
mov x0, 52
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L501:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L502
mov x0, 56
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L502:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L503
mov x0, 60
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L503:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mov x3, -565
mov x2, 536870912
mov x1, 0
mov x0, 280
bl syscall
b .L433
.L432:
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L504
mov x0, 12288
movk x0, 0x2000, lsl 16
mov w1, 3
str w1, [x0]
.L504:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L505
mov x0, 12292
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L505:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L506
mov x0, 12296
movk x0, 0x2000, lsl 16
mov w1, 65531
movk w1, 0x77, lsl 16
str w1, [x0]
.L506:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L507
mov x0, 12300
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L507:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L508
mov x0, 12304
movk x0, 0x2000, lsl 16
mov w1, 536870912
str w1, [x0]
.L508:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L509
mov x0, 12308
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L509:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L510
mov x0, 12312
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L510:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L511
mov x0, 12316
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L511:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L512
mov x0, 12317
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L512:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L513
mov x0, 12318
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L513:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L514
mov x0, 12319
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L514:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L515
mov x0, 12320
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L515:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L516
mov x0, 12321
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L516:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L517
mov x0, 12322
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L517:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L518
mov x0, 12323
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L518:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L519
mov x0, 12324
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L519:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L520
mov x0, 12325
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L520:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L521
mov x0, 12326
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L521:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L522
mov x0, 12327
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L522:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L523
mov x0, 12328
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L523:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L524
mov x0, 12329
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L524:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L525
mov x0, 12330
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L525:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L526
mov x0, 12331
movk x0, 0x2000, lsl 16
strb wzr, [x0]
.L526:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L527
mov x0, 12332
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L527:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L528
mov x0, 12336
movk x0, 0x2000, lsl 16
mov w1, -1
str w1, [x0]
.L528:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L529
mov x0, 12340
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L529:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L530
mov x0, 12344
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L530:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:skip_segv, lsl #12
add x0, x0, #:tprel_lo12_nc:skip_segv
mov x1, x0
mov w0, 1
bl __aarch64_ldadd4_acq_rel
mrs x0, tpidr_el0
add x0, x0, #:tprel_hi12:segv_env, lsl #12
add x0, x0, #:tprel_lo12_nc:segv_env
bl _setjmp
cmp w0, 0
bne .L531
mov x0, 12348
movk x0, 0x2000, lsl 16
str wzr, [x0]
.L531:
mrs x0, tpidr_el0
add x1, x0, #:tprel_hi12:skip_segv, lsl #12
add x1, x1, #:tprel_lo12_nc:skip_segv
mov w0, 1
neg w0, w0
bl __aarch64_ldadd4_acq_rel
mov x3, 44
mov x2, 12288
movk x2, 0x2000, lsl 16
mov x1, 2
mov x0, 280
bl syscall
b .L433
.L533:
nop
.L433:
.L532:
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
.LFE106:
.size execute_call, .-execute_call
.align 2
.global main
.type main, %function
main:
.LFB107:
.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 x4, 50
mov x3, 3
mov x2, 16777216
mov x1, 536870912
mov x0, 222
bl syscall
bl setup_binfmt_misc
bl install_segv_handler
adrp x0, procid
add x0, x0, :lo12:procid
str xzr, [x0]
b .L535
.L537:
bl fork
cmp w0, 0
bne .L536
bl use_temporary_dir
bl do_sandbox_none
.L536:
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
add x1, x0, 1
adrp x0, procid
add x0, x0, :lo12:procid
str x1, [x0]
.L535:
adrp x0, procid
add x0, x0, :lo12:procid
ldr x0, [x0]
cmp x0, 5
bls .L537
mov w0, 16960
movk w0, 0xf, lsl 16
bl sleep
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE107:
.size main, .-main
.section .rodata
.align 3
.LC172:
.string "/proc/sys/kernel/shmmax"
.align 3
.LC173:
.string "16777216"
.align 3
.LC174:
.string "/proc/sys/kernel/shmall"
.align 3
.LC175:
.string "536870912"
.align 3
.LC176:
.string "/proc/sys/kernel/shmmni"
.align 3
.LC177:
.string "1024"
.align 3
.LC178:
.string "/proc/sys/kernel/msgmax"
.align 3
.LC179:
.string "8192"
.align 3
.LC180:
.string "/proc/sys/kernel/msgmni"
.align 3
.LC181:
.string "/proc/sys/kernel/msgmnb"
.align 3
.LC182:
.string "/proc/sys/kernel/sem"
.align 3
.LC183:
.string "1024 1048576 500 1024"
.section .data.rel.ro.local,"aw"
.align 3
.type sysctls.0, %object
.size sysctls.0, 112
sysctls.0:
.xword .LC172
.xword .LC173
.xword .LC174
.xword .LC175
.xword .LC176
.xword .LC177
.xword .LC178
.xword .LC179
.xword .LC180
.xword .LC177
.xword .LC181
.xword .LC177
.xword .LC182
.xword .LC183
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 2
.type PROTOCOL_VERSION, %object
.size PROTOCOL_VERSION, 4
PROTOCOL_VERSION:
.word 70006
.align 2
.type INIT_PROTO_VERSION, %object
.size INIT_PROTO_VERSION, 4
INIT_PROTO_VERSION:
.word 212
.align 2
.type GETHEADERS_VERSION, %object
.size GETHEADERS_VERSION, 4
GETHEADERS_VERSION:
.word 70004
.align 2
.type MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT, %object
.size MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT, 4
MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT:
.word 70006
.align 2
.type MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT, %object
.size MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT, 4
MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT:
.word 70006
.align 2
.type CADDR_TIME_VERSION, %object
.size CADDR_TIME_VERSION, 4
CADDR_TIME_VERSION:
.word 31402
.align 2
.type BIP0031_VERSION, %object
.size BIP0031_VERSION, 4
BIP0031_VERSION:
.word 60000
.align 2
.type MEMPOOL_GD_VERSION, %object
.size MEMPOOL_GD_VERSION, 4
MEMPOOL_GD_VERSION:
.word 60002
.align 2
.type NO_BLOOM_VERSION, %object
.size NO_BLOOM_VERSION, 4
NO_BLOOM_VERSION:
.word 70006
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.local sss
.comm sss,8,8
.section .rodata
.align 3
.LC0:
.string "+++short zerofield inside struct starting with short:"
.align 3
.LC1:
.string "size=%d,align=%d\n"
.align 3
.LC2:
.string "offset-short=%d,offset-last=%d,\nalign-short=%d,align-last=%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
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
mov x2, 4
mov x1, 8
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
mov x4, 4
mov x3, 2
mov x2, 4
mov x1, 0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
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
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global human
.data
.align 3
.type human, %object
.size human, 6
human:
.string "Human"
.global noble
.align 3
.type noble, %object
.size noble, 6
noble:
.string "Noble"
.global female
.align 3
.type female, %object
.size female, 7
female:
.string "Female"
.global male
.align 3
.type male, %object
.size male, 5
male:
.string "Male"
.global in
.align 3
.type in, %object
.size in, 9
in:
.string "Initiate"
.global kn
.align 3
.type kn, %object
.size kn, 15
kn:
.string "Knight Templar"
.global kc
.align 3
.type kc, %object
.size kc, 15
kc:
.string "Knight Captain"
.global ironsword
.align 2
.type ironsword, %object
.size ironsword, 4
ironsword:
.word 3
.global ironswordprice
.align 2
.type ironswordprice, %object
.size ironswordprice, 4
ironswordprice:
.word 70
.global isword
.align 3
.type isword, %object
.size isword, 11
isword:
.string "Iron Sword"
.global mithrilsword
.align 2
.type mithrilsword, %object
.size mithrilsword, 4
mithrilsword:
.word 5
.global mithrilswordprice
.align 2
.type mithrilswordprice, %object
.size mithrilswordprice, 4
mithrilswordprice:
.word 160
.global msword
.align 3
.type msword, %object
.size msword, 14
msword:
.string "Mithril Sword"
.global blessedtemplarsword
.align 2
.type blessedtemplarsword, %object
.size blessedtemplarsword, 4
blessedtemplarsword:
.word 9
.global tsword
.align 3
.type tsword, %object
.size tsword, 22
tsword:
.string "Blessed Templar Sword"
.global chainmail
.align 2
.type chainmail, %object
.size chainmail, 4
chainmail:
.word 20
.global chainmailprice
.align 2
.type chainmailprice, %object
.size chainmailprice, 4
chainmailprice:
.word 300
.global cmail
.align 3
.type cmail, %object
.size cmail, 10
cmail:
.string "Chainmail"
.global templararmor
.align 2
.type templararmor, %object
.size templararmor, 4
templararmor:
.word 26
.global tarmor
.align 3
.type tarmor, %object
.size tarmor, 14
tarmor:
.string "Templar Armor"
.global knighttemplararmor
.align 2
.type knighttemplararmor, %object
.size knighttemplararmor, 4
knighttemplararmor:
.word 38
.global ktarmor
.align 3
.type ktarmor, %object
.size ktarmor, 21
ktarmor:
.string "Knight-Templar Armor"
.global metalshield
.align 2
.type metalshield, %object
.size metalshield, 4
metalshield:
.word 5
.global metalshieldprice
.align 2
.type metalshieldprice, %object
.size metalshieldprice, 4
metalshieldprice:
.word 120
.global mshield
.align 3
.type mshield, %object
.size mshield, 13
mshield:
.string "Metal Shield"
.global templarshield
.align 2
.type templarshield, %object
.size templarshield, 4
templarshield:
.word 13
.global temshield
.align 3
.type temshield, %object
.size temshield, 15
temshield:
.string "Templar Shield"
.global blessedtemplarshield
.align 2
.type blessedtemplarshield, %object
.size blessedtemplarshield, 4
blessedtemplarshield:
.word 16
.global btemshield
.align 3
.type btemshield, %object
.size btemshield, 23
btemshield:
.string "Blessed Templar Shield"
.global tab
.bss
.align 3
.type tab, %object
.size tab, 356
tab:
.zero 356
.text
.align 2
.global main
.type main, %function
main:
.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 charcreation
bl introlessernoble
mov w0, 0
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
.section .rodata
.align 3
.LC0:
.string "The world of Ezalia features many different races, each with their own customs, traditions and society structure. For the purpose of this particular story, your choice of race will be limited to Human.\n"
.align 3
.LC1:
.ascii "As the third child in a lesser noble family with lands in th"
.ascii "e northern part of the Empire's capital province of Tergon, "
.ascii "your lessons focused on combat and warfare rather than admin"
.ascii "istration and diplomacy, since there was little chance for y"
.ascii "ou to take rule over the land in the future. Of course that "
.ascii "doesn't mean you can't find yourself in the affairs of the c"
.ascii "ourt. Third child or not, you were still a noble and had to "
.ascii "learn at least the bare minimum about manners, titles and di"
.ascii "plomatic language. Due to your vigorous weapon training and "
.ascii "study of military tactics, father had chosen you to be the l"
.ascii "eader of his guard.You took your position seriously, as more"
.ascii " often than you'd like, your father's life depended on it. E"
.ascii "verything you'd learn on combat or warfare was passed to the"
.ascii " troops under your command and i"
.string "t paid off, because soon when commanders of other units came to you to set up battle simulations, your troops always came out victorious. You could only hope that it will be enough to stop whatever misfortune decides to step on your or your father's path.\n"
.align 3
.LC2:
.string "Choose your gender:\n1- Male\n2 - Female"
.align 3
.LC3:
.string "%d"
.align 3
.LC4:
.string "Enter your character's name:"
.align 3
.LC5:
.string "%50s"
.text
.align 2
.global charcreation
.type charcreation, %function
charcreation:
.LFB7:
.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
strb wzr, [sp, 19]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl puts
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl puts
mov x2, 5
adrp x0, human
add x1, x0, :lo12:human
adrp x0, tab+50
add x0, x0, :lo12:tab+50
bl strncpy
mov x2, 5
adrp x0, noble
add x1, x0, :lo12:noble
adrp x0, tab+68
add x0, x0, :lo12:tab+68
bl strncpy
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 6
str w1, [x0, 120]
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 6
str w1, [x0, 124]
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 4
str w1, [x0, 128]
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 8
str w1, [x0, 136]
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 8
str w1, [x0, 132]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
b .L4
.L7:
add x0, sp, 20
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 20]
cmp w0, 1
beq .L5
cmp w0, 2
beq .L6
b .L4
.L5:
mov x2, 4
adrp x0, male
add x1, x0, :lo12:male
adrp x0, tab+61
add x0, x0, :lo12:tab+61
bl strncpy
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 120]
add w1, w0, 1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 120]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 124]
sub w1, w0, #1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 124]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
adrp x0, tab
add x1, x0, :lo12:tab
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
mov w0, 1
strb w0, [sp, 19]
b .L4
.L6:
mov x2, 6
adrp x0, female
add x1, x0, :lo12:female
adrp x0, tab+61
add x0, x0, :lo12:tab+61
bl strncpy
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 1
strb w1, [x0, 350]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 120]
sub w1, w0, #1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 120]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 124]
add w1, w0, 1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 124]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 136]
add w1, w0, 1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 136]
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl puts
adrp x0, tab
add x1, x0, :lo12:tab
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl __isoc99_scanf
mov w0, 1
strb w0, [sp, 19]
nop
.L4:
ldrb w0, [sp, 19]
eor w0, w0, 1
and w0, w0, 255
cmp w0, 0
bne .L7
bl levelup
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 24]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L8
bl __stack_chk_fail
.L8:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size charcreation, .-charcreation
.section .rodata
.align 3
.LC6:
.string "You have %d points remaining. Where do you want to spend your next point?\n"
.align 3
.LC7:
.string "1 - Strength (currently %d)\n2 - Agility (currently %d)\n3 - Endurance (currently %d)\n4 - Intelligence (currently %d)\n5 - Charisma (currently %d)\n"
.text
.align 2
.global levelup
.type levelup, %function
levelup:
.LFB8:
.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
mov w0, 5
str w0, [sp, 20]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 140]
add w1, w0, 1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 140]
b .L10
.L16:
ldr w1, [sp, 20]
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
adrp x0, tab
add x0, x0, :lo12:tab
ldr w1, [x0, 120]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w2, [x0, 124]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w3, [x0, 128]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w4, [x0, 132]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 136]
mov w5, w0
adrp x0, .LC7
add x0, x0, :lo12:.LC7
bl printf
add x0, sp, 16
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 16]
cmp w0, 5
beq .L11
cmp w0, 5
bgt .L10
cmp w0, 4
beq .L12
cmp w0, 4
bgt .L10
cmp w0, 3
beq .L13
cmp w0, 3
bgt .L10
cmp w0, 1
beq .L14
cmp w0, 2
beq .L15
b .L10
.L14:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 120]
add w1, w0, 1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 120]
ldr w0, [sp, 20]
sub w0, w0, #1
str w0, [sp, 20]
b .L10
.L15:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 124]
add w1, w0, 1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 124]
ldr w0, [sp, 20]
sub w0, w0, #1
str w0, [sp, 20]
b .L10
.L13:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 128]
add w1, w0, 1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 128]
ldr w0, [sp, 20]
sub w0, w0, #1
str w0, [sp, 20]
b .L10
.L12:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 132]
add w1, w0, 1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 132]
ldr w0, [sp, 20]
sub w0, w0, #1
str w0, [sp, 20]
b .L10
.L11:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 136]
add w1, w0, 1
adrp x0, tab
add x0, x0, :lo12:tab
str w1, [x0, 136]
ldr w0, [sp, 20]
sub w0, w0, #1
str w0, [sp, 20]
nop
.L10:
ldr w0, [sp, 20]
cmp w0, 0
bgt .L16
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 351]
cmp w0, 0
beq .L19
bl ordernecro1
.L19:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 24]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L18
bl __stack_chk_fail
.L18:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size levelup, .-levelup
.section .rodata
.align 3
.LC8:
.string "w"
.align 3
.LC9:
.string "character.txt"
.align 3
.LC10:
.string "Could not open 'character.txt'. Is it present in the game's executable location?"
.align 3
.LC11:
.string "Name: %s\nRace: %s\nOrigin: %s\nGender: %s\n\nCurrent Level: %d\nStrength: %d\nAgility: %d\nEndurance: %d\nIntelligence: %d\nCharisma: %d\n\nCurrent Weapon: %s\nCurrent Shield: %s\nCurrent Armor: %s\nCurrent Rank: %s\n"
.text
.align 2
.global charinfo
.type charinfo, %function
charinfo:
.LFB9:
.cfi_startproc
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, 64]
.cfi_offset 29, -32
.cfi_offset 30, -24
add x29, sp, 64
adrp x0, .LC8
add x1, x0, :lo12:.LC8
adrp x0, .LC9
add x0, x0, :lo12:.LC9
bl fopen
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L21
adrp x0, .LC10
add x0, x0, :lo12:.LC10
bl puts
.L21:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w5, [x0, 140]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w6, [x0, 120]
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 124]
adrp x1, tab
add x1, x1, :lo12:tab
ldr w1, [x1, 128]
adrp x2, tab
add x2, x2, :lo12:tab
ldr w2, [x2, 132]
adrp x3, tab
add x3, x3, :lo12:tab
ldr w3, [x3, 136]
adrp x4, tab+311
add x4, x4, :lo12:tab+311
str x4, [sp, 56]
adrp x4, tab+204
add x4, x4, :lo12:tab+204
str x4, [sp, 48]
adrp x4, tab+260
add x4, x4, :lo12:tab+260
str x4, [sp, 40]
adrp x4, tab+148
add x4, x4, :lo12:tab+148
str x4, [sp, 32]
str w3, [sp, 24]
str w2, [sp, 16]
str w1, [sp, 8]
str w0, [sp]
mov w7, w6
mov w6, w5
adrp x0, tab+61
add x5, x0, :lo12:tab+61
adrp x0, tab+68
add x4, x0, :lo12:tab+68
adrp x0, tab+50
add x3, x0, :lo12:tab+50
adrp x0, tab
add x2, x0, :lo12:tab
adrp x0, .LC11
add x1, x0, :lo12:.LC11
ldr x0, [sp, 88]
bl fprintf
ldr x0, [sp, 88]
bl fclose
nop
ldp x29, x30, [sp, 64]
add sp, sp, 96
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size charinfo, .-charinfo
.section .rodata
.align 3
.LC12:
.ascii "You are walking next to a carriage, providing escort to your"
.ascii " father and elven diplomats. They arrived in your castle a w"
.ascii "eek ago.Since the successful defence made by the Empire duri"
.ascii "ng the Great Elven Split, Empire took control of most of its"
.ascii " territories and enforced armistice, which prevented major b"
.ascii "attles from happening but not occasional raids made by both "
.ascii "sides.This meant that your family had to put up with unhappy"
.ascii " peasants on the edges of your land, and Elves had to deal w"
.ascii "ith harsh retaliation attacks commenced by your father after"
.ascii " every raid.Deciding that it's not worth the cost, the Elves"
.ascii " called for talks to negotiate. Your father was very relucta"
.ascii "nt at first, but finally decided to agree, strangely with a "
.ascii "lot of enthusiasm.Despite your suspicions, you were intellig"
.ascii "ent enough to not question your father - you were his Guard "
.ascii "Captain, not advisor. You looked around surveying the surrou"
.ascii "ndings, when you noticed brush moving on the left side of th"
.ascii "e road.'Everyone, hold!' you shout, causing all guards and c"
.ascii "arriages to stop. Only seconds pass before you can see men b"
.ascii "ursting out of the woods on both sides of the"
.string " road. You have little time to react.\n\n1 - Order your men to form two rows, one on the each side of the road.\n2 - Order your men to form a circle around your father's carriage\n3 - Order your sergeants to lead two loose formations on both sides of the road."
.align 3
.LC13:
.ascii "Your men position themselves as you ordered, but it soon bec"
.ascii "omes apparent that it was a bad choice. Tens of arrows begin"
.ascii " to fly towards guards from both sides, and since they were "
.ascii "unprepared and carry only round shields, the arrows shred th"
.ascii "em and you end up with no more than five guards.You are forc"
.ascii "ed to rally your men around your father's carriage to make l"
.ascii "ast stand in an attempt to protect your father. When enemy i"
.ascii "nfantrymen rush out from the woods and you see their numbers"
.ascii ", you know it's a lost battle.As if it wasn't bad enough, yo"
.ascii "u can hear neighing of horses which means enemy cavalry is o"
.ascii "n its way. They charge at you from both sides. Soon you are "
.ascii "face to face with one of the attackers. As he l"
.string "unges at you with his axe, you dodge to the side and strike into his abdomen with your sword. Just as you're about to put it out of his flesh, something hits you hard on the head causing your head to spin and soon you're lying unconsciously on the ground.\n"
.align 3
.LC14:
.ascii "Your men rally around your father's carriage and ready thems"
.ascii "elves for enemy attack. When enemy infantrymen rush out from"
.ascii " the woods and you see their numbers, you are confident in y"
.ascii "our abilities to defeat them. Just as you're about to brace "
.ascii "yourself for impact, you hear neighing of horses causing you"
.ascii " to feel shivers down your spine.Cavalry is one of the thing"
.ascii "s you have no chance to win against. They charge at you from"
.ascii " both sides. Soon you are face to face with one of the attac"
.ascii "kers. As he l"
.string "unges at you with his axe, you dodge to the side and strike into his abdomen with your sword. Just as you're about to put it out of his flesh, something hits you hard on the head causing your head to spin and soon you're lying unconsciously on the ground.\n"
.align 3
.LC15:
.ascii "Your sergeants shout orders and soon battle is raging from b"
.ascii "oth sides. The enemy takes high casualties and starts retrea"
.ascii "ting to the woods. Your men, eager with their alleged victor"
.ascii "y start pursuing them.Before you can react however, enemy ca"
.ascii "valry rushes out from the forest and most of your men are qu"
.ascii "ickly taken care of. This follows up with enemy infantry rus"
.ascii "hing again, and soon you are forced to make a last stand.You"
.ascii " rally what remained of your guard around your father's carr"
.ascii "iage and soon you are face to face with one of the attackers"
.ascii ". As he l"
.string "unges at you with his axe, you dodge to the side and strike into his abdomen with your sword. Just as you're about to put it out of his flesh, something hits you hard on the head causing your head to spin and soon you're lying unconsciously on the ground.\n"
.align 3
.LC16:
.ascii "You wake up with a terrible headache. You open your eyes slo"
.ascii "wly and wait for the blurry view to sharpen. In a moment you"
.ascii " see a fireplace and few tents. You must be in some sort of "
.ascii "a camp. You sit down and look around. It's dark and you can'"
.ascii "t make out anything, aside from the fact that "
.string "you must be deep in the woods and that the people who attack your convoy are owners of this camp.One of them notices that you woke up and walks up to you. 'I see you woke up, good.' he says.\n\n1 - Spit on his face\n2 - Remain silent\n3 - Who the hell are you?"
.align 3
.LC17:
.string "He cleans his face with his leather sleeve 'Well, well, aren't you a rebellious one. Strange, considering that your father portrayed you as 'daddy's girl.'"
.align 3
.LC18:
.string "'Well, well, aren't you a rebellious one. Interesting, considering your father portrayed you as rather calm.'"
.align 3
.LC19:
.string "'Silence isn't going to serve you well in the long run, my dear. Belive me, I'd rather you ask. That's what your father would want anyway.'"
.align 3
.LC20:
.string "'Silence isn't going to serve you well in the long run. Belive me, I'd rather you ask. That's what your father would want anyway.'"
.align 3
.LC21:
.string "'Ah, eager to get answers. Good, I see your father has predicted your reaction well.'"
.align 3
.LC22:
.ascii "'How would you know my father?' you ask\n'Well, he was the o"
.ascii "ne who ordered me to arrange that attack, for one' he respon"
.ascii "ds grinning.\n'What? That's ridiculous! Why would he do such"
.ascii " thing?'\n'Isn't that obvious? To stage an incident. He sacr"
.ascii "ificed himself to resume war. You didn't think he really wan"
.ascii "ted to make peace?'\n'I thought it was weird that he was sud"
.ascii "denly so eager for the talks, but I never thought he would g"
.ascii "o so far behind Elven backs and give his life for the cause."
.ascii "..'\n'He always held the Empire higher than anything else, e"
.ascii "xcept for one thing. You. You remember when he asked you not"
.ascii " to wear helmet today? That was so we could recognize you an"
.ascii "d make sure no harm is done to you.I'm sure he's glad you're"
.ascii " safe. Now, this ambush was only the start. Now we're going "
.ascii "to fulfill the rest of his orders and make sure a full scale"
.ascii " war breaks out.I can't allow you to stay with us, but your "
.ascii "father wanted me to tell you to join the Templar Order. You "
.ascii "should travel to Garoth and speak to High Knight Fergus. He "
.ascii "handles recruitment of nobles himself.'\n'If not for the job"
.ascii " as a Guard Captain, I would've joined the Army or the Order"
.ascii " long ago, mother's wishes be damned,'\n'Your father suspect"
.ascii "ed you'd offer little resistance, if any at all, to the offe"
.ascii "r. Rest for as long as you want then head to that red tent a"
.ascii "nd speak to Term"
.string "in. He will give you any supplies necessary for your journey.Now, I belive it's my time to leave. Take care and good luck'\n'And to you too. Don't let my father's sacrifice go to waste. For the Empire.'\n'For the Empire.' he smiled slightly and walked away.\n"
.align 3
.LC23:
.string "Type any letter and press ENTER to get up"
.align 3
.LC24:
.string "%s"
.align 3
.LC25:
.ascii "\nYou stand up, stretch your muscles and decide that aside f"
.ascii "rom the slight headache, everything seems to be fine. You he"
.ascii "ad to the red tent as instructed.As you walk in you see weap"
.ascii "on and armor racks covering all the walls of the tent and a "
.ascii "table with a bearded man sitting behind it. He smiles, stand"
.ascii "s up and walks up to you.\n'Greetings! I'm glad you're final"
.ascii "ly awake. I'm Termin, but I suscpet Lored already told you t"
.ascii "hat. So, you're about to be on your way to Garoth to join th"
.ascii "e Order, huh?That means you need equipment and I'm happy to "
.ascii "provide. Tak your time to look around and take whatever you "
.ascii "want. Lored made it clear to me that I'm not to limit your c"
.ascii "hoice in any way'\n\nLooking around the room you see swords,"
.ascii " shields and armors "
.string "of various material and state. Walking from one rack to other you examined everything thoroughly and decided to settle with metal sword and shield aswell as chainmail armor.\nTermin nodded in approval to your every choice and soon helped you fit your armor."
.align 3
.LC26:
.string "'I'm sure you'd prefer if a woman was helping you, but I'm afraid there's none in our camp. I hope you didn't mind.'\n"
.align 3
.LC27:
.string "Now that you're finaly equiped, you can embark on your journey.\n\nWould you like to export your character info to a file? This requires 'character.txt' file to be present in the same location as game executable\n1 - Yes\n2 - No"
.text
.align 2
.global introlessernoble
.type introlessernoble, %function
introlessernoble:
.LFB10:
.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, .LC12
add x0, x0, :lo12:.LC12
bl puts
add x0, sp, 28
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 28]
cmp w0, 3
beq .L23
cmp w0, 3
bgt .L24
cmp w0, 1
beq .L25
cmp w0, 2
beq .L26
b .L24
.L25:
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl puts
b .L24
.L26:
adrp x0, .LC14
add x0, x0, :lo12:.LC14
bl puts
b .L24
.L23:
adrp x0, .LC15
add x0, x0, :lo12:.LC15
bl puts
nop
.L24:
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl puts
add x0, sp, 32
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 32]
cmp w0, 3
beq .L27
cmp w0, 3
bgt .L28
cmp w0, 1
beq .L29
cmp w0, 2
beq .L30
b .L28
.L29:
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 350]
cmp w0, 0
beq .L31
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl printf
b .L28
.L31:
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
b .L28
.L30:
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 350]
cmp w0, 0
beq .L33
adrp x0, .LC19
add x0, x0, :lo12:.LC19
bl printf
b .L28
.L33:
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl printf
b .L28
.L27:
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl printf
nop
.L28:
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl puts
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl puts
add x0, sp, 27
mov x1, x0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl __isoc99_scanf
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl puts
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 350]
cmp w0, 0
beq .L35
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl puts
.L35:
mov x2, 10
adrp x0, isword
add x1, x0, :lo12:isword
adrp x0, tab+148
add x0, x0, :lo12:tab+148
bl strncpy
mov x2, 12
adrp x0, mshield
add x1, x0, :lo12:mshield
adrp x0, tab+260
add x0, x0, :lo12:tab+260
bl strncpy
mov x2, 10
adrp x0, cmail
add x1, x0, :lo12:cmail
adrp x0, tab+204
add x0, x0, :lo12:tab+204
bl strncpy
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl puts
add x0, sp, 36
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 36]
cmp w0, 1
bne .L36
bl charinfo
.L36:
bl garoth
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 .L37
bl __stack_chk_fail
.L37:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size introlessernoble, .-introlessernoble
.section .rodata
.align 3
.LC28:
.ascii "After few days of thankfully uneventful walk, you finally ap"
.ascii "proach the famous Templar Stronghold of Garoth. You've read "
.ascii "about it in books and heard some stories from your father, b"
.ascii "ut none of them did this magnificent structure justice."
.string "As you walk up to the gate, a guard clad in plate armor with a holy cross striked with two torches signals you to stop with his hand\n'State your business citizen!'\n1 - 'I want to join the Order.'\n2 - 'I just wanted to see the famous Stronghold for myself.'"
.align 3
.LC29:
.ascii "'I'm sorry c"
.string "itizen. As much as we're happy that people are interested in our headquarters, I'm afraid I can't let you in to simply wander yourself. Now, if you were to join our Order, that would be entirely different matter'\n1 - 'Very well, I will join the Order then'"
.text
.align 2
.global garoth
.type garoth, %function
garoth:
.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, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl puts
add x0, sp, 16
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 16]
cmp w0, 1
beq .L39
cmp w0, 2
beq .L40
b .L43
.L39:
bl orderjoining
b .L41
.L40:
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl puts
add x0, sp, 20
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 20]
cmp w0, 1
bne .L43
bl orderjoining
nop
.L41:
.L43:
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 24]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L42
bl __stack_chk_fail
.L42:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size garoth, .-garoth
.section .rodata
.align 3
.LC30:
.ascii "The gates open before you and soon you are able to witness t"
.ascii "he glory of Garoth with your very own eyes. You see a fairly"
.ascii " large building being guarded by four men and you quickly ju"
.ascii "mp to conclusion that this is where the High Knight must res"
.ascii "ide.As you close on, one of the guards asks you what is your"
.ascii " purpose and after confirming that you are here to join, he "
.ascii "opens the door.Just as you enter, another guard shows up and"
.ascii " tells you he will escort you to the High Knight. You fol"
.string "low him and soon you enter a large room with all kinds of holy artifacts and large throne on a pedestal.The throne is occupied by no one other than the High Knight himself. The guard salutes him by bumping fist to his chest and bowing slightly and leaves.\n"
.align 3
.LC31:
.string "Type any letter and press ENTER to focus your atention on the High Knight"
.align 3
.LC32:
.ascii "\n'Welc"
.string "ome. I'm High Knight Fergus of the Templar Order. I assume you are here to join, am I correct?' he asks.\n'Yes. I'm %s of the Arton family, always faithful to the Empire and the Holy cause. I wish to join the Order to fulfill the God's and Emperor's will.'\n"
.align 3
.LC33:
.ascii "'Such devotion to the cause is rarely seen in women. It plea"
.ascii "ses me that there are some who know where the true strength "
.ascii "of our Empire lies - in the Army and the Templar Order.And y"
.ascii "ou are of noble blood no less. To give up your life in a com"
.ascii "fortable castle to serve your fatherland is a honourable act"
.ascii ". Now, judging by your appearance yo"
.string "u have at least some of military experiance and that will sufice.I hereby accept you into the Templar Order and grant you the rank of Initiate. You will report to Knight-Commander Jegor to receive your first task. May the God protect you and the Emperor.'\n"
.align 3
.LC34:
.ascii "If only more men had interests of the God and the Empire abo"
.ascii "ve their own, we would be ruling whole Ezalia by now.And you"
.ascii " are of noble blood no less. To give up your life in a comfo"
.ascii "rtable castle to serve your fatherland is a honourable act. "
.ascii "Now, judging by your appearance yo"
.string "u have at least some of military experiance and that will sufice.I hereby accept you into the Templar Order and grant you the rank of Initiate. You will report to Knight-Commander Jegor to receive your first task. May the God protect you and the Emperor.'\n"
.align 3
.LC35:
.string "You salute in the same way the guard who led you here did, then turn around and walk out of the building. As you leave, you ask guard where you can find Jegor. He tells you to find a large red tent in the south-eastern part of the Stronghold."
.text
.align 2
.global orderjoining
.type orderjoining, %function
orderjoining:
.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, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1, 0
adrp x0, .LC30
add x0, x0, :lo12:.LC30
bl puts
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl puts
add x0, sp, 23
mov x1, x0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl __isoc99_scanf
adrp x0, tab
add x1, x0, :lo12:tab
adrp x0, .LC32
add x0, x0, :lo12:.LC32
bl printf
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 350]
cmp w0, 0
beq .L45
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl puts
b .L46
.L45:
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl puts
.L46:
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 1
strb w1, [x0, 349]
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 1
str w1, [x0, 344]
mov x2, 8
adrp x0, in
add x1, x0, :lo12:in
adrp x0, tab+311
add x0, x0, :lo12:tab+311
bl strncpy
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl puts
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 1
strb w1, [x0, 351]
bl levelup
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 24]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L47
bl __stack_chk_fail
.L47:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size orderjoining, .-orderjoining
.section .rodata
.align 3
.LC36:
.string "\nYou walk to the red tent and immediately notice a bearded man hoovering over table with a map on it. You approach him and announce yourself.'Knight-Commander Jegor? I'm Initiate %s, High Knight sent me to you to receive my first assignment.\n"
.align 3
.LC37:
.string "'A new recruit? Good, the Order and the Empire can certainly use more men... or women for that matter."
.align 3
.LC38:
.string "'A new recruit? Good, the Order and the Empire can certainly use more men."
.align 3
.LC39:
.ascii "'It's an honour to serve, Knight-Commander.' you reply bumpi"
.ascii "ng your fist on your chest\n'Now, I can see you're fairly we"
.ascii "ll equiped, better than most of the initiates i get to meet,"
.ascii " but your equipment is still no ma"
.string "tch for what we use. There's a reason we are called to the deepest shitholes no one other wants to play in. Now, since you're now an official member of the order, you're entitled to our gear. Take a sword from that rack while I search for an armor for you."
.align 3
.LC40:
.string " Given the fact that you're a woman and your posture is... head-turning to say at least it might take some time for me to find an armor that will suit you.'\n"
.align 3
.LC41:
.string " Given the fact that you're a woman it might take some time for me to find an armor that will suit you.'\n"
.align 3
.LC42:
.string "'\n"
.align 3
.LC43:
.string "Type any letter and press ENTER to pick up sword"
.align 3
.LC44:
.ascii "\nYou pick up a sword that fits your hand perfectly and seem"
.ascii "s to be"
.string " balanced in a simmilar matter. You take a fitting scabbard and sheath it.Your attention immediately shifts to a heavy shield resting on the wall. You take it off and place it in your hand. You have no doubt you'd be able to block anything with this thing."
.align 3
.LC45:
.ascii "'Here we go. This one should suit you, it seems to be fairly"
.ascii " wide on the hips.'\nJegor helps you to "
.string "get out of your Chainmail (ugh...) and you try the Templar Armor on to find out that it suits you perfectly.True to Jegor's words, it's wide in hips and allows you freedom of movement and good protection, from both physical attacks, aswell as magical ones."
.align 3
.LC46:
.ascii "'Here we"
.string " go. This one should suit you.'\nJegor helps you to get out of your Chainmail and you try the Templar Armor on to find out that it suits you perfectly.It allows you freedom of movement and good protection, from both physical attacks, aswell as magical ones."
.align 3
.LC47:
.string "\nWould you like to export your character info to a file? This requires 'character.txt' file to be present in the same location as game executable\n1 - Yes\n2 - No"
.text
.align 2
.global ordernecro1
.type ordernecro1, %function
ordernecro1:
.LFB13:
.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, tab
add x1, x0, :lo12:tab
adrp x0, .LC36
add x0, x0, :lo12:.LC36
bl printf
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 350]
cmp w0, 0
beq .L49
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl puts
b .L50
.L49:
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl puts
.L50:
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl printf
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 350]
cmp w0, 0
beq .L51
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 136]
cmp w0, 10
ble .L52
adrp x0, .LC40
add x0, x0, :lo12:.LC40
bl puts
b .L53
.L52:
adrp x0, .LC41
add x0, x0, :lo12:.LC41
bl puts
b .L53
.L51:
adrp x0, .LC42
add x0, x0, :lo12:.LC42
bl puts
.L53:
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl puts
add x0, sp, 19
mov x1, x0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl __isoc99_scanf
mov x2, 21
adrp x0, tsword
add x1, x0, :lo12:tsword
adrp x0, tab+148
add x0, x0, :lo12:tab+148
bl strncpy
mov x2, 14
adrp x0, temshield
add x1, x0, :lo12:temshield
adrp x0, tab+260
add x0, x0, :lo12:tab+260
bl strncpy
mov x2, 21
adrp x0, tarmor
add x1, x0, :lo12:tarmor
adrp x0, tab+204
add x0, x0, :lo12:tab+204
bl strncpy
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl puts
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 350]
cmp w0, 0
beq .L54
adrp x0, .LC45
add x0, x0, :lo12:.LC45
bl puts
b .L55
.L54:
adrp x0, .LC46
add x0, x0, :lo12:.LC46
bl puts
.L55:
adrp x0, .LC47
add x0, x0, :lo12:.LC47
bl puts
add x0, sp, 20
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 20]
cmp w0, 1
bne .L56
bl charinfo
.L56:
bl ordernecro2
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [sp, 24]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L57
bl __stack_chk_fail
.L57:
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size ordernecro1, .-ordernecro1
.section .rodata
.align 3
.LC48:
.ascii "'Now that you're properly equipped, we can talk about your a"
.ascii "ssignment. There's a village called Hartwing nearby. The vil"
.ascii "lagers had been reporting strange activity for some time alr"
.ascii "eady.I want you to go there, investigate and do what you dee"
.ascii "m necessary. I want you to understand - if anyone pract"
.string "ices magic there, he needs to be killed. No compromises. Do you understand?'\n'Yes... I think.\n'Don't think. Predict and act, according to the Templar tenants. Now go and report to me when you're done.'\n\nType any letter and press ENTER to travel to Hartwing"
.align 3
.LC49:
.ascii "\nYou arrive at Hartwig in the evening. It's a medium size v"
.ascii "illage with twenty to twenty-five houses. You need to get so"
.ascii "me information on what you're dealing with so you ask one of"
.ascii " the villagers to point you to the village elder. Soon you a"
.ascii "re standing in front of a bold elderly man with nicely trimm"
.ascii "ed small beard.\n'Greetings Knight, I'm delighted to see tha"
.ascii "t the Order finally recognised the problem we're having here"
.ascii ".'\n'Greetings elder, I'm no Knight though, at least not yet"
.ascii ". I'm an Initiate, I just joined today''Well, while I can't "
.ascii "hide I'd rather have someone more experianced dealing with w"
.ascii "ith our problem, even a single Templar Initiate has more pow"
.ascii "er and ability than all of us villagers combined. I assume y"
.ascii "ou've came to me for information, not for talk so listen car"
.ascii "efully. Since about a week and a half there are really stran"
.ascii "ge things going on. Wildlife is simply crazy during the nigh"
.ascii "t with wolves, wild dogs and "
.string "God knows what else raging the village and its surroundings. They ravage our land and fields leaving us without any perspective for the future. Please, do whatever you must to stop this madness.'\n\nType any letter and press ENTER to start your investigation"
.align 3
.LC50:
.ascii "\nYou walk the streets in attempt to spot something unusual,"
.ascii " and sure enough you see a woman in her early forties sweepi"
.ascii "ng the area in front of her houseAs soon as she notices you "
.ascii "she starts acting visibly nervous and hurries inside. Thinki"
.ascii "ng to yourself that you're feeling awfully lucky today, you "
.ascii "walk to the door and knock.\n'Open up!' you yell, but there "
.ascii "is no response.\nConsidering your options you find only one "
.ascii "- use of brutal force. You take a few steps back, and charge"
.ascii " the door with your shoulder.The door offer little resistanc"
.ascii "e and you find yourself in the woman's house. There are hush"
.ascii "ed voices coming somewhere from below.You find stairs leadin"
.ascii "g down and anothe"
.string "r door. Unsurprisingly it won't open, however there's no space for a running start to charge.You opt for a few kicks instead and the door finally gives up after seventh kick, leaving you quite exhausted.\n\nType any letter and press ENTER to inspect the room"
.align 3
.LC51:
.ascii "\nYou can see the woman you came after aswell as younger one"
.ascii " hiding in the corner of the room.As soon as you start appro"
.ascii "aching them, the older one yells:\n'Please! Leave her alone!"
.ascii " She didn't do anything!'\nYou ignore her and start moving c"
.ascii "loser, when suddenly the younger woman pushes the older one "
.ascii "away, and flames start blazing in her palms, while dark wind"
.ascii " surrounds her.\nThis woman is clearly a necromancer, whethe"
.ascii "r she lear"
.string "ned it or is a 'wild' one. You consider your options.\n\n1 - Frontal attack. She is clearly dangerous.\n2 - Mixed dodge and block tactics to close the gap, then take her down.\n3 - Throw the shield at her to stun her.\n4 - I could always try to talk her down..."
.align 3
.LC52:
.ascii "\n\nYou pull your shield in front "
.string "of you and start charging towards the woman. You can feel heat building before you, but you ignore it and bash into the necromancer.She lies unconscious on the ground, her life at your mercy. You decide to:\n1 - Kill her.\n2 - Spare her.\n3 - Make an example."
.align 3
.LC53:
.string "\n\nYou pull your shield in front of you and start charging towards the woman. You can feel heat building before you and soon you can't bear it anymore. Your armor starts to melt and your skin starts to burn."
.align 3
.LC54:
.ascii "\n\nYou swiftly dodge necromancer's attacks from one of her "
.ascii "palms, while "
.string "blocking attack from the other one with your shield. Soon you are standing in front of her and you knock her out with your shield.\n\nShe lies unconscious on the ground, her life at your mercy. You decide to:\n1 - Kill her.\n2 - Spare her.\n3 - Make an example."
.align 3
.LC55:
.string "\n\nYou try to dodge necromancer's attack and block it with your shield, but eventually you stumble and fall to the ground. She catches the opportunity and razes you quickly."
.align 3
.LC56:
.ascii "You quic"
.string "kly throw your shield at the necromancer when she's still preparing her magic. You catch her off guard and she fells to the floor.\n\nShe lies unconscious on the ground, her life at your mercy. You decide to:\n1 - Kill her.\n2 - Spare her.\n3 - Make an example."
.align 3
.LC57:
.string "You try to throw your shield at her, but your hand is stuck in the handle. The necromancer seizes the opportunity and blasts you into ashes."
.align 3
.LC58:
.ascii "You walk slowly towards her while talking calmly 'I'm here t"
.ascii "o help you. I'm not going to do anything to you"
.string "...'. She seems to ease herself for a moment. You now stand in front of her and you quickly bash her head with your armored glove.\n\nShe lies unconscious on the ground, her life at your mercy. You decide to:\n1 - Kill her.\n2 - Spare her.\n3 - Make an example."
.align 3
.LC59:
.string "You walk slowly towards her while talking calmly 'I'm here to help you. I'm not going to do anything to you...'. However, she doesn't seem to buy your talk and the last thing you see are fireballs flying right towards your face."
.align 3
.LC60:
.ascii "\nYou lower yourself and slit her throat. Immediately you he"
.ascii "ar 'Nooooooooooo!' from the older woman.\n"
.string "'She was my daughter! What did she do to deserve this?'\n'She was a mage, necromancer to that. They oughta be killed.'\nNot feeling in the mood for an explanation, you walk out of the house, inform elder that the problem is resolved and head back to Garoth.\n"
.align 3
.LC61:
.ascii "\n'Take her and your most valuable belongings, then leave th"
.ascii "is village for good. Liv"
.string "e somewhere in the wilds where she won't cause harm to anyone. I don't want to ever hear about you two again.'You say that to the older woman in a firm voice, then walk out of the room. You inform the elder that the case is closed and head back to Garoth.\n"
.align 3
.LC62:
.ascii "\nYou grab the younger woman's body and pull it outside. The"
.ascii " older woman, who turned out to be her mother is begging you"
.ascii " to leave her, but you ignore her.When you reach the center "
.ascii "of the village, you tell the elder to gather all the people."
.ascii " When every"
.string "one's finally in front of you, you unsheathe your sword and slit her throat.\n'This is what happens to every damned mage the Order meets. Let it be known that the Templars do not reason with filth!'\nYou leave her body where it fell and head back to Garoth.\n"
.text
.align 2
.global ordernecro2
.type ordernecro2, %function
ordernecro2:
.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
adrp x0, .LC48
add x0, x0, :lo12:.LC48
bl puts
add x0, sp, 29
mov x1, x0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl __isoc99_scanf
adrp x0, .LC49
add x0, x0, :lo12:.LC49
bl puts
add x0, sp, 30
mov x1, x0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl __isoc99_scanf
adrp x0, .LC50
add x0, x0, :lo12:.LC50
bl puts
add x0, sp, 31
mov x1, x0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl __isoc99_scanf
adrp x0, .LC51
add x0, x0, :lo12:.LC51
bl puts
add x0, sp, 32
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 32]
cmp w0, 4
beq .L59
cmp w0, 4
bgt .L60
cmp w0, 3
beq .L61
cmp w0, 3
bgt .L60
cmp w0, 1
beq .L62
cmp w0, 2
beq .L63
b .L60
.L62:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 120]
cmp w0, 12
bgt .L64
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 128]
cmp w0, 12
ble .L65
.L64:
adrp x0, .LC52
add x0, x0, :lo12:.LC52
bl puts
b .L60
.L65:
adrp x0, .LC53
add x0, x0, :lo12:.LC53
bl puts
bl death
b .L60
.L63:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 124]
cmp w0, 12
ble .L67
adrp x0, .LC54
add x0, x0, :lo12:.LC54
bl puts
b .L60
.L67:
adrp x0, .LC55
add x0, x0, :lo12:.LC55
bl puts
bl death
b .L60
.L61:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 132]
cmp w0, 12
ble .L69
adrp x0, .LC56
add x0, x0, :lo12:.LC56
bl puts
b .L60
.L69:
adrp x0, .LC57
add x0, x0, :lo12:.LC57
bl puts
bl death
b .L60
.L59:
adrp x0, tab
add x0, x0, :lo12:tab
ldr w0, [x0, 136]
cmp w0, 13
ble .L71
adrp x0, .LC58
add x0, x0, :lo12:.LC58
bl puts
b .L78
.L71:
adrp x0, .LC59
add x0, x0, :lo12:.LC59
bl puts
bl death
.L78:
nop
.L60:
add x0, sp, 36
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl __isoc99_scanf
ldr w0, [sp, 36]
cmp w0, 3
beq .L73
cmp w0, 3
bgt .L74
cmp w0, 1
beq .L75
cmp w0, 2
beq .L76
b .L74
.L75:
adrp x0, .LC60
add x0, x0, :lo12:.LC60
bl puts
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 1
strb w1, [x0, 352]
b .L74
.L76:
adrp x0, .LC61
add x0, x0, :lo12:.LC61
bl puts
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 1
strb w1, [x0, 353]
b .L74
.L73:
adrp x0, .LC62
add x0, x0, :lo12:.LC62
bl puts
adrp x0, tab
add x0, x0, :lo12:tab
mov w1, 1
strb w1, [x0, 354]
nop
.L74:
bl ending
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 .L77
bl __stack_chk_fail
.L77:
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size ordernecro2, .-ordernecro2
.section .rodata
.align 3
.LC63:
.string "\n\nUnfortunately, you have died. Try to make your choices according to your highest ranking skills."
.text
.align 2
.global death
.type death, %function
death:
.LFB15:
.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, .LC63
add x0, x0, :lo12:.LC63
bl printf
mov w0, 0
bl exit
.cfi_endproc
.LFE15:
.size death, .-death
.section .rodata
.align 3
.LC64:
.string "Type any letter and press ENTER to report to Jegor."
.align 3
.LC65:
.string "\nYou approach the tent and see Jegor."
.align 3
.LC66:
.ascii "'Ah, %s. Good job on dealing with that scum.\n'How do you kn"
.ascii "ow what I did?' you ask.\nBecause it was all a test. We had"
.string " a Templar disguised as a villager following your every move. We knew who was the mage for a long time. You did well and shall be rewarded. I grant you the title of Knight Templar. May you serve the God and the Empire well.'\n'Thank you, Knight-Commander'\n\n"
.align 3
.LC67:
.ascii "'Ah, %s. I must say I'm disappointed with your performance, "
.ascii "to say at least.\n'How do you know what I did?' you ask.\n'B"
.ascii "ecause it was all a"
.string " test. We had a Templar disguised as a villager following your every move. We knew who was the mage for a long time. Your mercy will not serve you well in the Order. We must be ruthless to preserve order.There's still a lot of work before you, Initiate.'\n\n"
.align 3
.LC68:
.ascii "'Ah, %s. Your performance was extraordinary. You will make f"
.ascii "or an excellent templar.\n'How do you know what I did?' you "
.ascii "ask.\n'Because it was all a test. We had a Templar disguised"
.ascii " as a villager following your every move. We knew who was th"
.ascii "e mage for a long time. You did very well. You passed the te"
.ascii "st with the highest possible performance and such a feat sha"
.ascii "ll be recognized. "
.string "I hereby name you a Knight-Captain of the Templar Order.May you serve the God and the Empire Well'\n'It's an honour, Knight-Commander.''You are also granted a new shield and armor, blessed byt he Holy One himself. Wear with it pride.'\n'I will.' you reply.\n\n"
.align 3
.LC69:
.string "Your character info has been exported to 'character.txt' file (provided it exists, if it doesn't an error message will be shown instead).\n"
.align 3
.LC70:
.string "\nUnfortunately this is as far as the original game goes.\nIf you want to continue, please buy the 'Civil War' DLC.\n\nBest regards,\nCEO of Electronic Aszkielaniec (EA)\n"
.text
.align 2
.global ending
.type ending, %function
ending:
.LFB16:
.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, .LC64
add x0, x0, :lo12:.LC64
bl puts
add x0, sp, 23
mov x1, x0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl __isoc99_scanf
adrp x0, .LC65
add x0, x0, :lo12:.LC65
bl puts
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 352]
cmp w0, 0
beq .L81
adrp x0, tab
add x1, x0, :lo12:tab
adrp x0, .LC66
add x0, x0, :lo12:.LC66
bl printf
mov x2, 14
adrp x0, kn
add x1, x0, :lo12:kn
adrp x0, tab+311
add x0, x0, :lo12:tab+311
bl strncpy
b .L82
.L81:
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 353]
cmp w0, 0
beq .L83
adrp x0, tab
add x1, x0, :lo12:tab
adrp x0, .LC67
add x0, x0, :lo12:.LC67
bl printf
b .L82
.L83:
adrp x0, tab
add x0, x0, :lo12:tab
ldrb w0, [x0, 354]
cmp w0, 0
beq .L82
adrp x0, tab
add x1, x0, :lo12:tab
adrp x0, .LC68
add x0, x0, :lo12:.LC68
bl printf
mov x2, 14
adrp x0, kc
add x1, x0, :lo12:kc
adrp x0, tab+311
add x0, x0, :lo12:tab+311
bl strncpy
mov x2, 20
adrp x0, ktarmor
add x1, x0, :lo12:ktarmor
adrp x0, tab+204
add x0, x0, :lo12:tab+204
bl strncpy
mov x2, 22
adrp x0, btemshield
add x1, x0, :lo12:btemshield
adrp x0, tab+260
add x0, x0, :lo12:tab+260
bl strncpy
.L82:
bl charinfo
adrp x0, .LC69
add x0, x0, :lo12:.LC69
bl puts
adrp x0, .LC70
add x0, x0, :lo12:.LC70
bl puts
mov w0, 0
bl exit
.cfi_endproc
.LFE16:
.size ending, .-ending
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global test_simple
.type test_simple, %function
test_simple:
.LFB0:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE0:
.size test_simple, .-test_simple
.align 2
.global test_simple_2
.type test_simple_2, %function
test_simple_2:
.LFB1:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE1:
.size test_simple_2, .-test_simple_2
.align 2
.global test_multiline
.type test_multiline, %function
test_multiline:
.LFB2:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE2:
.size test_multiline, .-test_multiline
.align 2
.global test_many_lines
.type test_many_lines, %function
test_many_lines:
.LFB3:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE3:
.size test_many_lines, .-test_many_lines
.align 2
.global test_richloc_from_proper_range
.type test_richloc_from_proper_range, %function
test_richloc_from_proper_range:
.LFB4:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE4:
.size test_richloc_from_proper_range, .-test_richloc_from_proper_range
.align 2
.global test_caret_within_proper_range
.type test_caret_within_proper_range, %function
test_caret_within_proper_range:
.LFB5:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE5:
.size test_caret_within_proper_range, .-test_caret_within_proper_range
.align 2
.global test_very_wide_line
.type test_very_wide_line, %function
test_very_wide_line:
.LFB6:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE6:
.size test_very_wide_line, .-test_very_wide_line
.align 2
.global test_very_wide_line_2
.type test_very_wide_line_2, %function
test_very_wide_line_2:
.LFB7:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE7:
.size test_very_wide_line_2, .-test_very_wide_line_2
.align 2
.global test_multiple_carets
.type test_multiple_carets, %function
test_multiple_carets:
.LFB8:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE8:
.size test_multiple_carets, .-test_multiple_carets
.align 2
.global test_caret_on_leading_whitespace
.type test_caret_on_leading_whitespace, %function
test_caret_on_leading_whitespace:
.LFB9:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE9:
.size test_caret_on_leading_whitespace, .-test_caret_on_leading_whitespace
.align 2
.global test_fixit_insert
.type test_fixit_insert, %function
test_fixit_insert:
.LFB10:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE10:
.size test_fixit_insert, .-test_fixit_insert
.align 2
.global test_fixit_remove
.type test_fixit_remove, %function
test_fixit_remove:
.LFB11:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE11:
.size test_fixit_remove, .-test_fixit_remove
.align 2
.global test_fixit_replace
.type test_fixit_replace, %function
test_fixit_replace:
.LFB12:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE12:
.size test_fixit_replace, .-test_fixit_replace
.align 2
.global test_percent_q_plus_d
.type test_percent_q_plus_d, %function
test_percent_q_plus_d:
.LFB13:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 12]
ldr w0, [sp, 12]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size test_percent_q_plus_d, .-test_percent_q_plus_d
.align 2
.global test_many_nested_locations
.type test_many_nested_locations, %function
test_many_nested_locations:
.LFB14:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE14:
.size test_many_nested_locations, .-test_many_nested_locations
.align 2
.global test_fixit_insert_newline
.type test_fixit_insert_newline, %function
test_fixit_insert_newline:
.LFB15:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE15:
.size test_fixit_insert_newline, .-test_fixit_insert_newline
.align 2
.global test_mutually_exclusive_suggestions
.type test_mutually_exclusive_suggestions, %function
test_mutually_exclusive_suggestions:
.LFB16:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE16:
.size test_mutually_exclusive_suggestions, .-test_mutually_exclusive_suggestions
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global n
.data
.align 2
.type n, %object
.size n, 4
n:
.word 1000
.global v1
.bss
.align 3
.type v1, %object
.size v1, 4000
v1:
.zero 4000
.global v2
.align 3
.type v2, %object
.size v2, 4000
v2:
.zero 4000
.global v3
.align 3
.type v3, %object
.size v3, 4000
v3:
.zero 4000
.global threads
.data
.align 2
.type threads, %object
.size threads, 4
threads:
.word 10
.text
.align 2
.global sum
.type sum, %function
sum:
.LFB6:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str w0, [sp, 28]
adrp x0, n
add x0, x0, :lo12:n
ldr w1, [x0]
ldr w0, [sp, 28]
mul w1, w1, w0
adrp x0, threads
add x0, x0, :lo12:threads
ldr w0, [x0]
sdiv w0, w1, w0
str w0, [sp, 24]
b .L2
.L3:
adrp x0, v1
add x0, x0, :lo12:v1
ldrsw x1, [sp, 24]
ldr w1, [x0, x1, lsl 2]
adrp x0, v2
add x0, x0, :lo12:v2
ldrsw x2, [sp, 24]
ldr w0, [x0, x2, lsl 2]
add w2, w1, w0
adrp x0, v3
add x0, x0, :lo12:v3
ldrsw x1, [sp, 24]
str w2, [x0, x1, lsl 2]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
.L2:
ldr w0, [sp, 28]
add w1, w0, 1
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
mul w1, w1, w0
adrp x0, threads
add x0, x0, :lo12:threads
ldr w0, [x0]
sdiv w0, w1, w0
ldr w1, [sp, 24]
cmp w1, w0
blt .L3
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size sum, .-sum
.section .rodata
.align 3
.LC0:
.string "%d, "
.align 3
.LC1:
.string "%d]"
.text
.align 2
.global main
.type main, %function
main:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
.cfi_def_cfa_register 29
str x19, [sp, 16]
sub sp, sp, #16
.cfi_offset 19, -48
adrp x8, :got:__stack_chk_guard
ldr x8, [x8, #:got_lo12:__stack_chk_guard]
ldr x9, [x8]
str x9, [x29, 56]
mov x9, 0
mov x8, sp
mov x19, x8
str wzr, [x29, 36]
b .L5
.L6:
adrp x8, v1
add x8, x8, :lo12:v1
ldrsw x9, [x29, 36]
mov w10, 1
str w10, [x8, x9, lsl 2]
adrp x8, v2
add x8, x8, :lo12:v2
ldrsw x9, [x29, 36]
mov w10, 1
str w10, [x8, x9, lsl 2]
ldr w8, [x29, 36]
add w8, w8, 1
str w8, [x29, 36]
.L5:
adrp x8, n
add x8, x8, :lo12:n
ldr w8, [x8]
ldr w9, [x29, 36]
cmp w9, w8
blt .L6
adrp x8, threads
add x8, x8, :lo12:threads
ldr w8, [x8]
sxtw x9, w8
sub x9, x9, #1
str x9, [x29, 40]
sxtw x9, w8
mov x6, x9
mov x7, 0
lsr x9, x6, 58
lsl x3, x7, 6
orr x3, x9, x3
lsl x2, x6, 6
sxtw x2, w8
mov x4, x2
mov x5, 0
lsr x2, x4, 58
lsl x1, x5, 6
orr x1, x2, x1
lsl x0, x4, 6
sxtw x0, w8
lsl x0, x0, 3
add x0, x0, 15
lsr x0, x0, 4
lsl x0, x0, 4
and x1, x0, -65536
sub x1, sp, x1
.L7:
cmp sp, x1
beq .L8
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L7
.L8:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L9
str xzr, [sp, 1024]
.L9:
add x0, sp, 16
add x0, x0, 7
lsr x0, x0, 3
lsl x0, x0, 3
str x0, [x29, 48]
str wzr, [x29, 36]
b .L10
.L11:
ldrsw x0, [x29, 36]
lsl x0, x0, 3
ldr x1, [x29, 48]
add x4, x1, x0
ldrsw x0, [x29, 36]
mov x3, x0
adrp x0, sum
add x2, x0, :lo12:sum
mov x1, 0
mov x0, x4
bl pthread_create
ldr w0, [x29, 36]
add w0, w0, 1
str w0, [x29, 36]
.L10:
adrp x0, threads
add x0, x0, :lo12:threads
ldr w0, [x0]
ldr w1, [x29, 36]
cmp w1, w0
blt .L11
str wzr, [x29, 36]
b .L12
.L13:
ldr x0, [x29, 48]
ldrsw x1, [x29, 36]
ldr x0, [x0, x1, lsl 3]
mov x1, 0
bl pthread_join
ldr w0, [x29, 36]
add w0, w0, 1
str w0, [x29, 36]
.L12:
adrp x0, threads
add x0, x0, :lo12:threads
ldr w0, [x0]
ldr w1, [x29, 36]
cmp w1, w0
blt .L13
mov w0, 91
bl putchar
str wzr, [x29, 36]
b .L14
.L15:
adrp x0, v3
add x0, x0, :lo12:v3
ldrsw x1, [x29, 36]
ldr w0, [x0, x1, lsl 2]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [x29, 36]
add w0, w0, 1
str w0, [x29, 36]
.L14:
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
sub w0, w0, #1
ldr w1, [x29, 36]
cmp w1, w0
blt .L15
adrp x0, n
add x0, x0, :lo12:n
ldr w0, [x0]
sub w1, w0, #1
adrp x0, v3
add x0, x0, :lo12:v3
sxtw x1, w1
ldr w0, [x0, x1, lsl 2]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
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, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L17
bl __stack_chk_fail
.L17:
mov w0, w1
mov sp, x29
ldr x19, [sp, 16]
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE7:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global __extenddftf2
.global __divtf3
.global __addtf3
.global __trunctfdf2
.global __multf3
.global __subtf3
.section .rodata
.align 3
.LC0:
.string "%d: %.17g, %.17g, %.17Lg\n"
.align 3
.LC1:
.string "%.17g, %.17Lg\n"
.text
.align 2
.global compute
.type compute, %function
compute:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -192]!
.cfi_def_cfa_offset 192
.cfi_offset 29, -192
.cfi_offset 30, -184
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -176
str d0, [sp, 104]
str w0, [sp, 100]
str x1, [sp, 88]
str x2, [sp, 80]
str d1, [sp, 72]
str d2, [sp, 64]
str d3, [sp, 56]
ldr d0, [sp, 104]
bl __extenddftf2
str q0, [sp, 128]
ldr d0, [sp, 72]
bl __extenddftf2
str q0, [sp, 144]
ldr d0, [sp, 64]
bl __extenddftf2
str q0, [sp, 160]
ldr d0, [sp, 56]
bl __extenddftf2
str q0, [sp, 176]
str wzr, [sp, 124]
b .L2
.L3:
ldr q1, [sp, 144]
adrp x0, .LC2
add x0, x0, :lo12:.LC2
ldr q0, [x0]
bl __divtf3
str q0, [sp, 32]
movi d0, #0
adrp x0, .LC3
ldr d1, [x0, #:lo12:.LC3]
fdiv d0, d1, d0
bl __extenddftf2
mov v1.16b, v0.16b
ldr q0, [sp, 32]
bl __addtf3
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 88]
add x19, x1, x0
bl __trunctfdf2
str d0, [x19]
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 80]
add x0, x1, x0
mov x1, -9223372036854775808
fmov d0, x1
str d0, [x0]
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 80]
add x0, x1, x0
ldr d0, [x0]
bl __extenddftf2
str q0, [sp, 32]
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
ldr d0, [x0]
bl __extenddftf2
mov v1.16b, v0.16b
ldr q0, [sp, 32]
bl __multf3
str q0, [sp, 32]
ldr q1, [sp, 176]
ldr q0, [sp, 160]
bl __divtf3
mov v1.16b, v0.16b
ldr q0, [sp, 32]
bl __subtf3
adrp x0, .LC4
add x0, x0, :lo12:.LC4
ldr q1, [x0]
bl __addtf3
mov v1.16b, v0.16b
ldr q0, [sp, 128]
bl __addtf3
str q0, [sp, 128]
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 88]
add x0, x1, x0
ldr d0, [x0]
ldrsw x0, [sp, 124]
lsl x0, x0, 3
ldr x1, [sp, 80]
add x0, x1, x0
ldr d1, [x0]
ldr q2, [sp, 128]
ldr w1, [sp, 124]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
ldr w0, [sp, 124]
add w0, w0, 1
str w0, [sp, 124]
.L2:
ldr w1, [sp, 124]
ldr w0, [sp, 100]
cmp w1, w0
blt .L3
ldr q1, [sp, 128]
ldr d0, [sp, 104]
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
nop
ldr x19, [sp, 16]
ldp x29, x30, [sp], 192
.cfi_restore 30
.cfi_restore 29
.cfi_restore 19
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size compute, .-compute
.align 2
.global initPointer
.type initPointer, %function
initPointer:
.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 d0, [sp, 24]
mov x0, 80
bl malloc
str x0, [sp, 40]
str wzr, [sp, 36]
b .L5
.L6:
ldrsw x0, [sp, 36]
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr d0, [sp, 24]
str d0, [x0]
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
.L5:
ldr w0, [sp, 36]
cmp w0, 9
ble .L6
ldr x0, [sp, 40]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size initPointer, .-initPointer
.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 w0, [sp, 28]
str x1, [sp, 16]
ldr x0, [sp, 16]
add x0, x0, 8
ldr x0, [x0]
bl atof
str d0, [sp, 48]
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 atof
bl initPointer
str x0, [sp, 56]
ldr x0, [sp, 16]
add x0, x0, 32
ldr x0, [x0]
bl atof
bl initPointer
str x0, [sp, 64]
ldr x0, [sp, 16]
add x0, x0, 40
ldr x0, [x0]
bl atof
str d0, [sp, 72]
ldr x0, [sp, 16]
add x0, x0, 48
ldr x0, [x0]
bl atof
str d0, [sp, 80]
ldr x0, [sp, 16]
add x0, x0, 56
ldr x0, [x0]
bl atof
str d0, [sp, 88]
ldr d3, [sp, 88]
ldr d2, [sp, 80]
ldr d1, [sp, 72]
ldr x2, [sp, 64]
ldr x1, [sp, 56]
ldr w0, [sp, 44]
ldr d0, [sp, 48]
bl compute
mov w0, 0
ldp x29, x30, [sp], 96
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size main, .-main
.section .rodata
.align 4
.LC2:
.word 0
.word 536870912
.word -950813294
.word 1030566947
.align 3
.LC3:
.word -700333931
.word -1074305874
.align 4
.LC4:
.word 0
.word 0
.word -536870912
.word 1004726978
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global swap
.type swap, %function
swap:
.LFB6:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str w2, [sp]
ldrsw x0, [sp, 4]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w0, [x0]
str w0, [sp, 28]
ldrsw x0, [sp]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x1, x1, x0
ldrsw x0, [sp, 4]
lsl x0, x0, 2
ldr x2, [sp, 8]
add x0, x2, x0
ldr w1, [x1]
str w1, [x0]
ldrsw x0, [sp]
lsl x0, x0, 2
ldr x1, [sp, 8]
add x0, x1, x0
ldr w1, [sp, 28]
str w1, [x0]
nop
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size swap, .-swap
.align 2
.global overlap
.type overlap, %function
overlap:
.LFB7:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
mov w0, 1
str w0, [sp, 16]
str wzr, [sp, 28]
b .L3
.L8:
ldr w0, [sp, 16]
str w0, [sp, 24]
str wzr, [sp, 20]
b .L4
.L7:
ldrsw x0, [sp, 24]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w1, [x0]
ldrsw x0, [sp, 20]
ldr x2, [sp]
add x0, x2, x0
ldrb w0, [x0]
cmp w1, w0
beq .L5
str wzr, [sp, 20]
b .L6
.L5:
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 20]
.L4:
ldrsw x0, [sp, 24]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
beq .L6
ldrsw x0, [sp, 20]
ldr x1, [sp]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L7
.L6:
ldr w0, [sp, 20]
ldr w2, [sp, 28]
ldr w1, [sp, 28]
cmp w2, w0
csel w0, w1, w0, ge
str w0, [sp, 28]
ldr w0, [sp, 16]
add w0, w0, 1
str w0, [sp, 16]
.L3:
ldrsw x0, [sp, 16]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 0
bne .L8
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size overlap, .-overlap
.align 2
.global superstring
.type superstring, %function
superstring:
.LFB8:
.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 w3, [sp, 36]
str w4, [sp, 32]
str x5, [sp, 24]
ldr w0, [sp, 36]
cmp w0, 1
bne .L11
mov w0, 1
str w0, [sp, 68]
str wzr, [sp, 72]
b .L12
.L13:
ldrsw x0, [sp, 68]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x0, [x0]
bl strlen
mov w3, w0
ldrsw x0, [sp, 68]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 40]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 68]
lsl x0, x0, 2
ldr x2, [sp, 56]
add x0, x2, x0
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 2
add x0, x1, x0
ldr w0, [x0]
sub w1, w3, w0
ldr w0, [sp, 72]
add w0, w1, w0
str w0, [sp, 72]
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L12:
ldr w1, [sp, 68]
ldr w0, [sp, 32]
cmp w1, w0
blt .L13
ldrsw x0, [sp, 32]
lsl x0, x0, 2
sub x0, x0, #4
ldr x1, [sp, 56]
add x0, x1, x0
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x0, [x0]
bl strlen
mov w1, w0
ldr w0, [sp, 72]
add w0, w1, w0
str w0, [sp, 72]
ldr x0, [sp, 24]
ldr w0, [x0]
ldr w1, [sp, 72]
cmp w1, w0
bge .L19
ldr x0, [sp, 24]
ldr w1, [sp, 72]
str w1, [x0]
b .L19
.L11:
str wzr, [sp, 68]
b .L15
.L18:
ldr w0, [sp, 36]
sub w0, w0, #1
ldr x5, [sp, 24]
ldr w4, [sp, 32]
mov w3, w0
ldr x2, [sp, 40]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl superstring
ldr w0, [sp, 36]
and w0, w0, 1
cmp w0, 0
bne .L16
ldr w0, [sp, 68]
b .L17
.L16:
mov w0, 1
.L17:
str w0, [sp, 76]
ldr w0, [sp, 36]
sub w0, w0, #1
mov w2, w0
ldr w1, [sp, 76]
ldr x0, [sp, 56]
bl swap
ldr w0, [sp, 68]
add w0, w0, 1
str w0, [sp, 68]
.L15:
ldr w1, [sp, 68]
ldr w0, [sp, 36]
cmp w1, w0
blt .L18
.L19:
nop
ldp x29, x30, [sp], 80
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size superstring, .-superstring
.align 2
.global overlap_table
.type overlap_table, %function
overlap_table:
.LFB9:
.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]
str wzr, [sp, 72]
b .L21
.L25:
str wzr, [sp, 76]
b .L22
.L24:
ldr w1, [sp, 72]
ldr w0, [sp, 76]
cmp w1, w0
beq .L23
ldrsw x0, [sp, 72]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr x2, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 3
ldr x1, [sp, 56]
add x0, x1, x0
ldr x3, [x0]
ldrsw x0, [sp, 72]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x1, [x0]
ldrsw x0, [sp, 76]
lsl x0, x0, 2
add x19, x1, x0
mov x1, x3
mov x0, x2
bl overlap
str w0, [x19]
.L23:
ldr w0, [sp, 76]
add w0, w0, 1
str w0, [sp, 76]
.L22:
ldr w1, [sp, 76]
ldr w0, [sp, 44]
cmp w1, w0
blt .L24
ldr w0, [sp, 72]
add w0, w0, 1
str w0, [sp, 72]
.L21:
ldr w1, [sp, 72]
ldr w0, [sp, 44]
cmp w1, w0
blt .L25
nop
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
.LFE9:
.size overlap_table, .-overlap_table
.section .rodata
.align 3
.LC0:
.string "%d"
.align 3
.LC1:
.string "%s"
.align 3
.LC2:
.string "%d\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 x19, [sp, 16]
.cfi_offset 19, -64
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, 1000
str w0, [sp, 40]
add x0, sp, 36
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
ldr w0, [sp, 36]
sxtw x0, w0
mov x1, 8
bl calloc
str x0, [sp, 48]
ldr w0, [sp, 36]
sxtw x0, w0
mov x1, 4
bl calloc
str x0, [sp, 56]
ldr w0, [sp, 36]
sxtw x0, w0
mov x1, 8
bl calloc
str x0, [sp, 64]
str wzr, [sp, 44]
b .L27
.L28:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x19, x1, x0
mov x1, 1
mov x0, 100
bl calloc
str x0, [x19]
ldr w0, [sp, 36]
sxtw x2, w0
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 64]
add x19, x1, x0
mov x1, 4
mov x0, x2
bl calloc
str x0, [x19]
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x0, [x0]
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 44]
add w1, w0, 1
str w1, [sp, 44]
ldrsw x1, [sp, 44]
lsl x1, x1, 2
ldr x2, [sp, 56]
add x1, x2, x1
str w0, [x1]
.L27:
ldr w0, [sp, 36]
ldr w1, [sp, 44]
cmp w1, w0
blt .L28
ldr w0, [sp, 36]
mov w2, w0
ldr x1, [sp, 64]
ldr x0, [sp, 48]
bl overlap_table
ldr w0, [sp, 36]
ldr w1, [sp, 36]
add x2, sp, 40
mov x5, x2
mov w4, w1
mov w3, w0
ldr x2, [sp, 64]
ldr x1, [sp, 48]
ldr x0, [sp, 56]
bl superstring
ldr w0, [sp, 40]
mov w1, w0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
str wzr, [sp, 44]
b .L29
.L30:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 48]
add x0, x1, x0
ldr x0, [x0]
bl free
ldrsw x0, [sp, 44]
lsl x0, x0, 3
ldr x1, [sp, 64]
add x0, x1, x0
ldr x0, [x0]
bl free
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L29:
ldr w0, [sp, 36]
ldr w1, [sp, 44]
cmp w1, w0
blt .L30
ldr x0, [sp, 48]
bl free
ldr x0, [sp, 64]
bl free
ldr x0, [sp, 56]
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, 72]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L32
bl __stack_chk_fail
.L32:
mov w0, w1
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
.LFE10:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global func_exit
.type func_exit, %function
func_exit:
.LFB6:
.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, __func__.1
add x0, x0, :lo12:__func__.1
bl puts
mov w0, 0
bl exit
.cfi_endproc
.LFE6:
.size func_exit, .-func_exit
.align 2
.global func_call
.type func_call, %function
func_call:
.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, __func__.0
add x0, x0, :lo12:__func__.0
bl puts
mov w0, 0
bl exit
.cfi_endproc
.LFE7:
.size func_call, .-func_call
.global mem
.data
.align 3
.type mem, %object
.size mem, 16
mem:
.xword 7859128944305202660
.xword 4615074700305584523
.section .rodata
.align 3
.LC0:
.string "%016lx\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB8:
.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, 72
sub x0, x0, #48
adrp x1, .LC1
add x1, x1, :lo12:.LC1
ld1 {v0.16b - v1.16b}, [x1]
st1 {v0.16b - v1.16b}, [x0]
#APP
// 20 "program.c" 1
moveli r48, -831
shl16insli r48, r48, -21707
shl16insli r48, r48, 21243
shl16insli r48, r48, 32630
moveli r45, 5379
shl16insli r45, r45, 17793
shl16insli r45, r45, 30101
shl16insli r45, r45, 16122
{ tblidxb2 r48, r45 ; fnop ; ld r63, r54 }
move x2, r48
move x1, r45
// 0 "" 2
#NO_APP
add x0, sp, 72
sub x0, x0, #48
str x2, [x0]
add x0, sp, 72
sub x0, x0, #48
str x1, [x0, 8]
add x0, sp, 72
sub x0, x0, #48
ldr x0, [x0]
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 72
sub x0, x0, #48
ldr x0, [x0, 8]
mov x1, x0
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, 56]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L5
bl __stack_chk_fail
.L5:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size main, .-main
.section .rodata
.align 3
.type __func__.1, %object
.size __func__.1, 10
__func__.1:
.string "func_exit"
.align 3
.type __func__.0, %object
.size __func__.0, 10
__func__.0:
.string "func_call"
.align 4
.LC1:
.xword 0
.xword 0
.xword 0
.xword 0
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "func.shared"
.align 3
.LC1:
.string "unable to open 'func.shared': %s\n"
.align 3
.LC2:
.string "func"
.align 3
.LC3:
.string "unable to lookup symbol 'func': %s\n"
.align 3
.LC4:
.string "func2.shared"
.align 3
.LC5:
.string "unable to open 'func2.shared': %s\n"
.align 3
.LC6:
.string "func2"
.align 3
.LC7:
.string "unable to lookup symbol 'func2': %s\n"
.align 3
.LC8:
.string "__gcov_reset"
.align 3
.LC9:
.string "unable to find __gcov_reset in func.shared': %s\n"
.align 3
.LC10:
.string "unable to find __gcov_reset in func2.shared': %s\n"
.align 3
.LC11:
.string "Same __gcov_reset found in func.shared and func2.shared\n"
.align 3
.LC12:
.string "unable to close 'func2.shared': %s\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 x19, [sp, 16]
.cfi_offset 19, -96
str w0, [sp, 44]
str x1, [sp, 32]
bl dlerror
mov w1, 257
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl dlopen
str x0, [sp, 64]
ldr x0, [sp, 64]
cmp x0, 0
bne .L2
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl dlerror
mov x2, x0
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov x0, x19
bl fprintf
mov w0, 1
b .L3
.L2:
adrp x0, .LC2
add x1, x0, :lo12:.LC2
ldr x0, [sp, 64]
bl dlsym
str x0, [sp, 72]
ldr x0, [sp, 72]
cmp x0, 0
bne .L4
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl dlerror
mov x2, x0
adrp x0, .LC3
add x1, x0, :lo12:.LC3
mov x0, x19
bl fprintf
mov w0, 1
b .L3
.L4:
bl dlerror
mov w1, 257
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl dlopen
str x0, [sp, 80]
ldr x0, [sp, 80]
cmp x0, 0
bne .L5
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl dlerror
mov x2, x0
adrp x0, .LC5
add x1, x0, :lo12:.LC5
mov x0, x19
bl fprintf
mov w0, 1
b .L3
.L5:
adrp x0, .LC6
add x1, x0, :lo12:.LC6
ldr x0, [sp, 80]
bl dlsym
str x0, [sp, 88]
ldr x0, [sp, 88]
cmp x0, 0
bne .L6
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl dlerror
mov x2, x0
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x19
bl fprintf
mov w0, 1
b .L3
.L6:
ldr x0, [sp, 88]
blr x0
bl dlerror
adrp x0, .LC8
add x1, x0, :lo12:.LC8
ldr x0, [sp, 64]
bl dlsym
str x0, [sp, 96]
ldr x0, [sp, 96]
cmp x0, 0
bne .L7
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl dlerror
mov x2, x0
adrp x0, .LC9
add x1, x0, :lo12:.LC9
mov x0, x19
bl fprintf
mov w0, 1
b .L3
.L7:
bl dlerror
adrp x0, .LC8
add x1, x0, :lo12:.LC8
ldr x0, [sp, 80]
bl dlsym
str x0, [sp, 104]
ldr x0, [sp, 104]
cmp x0, 0
bne .L8
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl dlerror
mov x2, x0
adrp x0, .LC10
add x1, x0, :lo12:.LC10
mov x0, x19
bl fprintf
mov w0, 1
b .L3
.L8:
ldr x1, [sp, 96]
ldr x0, [sp, 104]
cmp x1, x0
bne .L9
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 56
mov x1, 1
adrp x0, .LC11
add x0, x0, :lo12:.LC11
bl fwrite
mov w0, 1
b .L3
.L9:
bl dlerror
ldr x0, [sp, 80]
bl dlclose
cmp w0, 0
beq .L10
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl dlerror
mov x2, x0
adrp x0, .LC12
add x1, x0, :lo12:.LC12
mov x0, x19
bl fprintf
mov w0, 1
b .L3
.L10:
ldr x0, [sp, 72]
blr x0
str wzr, [sp, 52]
str wzr, [sp, 56]
mov w0, 10
str w0, [sp, 60]
ldr w2, [sp, 60]
mov w0, 26215
movk w0, 0x6666, lsl 16
smull x0, w2, w0
lsr x0, x0, 32
asr w1, w0, 1
asr w0, w2, 31
sub w1, w1, w0
mov w0, w1
lsl w0, w0, 2
add w0, w0, w1
sub w1, w2, w0
cmp w1, 0
bne .L11
ldr w0, [sp, 52]
add w0, w0, 1
str w0, [sp, 52]
b .L12
.L11:
ldr w0, [sp, 56]
add w0, w0, 1
str w0, [sp, 56]
.L12:
mov w0, 0
.L3:
ldr x19, [sp, 16]
ldp x29, x30, [sp], 112
.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
.global done
.bss
.align 2
.type done, %object
.size done, 4
done:
.zero 4
.global rcvbufsz
.align 2
.type rcvbufsz, %object
.size rcvbufsz, 4
rcvbufsz:
.zero 4
.global name
.align 3
.type name, %object
.size name, 100
name:
.zero 100
.global dbg
.align 2
.type dbg, %object
.size dbg, 4
dbg:
.zero 4
.global print_delays
.align 2
.type print_delays, %object
.size print_delays, 4
print_delays:
.zero 4
.global print_io_accounting
.align 2
.type print_io_accounting, %object
.size print_io_accounting, 4
print_io_accounting:
.zero 4
.global print_task_context_switch_counts
.align 2
.type print_task_context_switch_counts, %object
.size print_task_context_switch_counts, 4
print_task_context_switch_counts:
.zero 4
.global cpumask
.align 3
.type cpumask, %object
.size cpumask, 292
cpumask:
.zero 292
.section .rodata
.align 3
.LC0:
.string "getdelays [-dilv] [-w logfile] [-r bufsize] [-m cpumask] [-t tgid] [-p pid]\n"
.align 3
.LC1:
.string " -d: print delayacct stats\n"
.align 3
.LC2:
.string " -i: print IO accounting (works only with -p)\n"
.align 3
.LC3:
.string " -l: listen forever\n"
.align 3
.LC4:
.string " -v: debug on\n"
.align 3
.LC5:
.string " -C: container path\n"
.text
.align 2
.type usage, %function
usage:
.LFB6:
.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, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 76
mov x1, 1
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl fwrite
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 28
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, 47
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, 21
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, 15
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, 21
mov x1, 1
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl fwrite
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size usage, .-usage
.section .rodata
.align 3
.LC6:
.string "Unable to set socket rcv buf size to %d\n"
.text
.align 2
.type create_nl_socket, %function
create_nl_socket:
.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, 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
ldr w2, [sp, 28]
mov w1, 3
mov w0, 16
bl socket
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 0
bge .L3
mov w0, -1
b .L8
.L3:
adrp x0, rcvbufsz
add x0, x0, :lo12:rcvbufsz
ldr w0, [x0]
cmp w0, 0
beq .L5
mov w4, 4
adrp x0, rcvbufsz
add x3, x0, :lo12:rcvbufsz
mov w2, 8
mov w1, 1
ldr w0, [sp, 36]
bl setsockopt
cmp w0, 0
bge .L5
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
adrp x0, rcvbufsz
add x0, x0, :lo12:rcvbufsz
ldr w0, [x0]
mov w2, w0
adrp x0, .LC6
add x1, x0, :lo12:.LC6
mov x0, x3
bl fprintf
b .L6
.L5:
add x0, sp, 40
mov x2, 12
mov w1, 0
bl memset
mov w0, 16
strh w0, [sp, 40]
add x0, sp, 40
mov w2, 12
mov x1, x0
ldr w0, [sp, 36]
bl bind
cmp w0, 0
blt .L10
ldr w0, [sp, 36]
b .L8
.L10:
nop
.L6:
ldr w0, [sp, 36]
bl close
mov w0, -1
.L8:
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 .L9
bl __stack_chk_fail
.L9:
mov w0, w1
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE7:
.size create_nl_socket, .-create_nl_socket
.align 2
.type send_cmd, %function
send_cmd:
.LFB8:
.cfi_startproc
sub sp, sp, #1152
.cfi_def_cfa_offset 1152
stp x29, x30, [sp]
.cfi_offset 29, -1152
.cfi_offset 30, -1144
mov x29, sp
str w0, [sp, 44]
strh w1, [sp, 42]
str w2, [sp, 36]
strb w3, [sp, 41]
strh w4, [sp, 34]
str x5, [sp, 24]
str w6, [sp, 20]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 1144]
mov x1, 0
mov w0, 20
str w0, [sp, 96]
ldrh w0, [sp, 42]
strh w0, [sp, 100]
mov w0, 1
strh w0, [sp, 102]
str wzr, [sp, 104]
ldr w0, [sp, 36]
str w0, [sp, 108]
ldrb w0, [sp, 41]
strb w0, [sp, 112]
mov w0, 1
strb w0, [sp, 113]
add x0, sp, 96
add x0, x0, 20
str x0, [sp, 72]
ldr x0, [sp, 72]
ldrh w1, [sp, 34]
strh w1, [x0, 2]
ldr w0, [sp, 20]
and w0, w0, 65535
add w0, w0, 5
and w1, w0, 65535
ldr x0, [sp, 72]
strh w1, [x0]
ldr x0, [sp, 72]
add x0, x0, 4
ldrsw x1, [sp, 20]
mov x2, x1
ldr x1, [sp, 24]
bl memcpy
ldr w1, [sp, 96]
ldr x0, [sp, 72]
ldrh w0, [x0]
add w0, w0, 3
and w0, w0, -4
add w0, w1, w0
str w0, [sp, 96]
add x0, sp, 96
str x0, [sp, 64]
ldr w0, [sp, 96]
str w0, [sp, 56]
add x0, sp, 80
mov x2, 12
mov w1, 0
bl memset
mov w0, 16
strh w0, [sp, 80]
b .L12
.L15:
ldr w0, [sp, 60]
cmp w0, 0
ble .L13
ldrsw x0, [sp, 60]
ldr x1, [sp, 64]
add x0, x1, x0
str x0, [sp, 64]
ldr w1, [sp, 56]
ldr w0, [sp, 60]
sub w0, w1, w0
str w0, [sp, 56]
b .L12
.L13:
bl __errno_location
ldr w0, [x0]
cmp w0, 11
beq .L12
mov w0, -1
b .L16
.L12:
ldrsw x0, [sp, 56]
add x1, sp, 80
mov w5, 12
mov x4, x1
mov w3, 0
mov x2, x0
ldr x1, [sp, 64]
ldr w0, [sp, 44]
bl sendto
str w0, [sp, 60]
ldr w1, [sp, 60]
ldr w0, [sp, 56]
cmp w1, w0
blt .L15
mov w0, 0
.L16:
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 1144]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L17
bl __stack_chk_fail
.L17:
mov w0, w1
ldp x29, x30, [sp]
add sp, sp, 1152
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size send_cmd, .-send_cmd
.section .rodata
.align 3
.LC7:
.string "TASKSTATS"
.text
.align 2
.type get_family_id, %function
get_family_id:
.LFB9:
.cfi_startproc
stp x29, x30, [sp, -352]!
.cfi_def_cfa_offset 352
.cfi_offset 29, -352
.cfi_offset 30, -344
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, 344]
mov x1, 0
str wzr, [sp, 44]
adrp x0, name
add x2, x0, :lo12:name
adrp x0, .LC7
add x1, x0, :lo12:.LC7
mov x0, x2
ldr x2, [x1]
str x2, [x0]
ldrh w1, [x1, 8]
strh w1, [x0, 8]
bl getpid
mov w1, w0
mov w6, 10
adrp x0, name
add x5, x0, :lo12:name
mov w4, 2
mov w3, 3
mov w2, w1
mov w1, 16
ldr w0, [sp, 28]
bl send_cmd
str w0, [sp, 48]
ldr w0, [sp, 48]
cmp w0, 0
bge .L19
mov w0, 0
b .L24
.L19:
add x0, sp, 64
mov w3, 0
mov x2, 276
mov x1, x0
ldr w0, [sp, 28]
bl recv
str w0, [sp, 52]
ldrh w0, [sp, 68]
cmp w0, 2
beq .L21
ldr w0, [sp, 52]
cmp w0, 0
blt .L21
ldr w0, [sp, 52]
cmp w0, 15
ble .L21
ldr w0, [sp, 64]
cmp w0, 15
bls .L21
ldr w1, [sp, 64]
ldr w0, [sp, 52]
cmp w1, w0
bls .L22
.L21:
mov w0, 0
b .L24
.L22:
add x0, sp, 64
add x0, x0, 20
str x0, [sp, 56]
ldr x0, [sp, 56]
ldrh w0, [x0]
add w0, w0, 3
and w0, w0, -4
sxtw x0, w0
ldr x1, [sp, 56]
add x0, x1, x0
str x0, [sp, 56]
ldr x0, [sp, 56]
ldrh w0, [x0, 2]
cmp w0, 1
bne .L23
ldr x0, [sp, 56]
add x0, x0, 4
ldrh w0, [x0]
str w0, [sp, 44]
.L23:
ldr w0, [sp, 44]
.L24:
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 .L25
bl __stack_chk_fail
.L25:
mov w0, w1
ldp x29, x30, [sp], 352
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE9:
.size get_family_id, .-get_family_id
.section .rodata
.align 3
.LC8:
.string "delay average"
.align 3
.LC9:
.string "delay total"
.align 3
.LC10:
.string "virtual total"
.align 3
.LC11:
.string "real total"
.align 3
.LC12:
.string "count"
.align 3
.LC13:
.string "\n\nCPU %15s%15s%15s%15s%15s\n %15llu%15llu%15llu%15llu%15.3fms\nIO %15s%15s%15s\n %15llu%15llu%15llums\nSWAP %15s%15s%15s\n %15llu%15llu%15llums\nRECLAIM %12s%15s%15s\n %15llu%15llu%15llums\n"
.text
.align 2
.type print_delayacct, %function
print_delayacct:
.LFB10:
.cfi_startproc
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, 160]
.cfi_offset 29, -32
.cfi_offset 30, -24
add x29, sp, 160
str x0, [sp, 184]
ldr x0, [sp, 184]
ldr x12, [x0, 16]
ldr x0, [sp, 184]
ldr x13, [x0, 64]
ldr x0, [sp, 184]
ldr x1, [x0, 72]
ldr x0, [sp, 184]
ldr x2, [x0, 24]
ldr x0, [sp, 184]
ldr d0, [x0, 24]
ucvtf d0, d0
mov x0, 145685290680320
movk x0, 0x412e, lsl 48
fmov d1, x0
fdiv d1, d0, d1
ldr x0, [sp, 184]
ldr x0, [x0, 16]
cmp x0, 0
beq .L27
ldr x0, [sp, 184]
ldr d0, [x0, 16]
ucvtf d0, d0
b .L28
.L27:
fmov d0, 1.0e+0
.L28:
fdiv d0, d1, d0
ldr x0, [sp, 184]
ldr x3, [x0, 32]
ldr x0, [sp, 184]
ldr x4, [x0, 40]
ldr x0, [sp, 184]
ldr x5, [x0, 40]
mov x0, 13531
movk x0, 0xd7b6, lsl 16
movk x0, 0xde82, lsl 32
movk x0, 0x431b, lsl 48
umulh x0, x5, x0
lsr x5, x0, 18
ldr x0, [sp, 184]
ldr x0, [x0, 32]
cmp x0, 0
beq .L29
ldr x0, [sp, 184]
ldr x0, [x0, 32]
b .L30
.L29:
mov x0, 1
.L30:
udiv x5, x5, x0
ldr x0, [sp, 184]
ldr x6, [x0, 48]
ldr x0, [sp, 184]
ldr x7, [x0, 56]
ldr x0, [sp, 184]
ldr x8, [x0, 56]
mov x0, 13531
movk x0, 0xd7b6, lsl 16
movk x0, 0xde82, lsl 32
movk x0, 0x431b, lsl 48
umulh x0, x8, x0
lsr x8, x0, 18
ldr x0, [sp, 184]
ldr x0, [x0, 48]
cmp x0, 0
beq .L31
ldr x0, [sp, 184]
ldr x0, [x0, 48]
b .L32
.L31:
mov x0, 1
.L32:
udiv x8, x8, x0
ldr x0, [sp, 184]
ldr x9, [x0, 312]
ldr x0, [sp, 184]
ldr x10, [x0, 320]
ldr x0, [sp, 184]
ldr x11, [x0, 320]
mov x0, 13531
movk x0, 0xd7b6, lsl 16
movk x0, 0xde82, lsl 32
movk x0, 0x431b, lsl 48
umulh x0, x11, x0
lsr x11, x0, 18
ldr x0, [sp, 184]
ldr x0, [x0, 312]
cmp x0, 0
beq .L33
ldr x0, [sp, 184]
ldr x0, [x0, 312]
b .L34
.L33:
mov x0, 1
.L34:
udiv x0, x11, x0
str x0, [sp, 152]
str x10, [sp, 144]
str x9, [sp, 136]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
str x0, [sp, 128]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
str x0, [sp, 120]
adrp x0, .LC12
add x0, x0, :lo12:.LC12
str x0, [sp, 112]
str x8, [sp, 104]
str x7, [sp, 96]
str x6, [sp, 88]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
str x0, [sp, 80]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
str x0, [sp, 72]
adrp x0, .LC12
add x0, x0, :lo12:.LC12
str x0, [sp, 64]
str x5, [sp, 56]
str x4, [sp, 48]
str x3, [sp, 40]
adrp x0, .LC8
add x0, x0, :lo12:.LC8
str x0, [sp, 32]
adrp x0, .LC9
add x0, x0, :lo12:.LC9
str x0, [sp, 24]
adrp x0, .LC12
add x0, x0, :lo12:.LC12
str x0, [sp, 16]
str x2, [sp, 8]
str x1, [sp]
mov x7, x13
mov x6, x12
adrp x0, .LC8
add x5, x0, :lo12:.LC8
adrp x0, .LC9
add x4, x0, :lo12:.LC9
adrp x0, .LC10
add x3, x0, :lo12:.LC10
adrp x0, .LC11
add x2, x0, :lo12:.LC11
adrp x0, .LC12
add x1, x0, :lo12:.LC12
adrp x0, .LC13
add x0, x0, :lo12:.LC13
bl printf
nop
ldp x29, x30, [sp, 160]
add sp, sp, 192
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE10:
.size print_delayacct, .-print_delayacct
.section .rodata
.align 3
.LC14:
.string "nonvoluntary"
.align 3
.LC15:
.string "voluntary"
.align 3
.LC16:
.string "\n\nTask %15s%15s\n %15llu%15llu\n"
.text
.align 2
.type task_context_switch_counts, %function
task_context_switch_counts:
.LFB11:
.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]
ldr x1, [x0, 272]
ldr x0, [sp, 24]
ldr x0, [x0, 280]
mov x4, x0
mov x3, x1
adrp x0, .LC14
add x2, x0, :lo12:.LC14
adrp x0, .LC15
add x1, x0, :lo12:.LC15
adrp x0, .LC16
add x0, x0, :lo12:.LC16
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE11:
.size task_context_switch_counts, .-task_context_switch_counts
.section .rodata
.align 3
.LC17:
.string "sleeping %llu, blocked %llu, running %llu, stopped %llu, uninterruptible %llu\n"
.text
.align 2
.type print_cgroupstats, %function
print_cgroupstats:
.LFB12:
.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]
ldr x1, [x0]
ldr x0, [sp, 24]
ldr x2, [x0, 32]
ldr x0, [sp, 24]
ldr x3, [x0, 8]
ldr x0, [sp, 24]
ldr x4, [x0, 16]
ldr x0, [sp, 24]
ldr x0, [x0, 24]
mov x5, x0
adrp x0, .LC17
add x0, x0, :lo12:.LC17
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size print_cgroupstats, .-print_cgroupstats
.section .rodata
.align 3
.LC18:
.string "%s: read=%llu, write=%llu, cancelled_write=%llu\n"
.text
.align 2
.type print_ioacct, %function
print_ioacct:
.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]
ldr x0, [sp, 24]
add x1, x0, 80
ldr x0, [sp, 24]
ldr x2, [x0, 248]
ldr x0, [sp, 24]
ldr x3, [x0, 256]
ldr x0, [sp, 24]
ldr x0, [x0, 264]
mov x4, x0
adrp x0, .LC18
add x0, x0, :lo12:.LC18
bl printf
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size print_ioacct, .-print_ioacct
.section .rodata
.align 3
.LC19:
.string "qdiw:r:m:t:p:vlC:c:"
.align 3
.LC20:
.string "print delayacct stats ON"
.align 3
.LC21:
.string "printing IO accounting"
.align 3
.LC22:
.string "printing task/process context switch rates"
.align 3
.LC23:
.string "write to file %s\n"
.align 3
.LC24:
.string "receive buf size %d\n"
.align 3
.LC25:
.string "Invalid rcv buf size\n"
.align 3
.LC26:
.string "cpumask %s maskset %d\n"
.align 3
.LC27:
.string "Invalid tgid\n"
.align 3
.LC28:
.string "Invalid pid\n"
.align 3
.LC29:
.string "Failed to empty sigset"
.align 3
.LC30:
.string "Failed to set sigchld in sigset"
.align 3
.LC31:
.string "Fork failed\n"
.align 3
.LC32:
.string "debug on"
.align 3
.LC33:
.string "listen forever"
.align 3
.LC34:
.string "Cannot open output file\n"
.align 3
.LC35:
.string "error creating Netlink socket\n"
.align 3
.LC36:
.string "Error getting family id, errno %d\n"
.align 3
.LC37:
.string "family id %d\n"
.align 3
.LC38:
.string "Sent register cpumask, retval %d\n"
.align 3
.LC39:
.string "error sending register cpumask\n"
.align 3
.LC40:
.string "Select either -t or -C, not both\n"
.align 3
.LC41:
.string "Sent pid/tgid, retval %d\n"
.align 3
.LC42:
.string "error sending tid/tgid cmd\n"
.align 3
.LC43:
.string "error opening container file"
.align 3
.LC44:
.string "error sending cgroupstats command"
.align 3
.LC45:
.string "received %d bytes\n"
.align 3
.LC46:
.string "nonfatal reply error: errno %d\n"
.align 3
.LC47:
.string "fatal reply error, errno %d\n"
.align 3
.LC48:
.string "nlmsghdr size=%zu, nlmsg_len=%d, rep_len=%d\n"
.align 3
.LC49:
.string "PID\t%d\n"
.align 3
.LC50:
.string "TGID\t%d\n"
.align 3
.LC51:
.string "write error\n"
.align 3
.LC52:
.string "Unknown nested nla_type %d\n"
.align 3
.LC53:
.string "Unknown nla_type %d\n"
.align 3
.LC54:
.string "Sent deregister mask, retval %d\n"
.align 3
.LC55:
.string "error sending deregister cpumask\n"
.text
.align 2
.global main
.type main, %function
main:
.LFB14:
.cfi_startproc
sub sp, sp, #2368
.cfi_def_cfa_offset 2368
stp x29, x30, [sp]
.cfi_offset 29, -2368
.cfi_offset 30, -2360
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -2352
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, 2360]
mov x1, 0
str wzr, [sp, 72]
mov w0, -1
str w0, [sp, 108]
str wzr, [sp, 76]
str wzr, [sp, 56]
str wzr, [sp, 112]
str wzr, [sp, 80]
str wzr, [sp, 84]
str wzr, [sp, 88]
str wzr, [sp, 92]
str xzr, [sp, 144]
str wzr, [sp, 96]
str wzr, [sp, 100]
str wzr, [sp, 60]
str wzr, [sp, 104]
b .L39
.L62:
adrp x0, .LC19
add x2, x0, :lo12:.LC19
ldr x1, [sp, 32]
ldr w0, [sp, 44]
bl getopt
str w0, [sp, 116]
ldr w0, [sp, 116]
cmp w0, 0
blt .L109
ldr w0, [sp, 116]
cmp w0, 119
beq .L42
ldr w0, [sp, 116]
cmp w0, 119
bgt .L43
ldr w0, [sp, 116]
cmp w0, 118
beq .L44
ldr w0, [sp, 116]
cmp w0, 118
bgt .L43
ldr w0, [sp, 116]
cmp w0, 116
beq .L45
ldr w0, [sp, 116]
cmp w0, 116
bgt .L43
ldr w0, [sp, 116]
cmp w0, 114
beq .L46
ldr w0, [sp, 116]
cmp w0, 114
bgt .L43
ldr w0, [sp, 116]
cmp w0, 113
beq .L47
ldr w0, [sp, 116]
cmp w0, 113
bgt .L43
ldr w0, [sp, 116]
cmp w0, 112
beq .L48
ldr w0, [sp, 116]
cmp w0, 112
bgt .L43
ldr w0, [sp, 116]
cmp w0, 109
beq .L49
ldr w0, [sp, 116]
cmp w0, 109
bgt .L43
ldr w0, [sp, 116]
cmp w0, 108
beq .L50
ldr w0, [sp, 116]
cmp w0, 108
bgt .L43
ldr w0, [sp, 116]
cmp w0, 105
beq .L51
ldr w0, [sp, 116]
cmp w0, 105
bgt .L43
ldr w0, [sp, 116]
cmp w0, 100
beq .L52
ldr w0, [sp, 116]
cmp w0, 100
bgt .L43
ldr w0, [sp, 116]
cmp w0, 67
beq .L53
ldr w0, [sp, 116]
cmp w0, 99
beq .L54
b .L43
.L52:
adrp x0, .LC20
add x0, x0, :lo12:.LC20
bl puts
adrp x0, print_delays
add x0, x0, :lo12:print_delays
mov w1, 1
str w1, [x0]
b .L39
.L51:
adrp x0, .LC21
add x0, x0, :lo12:.LC21
bl puts
adrp x0, print_io_accounting
add x0, x0, :lo12:print_io_accounting
mov w1, 1
str w1, [x0]
b .L39
.L47:
adrp x0, .LC22
add x0, x0, :lo12:.LC22
bl puts
adrp x0, print_task_context_switch_counts
add x0, x0, :lo12:print_task_context_switch_counts
mov w1, 1
str w1, [x0]
b .L39
.L53:
mov w0, 1
str w0, [sp, 100]
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x19, [x0]
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl strlen
add x1, x0, 1
add x0, sp, 1336
mov x2, x1
mov x1, x19
bl strncpy
b .L39
.L42:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl strdup
str x0, [sp, 144]
ldr x1, [sp, 144]
adrp x0, .LC23
add x0, x0, :lo12:.LC23
bl printf
mov w0, 1
str w0, [sp, 88]
b .L39
.L46:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl atoi
mov w1, w0
adrp x0, rcvbufsz
add x0, x0, :lo12:rcvbufsz
str w1, [x0]
adrp x0, rcvbufsz
add x0, x0, :lo12:rcvbufsz
ldr w0, [x0]
mov w1, w0
adrp x0, .LC24
add x0, x0, :lo12:.LC24
bl printf
adrp x0, rcvbufsz
add x0, x0, :lo12:rcvbufsz
ldr w0, [x0]
cmp w0, 0
bge .L39
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 21
mov x1, 1
adrp x0, .LC25
add x0, x0, :lo12:.LC25
bl fwrite
mov w0, 1
bl exit
.L49:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
mov x2, 292
mov x1, x0
adrp x0, cpumask
add x0, x0, :lo12:cpumask
bl strncpy
mov w0, 1
str w0, [sp, 92]
ldr w2, [sp, 92]
adrp x0, cpumask
add x1, x0, :lo12:cpumask
adrp x0, .LC26
add x0, x0, :lo12:.LC26
bl printf
b .L39
.L45:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl atoi
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bne .L56
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 13
mov x1, 1
adrp x0, .LC27
add x0, x0, :lo12:.LC27
bl fwrite
mov w0, 1
bl exit
.L56:
mov w0, 2
str w0, [sp, 72]
b .L39
.L48:
adrp x0, :got:optarg
ldr x0, [x0, #:got_lo12:optarg]
ldr x0, [x0]
bl atoi
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bne .L57
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 12
mov x1, 1
adrp x0, .LC28
add x0, x0, :lo12:.LC28
bl fwrite
mov w0, 1
bl exit
.L57:
mov w0, 1
str w0, [sp, 72]
b .L39
.L54:
add x0, sp, 160
bl sigemptyset
cmn w0, #1
bne .L58
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 22
mov x1, 1
adrp x0, .LC29
add x0, x0, :lo12:.LC29
bl fwrite
mov w0, 1
bl exit
.L58:
add x0, sp, 160
mov w1, 17
bl sigaddset
cmp w0, 0
beq .L59
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 31
mov x1, 1
adrp x0, .LC30
add x0, x0, :lo12:.LC30
bl fwrite
mov w0, 1
bl exit
.L59:
add x0, sp, 160
mov x2, 0
mov x1, x0
mov w0, 0
bl sigprocmask
bl fork
str w0, [sp, 56]
ldr w0, [sp, 56]
cmp w0, 0
bge .L60
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 12
mov x1, 1
adrp x0, .LC31
add x0, x0, :lo12:.LC31
bl fwrite
mov w0, 1
bl exit
.L60:
ldr w0, [sp, 56]
cmp w0, 0
bne .L61
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 32]
add x0, x1, x0
ldr x2, [x0]
adrp x0, :got:optind
ldr x0, [x0, #:got_lo12:optind]
ldr w0, [x0]
sxtw x0, w0
lsl x0, x0, 3
sub x0, x0, #8
ldr x1, [sp, 32]
add x0, x1, x0
mov x1, x0
mov x0, x2
bl execvp
cmp w0, 0
bge .L61
mov w0, -1
bl exit
.L61:
mov w0, 1
str w0, [sp, 72]
mov w0, 1
str w0, [sp, 104]
b .L39
.L44:
adrp x0, .LC32
add x0, x0, :lo12:.LC32
bl puts
adrp x0, dbg
add x0, x0, :lo12:dbg
mov w1, 1
str w1, [x0]
b .L39
.L50:
adrp x0, .LC33
add x0, x0, :lo12:.LC33
bl puts
mov w0, 1
str w0, [sp, 96]
b .L39
.L43:
bl usage
mov w0, -1
bl exit
.L39:
ldr w0, [sp, 104]
cmp w0, 0
beq .L62
b .L41
.L109:
nop
.L41:
ldr w0, [sp, 88]
cmp w0, 0
beq .L63
mov w2, 420
mov w1, 577
ldr x0, [sp, 144]
bl open
str w0, [sp, 80]
ldr w0, [sp, 80]
cmn w0, #1
bne .L63
adrp x0, .LC34
add x0, x0, :lo12:.LC34
bl perror
mov w0, 1
bl exit
.L63:
mov w0, 16
bl create_nl_socket
str w0, [sp, 108]
ldr w0, [sp, 108]
cmp w0, 0
bge .L64
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 30
mov x1, 1
adrp x0, .LC35
add x0, x0, :lo12:.LC35
bl fwrite
mov w0, 1
bl exit
.L64:
bl getpid
str w0, [sp, 120]
ldr w0, [sp, 108]
bl get_family_id
strh w0, [sp, 54]
ldrh w0, [sp, 54]
cmp w0, 0
bne .L65
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl __errno_location
ldr w0, [x0]
mov w2, w0
adrp x0, .LC36
add x1, x0, :lo12:.LC36
mov x0, x19
bl fprintf
b .L66
.L65:
adrp x0, dbg
add x0, x0, :lo12:dbg
ldr w0, [x0]
cmp w0, 0
beq .L67
ldrh w0, [sp, 54]
mov w1, w0
adrp x0, .LC37
add x0, x0, :lo12:.LC37
bl printf
.L67:
ldr w0, [sp, 92]
cmp w0, 0
beq .L68
adrp x0, cpumask
add x0, x0, :lo12:cpumask
bl strlen
add w0, w0, 1
mov w6, w0
adrp x0, cpumask
add x5, x0, :lo12:cpumask
mov w4, 3
mov w3, 1
ldr w2, [sp, 120]
ldrh w1, [sp, 54]
ldr w0, [sp, 108]
bl send_cmd
str w0, [sp, 124]
adrp x0, dbg
add x0, x0, :lo12:dbg
ldr w0, [x0]
cmp w0, 0
beq .L69
ldr w1, [sp, 124]
adrp x0, .LC38
add x0, x0, :lo12:.LC38
bl printf
.L69:
ldr w0, [sp, 124]
cmp w0, 0
bge .L68
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 31
mov x1, 1
adrp x0, .LC39
add x0, x0, :lo12:.LC39
bl fwrite
b .L66
.L68:
ldr w0, [sp, 56]
cmp w0, 0
beq .L70
ldr w0, [sp, 100]
cmp w0, 0
beq .L70
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 33
mov x1, 1
adrp x0, .LC40
add x0, x0, :lo12:.LC40
bl fwrite
b .L66
.L70:
ldr w0, [sp, 56]
cmp w0, 0
beq .L71
ldr w0, [sp, 104]
cmp w0, 0
beq .L71
add x1, sp, 64
add x0, sp, 160
bl sigwait
.L71:
ldr w0, [sp, 56]
cmp w0, 0
beq .L72
ldr w0, [sp, 72]
and w1, w0, 65535
add x0, sp, 56
mov w6, 4
mov x5, x0
mov w4, w1
mov w3, 1
ldr w2, [sp, 120]
ldrh w1, [sp, 54]
ldr w0, [sp, 108]
bl send_cmd
str w0, [sp, 124]
adrp x0, dbg
add x0, x0, :lo12:dbg
ldr w0, [x0]
cmp w0, 0
beq .L73
ldr w1, [sp, 124]
adrp x0, .LC41
add x0, x0, :lo12:.LC41
bl printf
.L73:
ldr w0, [sp, 124]
cmp w0, 0
bge .L72
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 27
mov x1, 1
adrp x0, .LC42
add x0, x0, :lo12:.LC42
bl fwrite
b .L74
.L72:
ldr w0, [sp, 100]
cmp w0, 0
beq .L75
add x0, sp, 1336
mov w1, 0
bl open
str w0, [sp, 60]
ldr w0, [sp, 60]
cmp w0, 0
bge .L76
adrp x0, .LC43
add x0, x0, :lo12:.LC43
bl perror
b .L66
.L76:
add x0, sp, 60
mov w6, 4
mov x5, x0
mov w4, 1
mov w3, 4
ldr w2, [sp, 120]
ldrh w1, [sp, 54]
ldr w0, [sp, 108]
bl send_cmd
str w0, [sp, 124]
ldr w0, [sp, 124]
cmp w0, 0
bge .L75
adrp x0, .LC44
add x0, x0, :lo12:.LC44
bl perror
b .L66
.L75:
ldr w0, [sp, 92]
cmp w0, 0
bne .L104
ldr w0, [sp, 56]
cmp w0, 0
bne .L104
ldr w0, [sp, 100]
cmp w0, 0
bne .L104
bl usage
b .L66
.L104:
add x0, sp, 288
mov w3, 0
mov x2, 1044
mov x1, x0
ldr w0, [sp, 108]
bl recv
str w0, [sp, 128]
adrp x0, dbg
add x0, x0, :lo12:dbg
ldr w0, [x0]
cmp w0, 0
beq .L78
ldr w1, [sp, 128]
adrp x0, .LC45
add x0, x0, :lo12:.LC45
bl printf
.L78:
ldr w0, [sp, 128]
cmp w0, 0
bge .L79
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x19, [x0]
bl __errno_location
ldr w0, [x0]
mov w2, w0
adrp x0, .LC46
add x1, x0, :lo12:.LC46
mov x0, x19
bl fprintf
b .L80
.L79:
ldrh w0, [sp, 292]
cmp w0, 2
beq .L81
ldr w0, [sp, 128]
cmp w0, 15
ble .L81
ldr w0, [sp, 288]
cmp w0, 15
bls .L81
ldr w1, [sp, 288]
ldr w0, [sp, 128]
cmp w1, w0
bls .L82
.L81:
add x0, sp, 288
add x0, x0, 16
str x0, [sp, 152]
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 152]
ldr w0, [x0]
mov w2, w0
adrp x0, .LC47
add x1, x0, :lo12:.LC47
mov x0, x3
bl fprintf
b .L74
.L82:
adrp x0, dbg
add x0, x0, :lo12:dbg
ldr w0, [x0]
cmp w0, 0
beq .L83
ldr w0, [sp, 288]
ldr w3, [sp, 128]
mov w2, w0
mov x1, 16
adrp x0, .LC48
add x0, x0, :lo12:.LC48
bl printf
.L83:
ldr w0, [sp, 288]
sub w0, w0, #20
str w0, [sp, 128]
add x0, sp, 288
add x0, x0, 20
str x0, [sp, 136]
str wzr, [sp, 76]
b .L84
.L103:
ldr x0, [sp, 136]
ldrh w0, [x0]
add w0, w0, 3
and w0, w0, -4
ldr w1, [sp, 76]
add w0, w1, w0
str w0, [sp, 76]
ldr x0, [sp, 136]
ldrh w0, [x0, 2]
cmp w0, 6
beq .L110
cmp w0, 6
bgt .L86
cmp w0, 1
beq .L87
cmp w0, 0
ble .L86
sub w0, w0, #4
cmp w0, 1
bhi .L86
ldr x0, [sp, 136]
ldrh w0, [x0]
sub w0, w0, #4
str w0, [sp, 132]
str wzr, [sp, 68]
ldr x0, [sp, 136]
add x0, x0, 4
str x0, [sp, 136]
adrp x0, done
add x0, x0, :lo12:done
str wzr, [x0]
b .L88
.L101:
ldr x0, [sp, 136]
ldrh w0, [x0, 2]
cmp w0, 3
beq .L89
cmp w0, 3
bgt .L90
cmp w0, 1
beq .L91
cmp w0, 2
beq .L92
b .L90
.L91:
ldr x0, [sp, 136]
ldr w0, [x0, 4]
str w0, [sp, 112]
adrp x0, print_delays
add x0, x0, :lo12:print_delays
ldr w0, [x0]
cmp w0, 0
beq .L111
ldr w1, [sp, 112]
adrp x0, .LC49
add x0, x0, :lo12:.LC49
bl printf
b .L111
.L92:
ldr x0, [sp, 136]
ldr w0, [x0, 4]
str w0, [sp, 112]
adrp x0, print_delays
add x0, x0, :lo12:print_delays
ldr w0, [x0]
cmp w0, 0
beq .L112
ldr w1, [sp, 112]
adrp x0, .LC50
add x0, x0, :lo12:.LC50
bl printf
b .L112
.L89:
ldr w0, [sp, 84]
add w0, w0, 1
str w0, [sp, 84]
adrp x0, print_delays
add x0, x0, :lo12:print_delays
ldr w0, [x0]
cmp w0, 0
beq .L96
ldr x0, [sp, 136]
add x0, x0, 4
bl print_delayacct
.L96:
adrp x0, print_io_accounting
add x0, x0, :lo12:print_io_accounting
ldr w0, [x0]
cmp w0, 0
beq .L97
ldr x0, [sp, 136]
add x0, x0, 4
bl print_ioacct
.L97:
adrp x0, print_task_context_switch_counts
add x0, x0, :lo12:print_task_context_switch_counts
ldr w0, [x0]
cmp w0, 0
beq .L98
ldr x0, [sp, 136]
add x0, x0, 4
bl task_context_switch_counts
.L98:
ldr w0, [sp, 80]
cmp w0, 0
beq .L99
ldr x0, [sp, 136]
add x1, x0, 4
ldr x0, [sp, 136]
ldrh w0, [x0]
and x0, x0, 65535
mov x2, x0
ldr w0, [sp, 80]
bl write
cmp x0, 0
bge .L99
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 12
mov x1, 1
adrp x0, .LC51
add x0, x0, :lo12:.LC51
bl fwrite
mov w0, 1
bl exit
.L99:
ldr w0, [sp, 96]
cmp w0, 0
bne .L113
b .L74
.L90:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 136]
ldrh w0, [x0, 2]
mov w2, w0
adrp x0, .LC52
add x1, x0, :lo12:.LC52
mov x0, x3
bl fprintf
b .L94
.L111:
nop
b .L94
.L112:
nop
b .L94
.L113:
nop
.L94:
ldr x0, [sp, 136]
ldrh w0, [x0]
add w0, w0, 3
and w0, w0, -4
ldr w1, [sp, 68]
add w0, w1, w0
str w0, [sp, 68]
ldrsw x0, [sp, 68]
ldr x1, [sp, 136]
add x0, x1, x0
str x0, [sp, 136]
.L88:
ldr w1, [sp, 68]
ldr w0, [sp, 132]
cmp w1, w0
blt .L101
b .L102
.L87:
ldr x0, [sp, 136]
add x0, x0, 4
bl print_cgroupstats
b .L102
.L86:
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x3, [x0]
ldr x0, [sp, 136]
ldrh w0, [x0, 2]
mov w2, w0
adrp x0, .LC53
add x1, x0, :lo12:.LC53
mov x0, x3
bl fprintf
.L110:
nop
.L102:
ldrsw x0, [sp, 76]
add x0, x0, 20
add x1, sp, 288
add x0, x1, x0
str x0, [sp, 136]
.L84:
ldr w1, [sp, 76]
ldr w0, [sp, 128]
cmp w1, w0
blt .L103
.L80:
ldr w0, [sp, 96]
cmp w0, 0
bne .L104
nop
.L74:
ldr w0, [sp, 92]
cmp w0, 0
beq .L114
adrp x0, cpumask
add x0, x0, :lo12:cpumask
bl strlen
add w0, w0, 1
mov w6, w0
adrp x0, cpumask
add x5, x0, :lo12:cpumask
mov w4, 4
mov w3, 1
ldr w2, [sp, 120]
ldrh w1, [sp, 54]
ldr w0, [sp, 108]
bl send_cmd
str w0, [sp, 124]
ldr w1, [sp, 124]
adrp x0, .LC54
add x0, x0, :lo12:.LC54
bl printf
ldr w0, [sp, 124]
cmp w0, 0
bge .L114
adrp x0, :got:stderr
ldr x0, [x0, #:got_lo12:stderr]
ldr x0, [x0]
mov x3, x0
mov x2, 33
mov x1, 1
adrp x0, .LC55
add x0, x0, :lo12:.LC55
bl fwrite
ldr w0, [sp, 124]
bl exit
.L114:
nop
.L66:
ldr w0, [sp, 108]
bl close
ldr w0, [sp, 80]
cmp w0, 0
beq .L105
ldr w0, [sp, 80]
bl close
.L105:
ldr w0, [sp, 60]
cmp w0, 0
beq .L106
ldr w0, [sp, 60]
bl close
.L106:
mov w0, 0
mov w1, w0
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x3, [sp, 2360]
ldr x2, [x0]
subs x3, x3, x2
mov x2, 0
beq .L108
bl __stack_chk_fail
.L108:
mov w0, w1
ldr x19, [sp, 16]
ldp x29, x30, [sp]
add sp, sp, 2368
.cfi_restore 29
.cfi_restore 30
.cfi_restore 19
.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 "Insirao %d valor: "
.align 3
.LC1:
.string "%d"
.align 3
.LC2:
.string "Fora de intervalo"
.align 3
.LC3:
.string "Os seguintes numeros estao no intervalo [0,50]"
.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, 10
bl putchar
str wzr, [sp, 28]
b .L2
.L3:
ldr w0, [sp, 28]
add w0, w0, 1
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x1, sp, 32
ldrsw x0, [sp, 28]
lsl x0, x0, 2
add x0, x1, x0
mov x1, x0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl __isoc99_scanf
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L2:
ldr w0, [sp, 28]
cmp w0, 9
ble .L3
ldr w0, [sp, 28]
cmp w0, 0
blt .L4
ldr w0, [sp, 28]
cmp w0, 50
ble .L5
.L4:
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl puts
b .L6
.L5:
ldr w0, [sp, 28]
cmp w0, 50
bgt .L6
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl puts
.L6:
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 .L8
bl __stack_chk_fail
.L8:
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
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "najdluzsze jedynki: %d najdluzsze zera: %d Suma jedynek: %d Suma zer: %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
str wzr, [sp, 16]
str wzr, [sp, 20]
str wzr, [sp, 24]
str wzr, [sp, 28]
str wzr, [sp, 32]
str wzr, [sp, 36]
b .L2
.L9:
str wzr, [sp, 40]
b .L3
.L8:
mov w1, 7
ldr w0, [sp, 40]
sub w0, w1, w0
ldr w1, [sp, 44]
asr w0, w1, w0
and w0, w0, 1
cmp w0, 0
beq .L4
ldr w1, [sp, 28]
ldr w0, [sp, 20]
cmp w1, w0
ble .L5
ldr w0, [sp, 28]
str w0, [sp, 20]
.L5:
ldr w0, [sp, 36]
add w0, w0, 1
str w0, [sp, 36]
str wzr, [sp, 28]
ldr w0, [sp, 24]
add w0, w0, 1
str w0, [sp, 24]
b .L6
.L4:
ldr w1, [sp, 24]
ldr w0, [sp, 16]
cmp w1, w0
ble .L7
ldr w0, [sp, 24]
str w0, [sp, 16]
.L7:
ldr w0, [sp, 32]
add w0, w0, 1
str w0, [sp, 32]
str wzr, [sp, 24]
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L6:
ldr w0, [sp, 40]
add w0, w0, 1
str w0, [sp, 40]
.L3:
ldr w0, [sp, 40]
cmp w0, 7
ble .L8
.L2:
bl getchar
str w0, [sp, 44]
ldr w0, [sp, 44]
cmn w0, #1
bne .L9
mov w0, 10
bl putchar
ldr w4, [sp, 32]
ldr w3, [sp, 36]
ldr w2, [sp, 20]
ldr w1, [sp, 16]
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
mov w0, 0
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 "Device name: %s\n"
.align 3
.LC1:
.string "\tMax compute units: %d\n"
.align 3
.LC2:
.string "\tGlobal memory size: %llu\n"
.align 3
.LC3:
.string "\tLocal memory size: %llu\n"
.align 3
.LC4:
.string "\tMax work group size: %lu\n"
.align 3
.LC5:
.string "\tMax work item dimensions: %d\n"
.align 3
.LC6:
.string "\tMax work item sizes: (%lu, %lu, %lu)\n"
.align 3
.LC7:
.string "Number of available platforms = %d\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
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 696]
mov x1, 0
str xzr, [sp, 80]
str xzr, [sp, 88]
add x1, sp, 32
add x0, sp, 120
mov x2, x1
mov x1, x0
mov w0, 20
bl clGetPlatformIDs
str w0, [sp, 52]
str wzr, [sp, 44]
b .L2
.L5:
ldrsw x0, [sp, 44]
lsl x0, x0, 3
add x1, sp, 120
ldr x0, [x1, x0]
str x0, [sp, 88]
add x1, sp, 28
add x0, sp, 280
mov x4, x1
mov x3, x0
mov w2, 20
mov x1, 4294967295
ldr x0, [sp, 88]
bl clGetDeviceIDs
str w0, [sp, 52]
str wzr, [sp, 48]
b .L3
.L4:
ldrsw x0, [sp, 48]
lsl x0, x0, 3
add x1, sp, 280
ldr x0, [x1, x0]
str x0, [sp, 80]
add x0, sp, 440
mov x4, 0
mov x3, x0
mov x2, 255
mov w1, 4139
ldr x0, [sp, 80]
bl clGetDeviceInfo
add x0, sp, 440
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl printf
add x0, sp, 36
mov x4, 0
mov x3, x0
mov x2, 4
mov w1, 4098
ldr x0, [sp, 80]
bl clGetDeviceInfo
ldr w0, [sp, 36]
mov w1, w0
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
add x0, sp, 56
mov x4, 0
mov x3, x0
mov x2, 8
mov w1, 4127
ldr x0, [sp, 80]
bl clGetDeviceInfo
ldr x0, [sp, 56]
mov x1, x0
adrp x0, .LC2
add x0, x0, :lo12:.LC2
bl printf
add x0, sp, 64
mov x4, 0
mov x3, x0
mov x2, 8
mov w1, 4131
ldr x0, [sp, 80]
bl clGetDeviceInfo
ldr x0, [sp, 64]
mov x1, x0
adrp x0, .LC3
add x0, x0, :lo12:.LC3
bl printf
add x0, sp, 72
mov x4, 0
mov x3, x0
mov x2, 8
mov w1, 4100
ldr x0, [sp, 80]
bl clGetDeviceInfo
ldr x0, [sp, 72]
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
add x0, sp, 72
mov x4, 0
mov x3, x0
mov x2, 8
mov w1, 4100
ldr x0, [sp, 80]
bl clGetDeviceInfo
ldr x0, [sp, 72]
mov x1, x0
adrp x0, .LC4
add x0, x0, :lo12:.LC4
bl printf
add x0, sp, 40
mov x4, 0
mov x3, x0
mov x2, 4
mov w1, 4099
ldr x0, [sp, 80]
bl clGetDeviceInfo
ldr w0, [sp, 40]
mov w1, w0
adrp x0, .LC5
add x0, x0, :lo12:.LC5
bl printf
add x0, sp, 96
mov x4, 0
mov x3, x0
mov x2, 24
mov w1, 4101
ldr x0, [sp, 80]
bl clGetDeviceInfo
ldr x0, [sp, 96]
ldr x1, [sp, 104]
ldr x2, [sp, 112]
mov x3, x2
mov x2, x1
mov x1, x0
adrp x0, .LC6
add x0, x0, :lo12:.LC6
bl printf
ldr w0, [sp, 48]
add w0, w0, 1
str w0, [sp, 48]
.L3:
ldr w1, [sp, 48]
ldr w0, [sp, 28]
cmp w1, w0
bcc .L4
ldr w0, [sp, 44]
add w0, w0, 1
str w0, [sp, 44]
.L2:
ldr w1, [sp, 44]
ldr w0, [sp, 32]
cmp w1, w0
bcc .L5
ldr w0, [sp, 32]
mov w1, w0
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, 696]
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, 704
.cfi_restore 29
.cfi_restore 30
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size main, .-main
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.global PKEY_AppUserModel_RelaunchDisplayNameResource
.section .rodata
.align 3
.type PKEY_AppUserModel_RelaunchDisplayNameResource, %object
.size PKEY_AppUserModel_RelaunchDisplayNameResource, 24
PKEY_AppUserModel_RelaunchDisplayNameResource:
.xword 2672568405
.hword -24711
.hword 19257
.ascii "\250\320\341\324-\341\325\363"
.zero 4
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.section .rodata
.align 3
.LC0:
.string "%f"
.align 3
.LC1:
.string "-1"
.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 x0, sp, 32
mov x1, x0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl __isoc99_scanf
cmp w0, 0
beq .L2
ldr s0, [sp, 32]
fcvtzs s0, s0
scvtf s1, s0
ldr s0, [sp, 32]
fcmp s1, s0
bne .L2
bl getchar
strb w0, [sp, 31]
ldrb w0, [sp, 31]
cmp w0, 10
bne .L3
ldr s0, [sp, 32]
fcvtzs w0, s0
bl is_prime
str w0, [sp, 36]
ldr w0, [sp, 36]
cmp w0, 1
bne .L4
mov w0, 49
bl putchar
b .L6
.L4:
mov w0, 48
bl putchar
b .L6
.L3:
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
b .L6
.L2:
adrp x0, .LC1
add x0, x0, :lo12:.LC1
bl printf
.L6:
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
.align 2
.global is_prime
.type is_prime, %function
is_prime:
.LFB1:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
mov w0, 2
str w0, [sp, 28]
b .L10
.L13:
ldr w0, [sp, 12]
ldr w1, [sp, 28]
sdiv w2, w0, w1
ldr w1, [sp, 28]
mul w1, w2, w1
sub w0, w0, w1
cmp w0, 0
bne .L11
mov w0, 0
b .L12
.L11:
ldr w0, [sp, 28]
add w0, w0, 1
str w0, [sp, 28]
.L10:
ldr w1, [sp, 12]
ldr w0, [sp, 28]
cmp w1, w0
bgt .L13
ldr w1, [sp, 28]
ldr w0, [sp, 12]
cmp w1, w0
bne .L14
mov w0, 1
b .L12
.L14:
mov w0, 404
.L12:
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size is_prime, .-is_prime
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global foo
.type foo, %function
foo:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w0, 1
str w0, [sp, 8]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.align 2
.global bar
.type bar, %function
bar:
.LFB1:
.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
.LFE1:
.size bar, .-bar
.align 2
.global addr_space
.type addr_space, %function
addr_space:
.LFB2:
.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
.LFE2:
.size addr_space, .-addr_space
.align 2
.global lsh_overflow
.type lsh_overflow, %function
lsh_overflow:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 8]
ldr w1, [sp, 12]
lsl w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size lsh_overflow, .-lsh_overflow
.align 2
.global rsh_inbounds
.type rsh_inbounds, %function
rsh_inbounds:
.LFB4:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str w1, [sp, 8]
ldr w0, [sp, 8]
ldr w1, [sp, 12]
asr w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE4:
.size rsh_inbounds, .-rsh_inbounds
.align 2
.global load
.type load, %function
load:
.LFB5:
.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
.LFE5:
.size load, .-load
.align 2
.global store
.type store, %function
store:
.LFB6:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
ldr w1, [sp, 4]
str w1, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE6:
.size store, .-store
.align 2
.global member_access
.type member_access, %function
member_access:
.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 member_access, .-member_access
.align 2
.global signed_overflow
.type signed_overflow, %function
signed_overflow:
.LFB8:
.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 w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE8:
.size signed_overflow, .-signed_overflow
.align 2
.global no_return
.type no_return, %function
no_return:
.LFB9:
.cfi_startproc
nop
ret
.cfi_endproc
.LFE9:
.size no_return, .-no_return
.align 2
.global vla_bound
.type vla_bound, %function
vla_bound:
.LFB10:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
.cfi_def_cfa_register 29
sub sp, sp, #16
str w0, [x29, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 56]
mov x1, 0
mov x0, sp
mov x10, x0
ldr w1, [x29, 28]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
sxtw x1, w0
sub x1, x1, #1
str x1, [x29, 40]
sxtw x1, w0
mov x8, x1
mov x9, 0
lsr x1, x8, 59
lsl x5, x9, 5
orr x5, x1, x5
lsl x4, x8, 5
sxtw x1, w0
mov x6, x1
mov x7, 0
lsr x1, x6, 59
lsl x3, x7, 5
orr x3, x1, x3
lsl x2, x6, 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
.L19:
cmp sp, x1
beq .L20
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L19
.L20:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L21
str xzr, [sp, 1024]
.L21:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 48]
mov sp, x10
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L22
bl __stack_chk_fail
.L22:
mov sp, x29
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE10:
.size vla_bound, .-vla_bound
.align 2
.global vla_bound_unsigned
.type vla_bound_unsigned, %function
vla_bound_unsigned:
.LFB11:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
.cfi_def_cfa_register 29
sub sp, sp, #16
str w0, [x29, 28]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [x29, 56]
mov x1, 0
mov x0, sp
mov x10, x0
ldr w1, [x29, 28]
mov w0, w1
lsl w0, w0, 1
add w0, w0, w1
uxtw x1, w0
sub x1, x1, #1
str x1, [x29, 40]
uxtw x1, w0
mov x8, x1
mov x9, 0
lsr x1, x8, 59
lsl x5, x9, 5
orr x5, x1, x5
lsl x4, x8, 5
uxtw x1, w0
mov x6, x1
mov x7, 0
lsr x1, x6, 59
lsl x3, x7, 5
orr x3, x1, x3
lsl x2, x6, 5
uxtw 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
.L24:
cmp sp, x1
beq .L25
sub sp, sp, #65536
str xzr, [sp, 1024]
b .L24
.L25:
and x1, x0, 65535
sub sp, sp, x1
str xzr, [sp]
and x0, x0, 65535
cmp x0, 1024
bcc .L26
str xzr, [sp, 1024]
.L26:
add x0, sp, 16
add x0, x0, 3
lsr x0, x0, 2
lsl x0, x0, 2
str x0, [x29, 48]
mov sp, x10
nop
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x2, [x29, 56]
ldr x1, [x0]
subs x2, x2, x1
mov x1, 0
beq .L27
bl __stack_chk_fail
.L27:
mov sp, x29
ldp x29, x30, [sp], 64
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa 31, 0
ret
.cfi_endproc
.LFE11:
.size vla_bound_unsigned, .-vla_bound_unsigned
.global __floattisf
.align 2
.global int_float_no_overflow
.type int_float_no_overflow, %function
int_float_no_overflow:
.LFB12:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
stp x0, x1, [sp, 16]
ldp x0, x1, [sp, 16]
bl __floattisf
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE12:
.size int_float_no_overflow, .-int_float_no_overflow
.global __floatuntisf
.align 2
.global int_float_overflow
.type int_float_overflow, %function
int_float_overflow:
.LFB13:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
stp x0, x1, [sp, 16]
ldp x0, x1, [sp, 16]
bl __floatuntisf
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE13:
.size int_float_overflow, .-int_float_overflow
.align 2
.global int_fp16_overflow
.type int_fp16_overflow, %function
int_fp16_overflow:
.LFB14:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, 12]
str x1, [sp]
ldr w0, [sp, 12]
scvtf d0, w0
fcvt h0, d0
ldr x0, [sp]
str h0, [x0]
nop
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE14:
.size int_fp16_overflow, .-int_fp16_overflow
.align 2
.global float_int_overflow
.type float_int_overflow, %function
float_int_overflow:
.LFB15:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, 12]
ldr s0, [sp, 12]
fcvtzs s0, s0
fmov w0, s0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE15:
.size float_int_overflow, .-float_int_overflow
.global __fixtfsi
.align 2
.global long_double_int_overflow
.type long_double_int_overflow, %function
long_double_int_overflow:
.LFB16:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str q0, [sp, 16]
ldr q0, [sp, 16]
bl __fixtfsi
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE16:
.size long_double_int_overflow, .-long_double_int_overflow
.align 2
.global float_uint_overflow
.type float_uint_overflow, %function
float_uint_overflow:
.LFB17:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, 12]
ldr s0, [sp, 12]
fcvtzu s0, s0
fmov w0, s0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE17:
.size float_uint_overflow, .-float_uint_overflow
.align 2
.global fp16_char_overflow
.type fp16_char_overflow, %function
fp16_char_overflow:
.LFB18:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr h0, [x0]
fcvt s0, h0
fcvtzs s0, s0
umov w0, v0.b[0]
sxtb w0, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE18:
.size fp16_char_overflow, .-fp16_char_overflow
.align 2
.global float_float_overflow
.type float_float_overflow, %function
float_float_overflow:
.LFB19:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, 8]
ldr d0, [sp, 8]
fcvt s0, d0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE19:
.size float_float_overflow, .-float_float_overflow
.align 2
.global int_divide_overflow
.type int_divide_overflow, %function
int_divide_overflow:
.LFB20:
.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]
sdiv w0, w1, w0
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE20:
.size int_divide_overflow, .-int_divide_overflow
.align 2
.global sour_bool
.type sour_bool, %function
sour_bool:
.LFB21:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldrb w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE21:
.size sour_bool, .-sour_bool
.align 2
.global ret_nonnull
.type ret_nonnull, %function
ret_nonnull:
.LFB22:
.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
.LFE22:
.size ret_nonnull, .-ret_nonnull
.align 2
.global call_decl_nonnull
.type call_decl_nonnull, %function
call_decl_nonnull:
.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]
ldr x0, [sp, 24]
bl decl_nonnull
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE23:
.size call_decl_nonnull, .-call_decl_nonnull
.align 2
.global call_memcpy_nonnull
.type call_memcpy_nonnull, %function
call_memcpy_nonnull:
.LFB24:
.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 w0, [sp, 28]
mov w2, w0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl memcpy
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE24:
.size call_memcpy_nonnull, .-call_memcpy_nonnull
.align 2
.global call_memmove_nonnull
.type call_memmove_nonnull, %function
call_memmove_nonnull:
.LFB25:
.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 w0, [sp, 28]
mov w2, w0
ldr x1, [sp, 32]
ldr x0, [sp, 40]
bl memmove
nop
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE25:
.size call_memmove_nonnull, .-call_memmove_nonnull
.align 2
.global call_nonnull_variadic
.type call_nonnull_variadic, %function
call_nonnull_variadic:
.LFB26:
.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 x1, [sp, 16]
ldr w0, [sp, 28]
bl nonnull_variadic
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE26:
.size call_nonnull_variadic, .-call_nonnull_variadic
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global g
.type g, %function
g:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, 12]
str w1, [sp, 8]
ldr w1, [sp, 12]
ldr w0, [sp, 8]
sdiv w0, w1, w0
str w0, [sp, 28]
ldr w0, [sp, 28]
add sp, sp, 32
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size g, .-g
.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 w0, [sp, 28]
str w1, [sp, 24]
ldr w1, [sp, 28]
ldr w0, [sp, 24]
mul w0, w1, w0
str w0, [sp, 44]
ldr w1, [sp, 24]
ldr w0, [sp, 28]
bl g
mov w1, w0
ldr w0, [sp, 44]
add w0, w0, w1
str w0, [sp, 44]
ldr w0, [sp, 44]
ldp x29, x30, [sp], 48
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE1:
.size f, .-f
``` |
### Human: Write a random program in ARM assembly### Assistant: ``` .text
.align 2
.global Func64
.type Func64, %function
Func64:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
mov w0, 1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE0:
.size Func64, .-Func64
.align 2
.global Func64
.type Func64, %function
Func64:
.LFB1:
.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
.LFE1:
.size Func64, .-Func64
.align 2
.global test
.type test, %function
test:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
mov x0, 0
bl Func64
mov x0, 0
bl Func64
nop
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi_restore 29
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE2:
.size test, .-test
``` |