	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_tlv_attr_get_value       ## -- Begin function fm10k_tlv_attr_get_value
	.p2align	4, 0x90
_fm10k_tlv_attr_get_value:              ## @fm10k_tlv_attr_get_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movl	(%rdi), %eax
	movq	_FM10K_TLV_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	cmpl	%edx, %eax
	jne	LBB0_2
## %bb.4:
	xorl	%eax, %eax
	cmpl	$2, %edx
	je	LBB0_8
## %bb.5:
	cmpl	$8, %edx
	je	LBB0_9
## %bb.6:
	cmpl	$4, %edx
	jne	LBB0_8
## %bb.7:
	movl	4(%rdi), %ecx
	movl	%ecx, (%rsi)
	popq	%rbp
	retq
LBB0_2:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_8:
	movslq	4(%rdi), %rcx
	movq	%rcx, (%rsi)
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_ERR_PARAM,4,2            ## @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_LEN_SHIFT,4,2        ## @FM10K_TLV_LEN_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_tlv_attr_get_value       ; -- Begin function fm10k_tlv_attr_get_value
	.p2align	2
_fm10k_tlv_attr_get_value:              ; @fm10k_tlv_attr_get_value
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	cbz	x1, LBB0_7
; %bb.2:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FM10K_TLV_LEN_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FM10K_TLV_LEN_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	asr	w8, w8, w9
	cmp	w8, w2
	b.ne	LBB0_7
; %bb.3:
	cmp	w2, #2
	b.eq	LBB0_8
; %bb.4:
	cmp	w2, #8
	b.eq	LBB0_9
; %bb.5:
	cmp	w2, #4
	b.ne	LBB0_8
; %bb.6:
	ldr	w9, [x0, #4]
	str	w9, [x1]
	mov	w0, #0
	ret
LBB0_7:
Lloh3:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_8:
	ldrsw	x9, [x0, #4]
	str	x9, [x1]
LBB0_9:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_LEN_SHIFT,4,2        ; @FM10K_TLV_LEN_SHIFT
.subsections_via_symbols
