	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_cert_file
_init_cert_file:                        ## @init_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_SSL_CTX_use_certificate_chain_file
	testl	%eax, %eax
	jle	LBB0_1
## %bb.3:
	movq	_SSL_FILETYPE_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SSL_CTX_use_PrivateKey_file
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_SSL_CTX_check_private_key
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jg	LBB0_8
## %bb.6:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_ssl_errstr
	movslq	%eax, %rdx
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_7
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_ssl_errstr
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_ssl_errstr
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movl	%ebx, %edi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_syslog
LBB0_7:
	movl	$-1, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL: Cannot load certificate `%s': %s"

	.comm	_SSL_FILETYPE_PEM,4,2           ## @SSL_FILETYPE_PEM
L_.str.1:                               ## @.str.1
	.asciz	"SSL: Cannot load private key `%s': %s"

L_.str.2:                               ## @.str.2
	.asciz	"SSL: Cannot check private key: %s"

	.no_dead_strip	_init_cert_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_cert_file
_init_cert_file:                        ; @init_cert_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_SSL_CTX_use_certificate_chain_file
	cmp	w0, #0
	b.le	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _SSL_FILETYPE_PEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_FILETYPE_PEM@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_SSL_CTX_use_PrivateKey_file
	cmp	w0, #0
	b.le	LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_SSL_CTX_check_private_key
	cmp	w0, #0
	b.le	LBB0_7
; %bb.3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
Lloh3:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	bl	_ssl_errstr
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	bl	_ssl_errstr
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x20
	mov	x2, x19
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
	bl	_ssl_errstr
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
LBB0_8:
	bl	_syslog
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL: Cannot load certificate `%s': %s"

	.comm	_SSL_FILETYPE_PEM,4,2           ; @SSL_FILETYPE_PEM
l_.str.1:                               ; @.str.1
	.asciz	"SSL: Cannot load private key `%s': %s"

l_.str.2:                               ; @.str.2
	.asciz	"SSL: Cannot check private key: %s"

	.no_dead_strip	_init_cert_file
.subsections_via_symbols
