	.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
_dvb_net_ule_new_ts:                    ## @dvb_net_ule_new_ts
	.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, %rbx
	movq	(%rdi), %rdi
	movq	24(%rbx), %rax
	movl	12(%rdi), %esi
	movl	%esi, %edx
	andl	$15, %edx
	movl	(%rax), %ecx
	cmpl	%ecx, %edx
	jne	LBB0_10
## %bb.1:
	incl	%esi
	andl	$15, %esi
	movl	%esi, (%rax)
	movq	_TS_PUSI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r14d, %r14d
	testl	%ecx, 4(%rdi)
	je	LBB0_17
## %bb.2:
	cmpl	$0, 4(%rax)
	je	LBB0_3
## %bb.14:
	movl	$0, 4(%rax)
	movl	8(%rax), %edx
	cmpl	$184, %edx
	jl	LBB0_17
LBB0_16:
	movq	32(%rbx), %rcx
	incl	4(%rcx)
	incl	(%rcx)
	movl	24(%rax), %esi
	movl	16(%rdi), %ecx
	movl	16(%rbx), %r8d
	leaq	L_.str.2(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pr_warn
	movq	24(%rbx), %rax
	movq	16(%rax), %rdi
	callq	_dev_kfree_skb
	movq	24(%rbx), %rdi
	callq	_reset_ule
	movq	(%rbx), %rax
	movslq	16(%rax), %rax
	movq	%rax, %rcx
	shlq	$2, %rcx
	addq	%rcx, 8(%rbx)
	subl	%eax, 16(%rbx)
	jmp	LBB0_17
LBB0_10:
	movl	24(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_warn
	movq	24(%rbx), %rdi
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %rdi
	callq	_dev_kfree_skb
	movq	32(%rbx), %rax
	incl	4(%rax)
	incl	8(%rax)
	movq	24(%rbx), %rdi
LBB0_12:
	callq	_reset_ule
	movq	24(%rbx), %rax
	movl	$1, 4(%rax)
	movl	$1, %r14d
LBB0_17:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	8(%rbx), %rcx
	movl	(%rcx), %edx
	movl	16(%rbx), %esi
	decl	%esi
	cmpl	%esi, %edx
	jge	LBB0_5
## %bb.4:
	cmpl	8(%rax), %edx
	jne	LBB0_5
## %bb.13:
	addq	$4, %rcx
	movq	%rcx, 8(%rbx)
	movl	%esi, 16(%rbx)
	cmpl	$184, %edx
	jge	LBB0_16
	jmp	LBB0_17
LBB0_5:
	movl	24(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_warn
	movq	24(%rbx), %rax
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	movl	$1, 20(%rbx)
	callq	_dev_kfree_skb
LBB0_7:
	cmpl	$0, 20(%rbx)
	movq	24(%rbx), %rdi
	jne	LBB0_9
## %bb.8:
	cmpl	$0, 8(%rdi)
	je	LBB0_12
LBB0_9:
	movq	32(%rbx), %rax
	incl	4(%rax)
	incl	8(%rax)
	movl	$0, 20(%rbx)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lu: TS discontinuity: got %#x, expected %#x.\n"

	.comm	_TS_PUSI,4,2                    ## @TS_PUSI
L_.str.1:                               ## @.str.1
	.asciz	"%lu: Invalid pointer field: %u.\n"

L_.str.2:                               ## @.str.2
	.asciz	"%lu: Expected %d more SNDU bytes, but got PUSI (pf %d, h->ts_remain %d).  Flushing incomplete payload.\n"

	.no_dead_strip	_dvb_net_ule_new_ts
.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
_dvb_net_ule_new_ts:                    ; @dvb_net_ule_new_ts
	.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	x19, x0
	ldr	x8, [x0]
	ldr	w10, [x8, #12]
	and	w2, w10, #0xf
	ldr	x9, [x0, #24]
	ldr	w11, [x9]
	cmp	w2, w11
	b.ne	LBB0_5
; %bb.1:
	add	w10, w10, #1
	and	w10, w10, #0xf
	str	w10, [x9]
	ldr	w10, [x8, #4]
Lloh0:
	adrp	x11, _TS_PUSI@GOTPAGE
Lloh1:
	ldr	x11, [x11, _TS_PUSI@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_11
; %bb.2:
	ldr	w10, [x9, #4]
	cbz	w10, LBB0_8
; %bb.3:
	str	wzr, [x9, #4]
	ldr	w2, [x9, #8]
	cmp	w2, #184
	b.lt	LBB0_11
LBB0_4:
	ldr	x10, [x19, #32]
	ldr	d0, [x10]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	str	d0, [x10]
	ldr	w1, [x9, #24]
	ldr	w8, [x8, #16]
	ldr	w9, [x19, #16]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x0, l_.str.2@PAGE
Lloh4:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_warn
	ldr	x8, [x19, #24]
	ldr	x0, [x8, #16]
	bl	_dev_kfree_skb
	ldr	x0, [x19, #24]
	bl	_reset_ule
	mov	w0, #0
	ldp	x8, x9, [x19]
	ldrsw	x8, [x8, #16]
	add	x9, x9, x8, lsl #2
	str	x9, [x19, #8]
	ldr	w9, [x19, #16]
	sub	w8, w9, w8
	str	w8, [x19, #16]
	b	LBB0_12
LBB0_5:
	ldr	w1, [x9, #24]
	str	x11, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
	ldr	x0, [x19, #24]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x8
	bl	_dev_kfree_skb
	ldp	x0, x8, [x19, #24]
	ldur	d0, [x8, #4]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x8, #4]
LBB0_7:
	bl	_reset_ule
	ldr	x8, [x19, #24]
	mov	w0, #1
	str	w0, [x8, #4]
	b	LBB0_12
LBB0_8:
	ldr	x10, [x19, #8]
	ldr	w2, [x10]
	ldr	w11, [x19, #16]
	sub	w11, w11, #1
	cmp	w2, w11
	b.ge	LBB0_13
; %bb.9:
	ldr	w12, [x9, #8]
	cmp	w2, w12
	b.ne	LBB0_13
; %bb.10:
	add	x10, x10, #4
	str	x10, [x19, #8]
	str	w11, [x19, #16]
	cmp	w2, #184
	b.ge	LBB0_4
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_13:
	ldr	w1, [x9, #24]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_warn
	ldr	x8, [x19, #24]
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x19, #20]
	bl	_dev_kfree_skb
LBB0_15:
	ldr	w8, [x19, #20]
	ldr	x0, [x19, #24]
	cbnz	w8, LBB0_17
; %bb.16:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_7
LBB0_17:
	ldr	x8, [x19, #32]
	ldur	d0, [x8, #4]
	movi.2s	v1, #1
	add.2s	v0, v0, v1
	stur	d0, [x8, #4]
	str	wzr, [x19, #20]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lu: TS discontinuity: got %#x, expected %#x.\n"

	.comm	_TS_PUSI,4,2                    ; @TS_PUSI
l_.str.1:                               ; @.str.1
	.asciz	"%lu: Invalid pointer field: %u.\n"

l_.str.2:                               ; @.str.2
	.asciz	"%lu: Expected %d more SNDU bytes, but got PUSI (pf %d, h->ts_remain %d).  Flushing incomplete payload.\n"

	.no_dead_strip	_dvb_net_ule_new_ts
.subsections_via_symbols
