	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EthGetPacketLinuxIpRaw         ## -- Begin function EthGetPacketLinuxIpRaw
	.p2align	4, 0x90
_EthGetPacketLinuxIpRaw:                ## @EthGetPacketLinuxIpRaw
	.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_2
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r15
	cmpl	$0, (%rdi)
	je	LBB0_4
LBB0_2:
	movq	_INFINITE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	16(%r15), %edi
	callq	_GetNext
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	8(%rax), %rcx
	movq	%rcx, (%r14)
	movq	(%rax), %rbx
	movq	%rax, %rdi
	callq	_Free
	jmp	LBB0_11
LBB0_6:
	movl	12(%r15), %edx
	movq	_IP_PROTO_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_EthGetPacketLinuxIpRawForSock
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movl	8(%r15), %edx
	movq	_IP_PROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_EthGetPacketLinuxIpRawForSock
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movl	4(%r15), %edx
	movq	_IP_PROTO_ICMPV4@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_EthGetPacketLinuxIpRawForSock
	movq	%rax, %rbx
LBB0_9:
	movq	_INFINITE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_11
## %bb.10:
	movl	$1, (%r15)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_INFINITE,8,3                   ## @INFINITE
	.comm	_IP_PROTO_TCP,4,2               ## @IP_PROTO_TCP
	.comm	_IP_PROTO_UDP,4,2               ## @IP_PROTO_UDP
	.comm	_IP_PROTO_ICMPV4,4,2            ## @IP_PROTO_ICMPV4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EthGetPacketLinuxIpRaw         ; -- Begin function EthGetPacketLinuxIpRaw
	.p2align	2
_EthGetPacketLinuxIpRaw:                ; @EthGetPacketLinuxIpRaw
	.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_3
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_3
; %bb.2:
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _INFINITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INFINITE@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
LBB0_4:
	mov	x0, x21
	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_5:
	ldr	w0, [x19, #16]
	bl	_GetNext
	cbz	x0, LBB0_7
; %bb.6:
	ldp	x21, x8, [x0]
	str	x8, [x20]
	bl	_Free
	b	LBB0_4
LBB0_7:
	ldr	w2, [x19, #12]
Lloh3:
	adrp	x8, _IP_PROTO_TCP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IP_PROTO_TCP@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_EthGetPacketLinuxIpRawForSock
	mov	x21, x0
	cbnz	x0, LBB0_10
; %bb.8:
	ldr	w2, [x19, #8]
Lloh6:
	adrp	x8, _IP_PROTO_UDP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IP_PROTO_UDP@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_EthGetPacketLinuxIpRawForSock
	mov	x21, x0
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	w2, [x19, #4]
Lloh9:
	adrp	x8, _IP_PROTO_ICMPV4@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IP_PROTO_ICMPV4@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_EthGetPacketLinuxIpRawForSock
	mov	x21, x0
LBB0_10:
Lloh12:
	adrp	x8, _INFINITE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INFINITE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_4
; %bb.11:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_INFINITE,8,3                   ; @INFINITE
	.comm	_IP_PROTO_TCP,4,2               ; @IP_PROTO_TCP
	.comm	_IP_PROTO_UDP,4,2               ; @IP_PROTO_UDP
	.comm	_IP_PROTO_ICMPV4,4,2            ; @IP_PROTO_ICMPV4
.subsections_via_symbols
