	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCSendIPv4                    ## -- Begin function IPCSendIPv4
	.p2align	4, 0x90
_IPCSendIPv4:                           ## @IPCSendIPv4
	.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	$72, %rsp
	.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_18
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.2:
	movl	%edx, %r14d
	leal	-1501(%r14), %eax
	cmpl	$-1481, %eax                    ## imm = 0xFA37
	jb	LBB0_18
## %bb.3:
	movl	$240, %eax
	andl	(%rbx), %eax
	cmpl	$64, %eax
	jne	LBB0_18
## %bb.4:
	movq	%rdi, %r15
	movl	48(%rbx), %esi
	leaq	-104(%rbp), %r13
	movq	%r13, %rdi
	callq	_UINTToIP
	movl	64(%rbx), %esi
	leaq	-88(%rbp), %rdi
	callq	_UINTToIP
	leaq	24(%r15), %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_CmpIpAddr
	testq	%rax, %rax
	jne	LBB0_18
## %bb.5:
	leaq	-88(%rbp), %rdi
	callq	_IsZeroIP
	testq	%rax, %rax
	je	LBB0_6
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	-88(%rbp), %rdi
	movq	%r12, %rsi
	callq	_CmpIpAddr
	testq	%rax, %rax
	je	LBB0_18
## %bb.7:
	leaq	-96(%rbp), %rdi
	leaq	-88(%rbp), %r13
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_Copy
	leaq	20(%r15), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_IsInSameNetwork4
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	leaq	16(%r15), %rdi
	leaq	-88(%rbp), %rsi
	callq	_GetBestClasslessRoute
	leaq	8(%r15), %rsi
	testq	%rax, %rax
	cmovneq	%rax, %rsi
	leaq	-96(%rbp), %rdi
	movl	$8, %edx
	callq	_Copy
LBB0_9:
	leaq	-88(%rbp), %rsi
	movq	%r15, %rdi
	callq	_CmpIpAddr
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movq	-88(%rbp), %rdx
	movl	(%rdx), %eax
	cmpl	$255, %eax
	jne	LBB0_13
## %bb.10:
	cmpl	$255, 4(%rdx)
	jne	LBB0_13
## %bb.11:
	cmpl	$255, 8(%rdx)
	jne	LBB0_13
## %bb.12:
	cmpl	$255, 12(%rdx)
	movl	$1, %edx
	cmovel	%edx, %ecx
LBB0_13:
	andl	$-16, %eax
	cmpl	$224, %eax
	je	LBB0_15
## %bb.14:
	testl	%ecx, %ecx
	jne	LBB0_15
## %bb.16:
	leaq	-96(%rbp), %rdi
	callq	_IsZeroIP
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	leaq	-96(%rbp), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_IPCSendIPv4Unicast
	jmp	LBB0_18
LBB0_15:
	leaq	L_.memset_pattern(%rip), %rsi
	leaq	-80(%rbp), %r12
	movl	$24, %edx
	movq	%r12, %rdi
	callq	_memset_pattern16
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movq	%r12, %rcx
	callq	_IPCSendIPv4WithDestMacAddr
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCSendIPv4                    ; -- Begin function IPCSendIPv4
	.p2align	2
_IPCSendIPv4:                           ; @IPCSendIPv4
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x19, x2
	sub	w8, w2, #1501
	cmn	w8, #1481
	b.lo	LBB0_6
; %bb.3:
	ldr	w8, [x20]
	and	w8, w8, #0xf0
	cmp	w8, #64
	b.ne	LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	w1, [x20, #48]
	add	x0, sp, #24
	bl	_UINTToIP
	ldr	w1, [x20, #64]
	add	x0, sp, #16
	bl	_UINTToIP
	add	x22, x21, #24
	add	x0, sp, #24
	mov	x1, x22
	bl	_CmpIpAddr
	cbnz	x0, LBB0_6
; %bb.5:
	add	x0, sp, #16
	bl	_IsZeroIP
	cbz	x0, LBB0_8
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.7:
	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
	add	sp, sp, #112
	ret
LBB0_8:
	add	x0, sp, #16
	mov	x1, x22
	bl	_CmpIpAddr
	cbz	x0, LBB0_6
; %bb.9:
	add	x0, sp, #8
	add	x1, sp, #16
	mov	w2, #8
	bl	_Copy
	add	x2, x21, #20
	add	x0, sp, #16
	mov	x1, x22
	bl	_IsInSameNetwork4
	cbnz	w0, LBB0_11
; %bb.10:
	add	x0, x21, #16
	add	x1, sp, #16
	bl	_GetBestClasslessRoute
	add	x8, x21, #8
	cmp	x0, #0
	csel	x1, x8, x0, eq
	add	x0, sp, #8
	mov	w2, #8
	bl	_Copy
LBB0_11:
	add	x1, sp, #16
	mov	x0, x21
	bl	_CmpIpAddr
	cmp	x0, #0
	cset	w8, eq
	ldr	x10, [sp, #16]
	ldr	w9, [x10]
	cmp	w9, #255
	b.ne	LBB0_15
; %bb.12:
	ldr	w11, [x10, #4]
	cmp	w11, #255
	b.ne	LBB0_15
; %bb.13:
	ldr	w11, [x10, #8]
	cmp	w11, #255
	b.ne	LBB0_15
; %bb.14:
	ldr	w10, [x10, #12]
	cmp	w10, #255
	csinc	w8, w8, wzr, ne
LBB0_15:
	and	w9, w9, #0xfffffff0
	cmp	w9, #224
	b.eq	LBB0_19
; %bb.16:
	cbnz	w8, LBB0_19
; %bb.17:
	add	x0, sp, #8
	bl	_IsZeroIP
	cbnz	x0, LBB0_6
; %bb.18:
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_IPCSendIPv4Unicast
	b	LBB0_6
LBB0_19:
Lloh6:
	adrp	x1, l_.memset_pattern@PAGE
Lloh7:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	add	x0, sp, #32
	mov	w2, #24
	bl	_memset_pattern16
	add	x3, sp, #32
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_IPCSendIPv4WithDestMacAddr
	b	LBB0_6
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

.subsections_via_symbols
