	.file	"937620.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	b
	.data
	.align 4
	.type	b, @object
	.size	b, 4
b:
	.long	1
	.globl	c
	.bss
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	d
	.align 16
	.type	d, @object
	.size	d, 16
d:
	.zero	16
	.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
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	lea	edx, 0[0+rax*4]
	add	eax, edx
	add	eax, ecx
	mov	DWORD PTR c[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.globl	bar
	.type	bar, @function
bar:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	QWORD PTR -24[rbp], rcx
	mov	DWORD PTR -28[rbp], r8d
	cmp	DWORD PTR -12[rbp], 0
	je	.L3
	call	abort@PLT
.L3:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE1:
	.size	bar, .-bar
	.section	.rodata
.LC0:
	.string	"test"
	.text
	.globl	test
	.type	test, @function
test:
.LFB2:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rdx, QWORD PTR d[rip]
	mov	eax, DWORD PTR d[rip+8]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 200
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	foo
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR b[rip]
	test	eax, eax
	je	.L5
	mov	esi, 0
	jmp	.L6
.L5:
	mov	esi, 65536
.L6:
	mov	rcx, QWORD PTR d[rip]
	mov	eax, DWORD PTR d[rip+8]
	cdqe
	sal	rax, 3
	lea	rbx, [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 201
	lea	rcx, .LC0[rip]
	mov	rdi, rax
	call	bar
	mov	QWORD PTR [rbx], rax
	mov	rdx, QWORD PTR d[rip]
	mov	eax, DWORD PTR d[rip+8]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	cmp	QWORD PTR -32[rbp], 0
	je	.L8
	mov	rdx, QWORD PTR d[rip]
	mov	eax, DWORD PTR d[rip+8]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR 4[rax], edx
.L8:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	test, .-test
	.section	.rodata
.LC1:
	.string	""
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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 d[rip+8], 0
	lea	rax, a[rip]
	mov	QWORD PTR d[rip], rax
	mov	esi, 0
	lea	rdi, .LC1[rip]
	call	test
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"937620.c"
	.text
	.comm	a,4,4
	.global	b
	.data
	.align	2
	.type	b, %object
	.size	b, 4
b:
	.word	1
	.comm	c,4,4
	.comm	d,8,4
	.text
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	add	r3, r1, r3
	ldr	r2, .L2
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	c
	.size	foo, .-foo
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L5
	bl	abort
.L5:
	mov	r0, #0
	bl	exit
	.size	bar, .-bar
	.section	.rodata
	.align	2
.LC0:
	.ascii	"test\000"
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, .L11
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #200
	ldr	r1, .L11+4
	mov	r0, r3
	bl	foo
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L7
	mov	r5, #0
	b	.L8
.L7:
	mov	r5, #65536
.L8:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	mov	r1, r3
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, .L11
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r3, #201
	str	r3, [sp]
	ldr	r3, .L11+4
	mov	r2, r1
	mov	r1, r5
	ldr	r0, [fp, #-16]
	bl	bar
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, .L11
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, .L11
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r2, [r2]
	str	r2, [r3, #4]
.L10:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L12:
	.align	2
.L11:
	.word	d
	.word	.LC0
	.word	b
	.size	test, .-test
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\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
	ldr	r3, .L15
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L15
	ldr	r2, .L15+4
	str	r2, [r3]
	mov	r1, #0
	ldr	r0, .L15+8
	bl	test
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	d
	.word	a
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
