	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_state
_next_state:                            ## @next_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	___CALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_command_output@GOTPCREL(%rip), %r14
	movq	_subcommand_output@GOTPCREL(%rip), %rbx
	movq	4(%r14), %rax
	movq	%rax, 16(%rbx)
	movl	$0, (%rbx)
	movl	8(%rdi), %edi
	movq	%rbx, %rsi
	callq	_GENERATED_call
	movq	8(%rbx), %rax
	movq	_state@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	movl	$1, (%r14)
	jmp	LBB0_3
LBB0_4:
	movq	_state@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_INITIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_clear_stack                    ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___CALL,8,3                     ## @__CALL
	.comm	_command_output,12,2            ## @command_output
	.comm	_subcommand_output,24,3         ## @subcommand_output
	.comm	_state,8,3                      ## @state
	.comm	_INITIAL,8,3                    ## @INITIAL
	.no_dead_strip	_next_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_state
_next_state:                            ; @next_state
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, ___CALL@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___CALL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x20, _command_output@GOTPAGE
Lloh4:
	ldr	x20, [x20, _command_output@GOTPAGEOFF]
	ldur	d0, [x20, #4]
Lloh5:
	adrp	x19, _subcommand_output@GOTPAGE
Lloh6:
	ldr	x19, [x19, _subcommand_output@GOTPAGEOFF]
	str	d0, [x19, #16]
	str	wzr, [x19]
	ldr	w0, [x0, #8]
	mov	x1, x19
	bl	_GENERATED_call
	ldr	x8, [x19, #8]
Lloh7:
	adrp	x9, _state@GOTPAGE
Lloh8:
	ldr	x9, [x9, _state@GOTPAGEOFF]
Lloh9:
	str	x8, [x9]
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x9, _state@GOTPAGE
Lloh11:
	ldr	x9, [x9, _state@GOTPAGEOFF]
Lloh12:
	str	x8, [x9]
Lloh13:
	adrp	x9, _INITIAL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _INITIAL@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clear_stack
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	___CALL,8,3                     ; @__CALL
	.comm	_command_output,12,2            ; @command_output
	.comm	_subcommand_output,24,3         ; @subcommand_output
	.comm	_state,8,3                      ; @state
	.comm	_INITIAL,8,3                    ; @INITIAL
	.no_dead_strip	_next_state
.subsections_via_symbols
