	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_tlv_attr_put_le_struct   ## -- Begin function fm10k_tlv_attr_put_le_struct
	.p2align	4, 0x90
_fm10k_tlv_attr_put_le_struct:          ## @fm10k_tlv_attr_put_le_struct
	.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
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movl	%ecx, %r12d
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.2:
	movl	%r12d, %eax
	andl	$3, %eax
	jne	LBB0_3
## %bb.4:
	movq	%rdx, %rbx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	callq	_FM10K_TLV_DWORD_LEN
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$4, %r12d
	jl	LBB0_7
## %bb.5:
	movl	%r12d, %r13d
	shrl	$2, %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %r15
	addq	$4, %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r14,4), %edi
	callq	_le32_to_cpu
	movl	%eax, (%r15,%r14,4)
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_6
LBB0_7:
	movq	_FM10K_TLV_LEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	%r12d, %ecx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rbx,%rdx,4)
	movq	_FM10K_TLV_HDR_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movb	(%rax), %cl
	shll	%cl, %edi
	addl	%r12d, %edi
	callq	_FM10K_TLV_LEN_ALIGN
	addl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_tlv_attr_put_le_struct   ; -- Begin function fm10k_tlv_attr_put_le_struct
	.p2align	2
_fm10k_tlv_attr_put_le_struct:          ; @fm10k_tlv_attr_put_le_struct
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x3
	cbz	w3, LBB0_7
; %bb.2:
	and	w8, w20, #0x3
	cbnz	w8, LBB0_7
; %bb.3:
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_FM10K_TLV_DWORD_LEN
	mov	x23, x0
	cmp	w20, #4
	b.lt	LBB0_6
; %bb.4:
	lsr	w24, w20, #2
	add	x8, x19, x23, lsl #2
	add	x25, x8, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22], #4
	bl	_le32_to_cpu
	str	w0, [x25], #4
	subs	x24, x24, #1
	b.ne	LBB0_5
LBB0_6:
Lloh0:
	adrp	x8, _FM10K_TLV_LEN_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_TLV_LEN_SHIFT@GOTPAGEOFF]
	ldr	w9, [x8]
	lsl	w9, w20, w9
	orr	w10, w9, w21
	str	w10, [x19, x23, lsl #2]
Lloh2:
	adrp	x10, _FM10K_TLV_HDR_LEN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _FM10K_TLV_HDR_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	ldr	w8, [x8]
	lsl	w8, w10, w8
	add	w0, w8, w9
	bl	_FM10K_TLV_LEN_ALIGN
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.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
.subsections_via_symbols
