	.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
_ofdpa_cmd_flow_tbl_add:                ## @ofdpa_cmd_flow_tbl_add
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	_ROCKER_TLV_CMD_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rdx), %edx
	movq	%r15, %rdi
	callq	_rocker_tlv_put_u16
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_2:
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ROCKER_TLV_CMD_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_rocker_tlv_nest_start
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rax, %r14
	movq	_ROCKER_TLV_OF_DPA_TABLE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r12), %edx
	movq	%r15, %rdi
	callq	_rocker_tlv_put_u16
	testq	%rax, %rax
	jne	LBB0_1
## %bb.6:
	movq	_ROCKER_TLV_OF_DPA_PRIORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r12), %edx
	movq	%r15, %rdi
	callq	_rocker_tlv_put_u32
	testq	%rax, %rax
	jne	LBB0_1
## %bb.7:
	movq	_ROCKER_TLV_OF_DPA_HARDTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rocker_tlv_put_u32
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movq	_ROCKER_TLV_OF_DPA_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r12), %edx
	movq	%r15, %rdi
	callq	_rocker_tlv_put_u64
	testq	%rax, %rax
	jne	LBB0_1
## %bb.10:
	movl	4(%r12), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_18
## %bb.11:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ofdpa_cmd_flow_tbl_add_vlan
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_13:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ofdpa_cmd_flow_tbl_add_ucast_routing
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_14:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ofdpa_cmd_flow_tbl_add_term_mac
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_15:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ofdpa_cmd_flow_tbl_add_ig_port
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_16:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ofdpa_cmd_flow_tbl_add_bridge
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_17:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ofdpa_cmd_flow_tbl_add_acl
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_18:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_19:
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.20:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_rocker_tlv_nest_end
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_ROCKER_TLV_CMD_TYPE,4,2        ## @ROCKER_TLV_CMD_TYPE
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_ROCKER_TLV_CMD_INFO,4,2        ## @ROCKER_TLV_CMD_INFO
	.comm	_ROCKER_TLV_OF_DPA_TABLE_ID,4,2 ## @ROCKER_TLV_OF_DPA_TABLE_ID
	.comm	_ROCKER_TLV_OF_DPA_PRIORITY,4,2 ## @ROCKER_TLV_OF_DPA_PRIORITY
	.comm	_ROCKER_TLV_OF_DPA_HARDTIME,4,2 ## @ROCKER_TLV_OF_DPA_HARDTIME
	.comm	_ROCKER_TLV_OF_DPA_COOKIE,4,2   ## @ROCKER_TLV_OF_DPA_COOKIE
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_ofdpa_cmd_flow_tbl_add
.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
_ofdpa_cmd_flow_tbl_add:                ; @ofdpa_cmd_flow_tbl_add
	.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	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _ROCKER_TLV_CMD_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROCKER_TLV_CMD_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x2]
	mov	x0, x19
	bl	_rocker_tlv_put_u16
	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, #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_3:
Lloh6:
	adrp	x8, _ROCKER_TLV_CMD_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ROCKER_TLV_CMD_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rocker_tlv_nest_start
	cbz	x0, LBB0_1
; %bb.4:
	mov	x20, x0
Lloh9:
	adrp	x8, _ROCKER_TLV_OF_DPA_TABLE_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_TABLE_ID@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	mov	x0, x19
	bl	_rocker_tlv_put_u16
	cbnz	x0, LBB0_1
; %bb.5:
Lloh12:
	adrp	x8, _ROCKER_TLV_OF_DPA_PRIORITY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_PRIORITY@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x21, #8]
	mov	x0, x19
	bl	_rocker_tlv_put_u32
	cbnz	x0, LBB0_1
; %bb.6:
Lloh15:
	adrp	x8, _ROCKER_TLV_OF_DPA_HARDTIME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_HARDTIME@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_rocker_tlv_put_u32
	cbnz	x0, LBB0_1
; %bb.7:
Lloh18:
	adrp	x8, _ROCKER_TLV_OF_DPA_COOKIE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_COOKIE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x21, #12]
	mov	x0, x19
	bl	_rocker_tlv_put_u64
	cbnz	x0, LBB0_1
; %bb.8:
	ldr	w8, [x21, #4]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_16
; %bb.9:
Lloh21:
	adrp	x9, lJTI0_0@PAGE
Lloh22:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_flow_tbl_add_vlan
	b	LBB0_17
LBB0_11:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_flow_tbl_add_ucast_routing
	b	LBB0_17
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_flow_tbl_add_term_mac
	b	LBB0_17
LBB0_13:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_flow_tbl_add_ig_port
	b	LBB0_17
LBB0_14:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_flow_tbl_add_bridge
	b	LBB0_17
LBB0_15:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_flow_tbl_add_acl
	b	LBB0_17
LBB0_16:
Lloh23:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	cbnz	w0, LBB0_2
; %bb.18:
	mov	x0, x19
	mov	x1, x20
	bl	_rocker_tlv_nest_end
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
                                        ; -- End function
	.comm	_ROCKER_TLV_CMD_TYPE,4,2        ; @ROCKER_TLV_CMD_TYPE
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_ROCKER_TLV_CMD_INFO,4,2        ; @ROCKER_TLV_CMD_INFO
	.comm	_ROCKER_TLV_OF_DPA_TABLE_ID,4,2 ; @ROCKER_TLV_OF_DPA_TABLE_ID
	.comm	_ROCKER_TLV_OF_DPA_PRIORITY,4,2 ; @ROCKER_TLV_OF_DPA_PRIORITY
	.comm	_ROCKER_TLV_OF_DPA_HARDTIME,4,2 ; @ROCKER_TLV_OF_DPA_HARDTIME
	.comm	_ROCKER_TLV_OF_DPA_COOKIE,4,2   ; @ROCKER_TLV_OF_DPA_COOKIE
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_ofdpa_cmd_flow_tbl_add
.subsections_via_symbols
