	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_vlan_mac_set_cmd_hdr_e2
_bnx2x_vlan_mac_set_cmd_hdr_e2:         ## @bnx2x_vlan_mac_set_cmd_hdr_e2
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %rdi
	movl	4(%rsi), %eax
	movl	%eax, 8(%r8)
	movl	(%rsi), %eax
	movl	%eax, 4(%r8)
	callq	_bnx2x_vlan_mac_get_rx_tx_flag
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	_ETH_CLASSIFY_CMD_HEADER_IS_ADD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_2:
	movq	_ETH_CLASSIFY_CMD_HEADER_OPCODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r14d
	orl	%eax, %r14d
	movl	%r14d, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_CLASSIFY_CMD_HEADER_IS_ADD,4,2 ## @ETH_CLASSIFY_CMD_HEADER_IS_ADD
	.comm	_ETH_CLASSIFY_CMD_HEADER_OPCODE_SHIFT,4,2 ## @ETH_CLASSIFY_CMD_HEADER_OPCODE_SHIFT
	.no_dead_strip	_bnx2x_vlan_mac_set_cmd_hdr_e2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_vlan_mac_set_cmd_hdr_e2
_bnx2x_vlan_mac_set_cmd_hdr_e2:         ; @bnx2x_vlan_mac_set_cmd_hdr_e2
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x0, x1
	ldr	d0, [x1]
	stur	d0, [x4, #4]
	bl	_bnx2x_vlan_mac_get_rx_tx_flag
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	cbz	w21, LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _ETH_CLASSIFY_CMD_HEADER_IS_ADD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_CLASSIFY_CMD_HEADER_IS_ADD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
Lloh3:
	adrp	x9, _ETH_CLASSIFY_CMD_HEADER_OPCODE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_CLASSIFY_CMD_HEADER_OPCODE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w20, w9
	orr	w8, w8, w9
	str	w8, [x19]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_CLASSIFY_CMD_HEADER_IS_ADD,4,2 ; @ETH_CLASSIFY_CMD_HEADER_IS_ADD
	.comm	_ETH_CLASSIFY_CMD_HEADER_OPCODE_SHIFT,4,2 ; @ETH_CLASSIFY_CMD_HEADER_OPCODE_SHIFT
	.no_dead_strip	_bnx2x_vlan_mac_set_cmd_hdr_e2
.subsections_via_symbols
