	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2_packet_receive
_l2_packet_receive:                     ## @l2_packet_receive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rdi
	movq	%rsi, %rbx
	leaq	-16(%rbp), %rsi
	callq	_pcap_next
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	-16(%rbp), %ecx
	cmpl	$4, %ecx
	jb	LBB0_3
## %bb.2:
	movslq	%ecx, %rsi
	leaq	-4(%rsi), %rcx
	xorl	%edx, %edx
	cmpq	$0, 16(%rbx)
	sete	%dl
	leaq	(%rax,%rdx,4), %rdx
	cmovneq	%rsi, %rcx
	movl	(%rbx), %edi
	movl	(%rax), %esi
	callq	*8(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_l2_packet_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2_packet_receive
_l2_packet_receive:                     ; @l2_packet_receive
	.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
	mov	x0, x2
	mov	x19, x1
	add	x1, sp, #8
	bl	_pcap_next
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #4
	b.lo	LBB0_3
; %bb.2:
	sxtw	x8, w8
	sub	x9, x8, #4
	ldp	x11, x10, [x19, #8]
	cmp	x10, #0
	csel	x3, x9, x8, eq
	cset	w8, eq
	add	x2, x0, w8, uxtw #2
	ldr	w8, [x19]
	ldr	w1, [x0]
	mov	x0, x8
	blr	x11
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_l2_packet_receive
.subsections_via_symbols
