	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_ssl_load_cert_file        ## -- Begin function serf_ssl_load_cert_file
	.p2align	4, 0x90
_serf_ssl_load_cert_file:               ## @serf_ssl_load_cert_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
	movq	%rdx, %r15
	movq	%rsi, %rax
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_fopen
	movq	_SERF_ERROR_SSL_CERT_FAILED@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_X509
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_fclose
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_apr_palloc
	movq	%rax, (%r14)
	movq	%r12, (%rax)
	movq	_APR_SUCCESS@GOTPCREL(%rip), %r13
LBB0_3:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_APR_SUCCESS,4,2                ## @APR_SUCCESS
	.comm	_SERF_ERROR_SSL_CERT_FAILED,4,2 ## @SERF_ERROR_SSL_CERT_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_ssl_load_cert_file        ; -- Begin function serf_ssl_load_cert_file
	.p2align	2
_serf_ssl_load_cert_file:               ; @serf_ssl_load_cert_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	x20, x2
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_fopen
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_X509
	mov	x21, x0
	mov	x0, x22
	bl	_fclose
	cbz	x21, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	w1, #8
	bl	_apr_palloc
	str	x0, [x19]
	str	x21, [x0]
Lloh2:
	adrp	x8, _APR_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _SERF_ERROR_SSL_CERT_FAILED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SERF_ERROR_SSL_CERT_FAILED@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_APR_SUCCESS,4,2                ; @APR_SUCCESS
	.comm	_SERF_ERROR_SSL_CERT_FAILED,4,2 ; @SERF_ERROR_SSL_CERT_FAILED
.subsections_via_symbols
