	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_tlv_attr_validate
_fm10k_tlv_attr_validate:               ## @fm10k_tlv_attr_validate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_FM10K_TLV_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %r8d
	sarl	%cl, %r8d
	movq	_FM10K_TLV_FLAGS_MSG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_FM10K_TLV_FLAGS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	testl	%eax, %edx
	je	LBB0_1
LBB0_17:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_FM10K_TLV_ID_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rcx
	addq	$12, %rsi
	cmpl	%eax, (%rcx)
	jl	LBB0_2
## %bb.3:
	jne	LBB0_8
## %bb.4:
	movl	-8(%rsi), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_17
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	xorl	%eax, %eax
	cmpl	-4(%rsi), %r8d
	jne	LBB0_17
	jmp	LBB0_7
LBB0_8:
	movq	_FM10K_NOT_IMPLEMENTED@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_10:
	testl	%r8d, %r8d
	je	LBB0_17
## %bb.11:
	leal	-1(%r8), %eax
	leal	2(%r8), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movl	%ecx, %eax
	sarl	$2, %eax
	cltq
	movl	4(%rdi,%rax,4), %eax
	andl	$-4, %ecx
	negl	%ecx
	addl	%r8d, %ecx
	decl	%ecx
	shll	$3, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	testb	%al, %al
	jne	LBB0_17
## %bb.12:
	xorl	%eax, %eax
	cmpl	-4(%rsi), %r8d
	jle	LBB0_7
	jmp	LBB0_17
LBB0_13:
	andl	$3, %r8d
	je	LBB0_15
LBB0_14:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_15:
	movl	%r8d, %eax
	popq	%rbp
	retq
LBB0_16:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %r8d
	jne	LBB0_17
LBB0_7:
	popq	%rbp
	retq
LBB0_18:
	testb	$3, %r8b
	jne	LBB0_17
	jmp	LBB0_6
LBB0_20:
	testl	%r8d, %r8d
	jne	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_FM10K_TLV_ID_MASK,4,2          ## @FM10K_TLV_ID_MASK
	.comm	_FM10K_TLV_LEN_SHIFT,4,2        ## @FM10K_TLV_LEN_SHIFT
	.comm	_FM10K_TLV_FLAGS_MSG,4,2        ## @FM10K_TLV_FLAGS_MSG
	.comm	_FM10K_TLV_FLAGS_SHIFT,4,2      ## @FM10K_TLV_FLAGS_SHIFT
	.comm	_FM10K_ERR_PARAM,4,2            ## @FM10K_ERR_PARAM
	.comm	_FM10K_NOT_IMPLEMENTED,4,2      ## @FM10K_NOT_IMPLEMENTED
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_fm10k_tlv_attr_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_tlv_attr_validate
_fm10k_tlv_attr_validate:               ; @fm10k_tlv_attr_validate
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FM10K_TLV_FLAGS_MSG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FM10K_TLV_FLAGS_MSG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _FM10K_TLV_FLAGS_SHIFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FM10K_TLV_FLAGS_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
Lloh6:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh9:
	adrp	x9, _FM10K_TLV_ID_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FM10K_TLV_ID_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w10, w9, w8
Lloh12:
	adrp	x9, _FM10K_TLV_LEN_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FM10K_TLV_LEN_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	asr	w8, w8, w9
	sub	x9, x1, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, #4]
	add	x9, x9, #12
	cmp	w11, w10
	b.lt	LBB0_3
; %bb.4:
	b.ne	LBB0_10
; %bb.5:
	ldur	w10, [x9, #-4]
	sub	w10, w10, #128
	cmp	w10, #6
	b.hi	LBB0_1
; %bb.6:
Lloh15:
	adrp	x11, lJTI0_0@PAGE
Lloh16:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_7
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_7:
	cbz	w8, LBB0_1
; %bb.8:
	add	x10, x0, #4
	sub	w11, w8, #1
	add	w12, w11, #3
	cmp	w11, #0
	csel	w12, w12, w11, lt
	asr	w13, w12, #2
	ldr	w10, [x10, w13, sxtw #2]
	and	w12, w12, #0x1ffffffc
	sub	w11, w11, w12
	lsl	w11, w11, #3
	lsr	w10, w10, w11
	tst	w10, #0xff
	b.ne	LBB0_1
; %bb.9:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _FM10K_ERR_PARAM@GOTPAGE
Lloh18:
	ldr	x10, [x10, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	cmp	w8, w9
	csel	w0, w10, wzr, gt
	ret
LBB0_10:
Lloh20:
	adrp	x8, _FM10K_NOT_IMPLEMENTED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FM10K_NOT_IMPLEMENTED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ret
LBB0_11:
Lloh23:
	adrp	x9, _FM10K_ERR_PARAM@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w8, #0x3
	csel	w0, wzr, w9, eq
	ret
LBB0_12:
Lloh26:
	adrp	x9, _ETH_ALEN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ETH_ALEN@GOTPAGEOFF]
LBB0_13:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _FM10K_ERR_PARAM@GOTPAGE
Lloh29:
	ldr	x10, [x10, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	cmp	w8, w9
	csel	w0, wzr, w10, eq
	ret
LBB0_14:
	tst	w8, #0x3
	b.ne	LBB0_1
; %bb.15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_1
; %bb.16:
	mov	w0, #0
	ret
LBB0_17:
Lloh31:
	adrp	x9, _FM10K_ERR_PARAM@GOTPAGE
Lloh32:
	ldr	x9, [x9, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, wzr, w9, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
                                        ; -- End function
	.comm	_FM10K_TLV_ID_MASK,4,2          ; @FM10K_TLV_ID_MASK
	.comm	_FM10K_TLV_LEN_SHIFT,4,2        ; @FM10K_TLV_LEN_SHIFT
	.comm	_FM10K_TLV_FLAGS_MSG,4,2        ; @FM10K_TLV_FLAGS_MSG
	.comm	_FM10K_TLV_FLAGS_SHIFT,4,2      ; @FM10K_TLV_FLAGS_SHIFT
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_NOT_IMPLEMENTED,4,2      ; @FM10K_NOT_IMPLEMENTED
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_fm10k_tlv_attr_validate
.subsections_via_symbols
