	.file	"170451801.c"
	.intel_syntax noprefix
	.text
	.globl	rhs
	.bss
	.align 8
	.type	rhs, @object
	.size	rhs, 8
rhs:
	.zero	8
	.text
	.globl	test
	.type	test, @function
test:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 55164
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR rhs[rip]
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	test, .-test
	.globl	res
	.bss
	.align 4
	.type	res, @object
	.size	res, 4
res:
	.zero	4
	.section	.rodata
.LC0:
	.string	"res: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 55148
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	mov	edx, 128
	mov	esi, 11
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR rhs[rip], 16
	mov	rax, QWORD PTR rhs[rip]
	add	rax, 55164
	mov	BYTE PTR [rax], 13
	mov	eax, 55164
	mov	BYTE PTR [rax], 23
	mov	eax, 55180
	mov	BYTE PTR [rax], 42
	call	test
	mov	DWORD PTR res[rip], eax
	mov	eax, DWORD PTR res[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR res[rip]
	cmp	eax, 39
	je	.L4
	mov	eax, 1
	jmp	.L5
.L4:
	mov	eax, 0
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"170451801.c"
	.text
	.comm	rhs,4,4
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ 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
	ldr	r3, .L3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L3+4
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	55164
	.word	rhs
	.size	test, .-test
	.comm	res,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"res: %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
	ldr	r3, .L8
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, #128
	mov	r1, #11
	mov	r0, r3
	bl	memset
	ldr	r3, .L8+4
	mov	r2, #16
	str	r2, [r3]
	ldr	r3, .L8+4
	ldr	r3, [r3]
	add	r3, r3, #55040
	add	r3, r3, #124
	mov	r2, #13
	strb	r2, [r3]
	ldr	r3, .L8+8
	mov	r2, #23
	strb	r2, [r3]
	ldr	r3, .L8+12
	mov	r2, #42
	strb	r2, [r3]
	bl	test
	mov	r3, r0
	ldr	r2, .L8+16
	str	r3, [r2]
	ldr	r3, .L8+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+20
	bl	printf
	ldr	r3, .L8+16
	ldr	r3, [r3]
	cmp	r3, #39
	beq	.L6
	mov	r3, #1
	b	.L7
.L6:
	mov	r3, #0
.L7:
	mov	r0, r3
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	55148
	.word	rhs
	.word	55164
	.word	55180
	.word	res
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
