	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_load_private_key        ## -- Begin function ENGINE_load_private_key
	.p2align	4, 0x90
_ENGINE_load_private_key:               ## @ENGINE_load_private_key
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_global_engine_lock@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_CRYPTO_THREAD_write_lock
	movq	(%rbx), %r14
	movl	(%r13), %edi
	callq	_CRYPTO_THREAD_unlock
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %r8
	testq	%r8, %r8
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	*%r8
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movq	_ENGINE_R_FAILED_LOADING_PRIVATE_KEY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_ENGINE_R_NOT_INITIALISED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_ENGINE_R_NO_LOAD_FUNCTION@GOTPCREL(%rip), %rax
LBB0_8:
	movq	_ENGINE_F_ENGINE_LOAD_PRIVATE_KEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_ENGINEerr
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENGINE_F_ENGINE_LOAD_PRIVATE_KEY,4,2 ## @ENGINE_F_ENGINE_LOAD_PRIVATE_KEY
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_global_engine_lock,4,2         ## @global_engine_lock
	.comm	_ENGINE_R_NOT_INITIALISED,4,2   ## @ENGINE_R_NOT_INITIALISED
	.comm	_ENGINE_R_NO_LOAD_FUNCTION,4,2  ## @ENGINE_R_NO_LOAD_FUNCTION
	.comm	_ENGINE_R_FAILED_LOADING_PRIVATE_KEY,4,2 ## @ENGINE_R_FAILED_LOADING_PRIVATE_KEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_load_private_key        ; -- Begin function ENGINE_load_private_key
	.p2align	2
_ENGINE_load_private_key:               ; @ENGINE_load_private_key
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _global_engine_lock@GOTPAGE
Lloh1:
	ldr	x23, [x23, _global_engine_lock@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_CRYPTO_THREAD_write_lock
	ldr	x24, [x22]
	ldr	w0, [x23]
	bl	_CRYPTO_THREAD_unlock
	cbz	x24, LBB0_6
; %bb.2:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	blr	x8
	cbnz	x0, LBB0_9
; %bb.4:
Lloh2:
	adrp	x8, _ENGINE_R_FAILED_LOADING_PRIVATE_KEY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENGINE_R_FAILED_LOADING_PRIVATE_KEY@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh4:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _ENGINE_R_NOT_INITIALISED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENGINE_R_NOT_INITIALISED@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x8, _ENGINE_R_NO_LOAD_FUNCTION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENGINE_R_NO_LOAD_FUNCTION@GOTPAGEOFF]
LBB0_8:
Lloh10:
	adrp	x9, _ENGINE_F_ENGINE_LOAD_PRIVATE_KEY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ENGINE_F_ENGINE_LOAD_PRIVATE_KEY@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_ENGINEerr
	mov	x0, #0
LBB0_9:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENGINE_F_ENGINE_LOAD_PRIVATE_KEY,4,2 ; @ENGINE_F_ENGINE_LOAD_PRIVATE_KEY
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_global_engine_lock,4,2         ; @global_engine_lock
	.comm	_ENGINE_R_NOT_INITIALISED,4,2   ; @ENGINE_R_NOT_INITIALISED
	.comm	_ENGINE_R_NO_LOAD_FUNCTION,4,2  ; @ENGINE_R_NO_LOAD_FUNCTION
	.comm	_ENGINE_R_FAILED_LOADING_PRIVATE_KEY,4,2 ; @ENGINE_R_FAILED_LOADING_PRIVATE_KEY
.subsections_via_symbols
