	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tap_recv
_tap_recv:                              ## @tap_recv
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rcx
	movq	_ETHER_HDR_LEN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jl	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movl	8(%rdi), %eax
	movl	%eax, 20(%rdi)
	movq	_ETHER_ADDR_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_packet_adj
	movl	8(%rbx), %eax
	movl	%eax, 16(%rbx)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_packet_adj
	movl	8(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	_ETHER_TYPE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_packet_adj
	movl	$1, %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHER_HDR_LEN,8,3              ## @ETHER_HDR_LEN
	.comm	_ETHER_ADDR_LEN,4,2             ## @ETHER_ADDR_LEN
	.comm	_ETHER_TYPE_LEN,4,2             ## @ETHER_TYPE_LEN
	.no_dead_strip	_tap_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tap_recv
_tap_recv:                              ; @tap_recv
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ETHER_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETHER_HDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	ldr	w8, [x0, #8]
	str	w8, [x0, #20]
Lloh3:
	adrp	x20, _ETHER_ADDR_LEN@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ETHER_ADDR_LEN@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_packet_adj
	ldr	w8, [x19, #8]
	str	w8, [x19, #16]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_packet_adj
	ldr	w8, [x19, #8]
	str	w8, [x19, #12]
Lloh5:
	adrp	x8, _ETHER_TYPE_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETHER_TYPE_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_packet_adj
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHER_HDR_LEN,8,3              ; @ETHER_HDR_LEN
	.comm	_ETHER_ADDR_LEN,4,2             ; @ETHER_ADDR_LEN
	.comm	_ETHER_TYPE_LEN,4,2             ; @ETHER_TYPE_LEN
	.no_dead_strip	_tap_recv
.subsections_via_symbols
