	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_connection_set_verify      ## -- Begin function tls_connection_set_verify
	.p2align	4, 0x90
_tls_connection_set_verify:             ## @tls_connection_set_verify
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movl	$1, (%r14)
	movl	4(%r14), %edi
	movq	_SSL_VERIFY_PEER@GOTPCREL(%rip), %rax
	movq	_SSL_VERIFY_FAIL_IF_NO_PEER_CERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_tls_verify_cb@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
	retq
LBB0_4:
	movl	$0, (%r14)
	movl	4(%r14), %edi
	movq	_SSL_VERIFY_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
LBB0_5:
	callq	_wolfSSL_set_verify
	movl	4(%r14), %edi
	callq	_wolfSSL_set_accept_state
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL: set verify: %d"

	.comm	_SSL_VERIFY_PEER,4,2            ## @SSL_VERIFY_PEER
	.comm	_SSL_VERIFY_FAIL_IF_NO_PEER_CERT,4,2 ## @SSL_VERIFY_FAIL_IF_NO_PEER_CERT
	.comm	_tls_verify_cb,8,3              ## @tls_verify_cb
	.comm	_SSL_VERIFY_NONE,4,2            ## @SSL_VERIFY_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_connection_set_verify      ; -- Begin function tls_connection_set_verify
	.p2align	2
_tls_connection_set_verify:             ; @tls_connection_set_verify
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_3
; %bb.1:
	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
	.cfi_remember_state
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	cbz	w20, LBB0_4
; %bb.2:
	mov	w8, #1
	str	w8, [x19]
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x8, _SSL_VERIFY_PEER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSL_VERIFY_PEER@GOTPAGEOFF]
Lloh7:
	adrp	x9, _SSL_VERIFY_FAIL_IF_NO_PEER_CERT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SSL_VERIFY_FAIL_IF_NO_PEER_CERT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh11:
	adrp	x8, _tls_verify_cb@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tls_verify_cb@GOTPAGEOFF]
Lloh13:
	ldr	x2, [x8]
	b	LBB0_5
LBB0_3:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	w0, #-1
	ret
LBB0_4:
	.cfi_restore_state
	str	wzr, [x19]
	ldr	w0, [x19, #4]
Lloh14:
	adrp	x8, _SSL_VERIFY_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SSL_VERIFY_NONE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x2, #0
LBB0_5:
	bl	_wolfSSL_set_verify
	ldr	w0, [x19, #4]
	bl	_wolfSSL_set_accept_state
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL: set verify: %d"

	.comm	_SSL_VERIFY_PEER,4,2            ; @SSL_VERIFY_PEER
	.comm	_SSL_VERIFY_FAIL_IF_NO_PEER_CERT,4,2 ; @SSL_VERIFY_FAIL_IF_NO_PEER_CERT
	.comm	_tls_verify_cb,8,3              ; @tls_verify_cb
	.comm	_SSL_VERIFY_NONE,4,2            ; @SSL_VERIFY_NONE
.subsections_via_symbols
