	.file	"151898.c"
	.intel_syntax noprefix
	.text
	.local	failures
	.comm	failures,1,1
	.section	.rodata
.LC0:
	.string	"Expected one - two < 0\n"
	.text
	.globl	test_sub
	.type	test_sub, @function
test_sub:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	BYTE PTR -2[rbp], 1
	mov	BYTE PTR -1[rbp], 2
	movzx	eax, BYTE PTR -2[rbp]
	movzx	edx, BYTE PTR -1[rbp]
	sub	eax, edx
	test	eax, eax
	jle	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	test_sub, .-test_sub
	.section	.rodata
	.align 8
.LC1:
	.string	"Expected two_fifty_five * two_fifty_five == -511\n"
	.align 8
.LC2:
	.string	"Expected sixteen * 4 == 64, got: %d\n"
	.text
	.globl	test_mul
	.type	test_mul, @function
test_mul:
.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, 16
	mov	BYTE PTR -6[rbp], -1
	mov	BYTE PTR -5[rbp], 16
	movzx	edx, BYTE PTR -6[rbp]
	movzx	eax, BYTE PTR -6[rbp]
	imul	eax, edx
	cmp	eax, -511
	je	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L5:
	movzx	eax, BYTE PTR -5[rbp]
	sal	eax, 2
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 64
	je	.L7
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L7:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	test_mul, .-test_mul
	.section	.rodata
	.align 8
.LC3:
	.string	"Expected seventeen / three == 5, got: %d\n"
	.align 8
.LC4:
	.string	"Expected seventeen / 4 == 4, got: %d\n"
	.text
	.globl	test_div
	.type	test_div, @function
test_div:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	BYTE PTR -6[rbp], 17
	mov	BYTE PTR -5[rbp], 3
	movzx	eax, BYTE PTR -6[rbp]
	movzx	eax, al
	div	BYTE PTR -5[rbp]
	cmp	al, 5
	je	.L9
	movzx	eax, BYTE PTR -6[rbp]
	movzx	eax, al
	div	BYTE PTR -5[rbp]
	movzx	edx, al
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L9:
	movzx	eax, BYTE PTR -6[rbp]
	shr	al, 2
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 4
	je	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L11:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	test_div, .-test_div
	.section	.rodata
	.align 8
.LC5:
	.string	"Expected seventeen %% 4 == 1, got: %d\n"
	.text
	.globl	test_mod
	.type	test_mod, @function
test_mod:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	BYTE PTR -5[rbp], 17
	movzx	eax, BYTE PTR -5[rbp]
	and	eax, 3
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	je	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L14:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	test_mod, .-test_mod
	.section	.rodata
	.align 8
.LC6:
	.string	"Expected forty_two >> two == 10, got: %d\n"
	.align 8
.LC7:
	.string	"Expected forty_two >> 2 == 10, got: %d\n"
	.align 8
.LC8:
	.string	"Expected 42 >> two == 10, got: %d\n"
	.text
	.globl	test_shr
	.type	test_shr, @function
test_shr:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -12[rbp], 42
	mov	DWORD PTR -8[rbp], 2
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	cmp	eax, 10
	je	.L16
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L16:
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 2
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 10
	je	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L17:
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, 42
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 10
	je	.L19
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -4[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movzx	eax, BYTE PTR failures[rip]
	add	eax, 1
	mov	BYTE PTR failures[rip], al
.L19:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	test_shr, .-test_shr
	.section	.rodata
.LC9:
	.string	"failures: %u\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	test_sub
	call	test_mul
	call	test_div
	call	test_mod
	call	test_shr
	movzx	eax, BYTE PTR failures[rip]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR failures[rip]
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"151898.c"
	.text
	.local	failures
	.comm	failures,1,1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Expected one - two < 0\012\000"
	.text
	.align	2
	.global	test_sub
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_sub, %function
test_sub:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #1
	strb	r3, [fp, #-6]
	mov	r3, #2
	strb	r3, [fp, #-5]
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	ble	.L3
	ldr	r3, .L4
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L4+4
	bl	fwrite
	ldr	r3, .L4+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L4+8
	strb	r2, [r3]
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	stderr
	.word	.LC0
	.word	failures
	.size	test_sub, .-test_sub
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Expected two_fifty_five * two_fifty_five == -511\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Expected sixteen * 4 == 64, got: %d\012\000"
	.text
	.align	2
	.global	test_mul
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_mul, %function
test_mul:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mvn	r3, #0
	strb	r3, [fp, #-10]
	mov	r3, #16
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	ldrb	r2, [fp, #-10]	@ zero_extendqisi2
	mul	r3, r2, r3
	ldr	r2, .L10
	cmp	r3, r2
	beq	.L7
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L10+8
	bl	fwrite
	ldr	r3, .L10+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L10+12
	strb	r2, [r3]
.L7:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsl	r3, r3, #2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #64
	beq	.L9
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L10+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L10+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L10+12
	strb	r2, [r3]
.L9:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	-511
	.word	stderr
	.word	.LC1
	.word	failures
	.word	.LC2
	.size	test_mul, .-test_mul
	.global	__aeabi_uidiv
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Expected seventeen / three == 5, got: %d\012\000"
	.align	2
.LC4:
	.ascii	"Expected seventeen / 4 == 4, got: %d\012\000"
	.text
	.align	2
	.global	test_div
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_div, %function
test_div:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	mov	r3, #17
	strb	r3, [fp, #-18]
	mov	r3, #3
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	ldrb	r2, [fp, #-17]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	and	r3, r3, #255
	cmp	r3, #5
	beq	.L13
	ldr	r3, .L16
	ldr	r4, [r3]
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	ldrb	r2, [fp, #-17]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r1, .L16+4
	mov	r0, r4
	bl	fprintf
	ldr	r3, .L16+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L16+8
	strb	r2, [r3]
.L13:
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	lsr	r3, r3, #2
	and	r3, r3, #255
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	beq	.L15
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L16+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L16+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L16+8
	strb	r2, [r3]
.L15:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L17:
	.align	2
.L16:
	.word	stderr
	.word	.LC3
	.word	failures
	.word	.LC4
	.size	test_div, .-test_div
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Expected seventeen %% 4 == 1, got: %d\012\000"
	.text
	.align	2
	.global	test_mod
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_mod, %function
test_mod:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #17
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	and	r3, r3, #3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L20
	ldr	r3, .L21
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L21+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L21+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L21+8
	strb	r2, [r3]
.L20:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	stderr
	.word	.LC5
	.word	failures
	.size	test_mod, .-test_mod
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Expected forty_two >> two == 10, got: %d\012\000"
	.align	2
.LC7:
	.ascii	"Expected forty_two >> 2 == 10, got: %d\012\000"
	.align	2
.LC8:
	.ascii	"Expected 42 >> two == 10, got: %d\012\000"
	.text
	.align	2
	.global	test_shr
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_shr, %function
test_shr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #42
	str	r3, [fp, #-16]
	mov	r3, #2
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	lsr	r3, r2, r3
	cmp	r3, #10
	beq	.L24
	ldr	r3, .L28
	ldr	r0, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	lsr	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L28+4
	bl	fprintf
	ldr	r3, .L28+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L28+8
	strb	r2, [r3]
.L24:
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L25
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L28+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L28+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L28+8
	strb	r2, [r3]
.L25:
	mov	r2, #42
	ldr	r3, [fp, #-12]
	asr	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L27
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L28+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L28+8
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L28+8
	strb	r2, [r3]
.L27:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	stderr
	.word	.LC6
	.word	failures
	.word	.LC7
	.word	.LC8
	.size	test_shr, .-test_shr
	.section	.rodata
	.align	2
.LC9:
	.ascii	"failures: %u\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	test_sub
	bl	test_mul
	bl	test_div
	bl	test_mod
	bl	test_shr
	ldr	r3, .L32
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L32+4
	bl	printf
	ldr	r3, .L32
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	failures
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
