	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3RecvArp                      ## -- Begin function L3RecvArp
	.p2align	4, 0x90
_L3RecvArp:                             ## @L3RecvArp
	.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
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.2:
	movq	%rdi, %r14
	movq	8(%rbx), %r15
	movl	20(%r15), %edi
	callq	_Endian16
	movq	_ARP_HARDWARE_TYPE_ETHERNET@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.3:
	movl	16(%r15), %edi
	callq	_Endian16
	movq	_MAC_PROTO_IPV4@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.4:
	cmpl	$6, (%r15)
	jne	LBB0_11
## %bb.5:
	cmpl	$4, 4(%r15)
	jne	LBB0_11
## %bb.6:
	movl	12(%r15), %edi
	movl	(%rbx), %esi
	movl	$6, %edx
	callq	_Cmp
	testq	%rax, %rax
	je	LBB0_7
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	8(%r15), %edi
	callq	_Endian16
	cmpl	$128, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$129, %eax
	jne	LBB0_11
## %bb.9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_L3RecvArpRequest               ## TAILCALL
LBB0_10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_L3RecvArpResponse              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ARP_HARDWARE_TYPE_ETHERNET,4,2 ## @ARP_HARDWARE_TYPE_ETHERNET
	.comm	_MAC_PROTO_IPV4,4,2             ## @MAC_PROTO_IPV4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3RecvArp                      ; -- Begin function L3RecvArp
	.p2align	2
_L3RecvArp:                             ; @L3RecvArp
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	x21, [x19, #8]
	ldr	w0, [x21, #20]
	bl	_Endian16
Lloh0:
	adrp	x8, _ARP_HARDWARE_TYPE_ETHERNET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARP_HARDWARE_TYPE_ETHERNET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.3:
	ldr	w0, [x21, #16]
	bl	_Endian16
Lloh3:
	adrp	x8, _MAC_PROTO_IPV4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAC_PROTO_IPV4@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x21]
	cmp	w8, #6
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x21, #4]
	cmp	w8, #4
	b.ne	LBB0_7
; %bb.6:
	ldr	w0, [x21, #12]
	ldr	w1, [x19]
	mov	w2, #6
	bl	_Cmp
	cbz	x0, LBB0_8
LBB0_7:
	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_8:
	ldr	w0, [x21, #8]
	bl	_Endian16
	cmp	w0, #128
	b.eq	LBB0_11
; %bb.9:
	cmp	w0, #129
	b.ne	LBB0_7
; %bb.10:
	mov	x0, x20
	mov	x1, x19
	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
	b	_L3RecvArpRequest
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	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
	b	_L3RecvArpResponse
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ARP_HARDWARE_TYPE_ETHERNET,4,2 ; @ARP_HARDWARE_TYPE_ETHERNET
	.comm	_MAC_PROTO_IPV4,4,2             ; @MAC_PROTO_IPV4
.subsections_via_symbols
