	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proxy_tokenize_get
_proxy_tokenize_get:                    ## @proxy_tokenize_get
	.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
	movq	%rdi, %r14
	callq	_luaL_checkself
	movq	(%rax), %rbx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_luaL_checkinteger
	movl	%eax, %ecx
	movq	(%rbx), %rdx
	movq	_G_MAXINT@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rdx
	jg	LBB0_7
## %bb.1:
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.2:
	cmpl	%edx, %ecx
	jg	LBB0_7
## %bb.3:
	movq	8(%rbx), %rax
	decl	%ecx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_lua_newuserdata
	movq	%rbx, (%rax)
	movq	%r14, %rdi
	callq	_sql_tokenizer_lua_token_getmetatable
	movq	%r14, %rdi
	movl	$-2, %esi
	callq	_lua_setmetatable
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	callq	_lua_pushnil
LBB0_6:
	movl	$1, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_G_MAXINT,8,3                   ## @G_MAXINT
	.no_dead_strip	_proxy_tokenize_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proxy_tokenize_get
_proxy_tokenize_get:                    ; @proxy_tokenize_get
	.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
	bl	_luaL_checkself
	ldr	x20, [x0]
	mov	x0, x19
	mov	w1, #2
	bl	_luaL_checkinteger
	ldr	x9, [x20]
Lloh0:
	adrp	x10, _G_MAXINT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _G_MAXINT@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	mov	x8, x0
	mov	w0, #0
	subs	w10, w8, #1
	b.lt	LBB0_8
; %bb.3:
	cmp	w8, w9
	b.gt	LBB0_8
; %bb.4:
	ldr	x8, [x20, #8]
	ldr	x20, [x8, w10, uxtw #3]
	cbz	x20, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #8
	bl	_lua_newuserdata
	str	x20, [x0]
	mov	x0, x19
	bl	_sql_tokenizer_lua_token_getmetatable
	mov	x0, x19
	mov	w1, #-2
	bl	_lua_setmetatable
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_lua_pushnil
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_G_MAXINT,8,3                   ; @G_MAXINT
	.no_dead_strip	_proxy_tokenize_get
.subsections_via_symbols
