	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alpine_serdes_resource_get     ## -- Begin function alpine_serdes_resource_get
	.p2align	4, 0x90
_alpine_serdes_resource_get:            ## @alpine_serdes_resource_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SERDES_NUM_GROUPS@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jbe	LBB0_4
## %bb.1:
	movq	_serdes_base@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_serdes_grp_offset@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rcx,%rdi,8), %rax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERDES_NUM_GROUPS,8,3          ## @SERDES_NUM_GROUPS
	.comm	_serdes_base,8,3                ## @serdes_base
	.comm	_serdes_grp_offset,8,3          ## @serdes_grp_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alpine_serdes_resource_get     ; -- Begin function alpine_serdes_resource_get
	.p2align	2
_alpine_serdes_resource_get:            ; @alpine_serdes_resource_get
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SERDES_NUM_GROUPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SERDES_NUM_GROUPS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ls	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _serdes_base@GOTPAGE
Lloh4:
	ldr	x8, [x8, _serdes_base@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _serdes_grp_offset@GOTPAGE
Lloh7:
	ldr	x9, [x9, _serdes_grp_offset@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x9, [x9, x0, lsl #3]
	add	x0, x9, x8
	ret
LBB0_3:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SERDES_NUM_GROUPS,8,3          ; @SERDES_NUM_GROUPS
	.comm	_serdes_base,8,3                ; @serdes_base
	.comm	_serdes_grp_offset,8,3          ; @serdes_grp_offset
.subsections_via_symbols
