	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofdpa_port_ipv4_neigh
_ofdpa_port_ipv4_neigh:                 ## @ofdpa_port_ipv4_neigh
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_ROCKER_OF_DPA_TABLE_ID_ACL_POLICY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	_OFDPA_OP_FLAG_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r15d
	setne	%bl
	sete	%r12b
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_ofdpa_neigh_tbl_find
	movq	%rax, %r15
	testq	%rax, %rax
	setne	%al
	movl	%eax, %ecx
	andb	%bl, %cl
	orb	%al, %bl
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	movb	%cl, -42(%rbp)                  ## 1-byte Spill
	je	LBB0_3
## %bb.4:
	testb	%cl, %cl
	je	LBB0_6
## %bb.5:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_ofdpa_neigh_del
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_19
LBB0_3:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%r13d, 4(%rbx)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rax
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_ether_addr_copy
	movl	$1, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ofdpa_neigh_add
	jmp	LBB0_9
LBB0_6:
	andb	%r12b, %al
	je	LBB0_12
## %bb.7:
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_ofdpa_neigh_update
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$24, %edx
	callq	_memcpy
LBB0_8:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %r14
	callq	_spin_unlock_irqrestore
LBB0_10:
	movl	(%r14), %r10d
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	(%rcx), %ecx
	movl	12(%r14), %r8d
	movl	12(%r15), %r9d
	movl	8(%r15), %eax
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	pushq	%rax
	pushq	%r10
	callq	_ofdpa_group_l3_unicast
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movl	%eax, %r12d
	movq	(%r15), %rdi
	movslq	8(%r14), %rcx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	movb	-41(%rbp), %bl                  ## 1-byte Reload
	jmp	LBB0_17
LBB0_14:
	movb	-41(%rbp), %bl                  ## 1-byte Reload
	movl	%ebx, %eax
	xorb	$1, %al
	orb	-42(%rbp), %al                  ## 1-byte Folded Reload
	xorl	%r12d, %r12d
	cmpb	$1, %al
	jne	LBB0_17
## %bb.15:
	movl	8(%r14), %edi
	callq	_ROCKER_GROUP_L3_UNICAST
	movl	%eax, %r15d
	movl	$32, %edi
	callq	_inet_make_mask
	subq	$8, %rsp
	xorl	%r12d, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movq	%r15, %r13
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	movl	-72(%rbp), %r9d                 ## 4-byte Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	pushq	%r15
	callq	_ofdpa_flow_tbl_ucast4_routing
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movl	%eax, %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	%r14, %rcx
	addq	$4, %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_netdev_err
	movl	%r15d, %r12d
LBB0_17:
	testb	%bl, %bl
	je	LBB0_19
LBB0_18:
	movq	%r14, %rdi
	callq	_kfree
LBB0_19:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	testl	%r12d, %r12d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_10
## %bb.13:
	negl	%r12d
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ROCKER_OF_DPA_TABLE_ID_ACL_POLICY,4,2 ## @ROCKER_OF_DPA_TABLE_ID_ACL_POLICY
	.comm	_OFDPA_OP_FLAG_REMOVE,4,2       ## @OFDPA_OP_FLAG_REMOVE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error (%d) L3 unicast group index %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Error (%d) /32 unicast route %pI4 group 0x%08x\n"

	.no_dead_strip	_ofdpa_port_ipv4_neigh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofdpa_port_ipv4_neigh
_ofdpa_port_ipv4_neigh:                 ; @ofdpa_port_ipv4_neigh
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x25, [x0, #16]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	mov	x27, x0
Lloh3:
	adrp	x8, _ROCKER_OF_DPA_TABLE_ID_ACL_POLICY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROCKER_OF_DPA_TABLE_ID_ACL_POLICY@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
Lloh6:
	adrp	x8, _OFDPA_OP_FLAG_REMOVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OFDPA_OP_FLAG_REMOVE@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	stp	w27, w24, [sp, #8]              ; 8-byte Folded Spill
	tst	w23, w22
	cset	w28, ne
	cset	w24, eq
	mov	x0, x25
	bl	_spin_lock_irqsave
	mov	x0, x25
	mov	x1, x21
	bl	_ofdpa_neigh_tbl_find
	cmp	x0, #0
	cset	w8, ne
	and	w23, w8, w28
	orr	w28, w8, w28
	tbz	w28, #0, LBB0_5
; %bb.2:
	mov	x27, x0
	cbz	w23, LBB0_16
; %bb.3:
	mov	x0, x19
	mov	x1, x27
	mov	w2, #24
	bl	_memcpy
	mov	x0, x27
	bl	_ofdpa_neigh_del
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_12
LBB0_5:
	str	w21, [x19, #4]
	ldr	x8, [x20]
	str	x8, [x19, #16]
	ldr	w0, [x19, #12]
	mov	x1, x26
	bl	_ether_addr_copy
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x25
	mov	x1, x19
	bl	_ofdpa_neigh_add
LBB0_6:
	mov	x0, x25
	bl	_spin_unlock_irqrestore
LBB0_7:
	ldr	x8, [x20]
	ldr	w3, [x8]
	ldp	w2, w4, [x19, #8]
	ldr	w6, [x19]
	ldp	w7, w5, [x20, #8]
	mov	x0, x20
	mov	x1, x22
	bl	_ofdpa_group_l3_unicast
	cbz	w0, LBB0_13
; %bb.8:
	mov	x25, x0
	ldr	x0, [x20]
	ldrsw	x3, [x19, #8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	mov	x2, x25
	bl	_netdev_err
LBB0_10:
	cbz	w28, LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_kfree
LBB0_12:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	eor	w8, w28, #0x1
	orr	w8, w8, w23
	cmp	w8, #1
	b.ne	LBB0_18
; %bb.14:
	ldr	w0, [x19, #8]
	bl	_ROCKER_GROUP_L3_UNICAST
	mov	x26, x0
	mov	w0, #32
	bl	_inet_make_mask
	mov	x3, x0
	str	w22, [sp]
	mov	x0, x20
	ldp	w1, w5, [sp, #8]                ; 8-byte Folded Reload
	mov	x2, x21
	mov	w4, #0
	mov	x6, x26
	mov	x7, #0
	bl	_ofdpa_flow_tbl_ucast4_routing
	mov	x25, x0
	cbz	w0, LBB0_10
; %bb.15:
	ldr	x0, [x20]
	add	x3, x19, #4
	str	x26, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_16:
	and	w8, w8, w24
	cbz	w8, LBB0_19
; %bb.17:
	mov	x0, x27
	mov	x1, x26
	mov	w2, #1
	bl	_ofdpa_neigh_update
	mov	x0, x19
	mov	x1, x27
	mov	w2, #24
	bl	_memcpy
	b	LBB0_6
LBB0_18:
	mov	w25, #0
	b	LBB0_10
LBB0_19:
Lloh19:
	adrp	x8, _ENOENT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh21:
	ldr	w24, [x8]
	mov	x0, x25
	bl	_spin_unlock_irqrestore
	cbz	w24, LBB0_7
; %bb.20:
	neg	w25, w24
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ROCKER_OF_DPA_TABLE_ID_ACL_POLICY,4,2 ; @ROCKER_OF_DPA_TABLE_ID_ACL_POLICY
	.comm	_OFDPA_OP_FLAG_REMOVE,4,2       ; @OFDPA_OP_FLAG_REMOVE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error (%d) L3 unicast group index %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Error (%d) /32 unicast route %pI4 group 0x%08x\n"

	.no_dead_strip	_ofdpa_port_ipv4_neigh
.subsections_via_symbols
