	.file	"393479.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	e
	.align 4
	.type	e, @object
	.size	e, 4
e:
	.zero	4
	.globl	g
	.align 4
	.type	g, @object
	.size	g, 4
g:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	f
	.align 2
	.type	f, @object
	.size	f, 2
f:
	.zero	2
	.text
	.globl	foo
	.type	foo, @function
foo:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.globl	fn1
	.type	fn1, @function
fn1:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	je	.L4
.L5:
	jmp	.L5
.L4:
	mov	eax, DWORD PTR e[rip]
	add	eax, 1
	mov	DWORD PTR e[rip], eax
.L3:
	mov	eax, DWORD PTR e[rip]
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR g[rip]
	test	eax, eax
	jne	.L7
	movzx	eax, WORD PTR f[rip]
	jmp	.L2
.L7:
.L2:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	fn1, .-fn1
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L11
.L15:
	mov	DWORD PTR c[rip], 0
	jmp	.L12
.L14:
	mov	eax, DWORD PTR d[rip]
	test	eax, eax
	je	.L13
	mov	WORD PTR f[rip], 0
.L13:
	call	fn1
	cwde
	mov	DWORD PTR h[rip], eax
	mov	eax, DWORD PTR c[rip]
	add	eax, 1
	mov	DWORD PTR c[rip], eax
.L12:
	mov	eax, DWORD PTR c[rip]
	cmp	eax, 1
	jle	.L14
	movzx	eax, WORD PTR f[rip]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR a[rip]
	add	eax, 1
	mov	DWORD PTR a[rip], eax
.L11:
	mov	eax, DWORD PTR a[rip]
	test	eax, eax
	jle	.L15
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"393479.c"
	.text
	.comm	a,4,4
	.comm	c,4,4
	.comm	d,4,4
	.comm	e,4,4
	.comm	g,4,4
	.comm	h,4,4
	.comm	f,2,2
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	foo, .-foo
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fn1
	.syntax unified
	.arm
	.fpu softvfp
	.type	fn1, %function
fn1:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L3
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L4
.L5:
	b	.L5
.L4:
	ldr	r3, .L10+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L10+4
	str	r3, [r2]
.L3:
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L10+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L10+12
	ldrsh	r3, [r3]
	b	.L2
.L7:
.L2:
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	e
	.word	g
	.word	f
	.size	fn1, .-fn1
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	b	.L13
.L17:
	ldr	r3, .L19
	mov	r2, #0
	str	r2, [r3]
	b	.L14
.L16:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L19+8
	mov	r2, #0
	strh	r2, [r3]	@ movhi
.L15:
	bl	fn1
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L19+12
	str	r2, [r3]
	ldr	r3, .L19
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L19
	str	r3, [r2]
.L14:
	ldr	r3, .L19
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L16
	ldr	r3, .L19+8
	ldrsh	r3, [r3]
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L19+16
	bl	printf
	ldr	r3, .L19+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L19+20
	str	r3, [r2]
.L13:
	ldr	r3, .L19+20
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L17
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	c
	.word	d
	.word	f
	.word	h
	.word	.LC1
	.word	a
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
