	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_goto
_map_goto:                              ## @map_goto
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_goto_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%esi, %rcx
	movl	(%rax,%rcx,4), %r15d
	movl	4(%rax,%rcx,4), %ebx
	xorl	%edi, %edi
	cmpl	%ebx, %r15d
	setle	%dil
	callq	_assert
	leal	(%rbx,%r15), %eax
	sarl	%eax
	movq	_from_state@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	decl	%eax
	movl	%eax, %ebx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	cmpl	%ebx, %r15d
	setle	%dil
	callq	_assert
	leal	(%rbx,%r15), %eax
	sarl	%eax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	movslq	%eax, %rdx
	movl	(%rcx,%rdx,4), %ecx
	cmpl	%r14d, %ecx
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r14d, %ecx
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%eax
	movl	%eax, %r15d
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_goto_map,8,3                   ## @goto_map
	.comm	_from_state,8,3                 ## @from_state
	.no_dead_strip	_map_goto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_goto
_map_goto:                              ; @map_goto
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _goto_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _goto_map@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w1, sxtw #2
	ldp	w20, w21, [x8]
	cmp	w20, w21
	cset	w0, le
	bl	_assert
	add	w8, w21, w20
	asr	w0, w8, #1
Lloh3:
	adrp	x22, _from_state@GOTPAGE
Lloh4:
	ldr	x22, [x22, _from_state@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w8, [x8, w0, sxtw #2]
	cmp	w8, w19
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w9, w0, #1
	cmp	w8, w19
	csel	w21, w21, w9, lt
	csinc	w20, w20, w0, ge
	cmp	w20, w21
	cset	w0, le
	bl	_assert
	add	w8, w21, w20
	asr	w0, w8, #1
	b	LBB0_1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_goto_map,8,3                   ; @goto_map
	.comm	_from_state,8,3                 ; @from_state
	.no_dead_strip	_map_goto
.subsections_via_symbols
