	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pw_nisupdate
_pw_nisupdate:                          ## @pw_nisupdate
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_printf
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_pw_dup
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_GETPWNAM
	movq	%rax, %r15
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
	testq	%r15, %r15
	jne	LBB0_5
LBB0_4:
	xorl	%r15d, %r15d
LBB0_6:
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_pw_init
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_8:
	xorl	%eax, %eax
	callq	_pw_lock
	movl	%eax, %r13d
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_pw_fini
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_10:
	movl	$-1, %edi
	callq	_pw_tmp
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_pw_fini
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_12:
	movl	%r13d, %edi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_pw_copy
	cmpl	$-1, %eax
	jne	LBB0_14
## %bb.13:
	xorl	%eax, %eax
	callq	_pw_fini
	movl	%ebx, %edi
	callq	_close
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_14:
	movl	%ebx, %edi
	callq	_fsync
	movl	%ebx, %edi
	callq	_close
	xorl	%eax, %eax
	callq	_pw_tempname
	movl	%eax, %edi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_chmod
	cmpl	$-1, %eax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_16:
	xorl	%eax, %eax
	callq	_pw_tempname
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_rename
	cmpl	$-1, %eax
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_18:
	movq	%r14, %rdi
	callq	_free
	xorl	%eax, %eax
	callq	_pw_fini
	xorl	%eax, %eax
	addq	$8, %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
	.asciz	"===> %s\n"

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

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

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

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

L_.str.5:                               ## @.str.5
	.asciz	"chmod()"

L_.str.6:                               ## @.str.6
	.asciz	"rename()"

	.no_dead_strip	_pw_nisupdate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pw_nisupdate
_pw_nisupdate:                          ; @pw_nisupdate
	.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, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_printf
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_pw_dup
	mov	x19, x0
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_GETPWNAM
	mov	x21, x0
LBB0_4:
	mov	x0, #0
	mov	x1, x20
	bl	_pw_init
	cbz	x0, LBB0_6
; %bb.5:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_6:
	bl	_pw_lock
	mov	x23, x0
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
	bl	_pw_fini
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_8:
	mov	w0, #-1
	bl	_pw_tmp
	mov	x22, x0
	cmn	w0, #1
	b.ne	LBB0_10
; %bb.9:
	bl	_pw_fini
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_10:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_pw_copy
	cmn	w0, #1
	b.ne	LBB0_12
; %bb.11:
	bl	_pw_fini
	mov	x0, x22
	bl	_close
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_12:
	mov	x0, x22
	bl	_fsync
	mov	x0, x22
	bl	_close
	bl	_pw_tempname
	mov	w1, #420
	bl	_chmod
	cmn	w0, #1
	b.ne	LBB0_14
; %bb.13:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_14:
	bl	_pw_tempname
	mov	x1, x20
	bl	_rename
	cmn	w0, #1
	b.ne	LBB0_16
; %bb.15:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_16:
	mov	x0, x19
	bl	_free
	bl	_pw_fini
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"===> %s\n"

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

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

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

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

l_.str.5:                               ; @.str.5
	.asciz	"chmod()"

l_.str.6:                               ; @.str.6
	.asciz	"rename()"

	.no_dead_strip	_pw_nisupdate
.subsections_via_symbols
