	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bn_correct_top                 ## -- Begin function bn_correct_top
	.p2align	4, 0x90
_bn_correct_top:                        ## @bn_correct_top
	.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), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	8(%rdi), %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -8(%rcx,%rax,8)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%rax
	leal	1(%rax), %edx
	cmpl	$1, %edx
	jg	LBB0_2
## %bb.4:
	xorl	%eax, %eax
LBB0_5:
	movl	%eax, (%rdi)
LBB0_6:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	$0, 24(%rdi)
LBB0_8:
	movq	_BN_FLG_FIXED_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 16(%rdi)
	popq	%rbp
	jmp	_bn_pollute                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_FLG_FIXED_TOP,4,2           ## @BN_FLG_FIXED_TOP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bn_correct_top                 ; -- Begin function bn_correct_top
	.p2align	2
_bn_correct_top:                        ; @bn_correct_top
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	ldr	x9, [x0, #8]
	sub	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x8, lsl #3]
	cbnz	x10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x8, x8, #1
	add	w10, w8, #1
	cmp	w10, #1
	b.gt	LBB0_2
; %bb.4:
	mov	w8, #0
LBB0_5:
	str	w8, [x0]
LBB0_6:
	cbnz	w8, LBB0_8
; %bb.7:
	str	xzr, [x0, #24]
LBB0_8:
Lloh0:
	adrp	x8, _BN_FLG_FIXED_TOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BN_FLG_FIXED_TOP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #16]
	bic	w8, w9, w8
	str	w8, [x0, #16]
	b	_bn_pollute
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_FLG_FIXED_TOP,4,2           ; @BN_FLG_FIXED_TOP
.subsections_via_symbols
