	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_read_binary             ## -- Begin function mp_int_read_binary
	.p2align	4, 0x90
_mp_int_read_binary:                    ## @mp_int_read_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	testq	%rdi, %rdi
	setne	%al
	testq	%rsi, %rsi
	setne	%cl
	andb	%al, %cl
	testl	%edx, %edx
	setg	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	_CHAR_BIT@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	imull	%r14d, %eax
	movq	_MP_DIGIT_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %eax
	decl	%eax
	cltd
	idivl	%ecx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_s_pad
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_mp_int_zero
	movzbl	(%rbx), %eax
	movb	(%r13), %cl
	decb	%cl
	shrl	%cl, %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	_MP_NEG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_s_2comp
LBB0_4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_MP_DIGITS
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.5:
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %r14d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_s_qmul
	movzbl	(%r15), %eax
	orb	%al, (%rbx)
	incq	%r15
	decl	%r14d
	cmpl	$1, %r14d
	ja	LBB0_6
LBB0_7:
	movq	%r12, %rdi
	callq	_MP_SIGN
	movq	_MP_NEG@GOTPCREL(%rip), %rcx
	movq	_MP_OK@GOTPCREL(%rip), %rbx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_s_2comp
	jmp	LBB0_9
LBB0_1:
	movq	_MP_MEMORY@GOTPCREL(%rip), %rbx
LBB0_9:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAR_BIT,4,2                   ## @CHAR_BIT
	.comm	_MP_DIGIT_BIT,4,2               ## @MP_DIGIT_BIT
	.comm	_MP_MEMORY,4,2                  ## @MP_MEMORY
	.comm	_MP_NEG,8,3                     ## @MP_NEG
	.comm	_MP_OK,4,2                      ## @MP_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_read_binary             ; -- Begin function mp_int_read_binary
	.p2align	2
_mp_int_read_binary:                    ; @mp_int_read_binary
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	ccmp	w2, #0, #4, ne
	cset	w0, gt
	bl	_assert
Lloh0:
	adrp	x23, _CHAR_BIT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CHAR_BIT@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x9, _MP_DIGIT_BIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MP_DIGIT_BIT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	madd	w8, w8, w19, w9
	sub	w8, w8, #1
	sdiv	w1, w8, w9
	mov	x0, x21
	bl	_s_pad
	cbz	w0, LBB0_9
; %bb.1:
	mov	x0, x21
	bl	_mp_int_zero
	ldrb	w8, [x20]
	ldr	w9, [x23]
	sub	w9, w9, #1
	lsr	w8, w8, w9
Lloh5:
	adrp	x24, _MP_NEG@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MP_NEG@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x8, [x24]
	str	x8, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_s_2comp
LBB0_3:
	mov	x0, x21
	bl	_MP_DIGITS
	cmp	w19, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, x0
	add	w25, w19, #1
	mov	x26, x20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x21
	bl	_s_qmul
	ldrb	w8, [x26], #1
	ldrb	w9, [x22]
	orr	w8, w9, w8
	strb	w8, [x22]
	sub	w25, w25, #1
	cmp	w25, #1
	b.hi	LBB0_5
LBB0_6:
	mov	x0, x21
	bl	_MP_SIGN
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_s_2comp
LBB0_8:
Lloh7:
	adrp	x8, _MP_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MP_OK@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh9:
	adrp	x8, _MP_MEMORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MP_MEMORY@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAR_BIT,4,2                   ; @CHAR_BIT
	.comm	_MP_DIGIT_BIT,4,2               ; @MP_DIGIT_BIT
	.comm	_MP_MEMORY,4,2                  ; @MP_MEMORY
	.comm	_MP_NEG,8,3                     ; @MP_NEG
	.comm	_MP_OK,4,2                      ; @MP_OK
.subsections_via_symbols
