	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb3_arp_process
_cxgb3_arp_process:                     ## @cxgb3_arp_process
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_skb_reset_network_header
	movq	%rbx, %rdi
	callq	_arp_hdr
	movq	%rax, %r15
	movq	(%rax), %rbx
	movq	_ARPOP_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.2:
	movslq	(%r12), %rax
	leaq	(%r15,%rax), %rbx
	addq	$8, %rbx
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_memcpy
	movslq	(%r12), %rax
	leaq	(%rax,%rbx), %rsi
	addq	$8, %rsi
	leaq	-40(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	-40(%rbp), %r8
	cmpq	(%r14), %r8
	jne	LBB0_4
## %bb.3:
	addq	$8, %r15
	movq	_ARPOP_REPLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ETH_P_ARP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdx
	movl	8(%r14), %eax
	movq	%r12, %rcx
	movq	%r15, %r9
	pushq	%r15
	pushq	%rax
	callq	_arp_send
	addq	$16, %rsp
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPOP_REQUEST,4,2              ## @ARPOP_REQUEST
	.comm	_ARPOP_REPLY,4,2                ## @ARPOP_REPLY
	.comm	_ETH_P_ARP,4,2                  ## @ETH_P_ARP
	.no_dead_strip	_cxgb3_arp_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb3_arp_process
_cxgb3_arp_process:                     ; @cxgb3_arp_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x1]
	cbz	x19, LBB0_4
; %bb.1:
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_skb_reset_network_header
	mov	x0, x21
	bl	_arp_hdr
	mov	x21, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _ARPOP_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARPOP_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_4
; %bb.2:
	add	x21, x21, #8
	ldrsw	x8, [x19]
	add	x22, x21, x8
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #8
	bl	_memcpy
	ldrsw	x8, [x19]
	add	x8, x22, x8
	add	x1, x8, #8
	mov	x0, sp
	mov	w2, #8
	bl	_memcpy
	ldr	x4, [sp]
	ldr	x8, [x20]
	cmp	x4, x8
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _ARPOP_REPLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARPOP_REPLY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ETH_P_ARP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_ARP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x2, [sp, #8]
	ldr	w6, [x20, #8]
	mov	x3, x19
	mov	x5, x21
	mov	x7, x21
	bl	_arp_send
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPOP_REQUEST,4,2              ; @ARPOP_REQUEST
	.comm	_ARPOP_REPLY,4,2                ; @ARPOP_REPLY
	.comm	_ETH_P_ARP,4,2                  ; @ETH_P_ARP
	.no_dead_strip	_cxgb3_arp_process
.subsections_via_symbols
