	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function List_At
_List_At:                               ## @List_At
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %eax
	movq	%rdi, %r14
	movl	(%rdi), %ecx
	movl	%esi, %r15d
	sarl	$31, %r15d
	andl	%ecx, %r15d
	leal	(%r15,%rax), %ebx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	cmpl	%edx, %ebx
	jle	LBB0_1
## %bb.3:
	notl	%ebx
	movl	4(%r14), %esi
	addl	%ecx, %ebx
	je	LBB0_6
## %bb.4:
	addl	%eax, %r15d
	subl	%ecx, %r15d
	incl	%r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_List_Prev
	movl	(%rax), %esi
	incl	%r15d
	jne	LBB0_5
	jmp	LBB0_6
LBB0_1:
	movl	8(%r14), %esi
	testl	%ebx, %ebx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_List_Next
	movl	(%rax), %esi
	decl	%ebx
	jne	LBB0_2
LBB0_6:
	movl	%esi, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IndexOutOfBoundsError,4,2      ## @IndexOutOfBoundsError
	.comm	_Int,4,2                        ## @Int
	.no_dead_strip	_List_At
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function List_At
_List_At:                               ; @List_At
	.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, x0
	ldr	w9, [x0]
	and	w10, w9, w1, asr #31
	add	w20, w10, w1
	cmp	w9, #0
	cinc	w11, w9, lt
	cmp	w20, w11, asr #1
	b.le	LBB0_4
; %bb.1:
	mov	x8, x1
	mvn	w11, w20
	ldr	w1, [x19, #4]
	cmn	w9, w11
	b.eq	LBB0_6
; %bb.2:
	add	w8, w10, w8
	sub	w8, w8, w9
	add	w20, w8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_List_Prev
	ldr	w1, [x0]
	adds	w20, w20, #1
	b.lo	LBB0_3
	b	LBB0_6
LBB0_4:
	ldr	w1, [x19, #8]
	cbz	w20, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_List_Next
	ldr	w1, [x0]
	subs	w20, w20, #1
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_IndexOutOfBoundsError,4,2      ; @IndexOutOfBoundsError
	.comm	_Int,4,2                        ; @Int
	.no_dead_strip	_List_At
.subsections_via_symbols
