	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gvinum_setstate
_gvinum_setstate:                       ## @gvinum_setstate
	.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
	movl	%edi, %r13d
	movq	_optreset@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_optind@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r14
	movq	_GV_FLAG_F@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_getopt
	cmpl	$102, %eax
	jne	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	orl	(%r12), %ebx
	jmp	LBB0_1
LBB0_2:
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.3:
	movl	%ebx, -44(%rbp)
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	subl	%r12d, %r13d
	cmpl	$2, %r13d
	jne	LBB0_12
## %bb.4:
	movq	(%r15,%r12,8), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%r15,%r12,8), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%r15,%r12,8), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.13:
	movq	(%r15,%r12,8), %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
LBB0_7:
	xorl	%eax, %eax
	callq	_gctl_get_handle
	movq	%rax, %r14
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rcx
	movq	%rax, %rdi
	movl	$-1, %edx
	xorl	%eax, %eax
	callq	_gctl_ro_param
	leaq	L_.str.9(%rip), %rsi
	leaq	L_.str.10(%rip), %rcx
	movq	%r14, %rdi
	movl	$-1, %edx
	xorl	%eax, %eax
	callq	_gctl_ro_param
	movq	(%r15,%r12,8), %rcx
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	movl	$-1, %edx
	xorl	%eax, %eax
	callq	_gctl_ro_param
	movq	8(%r15,%r12,8), %rcx
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	movl	$-1, %edx
	xorl	%eax, %eax
	callq	_gctl_ro_param
	leaq	L_.str.13(%rip), %rsi
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_gctl_ro_param
	movq	%r14, %rdi
	callq	_gctl_issue
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.14(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_warnx
LBB0_9:
	movq	%r14, %rdi
	callq	_gctl_free
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_optreset,4,2                   ## @optreset
	.comm	_optind,4,2                     ## @optind
	.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"

L_.str.2:                               ## @.str.2
	.asciz	"usage: setstate [-f] <state> <obj>"

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

L_.str.4:                               ## @.str.4
	.asciz	"down"

L_.str.5:                               ## @.str.5
	.asciz	"stale"

L_.str.6:                               ## @.str.6
	.asciz	"invalid state '%s'"

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

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

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

L_.str.10:                              ## @.str.10
	.asciz	"setstate"

L_.str.11:                              ## @.str.11
	.asciz	"state"

L_.str.12:                              ## @.str.12
	.asciz	"object"

L_.str.13:                              ## @.str.13
	.asciz	"flags"

L_.str.14:                              ## @.str.14
	.asciz	"%s"

	.no_dead_strip	_gvinum_setstate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gvinum_setstate
_gvinum_setstate:                       ; @gvinum_setstate
	.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
	mov	w22, #0
Lloh0:
	adrp	x8, _optreset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _optreset@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	adrp	x23, _optind@GOTPAGE
Lloh3:
	ldr	x23, [x23, _optind@GOTPAGEOFF]
Lloh4:
	str	w9, [x8]
	str	w9, [x23]
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
Lloh7:
	adrp	x24, _GV_FLAG_F@GOTPAGE
Lloh8:
	ldr	x24, [x24, _GV_FLAG_F@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #102
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x24]
	orr	w22, w22, w8
	b	LBB0_1
LBB0_3:
	mov	x1, x0
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.4:
	str	w22, [sp, #12]
	ldrsw	x8, [x23]
	sub	w9, w20, w8
	cmp	w9, #2
	b.ne	LBB0_10
; %bb.5:
	add	x20, x19, x8, lsl #3
	ldr	x0, [x20]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.6:
	ldr	x0, [x20]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x0, [x20]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.8:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_warnx
	b	LBB0_14
LBB0_9:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	b	_warn
LBB0_10:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	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
	b	_warnx
LBB0_11:
	bl	_gctl_get_handle
	mov	x19, x0
Lloh21:
	adrp	x8, l_.str.8@PAGE
Lloh22:
	add	x8, x8, l_.str.8@PAGEOFF
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #-1
	bl	_gctl_ro_param
Lloh25:
	adrp	x8, l_.str.10@PAGE
Lloh26:
	add	x8, x8, l_.str.10@PAGEOFF
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.9@PAGE
Lloh28:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	bl	_gctl_ro_param
	ldr	x8, [x20]
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str.11@PAGE
Lloh30:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	bl	_gctl_ro_param
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.12@PAGE
Lloh32:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	w2, #-1
	bl	_gctl_ro_param
	add	x8, sp, #12
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.13@PAGE
Lloh34:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_gctl_ro_param
	mov	x0, x19
	bl	_gctl_issue
	cbz	x0, LBB0_13
; %bb.12:
	str	x0, [sp]
Lloh35:
	adrp	x0, l_.str.14@PAGE
Lloh36:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_warnx
LBB0_13:
	mov	x0, x19
	bl	_gctl_free
LBB0_14:
	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	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_optreset,4,2                   ; @optreset
	.comm	_optind,4,2                     ; @optind
	.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"

l_.str.2:                               ; @.str.2
	.asciz	"usage: setstate [-f] <state> <obj>"

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

l_.str.4:                               ; @.str.4
	.asciz	"down"

l_.str.5:                               ; @.str.5
	.asciz	"stale"

l_.str.6:                               ; @.str.6
	.asciz	"invalid state '%s'"

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

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

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

l_.str.10:                              ; @.str.10
	.asciz	"setstate"

l_.str.11:                              ; @.str.11
	.asciz	"state"

l_.str.12:                              ; @.str.12
	.asciz	"object"

l_.str.13:                              ; @.str.13
	.asciz	"flags"

l_.str.14:                              ; @.str.14
	.asciz	"%s"

	.no_dead_strip	_gvinum_setstate
.subsections_via_symbols
