	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_user_pass_script
_verify_user_pass_script:               ## @verify_user_pass_script
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -56(%rbp)
	xorl	%eax, %eax
	callq	_argv_new
	movl	%eax, -48(%rbp)
	movq	8(%rbx), %rax
	movq	_SSLF_AUTH_USER_PASS_OPTIONAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_15
LBB0_2:
	movl	4(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	callq	_setenv_str
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_8
## %bb.3:
	movl	20(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	leaq	-56(%rbp), %rdx
	callq	_platform_create_temp_file
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r14
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	_STATUS_OUTPUT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	callq	_status_open
	movq	%rax, %r12
	movq	(%r15), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	callq	_status_printf
	movq	8(%r15), %rdx
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_status_printf
	movq	%r12, %rdi
	callq	_status_close
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_8:
	movl	4(%rax), %edi
	movq	(%r15), %rdx
	leaq	L_.str.7(%rip), %rsi
	callq	_setenv_str
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	movq	8(%r15), %rdx
	leaq	L_.str.8(%rip), %rsi
	callq	_setenv_str
	leaq	L_.str(%rip), %r14
	jmp	LBB0_9
LBB0_6:
	movq	_D_TLS_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_msg
LBB0_9:
	movq	(%rbx), %rdx
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_setenv_str
	movq	%rbx, %rdi
	callq	_setenv_untrusted
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_add_session_token_env
	movq	8(%rbx), %rax
	movl	16(%rax), %esi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_argv_parse_cmd
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_argv_printf_cat
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	leaq	L_.str.10(%rip), %rcx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_openvpn_run_script
	movl	%eax, %r13d
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_11
## %bb.10:
	movl	4(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_setenv_del
LBB0_11:
	testq	%r14, %r14
	jne	LBB0_12
	jmp	LBB0_14
LBB0_15:
	movq	_D_TLS_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_msg
	leaq	L_.str(%rip), %r14
	jmp	LBB0_12
LBB0_7:
	movq	_D_TLS_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_msg
LBB0_12:
	movq	%r14, %rdi
	callq	_strlen
	testq	%rax, %rax
	jle	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_platform_unlink
LBB0_14:
	leaq	-48(%rbp), %rdi
	callq	_argv_reset
	leaq	-56(%rbp), %rdi
	callq	_gc_free
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_SSLF_AUTH_USER_PASS_OPTIONAL,4,2 ## @SSLF_AUTH_USER_PASS_OPTIONAL
L_.str.1:                               ## @.str.1
	.asciz	"script_type"

L_.str.2:                               ## @.str.2
	.asciz	"user-pass-verify"

L_.str.3:                               ## @.str.3
	.asciz	"up"

	.comm	_STATUS_OUTPUT_WRITE,4,2        ## @STATUS_OUTPUT_WRITE
L_.str.4:                               ## @.str.4
	.asciz	"%s"

	.comm	_D_TLS_ERRORS,4,2               ## @D_TLS_ERRORS
L_.str.5:                               ## @.str.5
	.asciz	"TLS Auth Error: could not write username/password to file: %s"

L_.str.6:                               ## @.str.6
	.asciz	"TLS Auth Error: could not create write username/password to temp file"

L_.str.7:                               ## @.str.7
	.asciz	"username"

L_.str.8:                               ## @.str.8
	.asciz	"password"

L_.str.9:                               ## @.str.9
	.asciz	"common_name"

L_.str.10:                              ## @.str.10
	.asciz	"--auth-user-pass-verify"

L_.str.11:                              ## @.str.11
	.asciz	"TLS Auth Error: peer provided a blank username"

	.no_dead_strip	_verify_user_pass_script
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_user_pass_script
_verify_user_pass_script:               ; @verify_user_pass_script
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_gc_new
	str	w0, [sp, #24]
	bl	_argv_new
	str	w0, [sp, #16]
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _SSLF_AUTH_USER_PASS_OPTIONAL@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SSLF_AUTH_USER_PASS_OPTIONAL@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x21]
	ldrb	w9, [x9]
	cbz	w9, LBB0_11
LBB0_2:
	ldr	w0, [x8, #4]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh5:
	adrp	x2, l_.str.2@PAGE
Lloh6:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_setenv_str
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
; %bb.3:
	ldr	w0, [x8, #20]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #24
	bl	_platform_create_temp_file
	mov	x20, x0
	cbz	x0, LBB0_7
; %bb.4:
Lloh9:
	adrp	x8, _STATUS_OUTPUT_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STATUS_OUTPUT_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #-1
	mov	x3, #0
	bl	_status_open
	mov	x23, x0
	ldr	x2, [x21]
Lloh12:
	adrp	x24, l_.str.4@PAGE
Lloh13:
	add	x24, x24, l_.str.4@PAGEOFF
	mov	x1, x24
	bl	_status_printf
	ldr	x2, [x21, #8]
	mov	x0, x23
	mov	x1, x24
	bl	_status_printf
	mov	x0, x23
	bl	_status_close
	cbnz	w0, LBB0_8
; %bb.5:
Lloh14:
	adrp	x8, _D_TLS_ERRORS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _D_TLS_ERRORS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_msg
	mov	w21, #0
	b	LBB0_12
LBB0_6:
	ldr	w0, [x8, #4]
	ldr	x2, [x21]
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_setenv_str
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	ldr	x2, [x21, #8]
Lloh21:
	adrp	x1, l_.str.8@PAGE
Lloh22:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_setenv_str
Lloh23:
	adrp	x20, l_.str@PAGE
Lloh24:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh25:
	adrp	x8, _D_TLS_ERRORS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _D_TLS_ERRORS@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_msg
LBB0_8:
	ldp	x2, x8, [x19]
	ldr	w0, [x8, #4]
Lloh30:
	adrp	x1, l_.str.9@PAGE
Lloh31:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_setenv_str
	mov	x0, x19
	bl	_setenv_untrusted
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_add_session_token_env
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #16]
	add	x0, sp, #16
	bl	_argv_parse_cmd
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #16
	mov	x2, x20
	bl	_argv_printf_cat
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
Lloh34:
	adrp	x3, l_.str.10@PAGE
Lloh35:
	add	x3, x3, l_.str.10@PAGEOFF
	add	x0, sp, #16
	mov	w2, #0
	bl	_openvpn_run_script
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_10
; %bb.9:
	ldr	w0, [x8, #4]
Lloh36:
	adrp	x1, l_.str.8@PAGE
Lloh37:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_setenv_del
LBB0_10:
	cbnz	x20, LBB0_12
	b	LBB0_14
LBB0_11:
Lloh38:
	adrp	x8, _D_TLS_ERRORS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _D_TLS_ERRORS@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.11@PAGE
Lloh42:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_msg
	mov	w21, #0
Lloh43:
	adrp	x20, l_.str@PAGE
Lloh44:
	add	x20, x20, l_.str@PAGEOFF
LBB0_12:
	mov	x0, x20
	bl	_strlen
	cmp	x0, #1
	b.lt	LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_platform_unlink
LBB0_14:
	add	x0, sp, #16
	bl	_argv_reset
	add	x0, sp, #24
	bl	_gc_free
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_SSLF_AUTH_USER_PASS_OPTIONAL,4,2 ; @SSLF_AUTH_USER_PASS_OPTIONAL
l_.str.1:                               ; @.str.1
	.asciz	"script_type"

l_.str.2:                               ; @.str.2
	.asciz	"user-pass-verify"

l_.str.3:                               ; @.str.3
	.asciz	"up"

	.comm	_STATUS_OUTPUT_WRITE,4,2        ; @STATUS_OUTPUT_WRITE
l_.str.4:                               ; @.str.4
	.asciz	"%s"

	.comm	_D_TLS_ERRORS,4,2               ; @D_TLS_ERRORS
l_.str.5:                               ; @.str.5
	.asciz	"TLS Auth Error: could not write username/password to file: %s"

l_.str.6:                               ; @.str.6
	.asciz	"TLS Auth Error: could not create write username/password to temp file"

l_.str.7:                               ; @.str.7
	.asciz	"username"

l_.str.8:                               ; @.str.8
	.asciz	"password"

l_.str.9:                               ; @.str.9
	.asciz	"common_name"

l_.str.10:                              ; @.str.10
	.asciz	"--auth-user-pass-verify"

l_.str.11:                              ; @.str.11
	.asciz	"TLS Auth Error: peer provided a blank username"

	.no_dead_strip	_verify_user_pass_script
.subsections_via_symbols
