	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EthGetPacket                   ## -- Begin function EthGetPacket
	.p2align	4, 0x90
_EthGetPacket:                          ## @EthGetPacket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	leaq	-24(%rbp), %rsi
	leaq	-28(%rbp), %r14
	movq	%r14, %rdx
	callq	_VLanGetNextPacket
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	-24(%rbp), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_8
LBB0_2:
	movq	_INFINITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_4:
                                        ## implicit-def: $eax
	jmp	LBB0_9
LBB0_6:
	movq	_INFINITE@GOTPCREL(%rip), %r14
LBB0_8:
	movl	(%r14), %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INFINITE,4,2                   ## @INFINITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EthGetPacket                   ; -- Begin function EthGetPacket
	.p2align	2
_EthGetPacket:                          ; @EthGetPacket
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_5
; %bb.2:
	ldr	x0, [x0]
	cbz	x0, LBB0_8
; %bb.3:
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_VLanGetNextPacket
	cbz	w0, LBB0_5
; %bb.4:
	ldr	x8, [sp, #8]
	str	x8, [x19]
	add	x8, sp, #4
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _INFINITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INFINITE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
                                        ; implicit-def: $w0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INFINITE,4,2                   ; @INFINITE
.subsections_via_symbols
