	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gvinum_resetconfig
_gvinum_resetconfig:                    ## @gvinum_resetconfig
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	movq	_GV_FLAG_F@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$102, %eax
	jne	LBB0_2
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	orl	(%r13), %ebx
	jmp	LBB0_1
LBB0_2:
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.5:
	testl	%ebx, (%r13)
	je	LBB0_6
LBB0_11:
	xorl	%eax, %eax
	callq	_gctl_get_handle
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rsi
	leaq	L_.str.7(%rip), %rcx
	movq	%rax, %rdi
	movl	$-1, %edx
	callq	_gctl_ro_param
	leaq	L_.str.8(%rip), %rsi
	leaq	L_.str.9(%rip), %rcx
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_gctl_ro_param
	movq	%rbx, %rdi
	callq	_gctl_issue
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.10(%rip), %rdi
	movq	%rax, %rsi
	callq	_warnx
	movq	%rbx, %rdi
	callq	_gctl_free
	jmp	LBB0_15
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_18
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
LBB0_6:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_isatty
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	callq	_printf
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_fgets
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_str.12(%rip), %rdi
	jmp	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	callq	_gctl_free
	leaq	L_str(%rip), %rdi
LBB0_14:
	callq	_puts
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"f"

	.comm	_GV_FLAG_F,4,2                  ## @GV_FLAG_F
L_.str.1:                               ## @.str.1
	.asciz	"invalid flag: %c"

	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
L_.str.2:                               ## @.str.2
	.asciz	"Please enter this command from a tty device\n"

L_.str.3:                               ## @.str.3
	.asciz	" WARNING!  This command will completely wipe out your gvinum configuration.\n All data will be lost.  If you really want to do this, enter the text\n\n NO FUTURE\n Enter text -> "

	.comm	_stdin,4,2                      ## @stdin
L_.str.4:                               ## @.str.4
	.asciz	"NO FUTURE\n"

L_.str.6:                               ## @.str.6
	.asciz	"class"

L_.str.7:                               ## @.str.7
	.asciz	"VINUM"

L_.str.8:                               ## @.str.8
	.asciz	"verb"

L_.str.9:                               ## @.str.9
	.asciz	"resetconfig"

L_.str.10:                              ## @.str.10
	.asciz	"can't reset config: %s"

L_str:                                  ## @str
	.asciz	"gvinum configuration obliterated"

L_str.12:                               ## @str.12
	.asciz	"\n No change"

	.no_dead_strip	_gvinum_resetconfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gvinum_resetconfig
_gvinum_resetconfig:                    ; @gvinum_resetconfig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	w22, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
Lloh5:
	adrp	x23, _GV_FLAG_F@GOTPAGE
Lloh6:
	ldr	x23, [x23, _GV_FLAG_F@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #102
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x23]
	orr	w22, w8, w22
	b	LBB0_1
LBB0_3:
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x23]
	tst	w8, w22
	b.eq	LBB0_8
LBB0_5:
	bl	_gctl_get_handle
	mov	x19, x0
Lloh7:
	adrp	x1, l_.str.6@PAGE
Lloh8:
	add	x1, x1, l_.str.6@PAGEOFF
Lloh9:
	adrp	x3, l_.str.7@PAGE
Lloh10:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	w2, #-1
	bl	_gctl_ro_param
Lloh11:
	adrp	x1, l_.str.8@PAGE
Lloh12:
	add	x1, x1, l_.str.8@PAGEOFF
Lloh13:
	adrp	x3, l_.str.9@PAGE
Lloh14:
	add	x3, x3, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	bl	_gctl_ro_param
	mov	x0, x19
	bl	_gctl_issue
	cbz	x0, LBB0_11
; %bb.6:
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str.10@PAGE
Lloh16:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_warnx
	mov	x0, x19
	bl	_gctl_free
	b	LBB0_13
LBB0_7:
	str	x0, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	b	LBB0_13
LBB0_8:
Lloh19:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_isatty
	cbz	w0, LBB0_15
; %bb.9:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
Lloh24:
	adrp	x8, _stdin@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #32
	bl	_fgets
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #8
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.10:
Lloh29:
	adrp	x0, l_str.12@PAGE
Lloh30:
	add	x0, x0, l_str.12@PAGEOFF
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_gctl_free
Lloh31:
	adrp	x0, l_str@PAGE
Lloh32:
	add	x0, x0, l_str@PAGEOFF
LBB0_12:
	bl	_puts
LBB0_13:
	ldr	x8, [sp, #40]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	ldr	x8, [sp, #40]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
Lloh39:
	adrp	x0, l_.str.2@PAGE
Lloh40:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_warn
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"f"

	.comm	_GV_FLAG_F,4,2                  ; @GV_FLAG_F
l_.str.1:                               ; @.str.1
	.asciz	"invalid flag: %c"

	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
l_.str.2:                               ; @.str.2
	.asciz	"Please enter this command from a tty device\n"

l_.str.3:                               ; @.str.3
	.asciz	" WARNING!  This command will completely wipe out your gvinum configuration.\n All data will be lost.  If you really want to do this, enter the text\n\n NO FUTURE\n Enter text -> "

	.comm	_stdin,4,2                      ; @stdin
l_.str.4:                               ; @.str.4
	.asciz	"NO FUTURE\n"

l_.str.6:                               ; @.str.6
	.asciz	"class"

l_.str.7:                               ; @.str.7
	.asciz	"VINUM"

l_.str.8:                               ; @.str.8
	.asciz	"verb"

l_.str.9:                               ; @.str.9
	.asciz	"resetconfig"

l_.str.10:                              ; @.str.10
	.asciz	"can't reset config: %s"

l_str:                                  ; @str
	.asciz	"gvinum configuration obliterated"

l_str.12:                               ; @str.12
	.asciz	"\n No change"

	.no_dead_strip	_gvinum_resetconfig
.subsections_via_symbols
