	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixpt_div32
_fixpt_div32:                           ## @fixpt_div32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r8
	movl	%edi, %eax
	cltd
	idivl	%esi
	xorl	%r10d, %r10d
	movl	$30, %r9d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	subl	%r10d, %edx
	movb	%bl, %r11b
	orl	%r11d, %edi
	addl	%edi, %edi
	addl	$-2, %r9d
	movl	%edi, %r10d
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addl	%edx, %edx
	xorl	%edi, %edi
	cmpl	%esi, %edx
	setge	%dil
	orl	%r10d, %edi
	addl	%edi, %edi
	testl	%r9d, %r9d
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r10d, %r10d
	movl	$0, %ebx
	cmpl	%esi, %edx
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %ebx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	subl	%ebx, %edx
	addl	%edx, %edx
	xorl	%r11d, %r11d
	cmpl	%esi, %edx
	setge	%bl
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %r10d
	jmp	LBB0_8
LBB0_9:
	movl	%eax, (%r8)
	movl	%edi, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_fixpt_div32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixpt_div32
_fixpt_div32:                           ; @fixpt_div32
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_4
; %bb.1:
	mov	w8, #0
	sdiv	w9, w0, w1
	msub	w11, w9, w1, w0
	mov	w10, #31
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w11, w11, #1
	cmp	w11, w1
	csel	w12, wzr, w1, lt
	cset	w13, ge
	sub	w11, w11, w12
	orr	w8, w8, w13
	lsl	w8, w8, #1
	subs	w10, w10, #1
	b.ne	LBB0_2
; %bb.3:
	mov	w0, #0
	str	w9, [x2]
	str	w8, [x3]
	ret
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_fixpt_div32
.subsections_via_symbols
