	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bn_get_bits
_bn_get_bits:                           ## @bn_get_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_BN_BITS2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	cltd
	idivl	%r8d
	movl	%eax, %esi
	xorl	%eax, %eax
	testl	%esi, %esi
	js	LBB0_5
## %bb.1:
	movl	(%rdi), %r9d
	cmpl	%r9d, %esi
	jge	LBB0_5
## %bb.2:
	movq	8(%rdi), %rdi
	movl	%esi, %ecx
	movq	_BN_MASK2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi,%rcx,4), %eax
	testl	%edx, %edx
	je	LBB0_5
## %bb.3:
	movl	%edx, %ecx
	sarl	%cl, %eax
	incl	%esi
	cmpl	%r9d, %esi
	jge	LBB0_5
## %bb.4:
	movl	%esi, %ecx
	movl	(%rdi,%rcx,4), %esi
	subl	%edx, %r8d
	movl	%r8d, %ecx
	shll	%cl, %esi
	orl	%esi, %eax
LBB0_5:
	movq	_BN_MASK2@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_BITS2,4,2                   ## @BN_BITS2
	.comm	_BN_MASK2,4,2                   ## @BN_MASK2
	.no_dead_strip	_bn_get_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bn_get_bits
_bn_get_bits:                           ; @bn_get_bits
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BN_BITS2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BN_BITS2@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	sdiv	w11, w1, w10
Lloh3:
	adrp	x8, _BN_MASK2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BN_MASK2@GOTPAGEOFF]
	tbnz	w11, #31, LBB0_5
; %bb.1:
	ldr	w13, [x0]
	cmp	w11, w13
	b.ge	LBB0_5
; %bb.2:
	msub	w12, w11, w10, w1
	ldr	x14, [x0, #8]
	ldr	w9, [x14, w11, uxtw #2]
	ldr	w15, [x8]
	and	w9, w15, w9
	cbz	w12, LBB0_6
; %bb.3:
	asr	w9, w9, w12
	add	w11, w11, #1
	cmp	w11, w13
	b.ge	LBB0_6
; %bb.4:
	ldr	w11, [x14, w11, uxtw #2]
	sub	w10, w10, w12
	lsl	w10, w11, w10
	orr	w9, w10, w9
	b	LBB0_6
LBB0_5:
	mov	w9, #0
LBB0_6:
	ldr	w8, [x8]
	and	w0, w8, w9
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_BITS2,4,2                   ; @BN_BITS2
	.comm	_BN_MASK2,4,2                   ; @BN_MASK2
	.no_dead_strip	_bn_get_bits
.subsections_via_symbols
