	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EthPutPacketLinuxIpRaw         ## -- Begin function EthPutPacketLinuxIpRaw
	.p2align	4, 0x90
_EthPutPacketLinuxIpRaw:                ## @EthPutPacketLinuxIpRaw
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_41
## %bb.2:
	cmpl	$14, %edx
	jl	LBB0_42
## %bb.3:
	movq	_MAX_PACKET_SIZE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jl	LBB0_42
## %bb.4:
	movq	%rdi, %rbx
	cmpq	$0, 40(%rdi)
	je	LBB0_5
LBB0_42:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Free                           ## TAILCALL
LBB0_5:
	movq	%r15, %rdi
	movl	%edx, %esi
	callq	_ParsePacket
	testq	%rax, %rax
	je	LBB0_42
## %bb.6:
	movq	%rax, %r14
	cmpl	$0, (%rax)
	je	LBB0_7
LBB0_8:
	movl	84(%r14), %edi
	callq	_IsValidUnicastMacAddress
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	36(%rbx), %edi
	movl	84(%r14), %esi
	movl	$6, %edx
	callq	_Copy
	jmp	LBB0_10
LBB0_7:
	movl	80(%r14), %edi
	movl	32(%rbx), %esi
	movl	$6, %edx
	callq	_Cmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_10:
	movl	36(%rbx), %edi
	movl	$6, %esi
	callq	_IsZero
	testq	%rax, %rax
	je	LBB0_11
LBB0_43:
	movq	%r15, %rdi
	callq	_Free
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FreePacket                     ## TAILCALL
LBB0_11:
	movl	84(%r14), %edi
	callq	_IsValidUnicastMacAddress
	testl	%eax, %eax
	je	LBB0_43
## %bb.12:
	cmpl	$0, (%r14)
	je	LBB0_13
LBB0_14:
	movq	8(%r14), %rax
	movq	_L3_IPV4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_32
## %bb.15:
	movq	16(%r14), %rax
	movq	_L4_TCP@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_18
## %bb.16:
	movq	%rbx, %rdi
	callq	_IsZeroIP
	testl	%eax, %eax
	jne	LBB0_40
## %bb.17:
	leaq	24(%rbx), %rax
	jmp	LBB0_25
LBB0_32:
	movq	_L3_ARPV4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_40
## %bb.33:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_EthProcessIpPacketInnerIpRaw
	jmp	LBB0_40
LBB0_13:
	movl	80(%r14), %edi
	movl	32(%rbx), %esi
	movl	$6, %edx
	callq	_Cmp
	testq	%rax, %rax
	jne	LBB0_43
	jmp	LBB0_14
LBB0_18:
	movq	_L4_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.19:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_EthProcessIpPacketInnerIpRaw
	testl	%eax, %eax
	jne	LBB0_40
## %bb.20:
	leaq	16(%rbx), %rax
	jmp	LBB0_25
LBB0_21:
	movq	_L4_ICMPV4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_23
## %bb.22:
	movq	_L4_FRAGMENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_40
LBB0_23:
	movq	%rbx, %rdi
	callq	_IsZeroIP
	testl	%eax, %eax
	jne	LBB0_40
## %bb.24:
	leaq	8(%rbx), %rax
LBB0_25:
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_40
## %bb.26:
	movq	40(%r14), %rax
	cmpl	$-1, (%rax)
	je	LBB0_40
## %bb.27:
	cmpl	$0, (%r14)
	jne	LBB0_40
## %bb.28:
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %rdi
	callq	_IPToUINT
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_40
## %bb.29:
	movq	72(%r14), %rcx
	movq	%rcx, %rax
	subq	32(%r14), %rax
	shrq	$3, %rax
	imull	$-1431655765, %eax, %eax        ## imm = 0xAAAAAAAB
	movl	24(%r14), %edx
	subl	%eax, %edx
	jle	LBB0_40
## %bb.30:
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %rax
	movq	_L4_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
## %bb.31:
	movq	64(%r14), %rax
	movq	$0, (%rax)
	jmp	LBB0_36
LBB0_34:
	cmpq	(%r13), %rax
	jne	LBB0_36
## %bb.35:
	movq	56(%r14), %rax
	movq	$0, (%rax)
	movq	%rbx, %rdi
	callq	_IPToUINT
	movq	40(%r14), %rcx
	movl	(%rcx), %esi
	movq	_IP_PROTO_TCP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	56(%r14), %rcx
	movl	48(%r14), %r8d
	movq	%rax, %rdi
	xorl	%r9d, %r9d
	callq	_CalcChecksumForIPv4
	movq	56(%r14), %rcx
	movq	%rax, (%rcx)
LBB0_36:
	movq	40(%r14), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdi
	callq	_UINTToIP
	cmpl	$0, (%r12)
	je	LBB0_37
## %bb.38:
	movq	40(%r14), %r13
	movq	%rbx, %rdi
	callq	_IPToUINT
	movq	%rax, 8(%r13)
	movq	$0, 16(%r13)
	movq	%r13, %rdi
	callq	_IPV4_GET_HEADER_LEN
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %esi
	movq	%r13, %rdi
	callq	_IpChecksum
	movq	%rax, 16(%r13)
	movq	32(%r14), %rax
	subq	%r13, %rax
	shrq	$3, %rax
	imull	$-1431655765, %eax, %r8d        ## imm = 0xAAAAAAAB
	addl	24(%r14), %r8d
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%r13, %rcx
	jmp	LBB0_39
LBB0_37:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
LBB0_39:
	callq	_SendTo
LBB0_40:
	movq	%r14, %rdi
	callq	_FreePacket
	movq	%r15, %rdi
	callq	_Free
LBB0_41:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PACKET_SIZE,4,2            ## @MAX_PACKET_SIZE
	.comm	_L3_IPV4,8,3                    ## @L3_IPV4
	.comm	_L4_TCP,8,3                     ## @L4_TCP
	.comm	_L4_UDP,8,3                     ## @L4_UDP
	.comm	_L4_ICMPV4,8,3                  ## @L4_ICMPV4
	.comm	_L4_FRAGMENT,8,3                ## @L4_FRAGMENT
	.comm	_L3_ARPV4,8,3                   ## @L3_ARPV4
	.comm	_IP_PROTO_TCP,4,2               ## @IP_PROTO_TCP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EthPutPacketLinuxIpRaw         ; -- Begin function EthPutPacketLinuxIpRaw
	.p2align	2
_EthPutPacketLinuxIpRaw:                ; @EthPutPacketLinuxIpRaw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_43
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_43
; %bb.2:
	cmp	w2, #14
	b.lt	LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _MAX_PACKET_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_PACKET_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.lt	LBB0_5
; %bb.4:
	mov	x21, x0
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_6
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_Free
LBB0_6:
	mov	x0, x19
	mov	x1, x2
	bl	_ParsePacket
	cbz	x0, LBB0_5
; %bb.7:
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_10
LBB0_8:
	ldr	w0, [x20, #84]
	bl	_IsValidUnicastMacAddress
	cbz	w0, LBB0_11
; %bb.9:
	ldr	w0, [x21, #36]
	ldr	w1, [x20, #84]
	mov	w2, #6
	bl	_Copy
	b	LBB0_11
LBB0_10:
	ldr	w0, [x20, #80]
	ldr	w1, [x21, #32]
	mov	w2, #6
	bl	_Cmp
	cbz	x0, LBB0_8
LBB0_11:
	ldr	w0, [x21, #36]
	mov	w1, #6
	bl	_IsZero
	cbz	x0, LBB0_13
LBB0_12:
	mov	x0, x19
	bl	_Free
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_FreePacket
LBB0_13:
	ldr	w0, [x20, #84]
	bl	_IsValidUnicastMacAddress
	cbz	w0, LBB0_12
; %bb.14:
	ldr	w8, [x20]
	cbz	w8, LBB0_21
LBB0_15:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _L3_IPV4@GOTPAGE
Lloh4:
	ldr	x9, [x9, _L3_IPV4@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.16:
	ldr	x8, [x20, #16]
Lloh6:
	adrp	x23, _L4_TCP@GOTPAGE
Lloh7:
	ldr	x23, [x23, _L4_TCP@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.17:
	mov	x0, x21
	bl	_IsZeroIP
	cbnz	w0, LBB0_42
; %bb.18:
	add	x8, x21, #24
	b	LBB0_29
LBB0_19:
Lloh8:
	adrp	x9, _L3_ARPV4@GOTPAGE
Lloh9:
	ldr	x9, [x9, _L3_ARPV4@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_42
; %bb.20:
	mov	x0, x21
	mov	x1, x20
	bl	_EthProcessIpPacketInnerIpRaw
	b	LBB0_42
LBB0_21:
	ldr	w0, [x20, #80]
	ldr	w1, [x21, #32]
	mov	w2, #6
	bl	_Cmp
	cbnz	x0, LBB0_12
	b	LBB0_15
LBB0_22:
Lloh11:
	adrp	x9, _L4_UDP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _L4_UDP@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.23:
	mov	x0, x21
	mov	x1, x20
	bl	_EthProcessIpPacketInnerIpRaw
	cbnz	w0, LBB0_42
; %bb.24:
	add	x8, x21, #16
	b	LBB0_29
LBB0_25:
Lloh14:
	adrp	x9, _L4_ICMPV4@GOTPAGE
Lloh15:
	ldr	x9, [x9, _L4_ICMPV4@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_27
; %bb.26:
Lloh17:
	adrp	x9, _L4_FRAGMENT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _L4_FRAGMENT@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_42
LBB0_27:
	mov	x0, x21
	bl	_IsZeroIP
	cbnz	w0, LBB0_42
; %bb.28:
	add	x8, x21, #8
LBB0_29:
	ldr	x22, [x8]
	cbz	x22, LBB0_42
; %bb.30:
	ldr	x8, [x20, #40]
	ldr	w9, [x8]
	cmn	w9, #1
	b.eq	LBB0_42
; %bb.31:
	ldr	w9, [x20]
	cbnz	w9, LBB0_42
; %bb.32:
	ldr	x24, [x8, #8]
	add	x0, x21, #4
	bl	_IPToUINT
	cmp	x24, x0
	b.ne	LBB0_42
; %bb.33:
	ldr	x8, [x20, #72]
	ldr	x9, [x20, #32]
	sub	x9, x8, x9
	lsr	x9, x9, #3
	mov	w10, #43691
	movk	w10, #43690, lsl #16
	mul	w9, w9, w10
	ldr	w10, [x20, #24]
	subs	w9, w10, w9
	b.le	LBB0_42
; %bb.34:
	str	w9, [sp, #8]                    ; 4-byte Folded Spill
	str	x8, [sp]                        ; 8-byte Folded Spill
	ldr	x8, [x20, #16]
Lloh20:
	adrp	x9, _L4_UDP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _L4_UDP@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_36
; %bb.35:
	ldr	x8, [x20, #64]
	str	xzr, [x8]
	b	LBB0_38
LBB0_36:
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_38
; %bb.37:
	ldr	x8, [x20, #56]
	str	xzr, [x8]
	mov	x0, x21
	bl	_IPToUINT
	ldr	x8, [x20, #40]
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _IP_PROTO_TCP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IP_PROTO_TCP@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	ldr	x3, [x20, #56]
	ldr	w4, [x20, #48]
	mov	w5, #0
	bl	_CalcChecksumForIPv4
	ldr	x8, [x20, #56]
	str	x0, [x8]
LBB0_38:
	ldr	x8, [x20, #40]
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_UINTToIP
	ldr	w8, [x22]
	cbz	w8, LBB0_40
; %bb.39:
	ldr	x23, [x20, #40]
	mov	x0, x21
	bl	_IPToUINT
	stp	x0, xzr, [x23, #8]
	mov	x0, x23
	bl	_IPV4_GET_HEADER_LEN
	lsl	w1, w0, #2
	mov	x0, x23
	bl	_IpChecksum
	str	x0, [x23, #16]
	ldr	x8, [x20, #32]
	sub	x8, x8, x23
	lsr	x8, x8, #3
	mov	w9, #43691
	movk	w9, #43690, lsl #16
	ldr	w10, [x20, #24]
	madd	w4, w8, w9, w10
	add	x1, sp, #12
	mov	x0, x22
	mov	w2, #0
	mov	x3, x23
	b	LBB0_41
LBB0_40:
	add	x1, sp, #12
	mov	x0, x22
	mov	w2, #0
	ldr	x3, [sp]                        ; 8-byte Folded Reload
	ldr	w4, [sp, #8]                    ; 4-byte Folded Reload
LBB0_41:
	bl	_SendTo
LBB0_42:
	mov	x0, x20
	bl	_FreePacket
	mov	x0, x19
	bl	_Free
LBB0_43:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PACKET_SIZE,4,2            ; @MAX_PACKET_SIZE
	.comm	_L3_IPV4,8,3                    ; @L3_IPV4
	.comm	_L4_TCP,8,3                     ; @L4_TCP
	.comm	_L4_UDP,8,3                     ; @L4_UDP
	.comm	_L4_ICMPV4,8,3                  ; @L4_ICMPV4
	.comm	_L4_FRAGMENT,8,3                ; @L4_FRAGMENT
	.comm	_L3_ARPV4,8,3                   ; @L3_ARPV4
	.comm	_IP_PROTO_TCP,4,2               ; @IP_PROTO_TCP
.subsections_via_symbols
