	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doit                           ## -- Begin function doit
	.p2align	4, 0x90
_doit:                                  ## @doit
	.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	%rbx
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_Configindex@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jg	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_t_getprecount
	movq	%rax, %rdi
	movq	%rax, (%rbx)
LBB0_2:
	callq	_gettcid
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_printf
	leaq	L_.str.2(%rip), %rdx
	leaq	-160(%rbp), %rdi
	movl	$128, %esi
	callq	_t_getpass
	testq	%rax, %rax
	js	LBB0_16
## %bb.6:
	leaq	L_.str.3(%rip), %rdx
	leaq	-288(%rbp), %rdi
	movl	$128, %esi
	callq	_t_getpass
	testq	%rax, %rax
	js	LBB0_16
## %bb.7:
	leaq	-160(%rbp), %rdi
	leaq	-288(%rbp), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:
	leaq	-296(%rbp), %rdi
	leaq	-160(%rbp), %rbx
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_t_makepwent
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_memset
	leaq	-288(%rbp), %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_memset
	movq	_Passfile@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %rdi
	callq	_fclose
	jmp	LBB0_12
LBB0_10:
	movl	(%rbx), %edi
	movl	$256, %esi                      ## imm = 0x100
	callq	_creat
LBB0_12:
	movl	(%rbx), %edi
	leaq	-296(%rbp), %rsi
	callq	_t_changepw
	testq	%rax, %rax
	js	LBB0_13
## %bb.14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_17
## %bb.15:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	$1, %edi
	callq	_exit
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_4
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_4:
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_Configindex,8,3                ## @Configindex
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid configuration file entry.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Setting passphrase for %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Enter passphrase: "

L_.str.3:                               ## @.str.3
	.asciz	"Verify: "

L_.str.4:                               ## @.str.4
	.asciz	"mismatch\n"

	.comm	_Passfile,4,2                   ## @Passfile
L_.str.5:                               ## @.str.5
	.asciz	"r+"

L_.str.6:                               ## @.str.6
	.asciz	"Error changing passphrase\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doit                           ; -- Begin function doit
	.p2align	2
_doit:                                  ; @doit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x20, _Configindex@GOTPAGE
Lloh4:
	ldr	x20, [x20, _Configindex@GOTPAGEOFF]
	ldr	x0, [x20]
	cmp	x0, #0
	b.gt	LBB0_2
; %bb.1:
	bl	_t_getprecount
	str	x0, [x20]
LBB0_2:
	bl	_gettcid
	cbz	x0, LBB0_13
; %bb.3:
	mov	x20, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printf
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x0, sp, #136
	mov	w1, #128
	bl	_t_getpass
	tbnz	x0, #63, LBB0_12
; %bb.4:
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	w1, #128
	bl	_t_getpass
	tbnz	x0, #63, LBB0_12
; %bb.5:
	add	x0, sp, #136
	add	x1, sp, #8
	bl	_strcmp
	cbnz	x0, LBB0_14
; %bb.6:
	mov	x0, sp
	add	x2, sp, #136
	mov	x1, x19
	mov	x3, #0
	mov	x4, x20
	bl	_t_makepwent
	add	x0, sp, #136
	mov	w1, #0
	mov	w2, #128
	bl	_memset
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #128
	bl	_memset
Lloh11:
	adrp	x19, _Passfile@GOTPAGE
Lloh12:
	ldr	x19, [x19, _Passfile@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_8
; %bb.7:
	bl	_fclose
	b	LBB0_9
LBB0_8:
	ldr	w0, [x19]
	mov	w1, #256
	bl	_creat
LBB0_9:
	ldr	w0, [x19]
	mov	x1, sp
	bl	_t_changepw
	tbnz	x0, #63, LBB0_15
; %bb.10:
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.11:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_12:
	mov	w0, #1
	bl	_exit
LBB0_13:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_16
LBB0_14:
Lloh23:
	adrp	x8, _stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh28:
	adrp	x8, _stderr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x1, l_.str.6@PAGE
Lloh32:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_16:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_Configindex,8,3                ; @Configindex
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid configuration file entry.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Setting passphrase for %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Enter passphrase: "

l_.str.3:                               ; @.str.3
	.asciz	"Verify: "

l_.str.4:                               ; @.str.4
	.asciz	"mismatch\n"

	.comm	_Passfile,4,2                   ; @Passfile
l_.str.5:                               ; @.str.5
	.asciz	"r+"

l_.str.6:                               ; @.str.6
	.asciz	"Error changing passphrase\n"

.subsections_via_symbols
