	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trailer_rcv
_trailer_rcv:                           ## @trailer_rcv
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rsi), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
LBB0_9:
	movq	%r12, %rdi
	callq	_kfree_skb
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%rbx), %rax
	movq	(%rax), %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_skb_unshare
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_skb_linearize
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:
	movq	%r12, %rdi
	callq	_skb_tail_pointer
	cmpl	$128, -16(%rax)
	jne	LBB0_9
## %bb.4:
	movl	-12(%rax), %r15d
	testb	$-8, %r15b
	jne	LBB0_9
## %bb.5:
	cmpl	$0, -4(%rax)
	jne	LBB0_9
## %bb.6:
	andl	$7, %r15d
	movq	_DSA_MAX_PORTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_9
## %bb.7:
	movq	(%r14), %rax
	cmpq	$0, (%rax,%r15,8)
	je	LBB0_9
## %bb.8:
	movq	(%r12), %rsi
	addq	$-4, %rsi
	movq	%r12, %rdi
	callq	_pskb_trim_rcsum
	movq	(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movq	%rax, 8(%r12)
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_skb_push
	movq	_PACKET_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	8(%r12), %rsi
	movq	%r12, %rdi
	callq	_eth_type_trans
	movl	%eax, 16(%r12)
	movq	8(%r12), %rax
	incl	4(%rax)
	movl	(%r12), %ecx
	addl	%ecx, (%rax)
	movq	%r12, %rdi
	callq	_netif_receive_skb
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_DSA_MAX_PORTS,4,2              ## @DSA_MAX_PORTS
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_PACKET_HOST,4,2                ## @PACKET_HOST
	.no_dead_strip	_trailer_rcv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trailer_rcv
_trailer_rcv:                           ; @trailer_rcv
	.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
	mov	x19, x0
	ldr	x20, [x1]
	cmp	x20, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_kfree_skb
LBB0_2:
	mov	w0, #0
	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_3:
	ldr	x8, [x20]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_unshare
	cbz	x0, LBB0_2
; %bb.4:
	mov	x19, x0
	bl	_skb_linearize
	cbnz	x0, LBB0_1
; %bb.5:
	mov	x0, x19
	bl	_skb_tail_pointer
	ldur	w8, [x0, #-16]
	cmp	w8, #128
	b.ne	LBB0_1
; %bb.6:
	ldur	w8, [x0, #-12]
	tst	w8, #0xf8
	b.ne	LBB0_1
; %bb.7:
	ldur	w9, [x0, #-4]
	cbnz	w9, LBB0_1
; %bb.8:
	and	x21, x8, #0x7
Lloh3:
	adrp	x8, _DSA_MAX_PORTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSA_MAX_PORTS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ge	LBB0_1
; %bb.9:
	ldr	x8, [x20]
	ldr	x8, [x8, x21, lsl #3]
	cbz	x8, LBB0_1
; %bb.10:
	ldr	x8, [x19]
	sub	x1, x8, #4
	mov	x0, x19
	bl	_pskb_trim_rcsum
	ldr	x8, [x20]
	ldr	x8, [x8, x21, lsl #3]
	str	x8, [x19, #8]
Lloh6:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_push
Lloh9:
	adrp	x8, _PACKET_HOST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PACKET_HOST@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	ldr	x1, [x19, #8]
	mov	x0, x19
	bl	_eth_type_trans
	str	w0, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	d0, [x8]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x19]
	add.2s	v0, v0, v1
	str	d0, [x8]
	mov	x0, x19
	bl	_netif_receive_skb
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_DSA_MAX_PORTS,4,2              ; @DSA_MAX_PORTS
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_PACKET_HOST,4,2                ; @PACKET_HOST
	.no_dead_strip	_trailer_rcv
.subsections_via_symbols
