	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofdpa_cmd_group_tbl_add_l2_rewrite
_ofdpa_cmd_group_tbl_add_l2_rewrite:    ## @ofdpa_cmd_group_tbl_add_l2_rewrite
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ROCKER_TLV_OF_DPA_GROUP_ID_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	callq	_rocker_tlv_put_u32
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	12(%rbx), %edi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movl	8(%rbx), %edi
	callq	_is_zero_ether_addr
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_ROCKER_TLV_OF_DPA_DST_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %ecx
	movq	%r14, %rdi
	callq	_rocker_tlv_put
	testq	%rax, %rax
	jne	LBB0_7
LBB0_5:
	movq	(%rbx), %rdx
	xorl	%ebx, %ebx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.6:
	movq	_ROCKER_TLV_OF_DPA_VLAN_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rocker_tlv_put_be16
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_8
LBB0_2:
	movq	_ROCKER_TLV_OF_DPA_SRC_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%rbx), %ecx
	movq	%r14, %rdi
	callq	_rocker_tlv_put
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCKER_TLV_OF_DPA_GROUP_ID_LOWER,4,2 ## @ROCKER_TLV_OF_DPA_GROUP_ID_LOWER
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_ROCKER_TLV_OF_DPA_SRC_MAC,4,2  ## @ROCKER_TLV_OF_DPA_SRC_MAC
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_ROCKER_TLV_OF_DPA_DST_MAC,4,2  ## @ROCKER_TLV_OF_DPA_DST_MAC
	.comm	_ROCKER_TLV_OF_DPA_VLAN_ID,4,2  ## @ROCKER_TLV_OF_DPA_VLAN_ID
	.no_dead_strip	_ofdpa_cmd_group_tbl_add_l2_rewrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofdpa_cmd_group_tbl_add_l2_rewrite
_ofdpa_cmd_group_tbl_add_l2_rewrite:    ; @ofdpa_cmd_group_tbl_add_l2_rewrite
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ROCKER_TLV_OF_DPA_GROUP_ID_LOWER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_GROUP_ID_LOWER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	bl	_rocker_tlv_put_u32
	cbz	x0, LBB0_3
LBB0_1:
Lloh3:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x20, #12]
	bl	_is_zero_ether_addr
	cbz	w0, LBB0_7
LBB0_4:
	ldr	w0, [x20, #8]
	bl	_is_zero_ether_addr
	cbz	w0, LBB0_8
LBB0_5:
	ldr	x2, [x20]
	cbz	x2, LBB0_9
; %bb.6:
Lloh6:
	adrp	x8, _ROCKER_TLV_OF_DPA_VLAN_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_VLAN_ID@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_tlv_put_be16
	cbnz	x0, LBB0_1
	b	LBB0_2
LBB0_7:
Lloh9:
	adrp	x8, _ROCKER_TLV_OF_DPA_SRC_MAC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_SRC_MAC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	ldr	w3, [x20, #12]
	mov	x0, x19
	bl	_rocker_tlv_put
	cbnz	x0, LBB0_1
	b	LBB0_4
LBB0_8:
Lloh15:
	adrp	x8, _ROCKER_TLV_OF_DPA_DST_MAC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_DST_MAC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	ldr	w3, [x20, #8]
	mov	x0, x19
	bl	_rocker_tlv_put
	cbnz	x0, LBB0_1
	b	LBB0_5
LBB0_9:
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCKER_TLV_OF_DPA_GROUP_ID_LOWER,4,2 ; @ROCKER_TLV_OF_DPA_GROUP_ID_LOWER
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_ROCKER_TLV_OF_DPA_SRC_MAC,4,2  ; @ROCKER_TLV_OF_DPA_SRC_MAC
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ROCKER_TLV_OF_DPA_DST_MAC,4,2  ; @ROCKER_TLV_OF_DPA_DST_MAC
	.comm	_ROCKER_TLV_OF_DPA_VLAN_ID,4,2  ; @ROCKER_TLV_OF_DPA_VLAN_ID
	.no_dead_strip	_ofdpa_cmd_group_tbl_add_l2_rewrite
.subsections_via_symbols
