	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_excert                    ## -- Begin function load_excert
	.p2align	4, 0x90
_load_excert:                           ## @load_excert
	.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	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.1:
	movq	%rdi, %r14
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.2:
	cmpq	$0, 64(%rbx)
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_ssl_excert_free
	movq	$0, (%r14)
	jmp	LBB0_15
LBB0_4:
	movq	32(%rbx), %rdi
LBB0_5:
	testq	%rdi, %rdi
	je	LBB0_6
LBB0_7:
	movl	24(%rbx), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_load_cert
	movq	%rax, 56(%rbx)
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	movl	40(%rbx), %esi
	jmp	LBB0_11
LBB0_10:
	movq	32(%rbx), %rdi
	movl	24(%rbx), %esi
LBB0_11:
	leaq	L_.str.2(%rip), %r9
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_load_key
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	movq	_FORMAT_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %r8
	xorl	%r14d, %r14d
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_load_certs
	testl	%eax, %eax
	je	LBB0_16
LBB0_14:
	movq	64(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_15:
	movl	$1, %r14d
	jmp	LBB0_16
LBB0_6:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_printf
	xorl	%r14d, %r14d
LBB0_16:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing filename\n"

L_.str.1:                               ## @.str.1
	.asciz	"Server Certificate"

L_.str.2:                               ## @.str.2
	.asciz	"Server Key"

	.comm	_FORMAT_PEM,4,2                 ## @FORMAT_PEM
L_.str.3:                               ## @.str.3
	.asciz	"Server Chain"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_excert                    ; -- Begin function load_excert
	.p2align	2
_load_excert:                           ; @load_excert
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	cbz	x19, LBB0_15
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_11
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #24]
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_load_cert
	str	x0, [x19, #56]
	cbz	x0, LBB0_16
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x19, #40]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #32]
	ldr	w1, [x19, #24]
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh2:
	adrp	x5, l_.str.2@PAGE
Lloh3:
	add	x5, x5, l_.str.2@PAGEOFF
	mov	w2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_load_key
	str	x0, [x19, #16]
	cbz	x0, LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh4:
	adrp	x8, _FORMAT_PEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FORMAT_PEM@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x4, l_.str.3@PAGE
Lloh8:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x1, x19
	mov	x3, #0
	bl	_load_certs
	cbz	w0, LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x19, #64]
	cbz	x19, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #32]
	cbnz	x0, LBB0_2
	b	LBB0_13
LBB0_11:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_14
; %bb.12:
	cbnz	x0, LBB0_2
LBB0_13:
Lloh9:
	adrp	x8, _bio_err@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
	mov	w0, #0
	b	LBB0_16
LBB0_14:
	mov	x0, x19
	bl	_ssl_excert_free
	str	xzr, [x20]
LBB0_15:
	mov	w0, #1
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing filename\n"

l_.str.1:                               ; @.str.1
	.asciz	"Server Certificate"

l_.str.2:                               ; @.str.2
	.asciz	"Server Key"

	.comm	_FORMAT_PEM,4,2                 ; @FORMAT_PEM
l_.str.3:                               ; @.str.3
	.asciz	"Server Chain"

.subsections_via_symbols
