	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_minicrypto_init_test_server    ## -- Begin function minicrypto_init_test_server
	.p2align	4, 0x90
_minicrypto_init_test_server:           ## @minicrypto_init_test_server
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_ptls_minicrypto_random_bytes@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_ptls_get_time@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_ptls_minicrypto_key_exchanges@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ptls_minicrypto_cipher_suites@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ptls_load_certificates
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ptls_minicrypto_load_private_key ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ptls_minicrypto_random_bytes,4,2 ## @ptls_minicrypto_random_bytes
	.comm	_ptls_get_time,4,2              ## @ptls_get_time
	.comm	_ptls_minicrypto_key_exchanges,4,2 ## @ptls_minicrypto_key_exchanges
	.comm	_ptls_minicrypto_cipher_suites,4,2 ## @ptls_minicrypto_cipher_suites
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not read the server certificates\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_minicrypto_init_test_server    ; -- Begin function minicrypto_init_test_server
	.p2align	2
_minicrypto_init_test_server:           ; @minicrypto_init_test_server
	.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	x19, x1
	mov	x20, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _ptls_minicrypto_random_bytes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ptls_minicrypto_random_bytes@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #16]
Lloh3:
	adrp	x8, _ptls_get_time@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ptls_get_time@GOTPAGEOFF]
	str	x8, [x20, #8]
Lloh5:
	adrp	x8, _ptls_minicrypto_key_exchanges@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ptls_minicrypto_key_exchanges@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ptls_minicrypto_cipher_suites@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ptls_minicrypto_cipher_suites@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	mov	x0, x20
	mov	x1, x21
	bl	_ptls_load_certificates
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	x0, x21
	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
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	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
	b	_ptls_minicrypto_load_private_key
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ptls_minicrypto_random_bytes,4,2 ; @ptls_minicrypto_random_bytes
	.comm	_ptls_get_time,4,2              ; @ptls_get_time
	.comm	_ptls_minicrypto_key_exchanges,4,2 ; @ptls_minicrypto_key_exchanges
	.comm	_ptls_minicrypto_cipher_suites,4,2 ; @ptls_minicrypto_cipher_suites
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not read the server certificates\n"

.subsections_via_symbols
