	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_tlv_attr_nest_stop
_fm10k_tlv_attr_nest_stop:              ## @fm10k_tlv_attr_nest_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_FM10K_TLV_DWORD_LEN
	movl	(%rbx,%rax,4), %edx
	movq	_FM10K_TLV_LEN_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	shrl	%cl, %edx
	shll	%cl, %edx
	xorl	%eax, %eax
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:
	movq	_FM10K_TLV_HDR_LEN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	addl	%edx, %esi
	addl	%esi, (%rbx)
	jmp	LBB0_4
LBB0_1:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	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
	.comm	_FM10K_TLV_HDR_LEN,4,2          ## @FM10K_TLV_HDR_LEN
	.no_dead_strip	_fm10k_tlv_attr_nest_stop
.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_nest_stop
_fm10k_tlv_attr_nest_stop:              ; @fm10k_tlv_attr_nest_stop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0]
	bl	_FM10K_TLV_DWORD_LEN
	ldr	w9, [x19, x0, lsl #2]
Lloh0:
	adrp	x8, _FM10K_TLV_LEN_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_TLV_LEN_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w10, #-1
	lsl	w10, w10, w8
	mov	w0, #0
	ands	w9, w10, w9
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x10, _FM10K_TLV_HDR_LEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FM10K_TLV_HDR_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w8, w10, w8
	ldr	w10, [x19]
	add	w8, w8, w9
	add	w8, w8, w10
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_LEN_SHIFT,4,2        ; @FM10K_TLV_LEN_SHIFT
	.comm	_FM10K_TLV_HDR_LEN,4,2          ; @FM10K_TLV_HDR_LEN
	.no_dead_strip	_fm10k_tlv_attr_nest_stop
.subsections_via_symbols
