	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_cert_call_plugin
_verify_cert_call_plugin:               ## @verify_cert_call_plugin
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_OPENVPN_PLUGIN_TLS_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_plugin_defined
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_argv_new
	movl	%eax, -56(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	movl	%r13d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_argv_printf
	movq	_OPENVPN_PLUGIN_TLS_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	movl	%r13d, %r9d
	callq	_plugin_call_ssl
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_argv_reset
	movq	_OPENVPN_PLUGIN_FUNC_SUCCESS@GOTPCREL(%rip), %rax
	movq	_D_HANDSHAKE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	(%rax), %ebx
	jne	LBB0_5
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_msg
LBB0_3:
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_msg
	movq	_FAILURE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENVPN_PLUGIN_TLS_VERIFY,4,2  ## @OPENVPN_PLUGIN_TLS_VERIFY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d %s"

	.comm	_OPENVPN_PLUGIN_FUNC_SUCCESS,4,2 ## @OPENVPN_PLUGIN_FUNC_SUCCESS
	.comm	_D_HANDSHAKE,4,2                ## @D_HANDSHAKE
L_.str.1:                               ## @.str.1
	.asciz	"VERIFY PLUGIN OK: depth=%d, %s"

L_.str.2:                               ## @.str.2
	.asciz	"VERIFY PLUGIN ERROR: depth=%d, %s"

	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_verify_cert_call_plugin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_cert_call_plugin
_verify_cert_call_plugin:               ; @verify_cert_call_plugin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x24, _OPENVPN_PLUGIN_TLS_VERIFY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _OPENVPN_PLUGIN_TLS_VERIFY@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_plugin_defined
	cbz	x0, LBB0_3
; %bb.1:
	bl	_argv_new
	str	w0, [sp, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	mov	x3, x19
	bl	_argv_printf
	ldr	w1, [x24]
	add	x2, sp, #8
	mov	x0, x23
	mov	x3, #0
	mov	x4, x22
	mov	x5, x20
	mov	x6, x21
	bl	_plugin_call_ssl
	mov	x21, x0
	add	x0, sp, #8
	bl	_argv_reset
Lloh4:
	adrp	x8, _OPENVPN_PLUGIN_FUNC_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OPENVPN_PLUGIN_FUNC_SUCCESS@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _D_HANDSHAKE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _D_HANDSHAKE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
	cmp	w21, w8
	b.ne	LBB0_4
; %bb.2:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	bl	_msg
LBB0_3:
Lloh12:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	bl	_msg
Lloh16:
	adrp	x8, _FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENVPN_PLUGIN_TLS_VERIFY,4,2  ; @OPENVPN_PLUGIN_TLS_VERIFY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d %s"

	.comm	_OPENVPN_PLUGIN_FUNC_SUCCESS,4,2 ; @OPENVPN_PLUGIN_FUNC_SUCCESS
	.comm	_D_HANDSHAKE,4,2                ; @D_HANDSHAKE
l_.str.1:                               ; @.str.1
	.asciz	"VERIFY PLUGIN OK: depth=%d, %s"

l_.str.2:                               ; @.str.2
	.asciz	"VERIFY PLUGIN ERROR: depth=%d, %s"

	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_verify_cert_call_plugin
.subsections_via_symbols
