	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_lebin2bn                    ## -- Begin function BN_lebin2bn
	.p2align	4, 0x90
_BN_lebin2bn:                           ## @BN_lebin2bn
	.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	%esi, %r15d
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %r14
	xorl	%r12d, %r12d
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r12
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_17
LBB0_3:
	movq	%r14, %rdi
	callq	_bn_check_top
	movslq	%r15d, %rax
	addq	%rax, %rbx
	testl	%eax, %eax
	jle	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, -1(%rbx)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	decq	%rbx
	leal	-1(%r15), %eax
	cmpl	$1, %r15d
	movl	%eax, %r15d
	jg	LBB0_4
	jmp	LBB0_15
LBB0_6:
	je	LBB0_15
LBB0_7:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	leal	-1(%r15), %eax
	movq	_BN_BYTES@GOTPCREL(%rip), %rcx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%edx, %r13d
	movl	%eax, %r12d
	incl	%r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_bn_wexpand
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:
	movl	%r12d, (%r14)
	movq	$0, 16(%r14)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_18
## %bb.9:
	movq	_BN_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r15d, %ecx
	andl	$-2, %ecx
	xorl	%edx, %edx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	$-2, %rbx
	decl	%r13d
	addl	$-2, %ecx
	je	LBB0_19
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	shlq	$8, %rdx
	movzbl	-1(%rbx), %esi
	orq	%rdx, %rsi
	testl	%r13d, %r13d
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r14), %rdx
	decl	%r12d
	movq	%rsi, (%rdx,%r12,8)
	movl	%eax, %r13d
	xorl	%esi, %esi
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	shlq	$8, %rsi
	movzbl	-2(%rbx), %edx
	orq	%rsi, %rdx
	decl	%r13d
	jne	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r14), %rsi
	decl	%r12d
	movq	%rdx, (%rsi,%r12,8)
	movl	%eax, %r13d
	xorl	%edx, %edx
	jmp	LBB0_10
LBB0_15:
	movl	$0, (%r14)
	jmp	LBB0_23
LBB0_16:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_free
LBB0_17:
	xorl	%r14d, %r14d
	jmp	LBB0_23
LBB0_18:
	xorl	%edx, %edx
LBB0_19:
	testb	$1, %r15b
	je	LBB0_22
## %bb.20:
	testl	%r13d, %r13d
	jne	LBB0_22
## %bb.21:
	shlq	$8, %rdx
	movzbl	-1(%rbx), %eax
	orq	%rdx, %rax
	movq	8(%r14), %rcx
	decl	%r12d
	movq	%rax, (%rcx,%r12,8)
LBB0_22:
	movq	%r14, %rdi
	callq	_bn_correct_top
LBB0_23:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_BYTES,4,2                   ## @BN_BYTES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_lebin2bn                    ; -- Begin function BN_lebin2bn
	.p2align	2
_BN_lebin2bn:                           ; @BN_lebin2bn
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x21, x0
	cbz	x2, LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x22, #0
	b	LBB0_3
LBB0_2:
	bl	_BN_new
	mov	x22, x0
	mov	x19, x0
	cbz	x0, LBB0_16
LBB0_3:
	mov	x0, x19
	bl	_bn_check_top
	add	x23, x21, w20, sxtw
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x8, x23
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8, #-1]!
	cbnz	w9, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x8
	subs	w20, w20, #1
	b.gt	LBB0_5
	b	LBB0_13
LBB0_7:
	cbz	w20, LBB0_13
LBB0_8:
	sub	w25, w20, #1
Lloh0:
	adrp	x24, _BN_BYTES@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BN_BYTES@GOTPAGEOFF]
	ldr	w26, [x24]
	udiv	w27, w25, w26
	add	w21, w27, #1
	mov	x0, x19
	mov	x1, x21
	bl	_bn_wexpand
	cbz	x0, LBB0_15
; %bb.9:
	mov	x11, #0
	str	w21, [x19]
	str	xzr, [x19, #16]
	msub	w10, w27, w26, w25
	ldr	w8, [x24]
	sub	x9, x23, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	sub	w10, w10, #1
	sub	x9, x9, #1
	mov	x11, x12
	cbz	w20, LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	ldrb	w12, [x9]
	bfi	x12, x11, #8, #56
	cbnz	w10, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x10, [x19, #8]
	sub	w21, w21, #1
	str	x12, [x10, w21, uxtw #3]
	mov	x10, x8
	mov	x12, #0
	b	LBB0_10
LBB0_13:
	str	wzr, [x19]
	b	LBB0_16
LBB0_14:
	mov	x0, x19
	bl	_bn_correct_top
	b	LBB0_16
LBB0_15:
	mov	x0, x22
	bl	_BN_free
	mov	x19, #0
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_BYTES,4,2                   ; @BN_BYTES
.subsections_via_symbols
