	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_tlv_msg_parse            ## -- Begin function fm10k_tlv_msg_parse
	.p2align	4, 0x90
_fm10k_tlv_msg_parse:                   ## @fm10k_tlv_msg_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FM10K_TLV_RESULTS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	testq	%r13, %r13
	je	LBB0_7
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.2:
	movl	(%r13), %eax
	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_7
## %bb.3:
	movq	_FM10K_TLV_ID_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addq	$-24, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%rbx), %ecx
	addq	$24, %rbx
	cmpl	%eax, %ecx
	jl	LBB0_4
## %bb.5:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.8:
	movq	_FM10K_TLV_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jne	LBB0_10
LBB0_6:
	movq	%rbx, %r14
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	24(%rbx), %r14
	cmpl	%eax, 24(%rbx)
	movq	%r14, %rbx
	jne	LBB0_10
LBB0_11:
	movl	16(%r14), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_fm10k_tlv_attr_parse
	testq	%rax, %rax
	js	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*8(%r14)
	jmp	LBB0_13
LBB0_7:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_TLV_RESULTS_MAX,4,2      ## @FM10K_TLV_RESULTS_MAX
	.comm	_FM10K_ERR_PARAM,8,3            ## @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_FLAGS_MSG,4,2        ## @FM10K_TLV_FLAGS_MSG
	.comm	_FM10K_TLV_FLAGS_SHIFT,4,2      ## @FM10K_TLV_FLAGS_SHIFT
	.comm	_FM10K_TLV_ID_MASK,4,2          ## @FM10K_TLV_ID_MASK
	.comm	_FM10K_TLV_ERROR,4,2            ## @FM10K_TLV_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_tlv_msg_parse            ; -- Begin function fm10k_tlv_msg_parse
	.p2align	2
_fm10k_tlv_msg_parse:                   ; @fm10k_tlv_msg_parse
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _FM10K_TLV_RESULTS_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_TLV_RESULTS_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	cbz	x1, LBB0_8
; %bb.1:
	cbz	x3, LBB0_8
; %bb.2:
	ldr	w8, [x1]
Lloh8:
	adrp	x9, _FM10K_TLV_FLAGS_MSG@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FM10K_TLV_FLAGS_MSG@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _FM10K_TLV_FLAGS_SHIFT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _FM10K_TLV_FLAGS_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_8
; %bb.3:
Lloh14:
	adrp	x9, _FM10K_TLV_ID_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FM10K_TLV_ID_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	x22, x3, #24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22, #24]!
	cmp	w9, w8
	b.lt	LBB0_4
; %bb.5:
	b.ne	LBB0_11
LBB0_6:
	ldr	w2, [x22, #16]
	mov	x0, x1
	mov	x1, x21
	bl	_fm10k_tlv_attr_parse
	tbnz	x0, #63, LBB0_9
; %bb.7:
	ldr	x8, [x22, #8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	blr	x8
	b	LBB0_9
LBB0_8:
Lloh17:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.10:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh23:
	adrp	x8, _FM10K_TLV_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FM10K_TLV_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w9, w8
	b.eq	LBB0_6
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22, #24]!
	cmp	w9, w8
	b.ne	LBB0_12
	b	LBB0_6
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_TLV_RESULTS_MAX,4,2      ; @FM10K_TLV_RESULTS_MAX
	.comm	_FM10K_ERR_PARAM,8,3            ; @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_FLAGS_MSG,4,2        ; @FM10K_TLV_FLAGS_MSG
	.comm	_FM10K_TLV_FLAGS_SHIFT,4,2      ; @FM10K_TLV_FLAGS_SHIFT
	.comm	_FM10K_TLV_ID_MASK,4,2          ; @FM10K_TLV_ID_MASK
	.comm	_FM10K_TLV_ERROR,4,2            ; @FM10K_TLV_ERROR
.subsections_via_symbols
