	.file	"28262838.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 36
a:
	.zero	36
	.globl	c
	.align 32
	.type	c, @object
	.size	c, 36
c:
	.zero	36
	.globl	e
	.type	e, @object
	.size	e, 1
e:
	.zero	1
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.text
	.globl	bar
	.type	bar, @function
bar:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	nop
	mov	eax, DWORD PTR d[rip]
	test	eax, eax
	je	.L6
	sub	rsp, 8
	sub	rsp, 40
	mov	rax, rsp
	mov	rcx, QWORD PTR a[rip]
	mov	rbx, QWORD PTR a[rip+8]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR a[rip+16]
	mov	rbx, QWORD PTR a[rip+24]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	edx, DWORD PTR a[rip+32]
	mov	DWORD PTR 32[rax], edx
	lea	rdi, bar[rip]
	call	foo
	add	rsp, 48
	mov	DWORD PTR -32[rbp], 0
.L3:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	movzx	edx, BYTE PTR e[rip]
	mov	BYTE PTR -27[rbp+rax], dl
	add	DWORD PTR -32[rbp], 1
	jmp	.L3
.L6:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bar, .-bar
	.type	foo, @function
foo:
.LFB1:
	.cfi_startproc
	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	BYTE PTR -5[rbp], sil
	mov	BYTE PTR -5[rbp], 2
	jmp	.L8
.L11:
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, QWORD PTR 24[rbp]
	mov	QWORD PTR a[rip], rax
	mov	QWORD PTR a[rip+8], rdx
	mov	rax, QWORD PTR 32[rbp]
	mov	rdx, QWORD PTR 40[rbp]
	mov	QWORD PTR a[rip+16], rax
	mov	QWORD PTR a[rip+24], rdx
	mov	eax, DWORD PTR 48[rbp]
	mov	DWORD PTR a[rip+32], eax
	mov	rax, QWORD PTR a[rip]
	mov	rdx, QWORD PTR a[rip+8]
	mov	QWORD PTR c[rip], rax
	mov	QWORD PTR c[rip+8], rdx
	mov	rax, QWORD PTR a[rip+16]
	mov	rdx, QWORD PTR a[rip+24]
	mov	QWORD PTR c[rip+16], rax
	mov	QWORD PTR c[rip+24], rdx
	mov	eax, DWORD PTR a[rip+32]
	mov	DWORD PTR c[rip+32], eax
	mov	rax, QWORD PTR b[rip]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR b[rip]
	or	edx, 6
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR 16[rbp]
	test	eax, eax
	jne	.L12
	movzx	eax, BYTE PTR -5[rbp]
	sub	eax, 1
	mov	BYTE PTR -5[rbp], al
.L8:
	movzx	eax, BYTE PTR -5[rbp]
	test	al, al
	jne	.L11
	jmp	.L13
.L12:
	nop
.L13:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	foo, .-foo
	.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	"28262838.c"
	.text
	.comm	a,36,4
	.comm	c,36,4
	.comm	e,1,4
	.comm	b,4,4
	.comm	d,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	nop
	ldr	r3, .L7+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L6
	ldr	r4, .L7+8
	mov	lr, sp
	add	ip, r4, #12
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldm	r4, {r1, r2, r3}
	ldr	r0, .L7+12
	bl	foo
	mov	r3, #0
	str	r3, [fp, #-24]
.L3:
	sub	r2, fp, #20
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, .L7+16
	ldrb	r2, [r2]
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L3
.L6:
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	d
	.word	a
	.word	bar
	.word	e
	.size	bar, .-bar
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 44, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	mov	r3, #2
	strb	r3, [fp, #44]
	b	.L10
.L13:
	ldr	r3, .L16
	mov	lr, r3
	add	ip, fp, #8
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldr	r3, [ip]
	str	r3, [lr]
	ldr	r2, .L16+4
	ldr	r3, .L16
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L16+8
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L16+8
	ldr	r3, [r3]
	orr	r2, r2, #6
	str	r2, [r3]
	ldr	r3, [fp, #8]
	cmp	r3, #0
	bne	.L14
	ldrsb	r3, [fp, #44]
	and	r3, r3, #255
	sub	r3, r3, #1
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #44]
.L10:
	ldrsb	r3, [fp, #44]
	cmp	r3, #0
	bne	.L13
	b	.L15
.L14:
	nop
.L15:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L17:
	.align	2
.L16:
	.word	a
	.word	c
	.word	b
	.size	foo, .-foo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
