	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_auth_passwd                ## -- Begin function sys_auth_passwd
	.p2align	4, 0x90
_sys_auth_passwd:                       ## @sys_auth_passwd
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	8(%rbx), %rdi
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	callq	_shadow_pw
	movq	%rax, %r15
	jmp	LBB0_3
LBB0_2:
	movq	(%rdi), %r15
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
LBB0_5:
	xorl	%r12d, %r12d
	cmpq	$0, (%rbx)
	je	LBB0_9
## %bb.6:
	cmpb	$0, (%r15)
	je	LBB0_9
## %bb.7:
	xorl	%esi, %esi
	cmpb	$0, 1(%r15)
	cmovneq	%r15, %rsi
	jmp	LBB0_10
LBB0_9:
	xorl	%esi, %esi
LBB0_10:
	movq	%r14, %rdi
	callq	_xcrypt
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_strcmp
	xorl	%r12d, %r12d
	testq	%rax, %rax
	sete	%r12b
	jmp	LBB0_13
LBB0_12:
	movl	$1, %r12d
LBB0_13:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_auth_passwd                ; -- Begin function sys_auth_passwd
	.p2align	2
_sys_auth_passwd:                       ; @sys_auth_passwd
	.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
	mov	x19, x1
	ldr	x21, [x0]
	ldp	x8, x0, [x21]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_shadow_pw
	mov	x20, x0
	b	LBB0_3
LBB0_2:
	ldr	x20, [x0]
LBB0_3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_11
LBB0_5:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.6:
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
; %bb.7:
	ldrb	w8, [x20, #1]
	cmp	w8, #0
	csel	x1, xzr, x20, eq
	b	LBB0_9
LBB0_8:
	mov	x1, #0
LBB0_9:
	mov	x0, x19
	bl	_xcrypt
	cbz	x0, LBB0_12
; %bb.10:
	mov	x1, x20
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_12
LBB0_11:
	mov	w0, #1
LBB0_12:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

.subsections_via_symbols
