	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_use_RSAPrivateKey          ## -- Begin function SSL_use_RSAPrivateKey
	.p2align	4, 0x90
_SSL_use_RSAPrivateKey:                 ## @SSL_use_RSAPrivateKey
	.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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_EVP_PKEY_new
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_RSA_up_ref
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_EVP_PKEY_assign_RSA
	testq	%rax, %rax
	jle	LBB0_6
## %bb.9:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_ssl_set_pkey
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_EVP_PKEY_free
	movl	%ebx, %eax
	jmp	LBB0_8
LBB0_1:
	movq	_SSL_F_SSL_USE_RSAPRIVATEKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_SSL_F_SSL_USE_RSAPRIVATEKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_EVP_LIB@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_SSLerr
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_RSA_free
	movq	%r14, %rdi
	callq	_EVP_PKEY_free
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_USE_RSAPRIVATEKEY,4,2 ## @SSL_F_SSL_USE_RSAPRIVATEKEY
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_ERR_R_EVP_LIB,4,2              ## @ERR_R_EVP_LIB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_use_RSAPrivateKey          ; -- Begin function SSL_use_RSAPrivateKey
	.p2align	2
_SSL_use_RSAPrivateKey:                 ; @SSL_use_RSAPrivateKey
	.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
	cbz	x1, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	bl	_EVP_PKEY_new
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	mov	x0, x20
	bl	_RSA_up_ref
	mov	x0, x19
	mov	x1, x20
	bl	_EVP_PKEY_assign_RSA
	cmp	x0, #0
	b.le	LBB0_7
; %bb.3:
	ldr	w0, [x21]
	mov	x1, x19
	bl	_ssl_set_pkey
	mov	x20, x0
	mov	x0, x19
	bl	_EVP_PKEY_free
	mov	x0, x20
	b	LBB0_9
LBB0_4:
Lloh0:
	adrp	x8, _SSL_F_SSL_USE_RSAPRIVATEKEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_F_SSL_USE_RSAPRIVATEKEY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _SSL_F_SSL_USE_RSAPRIVATEKEY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSL_F_SSL_USE_RSAPRIVATEKEY@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_EVP_LIB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_EVP_LIB@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	bl	_SSLerr
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_RSA_free
	mov	x0, x19
	bl	_EVP_PKEY_free
LBB0_8:
	mov	w0, #0
LBB0_9:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_USE_RSAPRIVATEKEY,4,2 ; @SSL_F_SSL_USE_RSAPRIVATEKEY
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_ERR_R_EVP_LIB,4,2              ; @ERR_R_EVP_LIB
.subsections_via_symbols
