	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_manage_arp_cache         ## -- Begin function i40iw_manage_arp_cache
	.p2align	4, 0x90
_i40iw_manage_arp_cache:                ## @i40iw_manage_arp_cache
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, %rsi
	movl	%ecx, %edx
	movq	%r14, %rcx
	callq	_i40iw_arp_table
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.1:
	movl	%eax, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_i40iw_get_cqp_request
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	_I40IW_ARP_ADD@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_OP_ADD_ARP_CACHE_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	%rbx, %rdi
	addq	$24, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movl	%eax, 32(%rbx)
	movl	$1, 24(%rbx)
	movl	28(%rbx), %edi
	movq	%r14, %rsi
	callq	_ether_addr_copy
	movq	%rbx, 8(%rbx)
	movq	%r15, 16(%rbx)
	jmp	LBB0_5
LBB0_4:
	movq	_OP_DELETE_ARP_CACHE_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	%rbx, 40(%rbx)
	movq	%r15, 56(%rbx)
	movl	%r12d, 48(%rbx)
LBB0_5:
	movq	%r15, 16(%rbx)
	movq	%rbx, 8(%rbx)
	movl	$1, (%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_i40iw_handle_cqp_op
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40iw_pr_err                   ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_ARP_ADD,8,3              ## @I40IW_ARP_ADD
	.comm	_OP_ADD_ARP_CACHE_ENTRY,4,2     ## @OP_ADD_ARP_CACHE_ENTRY
	.comm	_OP_DELETE_ARP_CACHE_ENTRY,4,2  ## @OP_DELETE_ARP_CACHE_ENTRY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CQP-OP Add/Del Arp Cache entry fail"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_manage_arp_cache         ; -- Begin function i40iw_manage_arp_cache
	.p2align	2
_i40iw_manage_arp_cache:                ; @i40iw_manage_arp_cache
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x4
	mov	x20, x1
	mov	x19, x0
	mov	x1, x2
	mov	x2, x3
	mov	x3, x20
	bl	_i40iw_arp_table
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.1:
	mov	x22, x0
	mov	x0, x19
	mov	w1, #0
	bl	_i40iw_get_cqp_request
	cbz	x0, LBB0_7
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x8, _I40IW_ARP_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40IW_ARP_ADD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _OP_ADD_ARP_CACHE_ENTRY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OP_ADD_ARP_CACHE_ENTRY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21, #64]
	add	x0, x21, #24
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	x0, x22
	bl	_cpu_to_le16
	str	w0, [x21, #32]
	mov	w8, #1
	str	w8, [x21, #24]
	ldr	w0, [x21, #28]
	mov	x1, x20
	bl	_ether_addr_copy
	stp	x21, x19, [x21, #8]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _OP_DELETE_ARP_CACHE_ENTRY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OP_DELETE_ARP_CACHE_ENTRY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21, #64]
	str	x21, [x21, #40]
	str	x19, [x21, #56]
	str	w22, [x21, #48]
LBB0_5:
	stp	x21, x19, [x21, #8]
	mov	w8, #1
	str	w8, [x21]
	mov	x0, x19
	mov	x1, x21
	bl	_i40iw_handle_cqp_op
	cbz	x0, LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_i40iw_pr_err
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_ARP_ADD,8,3              ; @I40IW_ARP_ADD
	.comm	_OP_ADD_ARP_CACHE_ENTRY,4,2     ; @OP_ADD_ARP_CACHE_ENTRY
	.comm	_OP_DELETE_ARP_CACHE_ENTRY,4,2  ; @OP_DELETE_ARP_CACHE_ENTRY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CQP-OP Add/Del Arp Cache entry fail"

.subsections_via_symbols
