	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edit                           ## -- Begin function edit
	.p2align	4, 0x90
_edit:                                  ## @edit
	.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
	callq	_display
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.1:
	movq	_stdout@GOTPCREL(%rip), %r14
	movq	_stdin@GOTPCREL(%rip), %r12
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_pw_edit
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_verify
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	callq	_free
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	(%r14), %edi
	callq	_fflush
	movl	(%r12), %edi
	movq	%r13, %rsi
	callq	_fgetln
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rax), %eax
	orb	$32, %al
	cmpb	$110, %al
	jne	LBB0_2
	jmp	LBB0_10
LBB0_4:
	movq	%r15, %rdi
	callq	_pw_dup
	jmp	LBB0_11
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	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	"re-edit the password file? "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_stdin,4,2                      ## @stdin
L_.str.1:                               ## @.str.1
	.asciz	"fgetln()"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edit                           ; -- Begin function edit
	.p2align	2
_edit:                                  ; @edit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
	bl	_display
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.1:
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x22, _stdout@GOTPAGE
Lloh3:
	ldr	x22, [x22, _stdout@GOTPAGEOFF]
Lloh4:
	adrp	x23, _stdin@GOTPAGE
Lloh5:
	ldr	x23, [x23, _stdin@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_pw_edit
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_verify
	cbnz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_free
	mov	x0, x21
	bl	_printf
	ldr	w0, [x22]
	bl	_fflush
	ldr	w0, [x23]
	add	x1, sp, #8
	bl	_fgetln
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x0]
	orr	w8, w8, #0x20
	cmp	w8, #110
	b.ne	LBB0_2
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_pw_dup
	b	LBB0_11
LBB0_9:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_10:
	mov	x0, #0
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"re-edit the password file? "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_stdin,4,2                      ; @stdin
l_.str.1:                               ; @.str.1
	.asciz	"fgetln()"

.subsections_via_symbols
