	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_CTX_use_RSAPrivateKey_file ## -- Begin function SSL_CTX_use_RSAPrivateKey_file
	.p2align	4, 0x90
_SSL_CTX_use_RSAPrivateKey_file:        ## @SSL_CTX_use_RSAPrivateKey_file
	.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
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BIO_s_file
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_BIO_read_filename
	testq	%rax, %rax
	jle	LBB0_3
## %bb.6:
	movq	_SSL_FILETYPE_ASN1@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_ERR_R_ASN1_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_d2i_RSAPrivateKey_bio
	jmp	LBB0_10
LBB0_1:
	movq	_SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_BUF_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	jmp	LBB0_13
LBB0_3:
	movq	_SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_SYS_LIB@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	movq	_SSL_FILETYPE_PEM@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_14
## %bb.9:
	movq	_ERR_R_PEM_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r14), %ecx
	movl	4(%r14), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_PEM_read_bio_RSAPrivateKey
LBB0_10:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_SSL_CTX_use_RSAPrivateKey
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_RSA_free
	jmp	LBB0_13
LBB0_11:
	movq	_SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	jmp	LBB0_5
LBB0_14:
	movq	_SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_BAD_SSL_FILETYPE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
LBB0_5:
	callq	_SSLerr
	xorl	%ebx, %ebx
LBB0_13:
	movq	%r15, %rdi
	callq	_BIO_free
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE,4,2 ## @SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE
	.comm	_ERR_R_BUF_LIB,4,2              ## @ERR_R_BUF_LIB
	.comm	_ERR_R_SYS_LIB,4,2              ## @ERR_R_SYS_LIB
	.comm	_SSL_FILETYPE_ASN1,4,2          ## @SSL_FILETYPE_ASN1
	.comm	_ERR_R_ASN1_LIB,4,2             ## @ERR_R_ASN1_LIB
	.comm	_SSL_FILETYPE_PEM,4,2           ## @SSL_FILETYPE_PEM
	.comm	_ERR_R_PEM_LIB,4,2              ## @ERR_R_PEM_LIB
	.comm	_SSL_R_BAD_SSL_FILETYPE,4,2     ## @SSL_R_BAD_SSL_FILETYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_CTX_use_RSAPrivateKey_file ; -- Begin function SSL_CTX_use_RSAPrivateKey_file
	.p2align	2
_SSL_CTX_use_RSAPrivateKey_file:        ; @SSL_CTX_use_RSAPrivateKey_file
	.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	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_BIO_s_file
	bl	_BIO_new
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	bl	_BIO_read_filename
	cmp	x0, #0
	b.le	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _SSL_FILETYPE_ASN1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_FILETYPE_ASN1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _ERR_R_ASN1_LIB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_ASN1_LIB@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_d2i_RSAPrivateKey_bio
	mov	x22, x0
	cbz	x0, LBB0_9
LBB0_4:
	mov	x0, x20
	mov	x1, x22
	bl	_SSL_CTX_use_RSAPrivateKey
	mov	x20, x0
	mov	x0, x22
	bl	_RSA_free
	b	LBB0_13
LBB0_5:
Lloh6:
	adrp	x8, _SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ERR_R_BUF_LIB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_R_BUF_LIB@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
Lloh11:
	adrp	x8, _SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _ERR_R_SYS_LIB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERR_R_SYS_LIB@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh16:
	adrp	x8, _SSL_FILETYPE_PEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSL_FILETYPE_PEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_10
; %bb.8:
Lloh19:
	adrp	x8, _ERR_R_PEM_LIB@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERR_R_PEM_LIB@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
	ldp	w3, w2, [x20]
	mov	x0, x19
	mov	x1, #0
	bl	_PEM_read_bio_RSAPrivateKey
	mov	x22, x0
	cbnz	x0, LBB0_4
LBB0_9:
Lloh22:
	adrp	x8, _SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	x1, x21
	b	LBB0_12
LBB0_10:
Lloh25:
	adrp	x8, _SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x8, _SSL_R_BAD_SSL_FILETYPE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SSL_R_BAD_SSL_FILETYPE@GOTPAGEOFF]
LBB0_11:
	ldr	w1, [x8]
LBB0_12:
	bl	_SSLerr
	mov	w20, #0
LBB0_13:
	mov	x0, x19
	bl	_BIO_free
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE,4,2 ; @SSL_F_SSL_CTX_USE_RSAPRIVATEKEY_FILE
	.comm	_ERR_R_BUF_LIB,4,2              ; @ERR_R_BUF_LIB
	.comm	_ERR_R_SYS_LIB,4,2              ; @ERR_R_SYS_LIB
	.comm	_SSL_FILETYPE_ASN1,4,2          ; @SSL_FILETYPE_ASN1
	.comm	_ERR_R_ASN1_LIB,4,2             ; @ERR_R_ASN1_LIB
	.comm	_SSL_FILETYPE_PEM,4,2           ; @SSL_FILETYPE_PEM
	.comm	_ERR_R_PEM_LIB,4,2              ; @ERR_R_PEM_LIB
	.comm	_SSL_R_BAD_SSL_FILETYPE,4,2     ; @SSL_R_BAD_SSL_FILETYPE
.subsections_via_symbols
