	.file	"37165.c"
	.intel_syntax noprefix
	.text
	.globl	g_str
	.section	.rodata
.LC0:
	.string	"Hello World!"
	.section	.data.rel.local,"aw"
	.align 8
	.type	g_str, @object
	.size	g_str, 8
g_str:
	.quad	.LC0
	.data
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.long	1234
	.globl	b
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.long	5678
	.text
	.globl	add
	.type	add, @function
add:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	add, .-add
	.section	.rodata
.LC1:
	.string	"argv[%d]='%s'\n"
.LC2:
	.string	"g_str address is %ph\n"
	.align 8
.LC3:
	.string	"\nnative rt_kprintf a(%ph)=%d, b(%ph)=%d\n"
.LC4:
	.string	"%d+%d=%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 8022916924116329800
	mov	edx, 174353522
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -52[rbp], 1
.L4:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L5
	lea	rax, -48[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR g_str[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR g_str[rip]
	mov	rdi, rax
	call	puts@PLT
	mov	edx, DWORD PTR b[rip]
	mov	eax, DWORD PTR a[rip]
	mov	r8d, edx
	lea	rcx, b[rip]
	mov	edx, eax
	lea	rsi, a[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	rt_kprintf@PLT
	mov	esi, 5
	mov	edi, 4
	call	add
	mov	ecx, eax
	mov	edx, 5
	mov	esi, 4
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -559038737
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"37165.c"
	.text
	.global	g_str
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello World!\000"
	.data
	.align	2
	.type	g_str, %object
	.size	g_str, 4
g_str:
	.word	.LC0
	.align	2
	.type	a, %object
	.size	a, 4
a:
	.word	1234
	.global	b
	.align	2
	.type	b, %object
	.size	b, 4
b:
	.word	5678
	.text
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	add, .-add
	.section	.rodata
	.align	2
.LC2:
	.ascii	"argv[%d]='%s'\012\000"
	.align	2
.LC3:
	.ascii	"g_str address is %ph\012\000"
	.align	2
.LC4:
	.ascii	"\012native rt_kprintf a(%ph)=%d, b(%ph)=%d\012\000"
	.align	2
.LC5:
	.ascii	"%d+%d=%d\012\000"
	.align	2
.LC1:
	.ascii	"Hello World\012\000"
	.space	19
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L8+4
	sub	ip, fp, #40
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
	sub	r3, fp, #27
	mov	r2, #19
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L4
.L5:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-44]
	ldr	r0, .L8+8
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L4:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L5
	sub	r3, fp, #40
	mov	r0, r3
	bl	printf
	ldr	r3, .L8+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+16
	bl	printf
	ldr	r3, .L8+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, .L8+20
	ldr	r2, [r3]
	ldr	r3, .L8+24
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, .L8+24
	ldr	r1, .L8+20
	ldr	r0, .L8+28
	bl	rt_kprintf
	mov	r1, #5
	mov	r0, #4
	bl	add
	mov	r3, r0
	mov	r2, #5
	mov	r1, #4
	ldr	r0, .L8+32
	bl	printf
	ldr	r3, .L8+36
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	g_str
	.word	.LC3
	.word	a
	.word	b
	.word	.LC4
	.word	.LC5
	.word	-559038737
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
