	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_net_ule_new_ts_cell
_dvb_net_ule_new_ts_cell:               ## @dvb_net_ule_new_ts_cell
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %edx
	movq	_TS_SYNC@GOTPCREL(%rip), %rsi
	movq	_TS_TEI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	4(%rax), %ecx
	cmpl	(%rsi), %edx
	jne	LBB0_3
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_3
## %bb.2:
	movq	_TS_SC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%ecx, %ecx
	testl	%esi, 12(%rax)
	je	LBB0_6
LBB0_3:
	movq	24(%rbx), %rsi
	movl	4(%rsi), %esi
	sarl	$7, %ecx
	movq	_TS_SC@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	andl	12(%rax), %r8d
	sarl	$6, %r8d
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	movq	24(%rbx), %rdi
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_dev_kfree_skb
	movq	32(%rbx), %rax
	incl	4(%rax)
	incl	(%rax)
	movq	24(%rbx), %rdi
LBB0_5:
	callq	_reset_ule
	movq	24(%rbx), %rax
	movl	$1, (%rax)
	movq	_TS_SZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$2, %rcx
	addq	%rcx, (%rbx)
	incl	4(%rax)
	movl	$1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movl	$184, 8(%rbx)
	addq	$16, %rax
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_SYNC,4,2                    ## @TS_SYNC
	.comm	_TS_TEI,4,2                     ## @TS_TEI
	.comm	_TS_SC,4,2                      ## @TS_SC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lu: Invalid TS cell: SYNC %#x, TEI %u, SC %#x.\n"

	.comm	_TS_SZ,4,2                      ## @TS_SZ
	.comm	_ule_dump,8,3                   ## @ule_dump
	.comm	_ule_hist,8,3                   ## @ule_hist
	.comm	_ule_where,8,3                  ## @ule_where
	.no_dead_strip	_dvb_net_ule_new_ts_cell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_net_ule_new_ts_cell
_dvb_net_ule_new_ts_cell:               ; @dvb_net_ule_new_ts_cell
	.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
	mov	x19, x0
Lloh0:
	adrp	x9, _TS_SYNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TS_SYNC@GOTPAGEOFF]
	ldr	x8, [x0]
Lloh2:
	ldr	w9, [x9]
	ldp	w2, w10, [x8]
Lloh3:
	adrp	x11, _TS_TEI@GOTPAGE
Lloh4:
	ldr	x11, [x11, _TS_TEI@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	and	w10, w11, w10
	cmp	w2, w9
	ccmp	w10, #0, #0, eq
Lloh6:
	adrp	x9, _TS_SC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TS_SC@GOTPAGEOFF]
	b.ne	LBB0_3
; %bb.1:
	ldr	w10, [x8, #12]
	ldr	w11, [x9]
	tst	w11, w10
	b.eq	LBB0_6
; %bb.2:
	mov	w10, #0
LBB0_3:
	ldr	x11, [x19, #24]
	ldr	w1, [x11, #4]
	asr	w3, w10, #7
	ldr	w8, [x8, #12]
	ldr	w9, [x9]
	and	w8, w9, w8
	asr	w4, w8, #6
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
	ldr	x0, [x19, #24]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x8
	bl	_dev_kfree_skb
	ldp	x0, x8, [x19, #24]
	ldr	d0, [x8]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x8]
LBB0_5:
	bl	_reset_ule
	ldr	x8, [x19, #24]
	mov	w0, #1
Lloh10:
	adrp	x9, _TS_SZ@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TS_SZ@GOTPAGEOFF]
	ldr	w10, [x8, #4]
	add	w10, w10, #1
	str	w0, [x8]
Lloh12:
	ldrsw	x9, [x9]
	ldr	x11, [x19]
	add	x9, x11, x9, lsl #2
	str	x9, [x19]
	str	w10, [x8, #4]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	mov	w9, #184
	str	w9, [x19, #8]
	add	x8, x8, #16
	str	x8, [x19, #16]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_SYNC,4,2                    ; @TS_SYNC
	.comm	_TS_TEI,4,2                     ; @TS_TEI
	.comm	_TS_SC,4,2                      ; @TS_SC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lu: Invalid TS cell: SYNC %#x, TEI %u, SC %#x.\n"

	.comm	_TS_SZ,4,2                      ; @TS_SZ
	.comm	_ule_dump,8,3                   ; @ule_dump
	.comm	_ule_hist,8,3                   ; @ule_hist
	.comm	_ule_where,8,3                  ; @ule_where
	.no_dead_strip	_dvb_net_ule_new_ts_cell
.subsections_via_symbols
