	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wrp_div_imm
_wrp_div_imm:                           ## @wrp_div_imm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r13
	movl	%esi, %edi
	callq	_reg_both
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_reg_a
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_reg_a
	movq	_U32_MAX@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jae	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_wrp_immed
	jmp	LBB0_15
LBB0_2:
	cmpl	$-2147483647, %r12d             ## imm = 0x80000001
	jb	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	callq	_imm_b
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_ur_load_imm_any
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_reg_none
	movq	_ALU_OP_SUB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	movl	%ebx, %r8d
	callq	_emit_alu
	movq	%r13, %rdi
	callq	_imm_a
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_wrp_immed
	movq	%r13, %rdi
	callq	_imm_a
	movl	%eax, %r15d
	movq	_ALU_OP_ADD_C@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%edi, %edi
	callq	_reg_imm
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_emit_alu
	jmp	LBB0_15
LBB0_4:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	-88(%rbp), %rdi
	movl	%r12d, %esi
	movl	$32, %edx
	callq	_reciprocal_value_adv
	movl	-88(%rbp), %ebx
	movl	-84(%rbp), %r15d
	movl	-80(%rbp), %eax
	movq	-72(%rbp), %r14
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	testb	$1, %r12b
	jne	LBB0_7
## %bb.5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movl	%r12d, %edi
	negl	%edi
	andl	%r12d, %edi
	callq	_fls
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ecx
	movl	%r12d, %esi
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %esi
	movl	$33, %edx
	subl	%eax, %edx
	leaq	-88(%rbp), %rdi
	callq	_reciprocal_value_adv
	movl	-84(%rbp), %r15d
	movl	-80(%rbp), %eax
	movq	-72(%rbp), %r14
LBB0_7:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_imm_b
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_ur_load_imm_any
	movl	%eax, %r15d
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	cmpl	%r12d, %eax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_reg_none
	movq	_SHF_OP_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SHF_SC_R_SHF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	%ebx, (%rsp)
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_9:
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	callq	_imm_both
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_reg_none
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	movl	$1, %r9d
	callq	_wrp_mul_u32
	movq	_ALU_OP_SUB@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_imm_b
	movq	%r13, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_emit_alu
	xorl	%eax, %eax
	callq	_reg_none
	movq	_SHF_OP_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SHF_SC_R_SHF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	$1, (%rsp)
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_emit_shf
	movq	_ALU_OP_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_imm_b
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_emit_alu
	xorl	%eax, %eax
	callq	_reg_none
	movq	_SHF_OP_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SHF_SC_R_SHF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	decl	%edx
	movl	%edx, (%rsp)
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r15d, %r8d
	jmp	LBB0_14
LBB0_11:
	movl	%r15d, %r12d
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_reg_none
	movq	_SHF_OP_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SHF_SC_R_SHF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	%ebx, (%rsp)
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	%r14d, %r8d
	callq	_emit_shf
LBB0_13:
	xorl	%eax, %eax
	callq	_reg_none
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	$1, %r9d
	callq	_wrp_mul_u32
	xorl	%eax, %eax
	callq	_reg_none
	movq	_SHF_OP_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_SHF_SC_R_SHF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, (%rsp)
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	%r14d, %r8d
LBB0_14:
	callq	_emit_shf
LBB0_15:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_U32_MAX,4,2                    ## @U32_MAX
	.comm	_ALU_OP_SUB,4,2                 ## @ALU_OP_SUB
	.comm	_ALU_OP_ADD_C,4,2               ## @ALU_OP_ADD_C
	.comm	_SHF_OP_NONE,4,2                ## @SHF_OP_NONE
	.comm	_SHF_SC_R_SHF,4,2               ## @SHF_SC_R_SHF
	.comm	_ALU_OP_ADD,4,2                 ## @ALU_OP_ADD
	.no_dead_strip	_wrp_div_imm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wrp_div_imm
_wrp_div_imm:                           ; @wrp_div_imm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_reg_both
	mov	x19, x0
	mov	x0, x21
	bl	_reg_a
	mov	x22, x0
	mov	x0, x21
	bl	_reg_a
Lloh0:
	adrp	x8, _U32_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _U32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w24
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_wrp_immed
	b	LBB0_15
LBB0_2:
	mov	w8, #-2147483647
	cmp	w24, w8
	b.lo	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_imm_b
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_ur_load_imm_any
	mov	x21, x0
	bl	_reg_none
	mov	x1, x0
Lloh3:
	adrp	x8, _ALU_OP_SUB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALU_OP_SUB@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x22
	mov	x4, x21
	bl	_emit_alu
	mov	x0, x20
	bl	_imm_a
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_wrp_immed
	mov	x0, x20
	bl	_imm_a
	mov	x21, x0
Lloh6:
	adrp	x8, _ALU_OP_ADD_C@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALU_OP_ADD_C@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	mov	w0, #0
	bl	_reg_imm
	mov	x4, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_emit_alu
	b	LBB0_15
LBB0_4:
	mov	x21, x0
	add	x8, sp, #8
	mov	x0, x24
	mov	w1, #32
	bl	_reciprocal_value_adv
	mov	w26, #0
	ldp	w25, w27, [sp, #8]
	ldr	w23, [sp, #16]
	ldr	x28, [sp, #24]
	tbnz	w24, #0, LBB0_7
; %bb.5:
	cbz	x28, LBB0_7
; %bb.6:
	neg	w8, w24
	and	w0, w8, w24
	bl	_fls
	sub	w26, w0, #1
	lsr	w9, w24, w26
	mov	w8, #33
	sub	w1, w8, w0
	add	x8, sp, #8
	mov	x0, x9
	bl	_reciprocal_value_adv
	ldp	w27, w23, [sp, #12]
	ldr	x28, [sp, #24]
LBB0_7:
	mov	x0, x20
	bl	_imm_b
	mov	x2, x0
	mov	x0, x20
	mov	x1, x27
	bl	_ur_load_imm_any
	mov	w8, #1
	lsl	w8, w8, w25
	cmp	w8, w24
	b.ne	LBB0_9
; %bb.8:
	bl	_reg_none
	mov	x2, x0
Lloh9:
	adrp	x8, _SHF_OP_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SHF_OP_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _SHF_SC_R_SHF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SHF_SC_R_SHF@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x4, x21
	mov	x6, x25
	b	LBB0_14
LBB0_9:
	mov	x27, x0
	cbz	x28, LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_imm_both
	mov	x24, x0
	bl	_reg_none
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	mov	x3, x22
	mov	x4, x27
	mov	w5, #1
	bl	_wrp_mul_u32
Lloh15:
	adrp	x8, _ALU_OP_SUB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ALU_OP_SUB@GOTPAGEOFF]
Lloh17:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_imm_b
	mov	x4, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x24
	bl	_emit_alu
	bl	_reg_none
	mov	x2, x0
Lloh18:
	adrp	x25, _SHF_OP_NONE@GOTPAGE
Lloh19:
	ldr	x25, [x25, _SHF_OP_NONE@GOTPAGEOFF]
	ldr	w3, [x25]
Lloh20:
	adrp	x26, _SHF_SC_R_SHF@GOTPAGE
Lloh21:
	ldr	x26, [x26, _SHF_SC_R_SHF@GOTPAGEOFF]
	ldr	w5, [x26]
	mov	x0, x20
	mov	x1, x19
	mov	x4, x21
	mov	w6, #1
	bl	_emit_shf
Lloh22:
	adrp	x8, _ALU_OP_ADD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ALU_OP_ADD@GOTPAGEOFF]
Lloh24:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_imm_b
	mov	x4, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x24
	bl	_emit_alu
	bl	_reg_none
	mov	x2, x0
	ldr	w3, [x25]
	ldr	w5, [x26]
	sub	w6, w23, #1
	mov	x0, x20
	mov	x1, x19
	mov	x4, x21
	b	LBB0_14
LBB0_11:
	cbz	w26, LBB0_13
; %bb.12:
	bl	_reg_none
	mov	x2, x0
Lloh25:
	adrp	x8, _SHF_OP_NONE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SHF_OP_NONE@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
Lloh28:
	adrp	x8, _SHF_SC_R_SHF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SHF_SC_R_SHF@GOTPAGEOFF]
Lloh30:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x4, x21
	mov	x6, x26
	bl	_emit_shf
LBB0_13:
	bl	_reg_none
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	mov	x4, x27
	mov	w5, #1
	bl	_wrp_mul_u32
	bl	_reg_none
	mov	x2, x0
Lloh31:
	adrp	x8, _SHF_OP_NONE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SHF_OP_NONE@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
Lloh34:
	adrp	x8, _SHF_SC_R_SHF@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SHF_SC_R_SHF@GOTPAGEOFF]
Lloh36:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x4, x21
	mov	x6, x23
LBB0_14:
	bl	_emit_shf
LBB0_15:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_U32_MAX,4,2                    ; @U32_MAX
	.comm	_ALU_OP_SUB,4,2                 ; @ALU_OP_SUB
	.comm	_ALU_OP_ADD_C,4,2               ; @ALU_OP_ADD_C
	.comm	_SHF_OP_NONE,4,2                ; @SHF_OP_NONE
	.comm	_SHF_SC_R_SHF,4,2               ; @SHF_SC_R_SHF
	.comm	_ALU_OP_ADD,4,2                 ; @ALU_OP_ADD
	.no_dead_strip	_wrp_div_imm
.subsections_via_symbols
