	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gnss_type_name
_gnss_type_name:                        ## @gnss_type_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_GNSS_TYPE_COUNT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_2
## %bb.1:
	movq	_gnss_type_names@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	addq	$8, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_WARN
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GNSS_TYPE_COUNT,8,3            ## @GNSS_TYPE_COUNT
	.comm	_gnss_type_names,8,3            ## @gnss_type_names
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type name not defined\n"

	.no_dead_strip	_gnss_type_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gnss_type_name
_gnss_type_name:                        ; @gnss_type_name
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _GNSS_TYPE_COUNT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GNSS_TYPE_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _gnss_type_names@GOTPAGE
Lloh4:
	ldr	x9, [x9, _gnss_type_names@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x9, x8, lsl #3]
	cbnz	x8, LBB0_3
LBB0_2:
	add	x0, x0, #8
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_WARN
	mov	x8, #0
LBB0_3:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GNSS_TYPE_COUNT,8,3            ; @GNSS_TYPE_COUNT
	.comm	_gnss_type_names,8,3            ; @gnss_type_names
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type name not defined\n"

	.no_dead_strip	_gnss_type_name
.subsections_via_symbols
