	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_unix
_verify_unix:                           ## @verify_unix
	.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
	subq	$1168, %rsp                     ## imm = 0x490
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpb	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	8(%r15), %rcx
	leaq	L_.str(%rip), %rdx
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	_snprintf
	leaq	-1200(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_UI_UTIL_read_pw_string
	testl	%eax, %eax
	jne	LBB0_11
## %bb.3:
	movq	(%r15), %rsi
	leaq	-1200(%rbp), %r12
	movq	%r12, %rdi
	callq	_crypt
	movq	%rax, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_memset
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movq	_LOG_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	8(%r14), %rdx
	movq	8(%r15), %rcx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_8
LBB0_5:
	xorl	%ebx, %ebx
	cmpq	$0, 16(%r15)
	jne	LBB0_9
## %bb.6:
	movq	8(%r14), %rsi
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_group_member_p
	movq	_GROUP_NOT_MEMBER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.7:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movq	_LOG_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	8(%r14), %rdx
	movq	8(%r15), %rcx
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.2(%rip), %r8
	xorl	%eax, %eax
	callq	_syslog
LBB0_8:
	movl	$1, %ebx
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_12
## %bb.10:
	movl	%ebx, %eax
	addq	$1168, %rsp                     ## imm = 0x490
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
LBB0_11:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s's password: "

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.comm	_LOG_AUTH,4,2                   ## @LOG_AUTH
L_.str.1:                               ## @.str.1
	.asciz	"%s to %s: incorrect password"

L_.str.2:                               ## @.str.2
	.asciz	"wheel"

	.comm	_GROUP_NOT_MEMBER,4,2           ## @GROUP_NOT_MEMBER
L_.str.3:                               ## @.str.3
	.asciz	"%s to %s: not in group %s"

	.comm	_ROOT_GROUP,4,2                 ## @ROOT_GROUP
	.no_dead_strip	_verify_unix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_unix
_verify_unix:                           ; @verify_unix
	.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
	sub	sp, sp, #1168
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x8, [x1]
	cbz	x8, LBB0_5
; %bb.1:
	ldrb	w8, [x8]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x3, [x19, #8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #168
	mov	w1, #128
	bl	_snprintf
	add	x0, sp, #8
	sub	x2, x29, #168
	mov	w1, #1024
	mov	w3, #0
	bl	_UI_UTIL_read_pw_string
	cbnz	w0, LBB0_13
; %bb.3:
	ldr	x1, [x19]
	add	x0, sp, #8
	bl	_crypt
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #1024
	bl	_memset
	ldr	x1, [x19]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _LOG_AUTH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LOG_AUTH@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x2, [x20, #8]
	ldr	x3, [x19, #8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_9
; %bb.6:
	ldr	x1, [x20, #8]
Lloh13:
	adrp	x21, l_.str.2@PAGE
Lloh14:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_group_member_p
Lloh15:
	adrp	x8, _GROUP_NOT_MEMBER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GROUP_NOT_MEMBER@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.7:
Lloh18:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _LOG_AUTH@GOTPAGE
Lloh22:
	ldr	x9, [x9, _LOG_AUTH@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x2, [x20, #8]
	ldr	x3, [x19, #8]
	str	x21, [sp]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	bl	_syslog
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldur	x8, [x29, #-40]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	add	sp, sp, #1168
	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
LBB0_12:
	bl	___stack_chk_fail
LBB0_13:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s's password: "

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.comm	_LOG_AUTH,4,2                   ; @LOG_AUTH
l_.str.1:                               ; @.str.1
	.asciz	"%s to %s: incorrect password"

l_.str.2:                               ; @.str.2
	.asciz	"wheel"

	.comm	_GROUP_NOT_MEMBER,4,2           ; @GROUP_NOT_MEMBER
l_.str.3:                               ; @.str.3
	.asciz	"%s to %s: not in group %s"

	.comm	_ROOT_GROUP,4,2                 ; @ROOT_GROUP
	.no_dead_strip	_verify_unix
.subsections_via_symbols
