	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCProcessArp                  ## -- Begin function IPCProcessArp
	.p2align	4, 0x90
_IPCProcessArp:                         ## @IPCProcessArp
	.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	$344, %rsp                      ## imm = 0x158
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.2:
	cmpl	$78, (%rsi)
	jb	LBB0_12
## %bb.3:
	movq	%rdi, %r12
	movq	8(%rsi), %r15
	movq	56(%r15), %rbx
	movq	_ARP_HARDWARE_TYPE_ETHERNET@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_Endian16
	cmpq	%rax, %rbx
	jne	LBB0_12
## %bb.4:
	movq	64(%r15), %rbx
	movq	_MAC_PROTO_IPV4@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_Endian16
	cmpq	%rax, %rbx
	jne	LBB0_12
## %bb.5:
	cmpl	$6, 72(%r15)
	jne	LBB0_12
## %bb.6:
	cmpl	$4, 76(%r15)
	jne	LBB0_12
## %bb.7:
	movq	96(%r15), %rsi
	movq	104(%r15), %rbx
	leaq	-372(%rbp), %rdi
	callq	_UINTToIP
	movq	80(%r15), %rsi
	movq	88(%r15), %rax
	movq	%rax, -384(%rbp)                ## 8-byte Spill
	leaq	-376(%rbp), %rdi
	callq	_UINTToIP
	leaq	-372(%rbp), %rdi
	movq	%r12, %rsi
	callq	_CmpIpAddr
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	leaq	-372(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_IPCAssociateOnArpTable
	leaq	-376(%rbp), %rsi
	movq	%r12, %rdi
	movq	-384(%rbp), %rdx                ## 8-byte Reload
	callq	_IPCAssociateOnArpTable
	movq	112(%r15), %rdi
	callq	_Endian16
	movq	_ARP_OPERATION_REQUEST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.9:
	leaq	-376(%rbp), %rdi
	movq	%r12, %rsi
	callq	_CmpIpAddr
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:
	movq	%rbx, %rdi
	callq	_IsValidUnicastMacAddress
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	-368(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$6, %edx
	callq	_Copy
	leaq	-344(%rbp), %rdi
	movq	8(%r12), %rsi
	movl	$6, %edx
	callq	_Copy
	leaq	-320(%rbp), %rdi
	movq	_MAC_PROTO_ARPV4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WRITE_USHORT
	movq	(%r13), %rdi
	callq	_Endian16
	movq	%rax, -312(%rbp)
	movq	(%r14), %rdi
	callq	_Endian16
	movq	%rax, -304(%rbp)
	movabsq	$17179869190, %rax              ## imm = 0x400000006
	movq	%rax, -296(%rbp)
	movq	_ARP_OPERATION_RESPONSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_Endian16
	movq	%rax, -256(%rbp)
	movq	-264(%rbp), %rdi
	movq	8(%r12), %rsi
	movl	$6, %edx
	callq	_Copy
	movq	%r12, %rdi
	callq	_IPToUINT
	movq	%rax, -272(%rbp)
	movq	-280(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$6, %edx
	callq	_Copy
	leaq	-372(%rbp), %rdi
	callq	_IPToUINT
	movq	%rax, -288(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$312, %edx                      ## imm = 0x138
	callq	_IPCSendL2
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$344, %rsp                      ## imm = 0x158
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ARP_HARDWARE_TYPE_ETHERNET,8,3 ## @ARP_HARDWARE_TYPE_ETHERNET
	.comm	_MAC_PROTO_IPV4,8,3             ## @MAC_PROTO_IPV4
	.comm	_ARP_OPERATION_REQUEST,8,3      ## @ARP_OPERATION_REQUEST
	.comm	_MAC_PROTO_ARPV4,4,2            ## @MAC_PROTO_ARPV4
	.comm	_ARP_OPERATION_RESPONSE,8,3     ## @ARP_OPERATION_RESPONSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function IPCProcessArp
lCPI0_0:
	.long	6                               ; 0x6
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_IPCProcessArp
	.p2align	2
_IPCProcessArp:                         ; @IPCProcessArp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #416
	.cfi_def_cfa_offset 416
	stp	x28, x27, [sp, #336]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #352]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #368]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #384]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #400]            ; 16-byte Folded Spill
	add	x29, sp, #400
	.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 w27, -72
	.cfi_offset w28, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	cbz	x0, LBB0_12
; %bb.1:
	cbz	x1, LBB0_12
; %bb.2:
	ldr	w8, [x1]
	cmp	w8, #78
	b.lo	LBB0_12
; %bb.3:
	mov	x19, x0
	ldr	x24, [x1, #8]
	ldr	x20, [x24, #56]
Lloh3:
	adrp	x22, _ARP_HARDWARE_TYPE_ETHERNET@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ARP_HARDWARE_TYPE_ETHERNET@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_Endian16
	cmp	x20, x0
	b.ne	LBB0_12
; %bb.4:
	ldr	x20, [x24, #64]
Lloh5:
	adrp	x23, _MAC_PROTO_IPV4@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MAC_PROTO_IPV4@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_Endian16
	cmp	x20, x0
	b.ne	LBB0_12
; %bb.5:
	ldr	w8, [x24, #72]
	cmp	w8, #6
	b.ne	LBB0_12
; %bb.6:
	ldr	w8, [x24, #76]
	cmp	w8, #4
	b.ne	LBB0_12
; %bb.7:
	ldp	x1, x20, [x24, #96]
	add	x0, sp, #12
	bl	_UINTToIP
	ldp	x1, x21, [x24, #80]
	add	x0, sp, #8
	bl	_UINTToIP
	add	x0, sp, #12
	mov	x1, x19
	bl	_CmpIpAddr
	cbz	x0, LBB0_12
; %bb.8:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_IPCAssociateOnArpTable
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x21
	bl	_IPCAssociateOnArpTable
	ldr	x0, [x24, #112]
	bl	_Endian16
Lloh7:
	adrp	x8, _ARP_OPERATION_REQUEST@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARP_OPERATION_REQUEST@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.9:
	add	x0, sp, #8
	mov	x1, x19
	bl	_CmpIpAddr
	cbnz	x0, LBB0_12
; %bb.10:
	mov	x0, x20
	bl	_IsValidUnicastMacAddress
	cbz	x0, LBB0_12
; %bb.11:
	add	x21, sp, #16
	add	x0, sp, #16
	mov	x1, x20
	mov	w2, #6
	bl	_Copy
	add	x0, x21, #24
	ldr	x1, [x19, #8]
	mov	w2, #6
	bl	_Copy
	add	x0, x21, #48
Lloh10:
	adrp	x8, _MAC_PROTO_ARPV4@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAC_PROTO_ARPV4@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_WRITE_USHORT
	ldr	x0, [x22]
	bl	_Endian16
	str	x0, [sp, #72]
	ldr	x0, [x23]
	bl	_Endian16
	str	x0, [sp, #80]
Lloh13:
	adrp	x8, lCPI0_0@PAGE
Lloh14:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #88]
Lloh15:
	adrp	x8, _ARP_OPERATION_RESPONSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ARP_OPERATION_RESPONSE@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
	bl	_Endian16
	str	x0, [sp, #128]
	ldr	x0, [sp, #120]
	ldr	x1, [x19, #8]
	mov	w2, #6
	bl	_Copy
	mov	x0, x19
	bl	_IPToUINT
	str	x0, [sp, #112]
	ldr	x0, [sp, #104]
	mov	x1, x20
	mov	w2, #6
	bl	_Copy
	add	x0, sp, #12
	bl	_IPToUINT
	str	x0, [sp, #96]
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #312
	bl	_IPCSendL2
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #400]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #384]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #368]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #352]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #336]            ; 16-byte Folded Reload
	add	sp, sp, #416
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdrp	Lloh13, Lloh15
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ARP_HARDWARE_TYPE_ETHERNET,8,3 ; @ARP_HARDWARE_TYPE_ETHERNET
	.comm	_MAC_PROTO_IPV4,8,3             ; @MAC_PROTO_IPV4
	.comm	_ARP_OPERATION_REQUEST,8,3      ; @ARP_OPERATION_REQUEST
	.comm	_MAC_PROTO_ARPV4,4,2            ; @MAC_PROTO_ARPV4
	.comm	_ARP_OPERATION_RESPONSE,8,3     ; @ARP_OPERATION_RESPONSE
.subsections_via_symbols
