	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	___CALL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_2
## %bb.1:
	movq	_command_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_subcommand_output@GOTPCREL(%rip), %rbx
	movl	%eax, 8(%rbx)
	movl	8(%rdi), %edi
	movq	%rbx, %rsi
	callq	_GENERATED_call
	movq	(%rbx), %rbx
	xorl	%eax, %eax
	callq	_clear_stack
LBB0_2:
	movq	_state@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_INITIAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_clear_stack
LBB0_4:
	movq	_statelist_idx@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movl	%ecx, %edx
	movq	_statelist@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	testq	%rcx, %rcx
	jle	LBB0_9
## %bb.5:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rsi,%rdi,8)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdi
	cmpq	%rdi, %rdx
	jne	LBB0_6
LBB0_9:
	incl	%edx
	movl	%edx, (%rax)
	movq	%rbx, (%rsi,%rcx,8)
	jmp	LBB0_10
LBB0_7:
	incl	%edi
	movl	%edi, (%rax)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___CALL,8,3                     ## @__CALL
	.comm	_command_output,4,2             ## @command_output
	.comm	_subcommand_output,16,3         ## @subcommand_output
	.comm	_state,8,3                      ## @state
	.comm	_INITIAL,8,3                    ## @INITIAL
	.comm	_statelist_idx,4,2              ## @statelist_idx
	.comm	_statelist,8,3                  ## @statelist
	.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	x19, [x0]
Lloh0:
	adrp	x8, ___CALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___CALL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x19, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _command_output@GOTPAGE
Lloh4:
	ldr	x8, [x8, _command_output@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x19, _subcommand_output@GOTPAGE
Lloh7:
	ldr	x19, [x19, _subcommand_output@GOTPAGEOFF]
	str	w8, [x19, #8]
	ldr	w0, [x0, #8]
	mov	x1, x19
	bl	_GENERATED_call
	ldr	x19, [x19]
	bl	_clear_stack
LBB0_2:
Lloh8:
	adrp	x8, _state@GOTPAGE
Lloh9:
	ldr	x8, [x8, _state@GOTPAGEOFF]
Lloh10:
	str	x19, [x8]
Lloh11:
	adrp	x8, _INITIAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _INITIAL@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x19, x8
	b.ne	LBB0_4
; %bb.3:
	bl	_clear_stack
LBB0_4:
Lloh14:
	adrp	x8, _statelist_idx@GOTPAGE
Lloh15:
	ldr	x8, [x8, _statelist_idx@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh16:
	adrp	x10, _statelist@GOTPAGE
Lloh17:
	ldr	x10, [x10, _statelist@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x11, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x11, lsl #3]
	cmp	x12, x19
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x11, x11, #1
	cmp	x9, x11
	b.ne	LBB0_6
LBB0_8:
	sxtw	x11, w9
	add	w9, w9, #1
	str	w9, [x8]
	str	x19, [x10, x11, lsl #3]
	b	LBB0_10
LBB0_9:
	add	w9, w11, #1
	str	w9, [x8]
LBB0_10:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	___CALL,8,3                     ; @__CALL
	.comm	_command_output,4,2             ; @command_output
	.comm	_subcommand_output,16,3         ; @subcommand_output
	.comm	_state,8,3                      ; @state
	.comm	_INITIAL,8,3                    ; @INITIAL
	.comm	_statelist_idx,4,2              ; @statelist_idx
	.comm	_statelist,8,3                  ; @statelist
	.no_dead_strip	_next_state
.subsections_via_symbols
