	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perform_chgpwent
_perform_chgpwent:                      ## @perform_chgpwent
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	cmpb	$47, (%rbx)
                                        ## implicit-def: $r12
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_pw_dup
	movq	%rax, %r12
	jmp	LBB0_4
LBB0_1:
                                        ## implicit-def: $r12
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_chgpwent
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	movq	_EX_IOERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	callq	_errx
LBB0_8:
	testq	%rbx, %rbx
	jne	LBB0_9
	jmp	LBB0_13
LBB0_7:
	movq	_EX_IOERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_9:
	cmpb	$47, (%rbx)
	jne	LBB0_13
## %bb.10:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_chgnispwent
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	cmpl	$-1, %eax
	jne	LBB0_12
## %bb.14:
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EX_IOERR,4,2                   ## @EX_IOERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"user '%s' does not exist (NIS?)"

L_.str.1:                               ## @.str.1
	.asciz	"passwd file update"

L_.str.2:                               ## @.str.2
	.asciz	"User '%s' not found in NIS passwd"

L_.str.3:                               ## @.str.3
	.asciz	"NIS passwd update"

	.no_dead_strip	_perform_chgpwent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perform_chgpwent
_perform_chgpwent:                      ; @perform_chgpwent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cbz	x2, LBB0_3
; %bb.1:
	ldrb	w8, [x20]
                                        ; implicit-def: $x22
	cmp	w8, #47
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_pw_dup
	mov	x22, x0
	b	LBB0_4
LBB0_3:
                                        ; implicit-def: $x22
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	bl	_chgpwent
	cbz	w0, LBB0_7
; %bb.5:
Lloh0:
	adrp	x8, _EX_IOERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EX_IOERR@GOTPAGEOFF]
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.6:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
LBB0_7:
	cbnz	x20, LBB0_9
	b	LBB0_13
LBB0_8:
	ldr	w0, [x8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
	cbz	x20, LBB0_13
LBB0_9:
	ldrb	w8, [x20]
	cmp	w8, #47
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_chgnispwent
	cbz	w0, LBB0_13
; %bb.11:
	cmn	w0, #1
	b.ne	LBB0_14
; %bb.12:
	ldr	w8, [x19]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
LBB0_13:
	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
	add	sp, sp, #64
	ret
LBB0_14:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	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
	add	sp, sp, #64
	b	_warn
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EX_IOERR,4,2                   ; @EX_IOERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"user '%s' does not exist (NIS?)"

l_.str.1:                               ; @.str.1
	.asciz	"passwd file update"

l_.str.2:                               ; @.str.2
	.asciz	"User '%s' not found in NIS passwd"

l_.str.3:                               ; @.str.3
	.asciz	"NIS passwd update"

	.no_dead_strip	_perform_chgpwent
.subsections_via_symbols
