	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_tilegx_spr_name            ## -- Begin function get_tilegx_spr_name
	.p2align	4, 0x90
_get_tilegx_spr_name:                   ## @get_tilegx_spr_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, -16(%rbp)
	movq	_tilegx_sprs@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_tilegx_num_sprs@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_tilegx_spr_compare@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-16(%rbp), %rdi
	movl	$16, %ecx
	callq	_bsearch
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%rax), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tilegx_sprs,8,3                ## @tilegx_sprs
	.comm	_tilegx_num_sprs,4,2            ## @tilegx_num_sprs
	.comm	_tilegx_spr_compare,4,2         ## @tilegx_spr_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_tilegx_spr_name            ; -- Begin function get_tilegx_spr_name
	.p2align	2
_get_tilegx_spr_name:                   ; @get_tilegx_spr_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	str	w0, [sp]
Lloh0:
	adrp	x8, _tilegx_sprs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tilegx_sprs@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
Lloh3:
	adrp	x8, _tilegx_num_sprs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tilegx_num_sprs@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _tilegx_spr_compare@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tilegx_spr_compare@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, sp
	mov	w3, #16
	bl	_bsearch
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x0, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tilegx_sprs,8,3                ; @tilegx_sprs
	.comm	_tilegx_num_sprs,4,2            ; @tilegx_num_sprs
	.comm	_tilegx_spr_compare,4,2         ; @tilegx_spr_compare
.subsections_via_symbols
