	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_Validate                  ## -- Begin function auth_Validate
	.p2align	4, 0x90
_auth_Validate:                         ## @auth_Validate
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LINE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_SECRETFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_OpenSecret
	movq	%rax, %r14
	testq	%r14, %r14
	je	LBB0_6
	.p2align	4, 0x90
LBB0_2:
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movl	$1, %r12d
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SECRETFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %ecx
	callq	_log_Printf
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	callq	_fgets
	incl	%r12d
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$35, (%r15)
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%r15)
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_VECSIZE
	movq	_PARSE_REDUCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_MakeArgs
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$2, %eax
	jb	LBB0_5
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%rdi, %r12
	movl	$92, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	incq	%rbx
	movzbl	1(%rax), %eax
	testb	%al, %al
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testq	%r14, %r14
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_rewind
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	testq	%r14, %r14
	jne	LBB0_2
	jmp	LBB0_6
LBB0_14:
	movq	%r14, %rdi
	callq	_CloseSecret
	movq	-88(%rbp), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_21
LBB0_15:
	testb	%al, %al
	cmovneq	%rbx, %r12
LBB0_16:
	movq	%r12, %rbx
	testq	%r14, %r14
	je	LBB0_18
## %bb.17:
	movq	%r14, %rdi
	callq	_CloseSecret
LBB0_18:
	movq	_OPT_PASSWDAUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_Enabled
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
LBB0_21:
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	callq	_auth_CheckPasswd
LBB0_22:
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_24
## %bb.23:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LINE_LEN,4,2                   ## @LINE_LEN
	.comm	_SECRETFILE,4,2                 ## @SECRETFILE
	.comm	_PARSE_REDUCE,4,2               ## @PARSE_REDUCE
	.comm	_LogWARN,4,2                    ## @LogWARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %d: Invalid line\n"

	.comm	_OPT_PASSWDAUTH,4,2             ## @OPT_PASSWDAUTH
L_.str.1:                               ## @.str.1
	.asciz	"*"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_Validate                  ; -- Begin function auth_Validate
	.p2align	2
_auth_Validate:                         ; @auth_Validate
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	stp	x0, x2, [x29, #-144]            ; 16-byte Folded Spill
	mov	x20, x1
	mov	x27, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _LINE_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LINE_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
Lloh8:
	adrp	x28, _SECRETFILE@GOTPAGE
Lloh9:
	ldr	x28, [x28, _SECRETFILE@GOTPAGEOFF]
	ldr	w0, [x28]
	bl	_OpenSecret
	mov	x23, x0
Lloh10:
	adrp	x21, _PARSE_REDUCE@GOTPAGE
Lloh11:
	ldr	x21, [x21, _PARSE_REDUCE@GOTPAGEOFF]
Lloh12:
	adrp	x19, _LogWARN@GOTPAGE
Lloh13:
	ldr	x19, [x19, _LogWARN@GOTPAGEOFF]
Lloh14:
	adrp	x25, l_.str@PAGE
Lloh15:
	add	x25, x25, l_.str@PAGEOFF
	cbz	x23, LBB0_9
LBB0_1:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_fgets
	cbz	x0, LBB0_9
; %bb.2:
	mov	w26, #1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	ldr	w2, [x28]
	mov	x1, x25
	mov	x3, x26
	bl	_log_Printf
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_fgets
	add	w26, w26, #1
	cbz	x0, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x24]
	cmp	w8, #35
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_strlen
	add	x8, x24, w0, sxtw
	sturb	wzr, [x8, #-1]
	sub	x0, x29, #128
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	sub	x0, x29, #128
	bl	_VECSIZE
	mov	x2, x0
	ldr	w3, [x21]
	sub	x1, x29, #128
	mov	x0, x24
	bl	_MakeArgs
	tbnz	w0, #31, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #2
	b.lo	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	x0, [x29, #-128]
	mov	x1, x20
	bl	_strcmp
	cbnz	x0, LBB0_4
	b	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #92
	bl	_strrchr
	cbz	x0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x26, x0
	ldrb	w8, [x26, #1]!
	cmp	w8, #0
	ccmp	x23, #0, #4, ne
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	bl	_rewind
	mov	x20, x26
	cbnz	x23, LBB0_1
	b	LBB0_9
LBB0_12:
	mov	x0, x23
	bl	_CloseSecret
	ldur	x1, [x29, #-120]
	b	LBB0_18
LBB0_13:
	cmp	w8, #0
	csel	x20, x20, x26, eq
LBB0_14:
	cbz	x23, LBB0_16
; %bb.15:
	mov	x0, x23
	bl	_CloseSecret
LBB0_16:
Lloh16:
	adrp	x8, _OPT_PASSWDAUTH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _OPT_PASSWDAUTH@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldur	x0, [x29, #-144]                ; 8-byte Folded Reload
	bl	_Enabled
	cbz	x0, LBB0_19
; %bb.17:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_18:
	mov	x0, x20
	ldur	x2, [x29, #-136]                ; 8-byte Folded Reload
	bl	_auth_CheckPasswd
LBB0_19:
	mov	sp, x27
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LINE_LEN,4,2                   ; @LINE_LEN
	.comm	_SECRETFILE,4,2                 ; @SECRETFILE
	.comm	_PARSE_REDUCE,4,2               ; @PARSE_REDUCE
	.comm	_LogWARN,4,2                    ; @LogWARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %d: Invalid line\n"

	.comm	_OPT_PASSWDAUTH,4,2             ; @OPT_PASSWDAUTH
l_.str.1:                               ; @.str.1
	.asciz	"*"

.subsections_via_symbols
