	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_div_pow2                ## -- Begin function mp_int_div_pow2
	.p2align	4, 0x90
_mp_int_div_pow2:                       ## @mp_int_div_pow2
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	testq	%rdi, %rdi
	setne	%al
	testq	%rsi, %rsi
	setns	%cl
	andb	%al, %cl
	cmpq	%r12, %rdx
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	_MP_OK@GOTPCREL(%rip), %rcx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mp_int_copy
	movq	_MP_OK@GOTPCREL(%rip), %rcx
	movq	%rax, %r13
	movq	(%rcx), %rax
	cmpq	%rax, %r13
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_s_qdiv
	movq	_MP_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
LBB0_4:
	testq	%r12, %r12
	jne	LBB0_5
	jmp	LBB0_8
LBB0_1:
	movq	(%rcx), %rax
	movq	%rax, %r13
	testq	%r12, %r12
	je	LBB0_8
LBB0_5:
	cmpq	%rax, %r13
	jne	LBB0_8
## %bb.6:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rcx, %rbx
	callq	_mp_int_copy
	movq	%rax, %r13
	cmpq	(%rbx), %rax
	jne	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_s_qmod
LBB0_8:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_OK,8,3                      ## @MP_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_div_pow2                ; -- Begin function mp_int_div_pow2
	.p2align	2
_mp_int_div_pow2:                       ; @mp_int_div_pow2
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x0, #0
	ccmp	x1, #0, #8, ne
	ccmp	x2, x3, #4, ge
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x24, _MP_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MP_OK@GOTPAGEOFF]
	cbz	x23, LBB0_4
; %bb.1:
	mov	x0, x21
	mov	x1, x23
	bl	_mp_int_copy
	mov	x22, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x23
	mov	x1, x20
	bl	_s_qdiv
	ldr	x8, [x24]
LBB0_3:
	cbnz	x19, LBB0_5
	b	LBB0_8
LBB0_4:
	ldr	x8, [x24]
	mov	x22, x8
	cbz	x19, LBB0_8
LBB0_5:
	cmp	x22, x8
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x21
	mov	x1, x19
	bl	_mp_int_copy
	mov	x22, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_s_qmod
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_OK,8,3                      ; @MP_OK
.subsections_via_symbols
