	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function firstpart
_firstpart:                             ## @firstpart
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_istest
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movslq	(%rbx), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movq	8(%rbx,%rdx), %rsi
	movq	_IJmp@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_4
	jmp	LBB0_5
LBB0_2:
	movq	8(%rbx), %rcx
	movq	_IChoice@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.3:
	movslq	(%rbx), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, %rdx
	shlq	$4, %rdx
	movq	8(%rbx,%rdx), %rsi
LBB0_4:
	movq	_ICommit@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_6
LBB0_5:
	addl	(%rbx,%rdx), %ecx
	cmpl	%r14d, %ecx
	je	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IJmp,8,3                       ## @IJmp
	.comm	_ICommit,8,3                    ## @ICommit
	.comm	_IChoice,8,3                    ## @IChoice
	.no_dead_strip	_firstpart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function firstpart
_firstpart:                             ; @firstpart
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_istest
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	sub	w8, w0, #1
	add	x9, x20, w8, sxtw #4
	ldr	x9, [x9, #8]
Lloh0:
	adrp	x10, _IJmp@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IJmp@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _ICommit@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ICommit@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.eq	LBB0_4
	b	LBB0_5
LBB0_2:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _IChoice@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IChoice@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w0, [x20]
	sub	w8, w0, #1
	add	x9, x20, w8, sxtw #4
	ldr	x9, [x9, #8]
Lloh9:
	adrp	x10, _ICommit@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ICommit@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
LBB0_4:
	sxtw	x8, w8
	lsl	x9, x8, #4
	ldr	w9, [x20, x9]
	add	w8, w9, w8
	cmp	w8, w19
	b.eq	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IJmp,8,3                       ; @IJmp
	.comm	_ICommit,8,3                    ; @ICommit
	.comm	_IChoice,8,3                    ; @IChoice
	.no_dead_strip	_firstpart
.subsections_via_symbols
