	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_tlv_attr_put_mac_vlan    ## -- Begin function fm10k_tlv_attr_put_mac_vlan
	.p2align	4, 0x90
_fm10k_tlv_attr_put_mac_vlan:           ## @fm10k_tlv_attr_put_mac_vlan
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.3:
	movl	%ecx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FM10K_TLV_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rdi), %edi
	callq	_FM10K_TLV_DWORD_LEN
	movq	%rax, %r13
	orl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	movl	%r12d, (%rbx,%rax,4)
	movl	(%r15), %edi
	callq	_le32_to_cpu
	movl	%eax, 4(%rbx,%r13,4)
	movl	16(%r15), %edi
	callq	_le16_to_cpu
	shll	$16, %r14d
	orl	%eax, %r14d
	movl	%r14d, 8(%rbx,%r13,4)
	movq	_FM10K_TLV_HDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FM10K_TLV_LEN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edi
	addl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	callq	_FM10K_TLV_LEN_ALIGN
	addl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_FM10K_TLV_LEN_SHIFT,4,2        ## @FM10K_TLV_LEN_SHIFT
	.comm	_FM10K_ERR_PARAM,4,2            ## @FM10K_ERR_PARAM
	.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_mac_vlan    ; -- Begin function fm10k_tlv_attr_put_mac_vlan
	.p2align	2
_fm10k_tlv_attr_put_mac_vlan:           ; @fm10k_tlv_attr_put_mac_vlan
	.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_3
; %bb.1:
	mov	x21, x2
	cbz	x2, LBB0_3
; %bb.2:
	mov	x20, x3
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, _FM10K_TLV_LEN_SHIFT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _FM10K_TLV_LEN_SHIFT@GOTPAGEOFF]
	ldr	w9, [x23]
	lsl	w24, w8, w9
	ldr	w0, [x0]
	bl	_FM10K_TLV_DWORD_LEN
	add	x25, x19, x0, lsl #2
	orr	w8, w24, w22
	str	w8, [x25]
	ldr	w0, [x21]
	bl	_le32_to_cpu
	str	w0, [x25, #4]
	ldr	w0, [x21, #16]
	bl	_le16_to_cpu
	orr	w8, w0, w20, lsl #16
	str	w8, [x25, #8]
Lloh5:
	adrp	x8, _FM10K_TLV_HDR_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FM10K_TLV_HDR_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x23]
	lsl	w8, w8, w9
	add	w0, w8, w24
	bl	_FM10K_TLV_LEN_ALIGN
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_4:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_FM10K_TLV_LEN_SHIFT,4,2        ; @FM10K_TLV_LEN_SHIFT
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_TLV_HDR_LEN,4,2          ; @FM10K_TLV_HDR_LEN
.subsections_via_symbols
