	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_to_binary               ## -- Begin function mp_int_to_binary
	.p2align	4, 0x90
_mp_int_to_binary:                      ## @mp_int_to_binary
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	setne	%al
	testq	%rsi, %rsi
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movl	%r14d, -28(%rbp)
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	_s_tobin
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_MP_SIGN
	movq	_MP_NEG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	-28(%rbp), %esi
	movq	%r15, %rdi
	callq	_s_2comp
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_NEG,8,3                     ## @MP_NEG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_to_binary               ; -- Begin function mp_int_to_binary
	.p2align	2
_mp_int_to_binary:                      ; @mp_int_to_binary
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	cset	w0, ne
	bl	_assert
	str	w20, [sp, #12]
	add	x2, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	w3, #1
	bl	_s_tobin
	mov	x20, x0
	mov	x0, x21
	bl	_MP_SIGN
Lloh0:
	adrp	x8, _MP_NEG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_NEG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_s_2comp
LBB0_2:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_NEG,8,3                     ; @MP_NEG
.subsections_via_symbols
