	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofdpa_cmd_flow_tbl_add_bridge
_ofdpa_cmd_flow_tbl_add_bridge:         ## @ofdpa_cmd_flow_tbl_add_bridge
	.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
	cmpq	$0, 64(%rsi)
	je	LBB0_2
## %bb.1:
	movq	_ROCKER_TLV_OF_DPA_DST_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	56(%rbx), %ecx
	movq	%r14, %rdi
	callq	_rocker_tlv_put
	testq	%rax, %rax
	jne	LBB0_12
LBB0_2:
	cmpq	$0, 48(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_ROCKER_TLV_OF_DPA_DST_MAC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	40(%rbx), %ecx
	movq	%r14, %rdi
	callq	_rocker_tlv_put
	testq	%rax, %rax
	jne	LBB0_12
LBB0_4:
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	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_12
LBB0_6:
	movq	24(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	movq	_ROCKER_TLV_OF_DPA_TUNNEL_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rocker_tlv_put_u32
	testq	%rax, %rax
	jne	LBB0_12
LBB0_8:
	movq	_ROCKER_TLV_OF_DPA_GOTO_TABLE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movq	%r14, %rdi
	callq	_rocker_tlv_put_u16
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:
	movq	_ROCKER_TLV_OF_DPA_GROUP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rdx
	movq	%r14, %rdi
	callq	_rocker_tlv_put_u32
	testq	%rax, %rax
	je	LBB0_10
LBB0_12:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	(%rbx), %rdx
	xorl	%ebx, %ebx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.11:
	movq	_ROCKER_TLV_OF_DPA_COPY_CPU_ACTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rocker_tlv_put_u8
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCKER_TLV_OF_DPA_DST_MAC,4,2  ## @ROCKER_TLV_OF_DPA_DST_MAC
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_ROCKER_TLV_OF_DPA_DST_MAC_MASK,4,2 ## @ROCKER_TLV_OF_DPA_DST_MAC_MASK
	.comm	_ROCKER_TLV_OF_DPA_VLAN_ID,4,2  ## @ROCKER_TLV_OF_DPA_VLAN_ID
	.comm	_ROCKER_TLV_OF_DPA_TUNNEL_ID,4,2 ## @ROCKER_TLV_OF_DPA_TUNNEL_ID
	.comm	_ROCKER_TLV_OF_DPA_GOTO_TABLE_ID,4,2 ## @ROCKER_TLV_OF_DPA_GOTO_TABLE_ID
	.comm	_ROCKER_TLV_OF_DPA_GROUP_ID,4,2 ## @ROCKER_TLV_OF_DPA_GROUP_ID
	.comm	_ROCKER_TLV_OF_DPA_COPY_CPU_ACTION,4,2 ## @ROCKER_TLV_OF_DPA_COPY_CPU_ACTION
	.no_dead_strip	_ofdpa_cmd_flow_tbl_add_bridge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofdpa_cmd_flow_tbl_add_bridge
_ofdpa_cmd_flow_tbl_add_bridge:         ; @ofdpa_cmd_flow_tbl_add_bridge
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #64]
Lloh0:
	adrp	x21, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ETH_ALEN@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ROCKER_TLV_OF_DPA_DST_MAC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_DST_MAC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x21]
	ldr	w3, [x20, #56]
	mov	x0, x19
	bl	_rocker_tlv_put
	cbnz	x0, LBB0_10
LBB0_2:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _ROCKER_TLV_OF_DPA_DST_MAC_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_DST_MAC_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x21]
	ldr	w3, [x20, #40]
	mov	x0, x19
	bl	_rocker_tlv_put
	cbnz	x0, LBB0_10
LBB0_4:
	ldr	x2, [x20, #32]
	cbz	x2, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _ROCKER_TLV_OF_DPA_VLAN_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_VLAN_ID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_tlv_put_be16
	cbnz	x0, LBB0_10
LBB0_6:
	ldr	x2, [x20, #24]
	cbz	x2, LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _ROCKER_TLV_OF_DPA_TUNNEL_ID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_TUNNEL_ID@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_tlv_put_u32
	cbnz	x0, LBB0_10
LBB0_8:
Lloh14:
	adrp	x8, _ROCKER_TLV_OF_DPA_GOTO_TABLE_ID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_GOTO_TABLE_ID@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_rocker_tlv_put_u16
	cbnz	x0, LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _ROCKER_TLV_OF_DPA_GROUP_ID@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_GROUP_ID@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	x2, [x20, #8]
	mov	x0, x19
	bl	_rocker_tlv_put_u32
	cbz	x0, LBB0_12
LBB0_10:
Lloh20:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
LBB0_12:
	ldr	x2, [x20]
	cbz	x2, LBB0_14
; %bb.13:
Lloh23:
	adrp	x8, _ROCKER_TLV_OF_DPA_COPY_CPU_ACTION@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_COPY_CPU_ACTION@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_tlv_put_u8
	cbnz	x0, LBB0_10
	b	LBB0_11
LBB0_14:
	mov	w0, #0
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCKER_TLV_OF_DPA_DST_MAC,4,2  ; @ROCKER_TLV_OF_DPA_DST_MAC
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_ROCKER_TLV_OF_DPA_DST_MAC_MASK,4,2 ; @ROCKER_TLV_OF_DPA_DST_MAC_MASK
	.comm	_ROCKER_TLV_OF_DPA_VLAN_ID,4,2  ; @ROCKER_TLV_OF_DPA_VLAN_ID
	.comm	_ROCKER_TLV_OF_DPA_TUNNEL_ID,4,2 ; @ROCKER_TLV_OF_DPA_TUNNEL_ID
	.comm	_ROCKER_TLV_OF_DPA_GOTO_TABLE_ID,4,2 ; @ROCKER_TLV_OF_DPA_GOTO_TABLE_ID
	.comm	_ROCKER_TLV_OF_DPA_GROUP_ID,4,2 ; @ROCKER_TLV_OF_DPA_GROUP_ID
	.comm	_ROCKER_TLV_OF_DPA_COPY_CPU_ACTION,4,2 ; @ROCKER_TLV_OF_DPA_COPY_CPU_ACTION
	.no_dead_strip	_ofdpa_cmd_flow_tbl_add_bridge
.subsections_via_symbols
