	.file	"720452.c"
	.intel_syntax noprefix
	.text
	.globl	g
	.bss
	.align 4
	.type	g, @object
	.size	g, 4
g:
	.zero	4
	.globl	f
	.data
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.long	42
	.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
	movzx	eax, BYTE PTR g[rip]
	sal	eax, 7
	sar	al, 7
	xor	eax, 4
	sal	eax, 7
	sar	al, 7
	and	eax, 1
	mov	edx, eax
	movzx	eax, BYTE PTR g[rip]
	and	eax, -2
	or	eax, edx
	mov	BYTE PTR g[rip], al
	movzx	eax, BYTE PTR g[rip]
	and	eax, 1
	test	al, al
	je	.L2
	mov	eax, DWORD PTR f[rip]
	sub	eax, 1
	mov	DWORD PTR f[rip], eax
.L2:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.section	.rodata
.LC0:
	.string	"%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
	call	foo
	mov	edx, DWORD PTR f[rip]
	movzx	eax, BYTE PTR g[rip]
	sal	eax, 7
	sar	al, 7
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	pop	rbp
	.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	"720452.c"
	.text
	.global	g
	.bss
	.align	2
	.type	g, %object
	.size	g, 4
g:
	.space	4
	.global	f
	.data
	.align	2
	.type	f, %object
	.size	f, 4
f:
	.word	42
	.text
	.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
	ldr	r3, .L3
	ldrb	r3, [r3]
	lsl	r3, r3, #7
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #7
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, #4
	lsl	r3, r3, #24
	asr	r3, r3, #24
	lsl	r3, r3, #7
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #7
	lsl	r3, r3, #24
	asr	r1, r3, #24
	ldr	r2, .L3
	ldrb	r3, [r2]
	and	r1, r1, #1
	bic	r3, r3, #1
	orr	r3, r1, r3
	strb	r3, [r2]
	ldr	r3, .L3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L3+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L3+4
	str	r3, [r2]
.L2:
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	g
	.word	f
	.size	foo, .-foo
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d, %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
	bl	foo
	ldr	r3, .L7
	ldrb	r3, [r3]
	lsl	r3, r3, #7
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #7
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mov	r1, r3
	ldr	r3, .L7+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L7+8
	bl	printf
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	g
	.word	f
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
