	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RSA_setup_blinding             ## -- Begin function RSA_setup_blinding
	.p2align	4, 0x90
_RSA_setup_blinding:                    ## @RSA_setup_blinding
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_19
LBB0_2:
	movq	%rbx, %rdi
	callq	_BN_CTX_start
	movq	%rbx, %rdi
	callq	_BN_CTX_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	(%r14), %r12
	testq	%r12, %r12
	jne	LBB0_8
## %bb.6:
	movl	36(%r14), %edi
	movl	28(%r14), %edx
	movl	32(%r14), %esi
	movq	%rbx, %rcx
	callq	_rsa_get_public_exp
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_7
LBB0_8:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_BN_new
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	%rax, %r14
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	24(%r13), %esi
	movq	_BN_FLG_CONSTTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_BN_with_flags
	movq	16(%r13), %rax
	movl	(%rax), %r8d
	movl	8(%r13), %r9d
	xorl	%edi, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_BN_BLINDING_create_param
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_BN_free
	testq	%r13, %r13
	je	LBB0_12
## %bb.13:
	movq	%r13, %rdi
	callq	_BN_BLINDING_set_current_thread
	jmp	LBB0_14
LBB0_3:
	movq	_RSA_F_RSA_SETUP_BLINDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	movq	_RSA_F_RSA_SETUP_BLINDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_12:
	movq	_RSA_F_RSA_SETUP_BLINDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_BN_LIB@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	callq	_RSAerr
	xorl	%r13d, %r13d
LBB0_14:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_7:
	movq	_RSA_F_RSA_SETUP_BLINDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSA_R_NO_PUBLIC_EXPONENT@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	callq	_RSAerr
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
LBB0_15:
	movq	%rbx, %rdi
	callq	_BN_CTX_end
	cmpq	%r15, %rbx
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_BN_CTX_free
LBB0_17:
	cmpq	(%r14), %r12
	je	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	callq	_BN_free
LBB0_19:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_F_RSA_SETUP_BLINDING,4,2   ## @RSA_F_RSA_SETUP_BLINDING
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_RSA_R_NO_PUBLIC_EXPONENT,4,2   ## @RSA_R_NO_PUBLIC_EXPONENT
	.comm	_BN_FLG_CONSTTIME,4,2           ## @BN_FLG_CONSTTIME
	.comm	_ERR_R_BN_LIB,4,2               ## @ERR_R_BN_LIB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RSA_setup_blinding             ; -- Begin function RSA_setup_blinding
	.p2align	2
_RSA_setup_blinding:                    ; @RSA_setup_blinding
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	mov	x21, x1
	cbnz	x1, LBB0_2
; %bb.1:
	bl	_BN_CTX_new
	mov	x21, x0
	cbz	x0, LBB0_10
LBB0_2:
	mov	x0, x21
	bl	_BN_CTX_start
	mov	x0, x21
	bl	_BN_CTX_get
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x22, [x19]
	cbnz	x22, LBB0_5
; %bb.4:
	ldp	w1, w0, [x19, #32]
	ldr	w2, [x19, #28]
	mov	x3, x21
	bl	_rsa_get_public_exp
	mov	x22, x0
	cbz	x0, LBB0_12
LBB0_5:
	bl	_BN_new
	cbz	x0, LBB0_9
; %bb.6:
	mov	x24, x0
	ldr	w1, [x19, #24]
Lloh0:
	adrp	x8, _BN_FLG_CONSTTIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BN_FLG_CONSTTIME@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_BN_with_flags
	ldr	x8, [x19, #16]
	ldr	w4, [x8]
	ldr	w5, [x19, #8]
	mov	x0, #0
	mov	x1, x22
	mov	x2, x24
	mov	x3, x21
	bl	_BN_BLINDING_create_param
	mov	x23, x0
	mov	x0, x24
	bl	_BN_free
	cbz	x23, LBB0_11
; %bb.7:
	mov	x0, x23
	bl	_BN_BLINDING_set_current_thread
	b	LBB0_15
LBB0_8:
Lloh3:
	adrp	x8, _RSA_F_RSA_SETUP_BLINDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSA_F_RSA_SETUP_BLINDING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_RSAerr
	mov	x22, #0
	b	LBB0_14
LBB0_9:
Lloh9:
	adrp	x8, _RSA_F_RSA_SETUP_BLINDING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RSA_F_RSA_SETUP_BLINDING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
	mov	x23, #0
	b	LBB0_19
LBB0_11:
Lloh14:
	adrp	x8, _RSA_F_RSA_SETUP_BLINDING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RSA_F_RSA_SETUP_BLINDING@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _ERR_R_BN_LIB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_BN_LIB@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_RSAerr
	b	LBB0_15
LBB0_12:
Lloh20:
	adrp	x8, _RSA_F_RSA_SETUP_BLINDING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RSA_F_RSA_SETUP_BLINDING@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _RSA_R_NO_PUBLIC_EXPONENT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RSA_R_NO_PUBLIC_EXPONENT@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	bl	_RSAerr
LBB0_14:
	mov	x23, #0
LBB0_15:
	mov	x0, x21
	bl	_BN_CTX_end
	cmp	x21, x20
	b.eq	LBB0_17
; %bb.16:
	mov	x0, x21
	bl	_BN_CTX_free
LBB0_17:
	ldr	x8, [x19]
	cmp	x22, x8
	b.eq	LBB0_19
; %bb.18:
	mov	x0, x22
	bl	_BN_free
LBB0_19:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_F_RSA_SETUP_BLINDING,4,2   ; @RSA_F_RSA_SETUP_BLINDING
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_RSA_R_NO_PUBLIC_EXPONENT,4,2   ; @RSA_R_NO_PUBLIC_EXPONENT
	.comm	_BN_FLG_CONSTTIME,4,2           ; @BN_FLG_CONSTTIME
	.comm	_ERR_R_BN_LIB,4,2               ; @ERR_R_BN_LIB
.subsections_via_symbols
