	.file	"extr_max2165.c_fixpt_div32.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fixpt_div32, @function
fixpt_div32:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, edi
	mov	r9, rdx
	test	esi, esi
	je	.L8
	cdq
	mov	r8d, 31
	xor	edi, edi
	idiv	esi
	.p2align 4,,10
	.p2align 3
.L5:
	add	edx, edx
	cmp	esi, edx
	jg	.L4
	add	edi, 1
	sub	edx, esi
.L4:
	add	edi, edi
	sub	r8d, 1
	jne	.L5
	mov	DWORD PTR [r9], eax
	xor	eax, eax
	mov	DWORD PTR [rcx], edi
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	fixpt_div32, .-fixpt_div32
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_max2165.c_fixpt_div32.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fixpt_div32, %function
fixpt_div32:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r1, #0
	beq	.L9
	mov	r5, r3
	mov	r6, r2
	bl	__aeabi_idivmod
	mov	ip, #0
	mov	r3, r0
	mov	r0, #31
.L5:
	lsl	r1, r1, #1
	cmp	r4, r1
	addle	ip, ip, #1
	suble	r1, r1, r4
	subs	r0, r0, #1
	lsl	ip, ip, #1
	bne	.L5
	str	r3, [r6]
	str	ip, [r5]
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L10
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	.align	2
.L10:
	.word	EINVAL
	.size	fixpt_div32, .-fixpt_div32
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
