	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_mod_word                    ## -- Begin function BN_mod_word
	.p2align	4, 0x90
_BN_mod_word:                           ## @BN_mod_word
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	_BN_MASK2@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_BN_BITS4@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%rdi), %r9
	movq	_BN_MASK2l@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	incq	%r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%r8), %eax
	shll	%cl, %edx
	movl	(%r9,%rax,4), %edi
	movl	%edi, %eax
	sarl	%cl, %eax
	andl	%r10d, %eax
	orl	%edx, %eax
	cltd
	idivl	%esi
	shll	%cl, %edx
	andl	%r10d, %edi
	orl	%edx, %edi
	movl	%edi, %eax
	cltd
	idivl	%esi
	decq	%r8
	cmpq	$1, %r8
	ja	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%edx, %edx
LBB0_4:
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_MASK2,4,2                   ## @BN_MASK2
	.comm	_BN_BITS4,4,2                   ## @BN_BITS4
	.comm	_BN_MASK2l,4,2                  ## @BN_MASK2l
	.comm	_BN_BITS2,8,3                   ## @BN_BITS2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_mod_word                    ; -- Begin function BN_mod_word
	.p2align	2
_BN_mod_word:                           ; @BN_mod_word
	.cfi_startproc
; %bb.0:
	ldr	w12, [x0]
	cmp	w12, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x9, _BN_MASK2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BN_MASK2@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w1
Lloh3:
	adrp	x10, _BN_BITS4@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BN_BITS4@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ldr	x8, [x8, #8]
Lloh6:
	adrp	x11, _BN_MASK2l@GOTPAGE
Lloh7:
	ldr	x11, [x11, _BN_MASK2l@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	add	x12, x12, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w13, w12, #2
	lsl	w14, w0, w10
	ldr	w13, [x8, w13, uxtw #2]
	asr	w15, w13, w10
	and	w15, w15, w11
	orr	w14, w15, w14
	sdiv	w15, w14, w9
	msub	w14, w15, w9, w14
	lsl	w14, w14, w10
	and	w13, w11, w13
	orr	w13, w14, w13
	sdiv	w14, w13, w9
	msub	w0, w14, w9, w13
	sub	x12, x12, #1
	cmp	x12, #1
	b.hi	LBB0_2
; %bb.3:
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_MASK2,4,2                   ; @BN_MASK2
	.comm	_BN_BITS4,4,2                   ; @BN_BITS4
	.comm	_BN_MASK2l,4,2                  ; @BN_MASK2l
	.comm	_BN_BITS2,8,3                   ; @BN_BITS2
.subsections_via_symbols
