	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_tlv_attr_parse
_fm10k_tlv_attr_parse:                  ## @fm10k_tlv_attr_parse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.2:
	movq	%rdi, %rbx
	movq	_FM10K_TLV_RESULTS_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	leaq	(,%r12,8), %rsi
	movq	%r15, %rdi
	callq	___bzero
LBB0_4:
	movq	(%rbx), %r13
	movq	_FM10K_TLV_LEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %r13
	testq	%r13, %r13
	je	LBB0_14
## %bb.5:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_15
## %bb.6:
	movq	_FM10K_TLV_ID_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	andq	8(%rbx), %r14
	cmpq	%r12, %r14
	jae	LBB0_13
## %bb.7:
	addq	$8, %rbx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_fm10k_tlv_attr_validate
	movq	_FM10K_NOT_IMPLEMENTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	testq	%rax, %rax
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, (%r15,%r14,8)
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rdi
	callq	_FM10K_TLV_DWORD_LEN
	leaq	(%r12,%rax,4), %r12
	movq	(%rbx), %rdi
	callq	_FM10K_TLV_DWORD_LEN
	cmpq	%r13, %r12
	jae	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_FM10K_TLV_ID_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	andq	(%rbx,%rax,8), %r14
	leaq	(%rbx,%rax,8), %rbx
	movq	_FM10K_TLV_RESULTS_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jb	LBB0_8
LBB0_13:
	movq	_FM10K_NOT_IMPLEMENTED@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_15:
	movq	%rbx, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_16:
	je	LBB0_14
LBB0_17:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
LBB0_18:
	movq	(%rax), %rax
	jmp	LBB0_19
LBB0_14:
	xorl	%eax, %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_ERR_PARAM,8,3            ## @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_RESULTS_MAX,8,3      ## @FM10K_TLV_RESULTS_MAX
	.comm	_FM10K_TLV_LEN_SHIFT,8,3        ## @FM10K_TLV_LEN_SHIFT
	.comm	_FM10K_TLV_ID_MASK,8,3          ## @FM10K_TLV_ID_MASK
	.comm	_FM10K_NOT_IMPLEMENTED,8,3      ## @FM10K_NOT_IMPLEMENTED
	.no_dead_strip	_fm10k_tlv_attr_parse
.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_parse
_fm10k_tlv_attr_parse:                  ; @fm10k_tlv_attr_parse
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_14
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_14
; %bb.2:
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x22, _FM10K_TLV_RESULTS_MAX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FM10K_TLV_RESULTS_MAX@GOTPAGEOFF]
	ldr	x26, [x22]
	cbz	x26, LBB0_4
; %bb.3:
	lsl	x1, x26, #3
	mov	x0, x19
	bl	_bzero
LBB0_4:
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _FM10K_TLV_LEN_SHIFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FM10K_TLV_LEN_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	lsr	x23, x8, x9
	cbz	x23, LBB0_15
; %bb.5:
	cbz	x20, LBB0_16
; %bb.6:
	ldr	x8, [x21, #8]!
Lloh5:
	adrp	x24, _FM10K_TLV_ID_MASK@GOTPAGE
Lloh6:
	ldr	x24, [x24, _FM10K_TLV_ID_MASK@GOTPAGEOFF]
	ldr	x9, [x24]
	and	x27, x9, x8
Lloh7:
	adrp	x25, _FM10K_NOT_IMPLEMENTED@GOTPAGE
Lloh8:
	ldr	x25, [x25, _FM10K_NOT_IMPLEMENTED@GOTPAGEOFF]
	cmp	x27, x26
	b.hs	LBB0_13
; %bb.7:
	mov	x26, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_fm10k_tlv_attr_validate
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cbnz	x0, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	str	x21, [x19, x27, lsl #3]
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	bl	_FM10K_TLV_DWORD_LEN
	add	x26, x26, x0, lsl #2
	ldr	x0, [x21]
	bl	_FM10K_TLV_DWORD_LEN
	cmp	x26, x23
	b.hs	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, x0, lsl #3
	ldr	x8, [x22]
	ldr	x9, [x21]
	ldr	x10, [x24]
	and	x27, x10, x9
	cmp	x27, x8
	b.lo	LBB0_8
LBB0_13:
	ldr	x0, [x25]
	b	LBB0_18
LBB0_14:
Lloh9:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	b	LBB0_18
LBB0_15:
	mov	x0, #0
	b	LBB0_18
LBB0_16:
	mov	x0, #0
	str	x21, [x19]
	b	LBB0_18
LBB0_17:
Lloh12:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	csel	x0, xzr, x8, eq
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_ERR_PARAM,8,3            ; @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_RESULTS_MAX,8,3      ; @FM10K_TLV_RESULTS_MAX
	.comm	_FM10K_TLV_LEN_SHIFT,8,3        ; @FM10K_TLV_LEN_SHIFT
	.comm	_FM10K_TLV_ID_MASK,8,3          ; @FM10K_TLV_ID_MASK
	.comm	_FM10K_NOT_IMPLEMENTED,8,3      ; @FM10K_NOT_IMPLEMENTED
	.no_dead_strip	_fm10k_tlv_attr_parse
.subsections_via_symbols
