	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tokname                        ## -- Begin function tokname
	.p2align	4, 0x90
_tokname:                               ## @tokname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %edx
	movq	_FIRSTTOKEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	jg	LBB0_2
## %bb.1:
	movq	_LASTTOKEN@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	jl	LBB0_2
## %bb.3:
	movq	_printname@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subl	%eax, %edx
	movslq	%edx, %rax
	movq	(%rcx,%rax,8), %rbx
	jmp	LBB0_4
LBB0_2:
	leaq	_tokname.buf(%rip), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tokname.buf,100,4 ## @tokname.buf
	.comm	_FIRSTTOKEN,4,2                 ## @FIRSTTOKEN
	.comm	_LASTTOKEN,4,2                  ## @LASTTOKEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"token %d"

	.comm	_printname,8,3                  ## @printname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tokname                        ; -- Begin function tokname
	.p2align	2
_tokname:                               ; @tokname
	.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	x2, x0
Lloh0:
	adrp	x8, _FIRSTTOKEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIRSTTOKEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LASTTOKEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LASTTOKEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w0, #8, le
	b.ge	LBB0_2
; %bb.1:
Lloh6:
	adrp	x19, _tokname.buf@PAGE
Lloh7:
	add	x19, x19, _tokname.buf@PAGEOFF
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x9, _printname@GOTPAGE
Lloh11:
	ldr	x9, [x9, _printname@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	sub	w8, w2, w8
	ldr	x19, [x9, w8, sxtw #3]
LBB0_3:
	mov	x0, x19
	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 AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tokname.buf,100,0 ; @tokname.buf
	.comm	_FIRSTTOKEN,4,2                 ; @FIRSTTOKEN
	.comm	_LASTTOKEN,4,2                  ; @LASTTOKEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"token %d"

	.comm	_printname,8,3                  ; @printname
.subsections_via_symbols
