	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aux_upvalue
_aux_upvalue:                           ## @aux_upvalue
	.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
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_ttisfunction
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	movl	%ebx, %edi
	callq	_clvalue
	cmpq	$0, 32(%rax)
	je	LBB0_6
## %bb.2:
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.3:
	cmpl	%r15d, 16(%rax)
	jl	LBB0_11
## %bb.10:
	decl	%r15d
	shlq	$2, %r15
	addq	24(%rax), %r15
	movq	%r15, (%r14)
	leaq	L_.str(%rip), %rax
	jmp	LBB0_12
LBB0_6:
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.7:
	movq	8(%rax), %rcx
	cmpl	%r15d, (%rcx)
	jge	LBB0_13
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	(%rax), %rax
	decl	%r15d
	movq	(%rax,%r15,8), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	8(%rcx), %rax
	movl	(%rax,%r15,4), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_getstr                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_aux_upvalue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aux_upvalue
_aux_upvalue:                           ; @aux_upvalue
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_ttisfunction
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x21
	bl	_clvalue
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_5
; %bb.2:
	subs	w8, w20, #1
	b.lt	LBB0_7
; %bb.3:
	ldr	w9, [x0, #16]
	cmp	w9, w20
	b.lt	LBB0_7
; %bb.4:
	ldr	x9, [x0, #24]
	add	x8, x9, w8, uxtw #2
	str	x8, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_5:
	subs	w8, w20, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	x9, [x0, #8]
	ldr	w10, [x9]
	cmp	w10, w20
	b.ge	LBB0_9
LBB0_7:
	mov	x0, #0
LBB0_8:
	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
LBB0_9:
	ldr	x10, [x0]
	ldr	x10, [x10, w8, uxtw #3]
	ldr	x10, [x10]
	str	x10, [x19]
	ldr	x9, [x9, #8]
	ldr	w0, [x9, w8, uxtw #2]
	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
	b	_getstr
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_aux_upvalue
.subsections_via_symbols
