	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_tlsatest
_run_tlsatest:                          ## @run_tlsatest
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_tlsafile@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_new_file
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_TLS_client_method
	movl	%eax, %edi
	callq	_SSL_CTX_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movq	%rbx, %rdi
	callq	_SSL_CTX_dane_enable
	xorl	%r15d, %r15d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	_CAfile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_SSL_CTX_load_verify_file
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_EVP_sha512
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$2, %edx
	movl	$1, %ecx
	callq	_SSL_CTX_dane_mtype_set
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_EVP_sha256
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	movl	$2, %ecx
	callq	_SSL_CTX_dane_mtype_set
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_basedomain@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_test_tlsafile
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
	jmp	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
LBB0_8:
	movq	%r14, %rdi
	callq	_BIO_free
	movq	%rbx, %rdi
	callq	_SSL_CTX_free
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tlsafile,4,2                   ## @tlsafile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_CAfile,4,2                     ## @CAfile
	.comm	_basedomain,4,2                 ## @basedomain
	.no_dead_strip	_run_tlsatest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_tlsatest
_run_tlsatest:                          ; @run_tlsatest
	.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
Lloh0:
	adrp	x21, _tlsafile@GOTPAGE
Lloh1:
	ldr	x21, [x21, _tlsafile@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_new_file
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_7
; %bb.1:
	bl	_TLS_client_method
	bl	_SSL_CTX_new
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_8
; %bb.2:
	mov	x0, x20
	bl	_SSL_CTX_dane_enable
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_8
; %bb.3:
Lloh4:
	adrp	x8, _CAfile@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CAfile@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SSL_CTX_load_verify_file
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.4:
	bl	_EVP_sha512
	mov	x1, x0
	mov	x0, x20
	mov	w2, #2
	mov	w3, #1
	bl	_SSL_CTX_dane_mtype_set
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_8
; %bb.5:
	bl	_EVP_sha256
	mov	x1, x0
	mov	x0, x20
	mov	w2, #1
	mov	w3, #2
	bl	_SSL_CTX_dane_mtype_set
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_8
; %bb.6:
Lloh7:
	adrp	x8, _basedomain@GOTPAGE
Lloh8:
	ldr	x8, [x8, _basedomain@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w3, [x21]
	mov	x0, x20
	mov	x2, x19
	bl	_test_tlsafile
	mov	w1, #0
	bl	_TEST_int_gt
	cmp	w0, #0
	cset	w21, ne
	b	LBB0_9
LBB0_7:
	mov	x20, #0
LBB0_8:
	mov	w21, #0
LBB0_9:
	mov	x0, x19
	bl	_BIO_free
	mov	x0, x20
	bl	_SSL_CTX_free
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_tlsafile,4,2                   ; @tlsafile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_CAfile,4,2                     ; @CAfile
	.comm	_basedomain,4,2                 ; @basedomain
	.no_dead_strip	_run_tlsatest
.subsections_via_symbols
