	.file	"424626.c"
	.intel_syntax noprefix
	.text
	.globl	failures
	.bss
	.align 4
	.type	failures, @object
	.size	failures, 4
failures:
	.zero	4
	.text
	.globl	f
	.type	f, @function
f:
.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	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR [rax]
	and	edx, -8
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, WORD PTR [rax]
	and	dx, -449
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
.LC0:
	.string	"%d\n"
.LC1:
	.string	"Failures: %d\n"
	.text
	.globl	test
	.type	test, @function
test:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	eax, BYTE PTR -20[rbp]
	or	eax, 7
	mov	BYTE PTR -20[rbp], al
	movzx	eax, BYTE PTR -20[rbp]
	and	eax, -57
	mov	BYTE PTR -20[rbp], al
	movzx	eax, WORD PTR -20[rbp]
	or	ax, 448
	mov	WORD PTR -20[rbp], ax
	lea	rax, -20[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	f
	movzx	eax, BYTE PTR [rax]
	sal	eax, 5
	sar	al, 5
	and	eax, 7
	lea	edx, 0[0+rax*8]
	movzx	eax, BYTE PTR -20[rbp]
	and	eax, -57
	or	eax, edx
	mov	BYTE PTR -20[rbp], al
	movzx	eax, BYTE PTR -20[rbp]
	and	eax, 7
	test	al, al
	je	.L4
	mov	eax, DWORD PTR failures[rip]
	add	eax, 1
	mov	DWORD PTR failures[rip], eax
.L4:
	movzx	eax, BYTE PTR -20[rbp]
	sal	eax, 5
	sar	al, 5
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	and	eax, 56
	test	al, al
	je	.L5
	mov	eax, DWORD PTR failures[rip]
	add	eax, 1
	mov	DWORD PTR failures[rip], eax
.L5:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	sal	eax, 2
	sar	al, 5
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -20[rbp]
	and	ax, 448
	test	ax, ax
	je	.L6
	mov	eax, DWORD PTR failures[rip]
	add	eax, 1
	mov	DWORD PTR failures[rip], eax
.L6:
	movzx	eax, WORD PTR -20[rbp]
	sal	eax, 7
	sar	ax, 13
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR failures[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	test, .-test
	.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
	call	test
	mov	eax, DWORD PTR failures[rip]
	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	"424626.c"
	.text
	.global	failures
	.bss
	.align	2
	.type	failures, %object
	.size	failures, 4
failures:
	.space	4
	.text
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldrb	r3, [r2]
	bic	r3, r3, #7
	strb	r3, [r2]
	ldr	r2, [fp, #-8]
	ldrh	r3, [r2]	@ movhi
	bic	r3, r3, #448
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	f, .-f
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.align	2
.LC1:
	.ascii	"Failures: %d\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ 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, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldrb	r3, [fp, #-16]
	orr	r3, r3, #7
	strb	r3, [fp, #-16]
	ldrb	r3, [fp, #-16]
	bic	r3, r3, #56
	strb	r3, [fp, #-16]
	ldrh	r3, [fp, #-16]	@ movhi
	orr	r3, r3, #448
	strh	r3, [fp, #-16]	@ movhi
	sub	r3, fp, #16
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	f
	mov	r3, r0
	ldrb	r3, [r3]
	lsl	r3, r3, #5
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #5
	lsl	r3, r3, #24
	asr	r3, r3, #24
	ldrb	r2, [fp, #-16]
	and	r3, r3, #7
	bic	r2, r2, #56
	lsl	r3, r3, #3
	orr	r3, r3, r2
	mov	r2, r3
	strb	r2, [fp, #-16]
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	and	r3, r3, #7
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L8+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+4
	str	r3, [r2]
.L4:
	ldrb	r3, [fp, #-16]
	lsl	r3, r3, #5
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #5
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L8+8
	bl	printf
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #56
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L8+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+4
	str	r3, [r2]
.L5:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]
	lsl	r3, r3, #2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #5
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L8+8
	bl	printf
	ldrh	r3, [fp, #-16]
	and	r3, r3, #448
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L8+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+4
	str	r3, [r2]
.L6:
	ldrh	r3, [fp, #-16]	@ movhi
	lsl	r3, r3, #7
	lsl	r3, r3, #16
	asr	r3, r3, #16
	asr	r3, r3, #13
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L8+8
	bl	printf
	ldr	r3, .L8+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8+12
	bl	printf
	nop
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	failures
	.word	.LC0
	.word	.LC1
	.size	test, .-test
	.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	test
	ldr	r3, .L12
	ldr	r3, [r3]
	mov	r0, r3
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	failures
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
