	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_BLINDING_update             ## -- Begin function BN_BLINDING_update
	.p2align	4, 0x90
_BN_BLINDING_update:                    ## @BN_BLINDING_update
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.3:
	movq	%rsi, %r14
	movl	(%rbx), %eax
	incl	%eax
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	_BN_BLINDING_COUNTER@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_7
## %bb.4:
	cmpq	$0, 40(%rbx)
	je	LBB0_7
## %bb.5:
	movq	_BN_BLINDING_NO_RECREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_6
LBB0_7:
	movq	_BN_BLINDING_NO_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	jne	LBB0_14
## %bb.8:
	movq	32(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r14, %r8
	callq	_bn_mul_mont_fixed_top
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_15
## %bb.10:
	movq	16(%rbx), %rdi
	movq	32(%rbx), %rcx
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r14, %r8
	callq	_bn_mul_mont_fixed_top
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_15
LBB0_2:
	movq	_BN_F_BN_BLINDING_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BN_R_NOT_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BNerr
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_6:
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_BN_BLINDING_create_param
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_15
LBB0_11:
	movl	8(%rbx), %ecx
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r14, %r8
	callq	_BN_mod_mul
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	movq	16(%rbx), %rdi
	movl	8(%rbx), %ecx
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r14, %r8
	callq	_BN_mod_mul
	testl	%eax, %eax
	je	LBB0_15
LBB0_14:
	movl	$1, %r15d
LBB0_15:
	movl	(%rbx), %eax
	movq	_BN_BLINDING_COUNTER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	movl	$0, (%rbx)
LBB0_17:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_F_BN_BLINDING_UPDATE,4,2    ## @BN_F_BN_BLINDING_UPDATE
	.comm	_BN_R_NOT_INITIALIZED,4,2       ## @BN_R_NOT_INITIALIZED
	.comm	_BN_BLINDING_COUNTER,4,2        ## @BN_BLINDING_COUNTER
	.comm	_BN_BLINDING_NO_RECREATE,4,2    ## @BN_BLINDING_NO_RECREATE
	.comm	_BN_BLINDING_NO_UPDATE,4,2      ## @BN_BLINDING_NO_UPDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_BLINDING_update             ; -- Begin function BN_BLINDING_update
	.p2align	2
_BN_BLINDING_update:                    ; @BN_BLINDING_update
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x21, _BN_BLINDING_COUNTER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BN_BLINDING_COUNTER@GOTPAGEOFF]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x1
	ldr	w8, [x19]
	adds	w8, w8, #1
	csinc	w8, w8, wzr, lo
	str	w8, [x19]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w8, [x19, #4]
Lloh2:
	adrp	x9, _BN_BLINDING_NO_RECREATE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BN_BLINDING_NO_RECREATE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
LBB0_5:
	ldr	w8, [x19, #4]
Lloh5:
	adrp	x9, _BN_BLINDING_NO_UPDATE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BN_BLINDING_NO_UPDATE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _BN_F_BN_BLINDING_UPDATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BN_F_BN_BLINDING_UPDATE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _BN_R_NOT_INITIALIZED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BN_R_NOT_INITIALIZED@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_BNerr
	mov	w0, #0
LBB0_8:
	ldr	w8, [x19]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.9:
	str	wzr, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x3, [x19, #32]
	cbz	x3, LBB0_15
; %bb.12:
	mov	x1, x0
	mov	x2, x0
	mov	x4, x20
	bl	_bn_mul_mont_fixed_top
	cbz	w0, LBB0_8
; %bb.13:
	ldr	x0, [x19, #16]
	ldr	x3, [x19, #32]
	mov	x1, x0
	mov	x2, x0
	mov	x4, x20
	bl	_bn_mul_mont_fixed_top
	cbnz	w0, LBB0_6
	b	LBB0_8
LBB0_14:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, x20
	mov	x4, #0
	mov	x5, #0
	bl	_BN_BLINDING_create_param
	cbnz	w0, LBB0_6
	b	LBB0_8
LBB0_15:
	ldr	w3, [x19, #8]
	mov	x1, x0
	mov	x2, x0
	mov	x4, x20
	bl	_BN_mod_mul
	cbz	w0, LBB0_8
; %bb.16:
	ldr	x0, [x19, #16]
	ldr	w3, [x19, #8]
	mov	x1, x0
	mov	x2, x0
	mov	x4, x20
	bl	_BN_mod_mul
	cbnz	w0, LBB0_6
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_F_BN_BLINDING_UPDATE,4,2    ; @BN_F_BN_BLINDING_UPDATE
	.comm	_BN_R_NOT_INITIALIZED,4,2       ; @BN_R_NOT_INITIALIZED
	.comm	_BN_BLINDING_COUNTER,4,2        ; @BN_BLINDING_COUNTER
	.comm	_BN_BLINDING_NO_RECREATE,4,2    ; @BN_BLINDING_NO_RECREATE
	.comm	_BN_BLINDING_NO_UPDATE,4,2      ; @BN_BLINDING_NO_UPDATE
.subsections_via_symbols
