	.file	"134577.c"
	.intel_syntax noprefix
	.text
	.type	f1, @function
f1:
.LFB0:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, edi
	mov	eax, esi
	mov	WORD PTR -4[rbp], dx
	mov	WORD PTR -8[rbp], ax
	cmp	WORD PTR -4[rbp], 0
	jle	.L2
	cmp	WORD PTR -8[rbp], 0
	jle	.L3
	movsx	ecx, WORD PTR -4[rbp]
	movsx	esi, WORD PTR -8[rbp]
	mov	eax, 32767
	cdq
	idiv	esi
	cmp	ecx, eax
	jle	.L4
	movzx	eax, WORD PTR -4[rbp]
	jmp	.L5
.L3:
	movsx	ecx, WORD PTR -8[rbp]
	movsx	edi, WORD PTR -4[rbp]
	mov	eax, -32768
	cdq
	idiv	edi
	cmp	ecx, eax
	jge	.L4
	movzx	eax, WORD PTR -4[rbp]
	jmp	.L5
.L2:
	cmp	WORD PTR -8[rbp], 0
	jle	.L6
	movsx	ecx, WORD PTR -4[rbp]
	movsx	esi, WORD PTR -8[rbp]
	mov	eax, -32768
	cdq
	idiv	esi
	cmp	ecx, eax
	jge	.L4
	movzx	eax, WORD PTR -4[rbp]
	jmp	.L5
.L6:
	cmp	WORD PTR -4[rbp], 0
	je	.L4
	movsx	ecx, WORD PTR -8[rbp]
	movsx	edi, WORD PTR -4[rbp]
	mov	eax, 32767
	cdq
	idiv	edi
	cmp	ecx, eax
	jge	.L4
	movzx	eax, WORD PTR -4[rbp]
	jmp	.L5
.L4:
	movzx	edx, WORD PTR -4[rbp]
	movzx	eax, WORD PTR -8[rbp]
	imul	eax, edx
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f1, .-f1
	.type	f2, @function
f2:
.LFB1:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, edi
	mov	eax, esi
	mov	BYTE PTR -4[rbp], dl
	mov	BYTE PTR -8[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	xor	al, BYTE PTR -8[rbp]
	movsx	edx, al
	movsx	ecx, BYTE PTR -4[rbp]
	movzx	eax, BYTE PTR -4[rbp]
	xor	al, BYTE PTR -8[rbp]
	movsx	eax, al
	and	eax, 128
	xor	eax, ecx
	movsx	ecx, BYTE PTR -8[rbp]
	sub	eax, ecx
	mov	esi, eax
	movsx	eax, BYTE PTR -8[rbp]
	xor	eax, esi
	and	eax, edx
	test	eax, eax
	jns	.L8
	movzx	eax, BYTE PTR -4[rbp]
	jmp	.L9
.L8:
	movzx	eax, BYTE PTR -4[rbp]
	movzx	edx, BYTE PTR -8[rbp]
	sub	eax, edx
.L9:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	f2, .-f2
	.globl	v
	.bss
	.align 4
	.type	v, @object
	.size	v, 4
v:
	.zero	4
	.text
	.globl	f3
	.type	f3, @function
f3:
.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, 8
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	esi, 1
	mov	edi, 1
	call	f1
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	f3, .-f3
	.globl	f4
	.type	f4, @function
f4:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	WORD PTR -4[rbp], ax
	movzx	eax, WORD PTR -4[rbp]
	mov	DWORD PTR v[rip], eax
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	f4, .-f4
	.globl	f5
	.type	f5, @function
f5:
.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, 8
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	movsx	eax, al
	mov	esi, 1
	mov	edi, eax
	call	f2
	test	al, al
	je	.L15
	mov	edi, 1
	call	f4
	cwde
	mov	esi, eax
	mov	edi, 1
	call	f1
.L15:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	f5, .-f5
	.globl	f6
	.type	f6, @function
f6:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	DWORD PTR -4[rbp], edi
	mov	edi, 0
	call	f5
	cmp	eax, 1
	setne	al
	movzx	eax, al
	cmp	DWORD PTR -4[rbp], eax
	setb	al
	movzx	eax, al
	mov	edi, eax
	call	f4
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	f6, .-f6
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 1
	call	f6
	mov	eax, DWORD PTR v[rip]
	test	eax, eax
	je	.L20
	call	abort@PLT
.L20:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"134577.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f1, %function
f1:
	@ 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, r0
	mov	r2, r1
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-16]	@ movhi
	ldrsh	r3, [fp, #-14]
	cmp	r3, #0
	ble	.L2
	ldrsh	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L3
	ldrsh	r4, [fp, #-14]
	ldrsh	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L7
	bl	__aeabi_idiv
	mov	r3, r0
	cmp	r4, r3
	ble	.L4
	ldrsh	r3, [fp, #-14]
	b	.L5
.L3:
	ldrsh	r4, [fp, #-16]
	ldrsh	r3, [fp, #-14]
	mov	r1, r3
	ldr	r0, .L7+4
	bl	__aeabi_idiv
	mov	r3, r0
	cmp	r4, r3
	bge	.L4
	ldrsh	r3, [fp, #-14]
	b	.L5
.L2:
	ldrsh	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L6
	ldrsh	r4, [fp, #-14]
	ldrsh	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L7+4
	bl	__aeabi_idiv
	mov	r3, r0
	cmp	r4, r3
	bge	.L4
	ldrsh	r3, [fp, #-14]
	b	.L5
.L6:
	ldrsh	r3, [fp, #-14]
	cmp	r3, #0
	beq	.L4
	ldrsh	r4, [fp, #-16]
	ldrsh	r3, [fp, #-14]
	mov	r1, r3
	ldr	r0, .L7
	bl	__aeabi_idiv
	mov	r3, r0
	cmp	r4, r3
	bge	.L4
	ldrsh	r3, [fp, #-14]
	b	.L5
.L4:
	ldrh	r3, [fp, #-14]
	ldrh	r2, [fp, #-16]
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
.L5:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	32767
	.word	-32768
	.size	f1, .-f1
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f2, %function
f2:
	@ 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
	mov	r3, r0
	mov	r2, r1
	strb	r3, [fp, #-5]
	mov	r3, r2
	strb	r3, [fp, #-6]
	ldrb	r2, [fp, #-5]
	ldrb	r3, [fp, #-6]
	eor	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mov	r0, r3
	ldrsb	r2, [fp, #-5]
	ldrb	r1, [fp, #-5]
	ldrb	r3, [fp, #-6]
	eor	r3, r3, r1
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #128
	eor	r2, r2, r3
	ldrsb	r3, [fp, #-6]
	sub	r2, r2, r3
	ldrsb	r3, [fp, #-6]
	eor	r3, r3, r2
	and	r3, r3, r0
	cmp	r3, #0
	bge	.L10
	ldrsb	r3, [fp, #-5]
	b	.L11
.L10:
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	sub	r3, r2, r3
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r3, r3, #24
.L11:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	f2, .-f2
	.comm	v,4,4
	.align	2
	.global	f3
	.syntax unified
	.arm
	.fpu softvfp
	.type	f3, %function
f3:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r1, #1
	mov	r0, #1
	bl	f1
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	f3, .-f3
	.align	2
	.global	f4
	.syntax unified
	.arm
	.fpu softvfp
	.type	f4, %function
f4:
	@ 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
	mov	r3, r0
	strh	r3, [fp, #-6]	@ movhi
	ldrh	r3, [fp, #-6]
	ldr	r2, .L16
	str	r3, [r2]
	mov	r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L17:
	.align	2
.L16:
	.word	v
	.size	f4, .-f4
	.align	2
	.global	f5
	.syntax unified
	.arm
	.fpu softvfp
	.type	f5, %function
f5:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #24
	asr	r3, r3, #24
	mov	r1, #1
	mov	r0, r3
	bl	f2
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	mov	r0, #1
	bl	f4
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r1, r3
	mov	r0, #1
	bl	f1
.L19:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	f5, .-f5
	.align	2
	.global	f6
	.syntax unified
	.arm
	.fpu softvfp
	.type	f6, %function
f6:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #0
	bl	f5
	mov	r3, r0
	cmp	r3, #1
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	movcc	r3, #1
	movcs	r3, #0
	and	r3, r3, #255
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	f4
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	f6, .-f6
	.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
	mov	r0, #1
	bl	f6
	ldr	r3, .L26
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L24
	bl	abort
.L24:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	v
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
