	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_BLINDING_new                ## -- Begin function BN_BLINDING_new
	.p2align	4, 0x90
_BN_BLINDING_new:                       ## @BN_BLINDING_new
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_bn_check_top
	movl	$40, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_CRYPTO_THREAD_lock_new
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_BN_BLINDING_set_current_thread
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_BN_dup
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_12
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_BN_dup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:
	movq	%r14, %rdi
	callq	_BN_dup
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	_BN_FLG_CONSTTIME@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_BN_get_flags
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	8(%rbx), %rdi
	movl	(%r15), %esi
	callq	_BN_set_flags
LBB0_11:
	movl	$-1, (%rbx)
	jmp	LBB0_14
LBB0_1:
	movq	_BN_F_BN_BLINDING_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BNerr
	jmp	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	callq	_BN_BLINDING_free
	jmp	LBB0_13
LBB0_3:
	movq	_BN_F_BN_BLINDING_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BNerr
	movq	%rbx, %rdi
	callq	_OPENSSL_free
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_F_BN_BLINDING_NEW,4,2       ## @BN_F_BN_BLINDING_NEW
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_BN_FLG_CONSTTIME,4,2           ## @BN_FLG_CONSTTIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_BLINDING_new                ; -- Begin function BN_BLINDING_new
	.p2align	2
_BN_BLINDING_new:                       ; @BN_BLINDING_new
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	bl	_bn_check_top
	mov	w0, #40
	bl	_OPENSSL_zalloc
	mov	x19, x0
	cbz	x0, LBB0_10
; %bb.1:
	bl	_CRYPTO_THREAD_lock_new
	str	x0, [x19, #32]
	cbz	x0, LBB0_12
; %bb.2:
	mov	x0, x19
	bl	_BN_BLINDING_set_current_thread
	cbz	x22, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_BN_dup
	str	x0, [x19, #24]
	cbz	x0, LBB0_11
LBB0_4:
	cbz	x21, LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_BN_dup
	str	x0, [x19, #16]
	cbz	x0, LBB0_11
LBB0_6:
	mov	x0, x20
	bl	_BN_dup
	str	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.7:
Lloh0:
	adrp	x21, _BN_FLG_CONSTTIME@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BN_FLG_CONSTTIME@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_BN_get_flags
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x0, [x19, #8]
	ldr	w1, [x21]
	bl	_BN_set_flags
LBB0_9:
	mov	w8, #-1
	str	w8, [x19]
	b	LBB0_14
LBB0_10:
Lloh2:
	adrp	x8, _BN_F_BN_BLINDING_NEW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BN_F_BN_BLINDING_NEW@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_BNerr
	b	LBB0_14
LBB0_11:
	mov	x0, x19
	bl	_BN_BLINDING_free
	b	LBB0_13
LBB0_12:
Lloh8:
	adrp	x8, _BN_F_BN_BLINDING_NEW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BN_F_BN_BLINDING_NEW@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_BNerr
	mov	x0, x19
	bl	_OPENSSL_free
LBB0_13:
	mov	x19, #0
LBB0_14:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_F_BN_BLINDING_NEW,4,2       ; @BN_F_BN_BLINDING_NEW
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_BN_FLG_CONSTTIME,4,2           ; @BN_FLG_CONSTTIME
.subsections_via_symbols
