	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pw_update
_pw_update:                             ## @pw_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_pwdb_check
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_pw_dup
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	callq	_GETPWNAM
	movq	%rax, %r15
	jmp	LBB0_7
LBB0_2:
	xorl	%r14d, %r14d
	testq	%r15, %r15
	jne	LBB0_6
LBB0_5:
	xorl	%r15d, %r15d
LBB0_7:
	movq	_conf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_pw_init
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_9:
	xorl	%eax, %eax
	callq	_pw_lock
	movl	%eax, %r13d
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_pw_fini
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_11:
	movl	$-1, %edi
	callq	_pw_tmp
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_pw_fini
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_13:
	movl	%r13d, %edi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_pw_copy
	cmpl	$-1, %eax
	jne	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	callq	_pw_fini
	movl	%ebx, %edi
	callq	_close
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_15:
	movl	%ebx, %edi
	callq	_fsync
	movl	%ebx, %edi
	callq	_close
	testq	%r14, %r14
	je	LBB0_16
## %bb.17:
	movq	(%r14), %rdi
	jmp	LBB0_18
LBB0_16:
	xorl	%edi, %edi
LBB0_18:
	callq	_pw_mkdb
	cmpl	$-1, %eax
	jne	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	callq	_pw_fini
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_20:
	movq	%r14, %rdi
	callq	_free
	xorl	%eax, %eax
	callq	_pw_fini
LBB0_21:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,4,2                       ## @conf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pw_init()"

L_.str.1:                               ## @.str.1
	.asciz	"pw_lock()"

L_.str.2:                               ## @.str.2
	.asciz	"pw_tmp()"

L_.str.3:                               ## @.str.3
	.asciz	"pw_copy()"

L_.str.4:                               ## @.str.4
	.asciz	"pw_mkdb()"

	.no_dead_strip	_pw_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pw_update
_pw_update:                             ; @pw_update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	bl	_pwdb_check
	mov	x19, x0
	cbnz	w0, LBB0_19
; %bb.1:
	cbz	x20, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_pw_dup
	mov	x20, x0
LBB0_3:
	cbz	x21, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_GETPWNAM
	mov	x21, x0
LBB0_5:
Lloh0:
	adrp	x8, _conf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _conf@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_pw_init
	cbz	x0, LBB0_7
; %bb.6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	bl	_pw_lock
	mov	x23, x0
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.8:
	bl	_pw_fini
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_9:
	mov	w0, #-1
	bl	_pw_tmp
	mov	x22, x0
	cmn	w0, #1
	b.ne	LBB0_11
; %bb.10:
	bl	_pw_fini
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_11:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_pw_copy
	cmn	w0, #1
	b.ne	LBB0_13
; %bb.12:
	bl	_pw_fini
	mov	x0, x22
	bl	_close
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_13:
	mov	x0, x22
	bl	_fsync
	mov	x0, x22
	bl	_close
	cbz	x20, LBB0_15
; %bb.14:
	ldr	x0, [x20]
	b	LBB0_16
LBB0_15:
	mov	x0, #0
LBB0_16:
	bl	_pw_mkdb
	cmn	w0, #1
	b.ne	LBB0_18
; %bb.17:
	bl	_pw_fini
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_18:
	mov	x0, x20
	bl	_free
	bl	_pw_fini
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,4,2                       ; @conf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pw_init()"

l_.str.1:                               ; @.str.1
	.asciz	"pw_lock()"

l_.str.2:                               ; @.str.2
	.asciz	"pw_tmp()"

l_.str.3:                               ; @.str.3
	.asciz	"pw_copy()"

l_.str.4:                               ; @.str.4
	.asciz	"pw_mkdb()"

	.no_dead_strip	_pw_update
.subsections_via_symbols
