	.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
_ofdpa_cmd_group_tbl_add:               ## @ofdpa_cmd_group_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	_ROCKER_TLV_CMD_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rdx), %edx
	movq	%r15, %rdi
	callq	_rocker_tlv_put_u16
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	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.3:
	movq	%rax, %r14
	movq	_ROCKER_TLV_OF_DPA_GROUP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_rocker_tlv_put_u32
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movl	(%rbx), %edi
	callq	_ROCKER_GROUP_TYPE_GET
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ofdpa_cmd_group_tbl_add_group_ids
	jmp	LBB0_11
LBB0_10:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ofdpa_cmd_group_tbl_add_l3_unicast
	jmp	LBB0_11
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ofdpa_cmd_group_tbl_add_l2_rewrite
	jmp	LBB0_11
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ofdpa_cmd_group_tbl_add_l2_interface
LBB0_11:
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_rocker_tlv_nest_end
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_8
	.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_GROUP_ID,4,2 ## @ROCKER_TLV_OF_DPA_GROUP_ID
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_ofdpa_cmd_group_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_group_tbl_add
_ofdpa_cmd_group_tbl_add:               ; @ofdpa_cmd_group_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, #4]
	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_GROUP_ID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROCKER_TLV_OF_DPA_GROUP_ID@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_rocker_tlv_put_u32
	cbnz	x0, LBB0_1
; %bb.5:
	ldr	w0, [x21]
	bl	_ROCKER_GROUP_TYPE_GET
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_8
; %bb.6:
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_group_tbl_add_group_ids
	b	LBB0_12
LBB0_8:
Lloh14:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_group_tbl_add_l3_unicast
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_group_tbl_add_l2_rewrite
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	mov	x1, x21
	bl	_ofdpa_cmd_group_tbl_add_l2_interface
LBB0_12:
	cbnz	w0, LBB0_2
; %bb.13:
	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 AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>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_GROUP_ID,4,2 ; @ROCKER_TLV_OF_DPA_GROUP_ID
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_ofdpa_cmd_group_tbl_add
.subsections_via_symbols
