	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_ssl                       ## -- Begin function init_ssl
	.p2align	4, 0x90
_init_ssl:                              ## @init_ssl
	.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
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_ASSERT
	xorl	%eax, %eax
	callq	_tls_clear_error
	cmpl	$0, 20(%rbx)
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_tls_ctx_server_new
	movl	120(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_4
## %bb.2:
	movl	116(%rbx), %edx
	movq	%r14, %rdi
	callq	_tls_ctx_load_dh_params
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_tls_ctx_client_new
LBB0_4:
	movl	112(%rbx), %esi
	movq	%r14, %rdi
	callq	_tls_ctx_set_cert_profile
	movl	108(%rbx), %esi
	movq	%r14, %rdi
	callq	_tls_ctx_restrict_ciphers
	movl	104(%rbx), %esi
	movq	%r14, %rdi
	callq	_tls_ctx_restrict_ciphers_tls13
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_tls_ctx_set_options
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	100(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.6:
	movl	96(%rbx), %edx
	xorl	%ecx, %ecx
	cmpq	$0, 48(%rbx)
	sete	%cl
	movq	%r14, %rdi
	callq	_tls_ctx_load_pkcs12
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_10
LBB0_8:
	movl	64(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_10
## %bb.9:
	movq	8(%rbx), %rdx
	movq	%r14, %rdi
	callq	_tls_ctx_load_cert_file
LBB0_10:
	movl	60(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_12
## %bb.11:
	movl	56(%rbx), %edx
	movq	%r14, %rdi
	callq	_tls_ctx_load_priv_file
	testq	%rax, %rax
	je	LBB0_12
LBB0_7:
	xorl	%eax, %eax
	callq	_tls_clear_error
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tls_ctx_free                   ## TAILCALL
LBB0_12:
	movq	48(%rbx), %rsi
	movl	40(%rbx), %ecx
	testq	%rsi, %rsi
	jne	LBB0_14
## %bb.13:
	testl	%ecx, %ecx
	je	LBB0_15
LBB0_14:
	movl	20(%rbx), %r8d
	movl	44(%rbx), %edx
	movq	%r14, %rdi
	callq	_tls_ctx_load_ca
LBB0_15:
	movl	36(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_17
## %bb.16:
	movl	32(%rbx), %edx
	movq	%r14, %rdi
	callq	_tls_ctx_load_extra_certs
LBB0_17:
	movq	%r14, %rdi
	callq	_tls_ctx_check_cert_time
	movl	28(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_20
## %bb.18:
	movq	_SSLF_CRL_VERIFY_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_20
## %bb.19:
	movl	24(%rbx), %edx
	movq	%r14, %rdi
	callq	_tls_ctx_reload_crl
LBB0_20:
	cmpl	$0, 20(%rbx)
	je	LBB0_22
## %bb.21:
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_tls_ctx_load_ecdh_params
LBB0_22:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tls_clear_error                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SSLF_CRL_VERIFY_DIR,4,2        ## @SSLF_CRL_VERIFY_DIR
	.comm	_INLINE_FILE_TAG,4,2            ## @INLINE_FILE_TAG
	.comm	_MF_EXTERNAL_CERT,4,2           ## @MF_EXTERNAL_CERT
	.comm	_MF_EXTERNAL_KEY,4,2            ## @MF_EXTERNAL_KEY
	.comm	_M_WARN,4,2                     ## @M_WARN
	.comm	_management,4,2                 ## @management
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_ssl                       ; -- Begin function init_ssl
	.p2align	2
_init_ssl:                              ; @init_ssl
	.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
	mov	x19, x1
	mov	x20, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_ASSERT
	bl	_tls_clear_error
	ldr	w8, [x20, #20]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_tls_ctx_server_new
	ldr	w1, [x20, #120]
	cbz	w1, LBB0_4
; %bb.2:
	ldr	w2, [x20, #116]
	mov	x0, x19
	bl	_tls_ctx_load_dh_params
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_tls_ctx_client_new
LBB0_4:
	ldr	w1, [x20, #112]
	mov	x0, x19
	bl	_tls_ctx_set_cert_profile
	ldr	w1, [x20, #108]
	mov	x0, x19
	bl	_tls_ctx_restrict_ciphers
	ldr	w1, [x20, #104]
	mov	x0, x19
	bl	_tls_ctx_restrict_ciphers_tls13
	ldr	w1, [x20]
	mov	x0, x19
	bl	_tls_ctx_set_options
	cbz	w0, LBB0_11
; %bb.5:
	ldr	w1, [x20, #100]
	cbz	w1, LBB0_7
; %bb.6:
	ldr	w2, [x20, #96]
	ldr	x8, [x20, #48]
	cmp	x8, #0
	cset	w3, eq
	mov	x0, x19
	bl	_tls_ctx_load_pkcs12
	cbnz	x0, LBB0_11
	b	LBB0_9
LBB0_7:
	ldr	w1, [x20, #64]
	cbz	w1, LBB0_9
; %bb.8:
	ldr	x2, [x20, #8]
	mov	x0, x19
	bl	_tls_ctx_load_cert_file
LBB0_9:
	ldr	w1, [x20, #60]
	cbz	w1, LBB0_12
; %bb.10:
	ldr	w2, [x20, #56]
	mov	x0, x19
	bl	_tls_ctx_load_priv_file
	cbz	x0, LBB0_12
LBB0_11:
	bl	_tls_clear_error
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tls_ctx_free
LBB0_12:
	ldr	x1, [x20, #48]
	ldr	w3, [x20, #40]
	cbnz	x1, LBB0_14
; %bb.13:
	cbz	w3, LBB0_15
LBB0_14:
	ldr	w2, [x20, #44]
	ldr	w4, [x20, #20]
	mov	x0, x19
	bl	_tls_ctx_load_ca
LBB0_15:
	ldr	w1, [x20, #36]
	cbz	w1, LBB0_17
; %bb.16:
	ldr	w2, [x20, #32]
	mov	x0, x19
	bl	_tls_ctx_load_extra_certs
LBB0_17:
	mov	x0, x19
	bl	_tls_ctx_check_cert_time
	ldr	w1, [x20, #28]
	cbz	w1, LBB0_20
; %bb.18:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _SSLF_CRL_VERIFY_DIR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSLF_CRL_VERIFY_DIR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_20
; %bb.19:
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_tls_ctx_reload_crl
LBB0_20:
	ldr	w8, [x20, #20]
	cbz	w8, LBB0_22
; %bb.21:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_tls_ctx_load_ecdh_params
LBB0_22:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tls_clear_error
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSLF_CRL_VERIFY_DIR,4,2        ; @SSLF_CRL_VERIFY_DIR
	.comm	_INLINE_FILE_TAG,4,2            ; @INLINE_FILE_TAG
	.comm	_MF_EXTERNAL_CERT,4,2           ; @MF_EXTERNAL_CERT
	.comm	_MF_EXTERNAL_KEY,4,2            ; @MF_EXTERNAL_KEY
	.comm	_M_WARN,4,2                     ; @M_WARN
	.comm	_management,4,2                 ; @management
.subsections_via_symbols
