	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_dmx_swfilter_section_copy_dump
_dvb_dmx_swfilter_section_copy_dump:    ## @dvb_dmx_swfilter_section_copy_dump
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	8(%rdi), %rsi
	movq	_DMX_MAX_SECFEED_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r15d, %r15d
	cmpq	%rax, %rsi
	jge	LBB0_14
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %r13
	movq	56(%rdi), %rbx
	leaq	(%rsi,%rdx), %rcx
	cmpq	%rax, %rcx
	jle	LBB0_3
## %bb.2:
	movq	_DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_set_buf_flags
	addq	8(%r13), %r14
	movq	_DMX_MAX_SECFEED_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	subq	%rdx, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dprintk_sect_loss
	movq	_DMX_MAX_SECFEED_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	8(%r13), %rsi
	subq	%rsi, %r14
LBB0_3:
	testq	%r14, %r14
	jle	LBB0_14
## %bb.4:
	addq	16(%r13), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	*(%rbx)
	addq	8(%r13), %r14
	movq	%r14, 8(%r13)
	movl	$-1, %r15d
	movq	_DMX_MAX_SECFEED_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jg	LBB0_14
## %bb.5:
	movq	32(%r13), %rax
	movq	16(%r13), %rdi
	addq	%rax, %rdi
	movq	%rdi, 24(%r13)
	addq	$2, %rax
	movl	$0, %r15d
	cmpq	%r14, %rax
	jge	LBB0_14
## %bb.6:
	movq	_DMX_MAX_SECTION_SIZE@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_set_buf_flags
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk_sect_loss
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%r13), %rax
	leaq	(%rax,%rbx), %rcx
	movq	%rcx, 32(%r13)
	movq	24(%r13), %rdi
	addq	%rbx, %rdi
	movq	%rdi, 24(%r13)
	addq	%rbx, %rax
	addq	$2, %rax
	cmpq	%r14, %rax
	jge	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	callq	_section_length
	testq	%rax, %rax
	jle	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	cmpq	(%r12), %rax
	jg	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%r13), %rax
	addq	%rbx, %rax
	cmpq	%r14, %rax
	jg	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, 48(%r13)
	movl	$-1, 40(%r13)
	cmpq	$0, (%r13)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	callq	_dvb_dmx_swfilter_section_feed
	jmp	LBB0_13
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMX_MAX_SECFEED_SIZE,8,3       ## @DMX_MAX_SECFEED_SIZE
	.comm	_DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED,4,2 ## @DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"section buffer full loss: %d/%d\n"

	.comm	_DMX_MAX_SECTION_SIZE,8,3       ## @DMX_MAX_SECTION_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"pusi not seen, discarding section data\n"

	.no_dead_strip	_dvb_dmx_swfilter_section_copy_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_dmx_swfilter_section_copy_dump
_dvb_dmx_swfilter_section_copy_dump:    ; @dvb_dmx_swfilter_section_copy_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x22, _DMX_MAX_SECFEED_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DMX_MAX_SECFEED_SIZE@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ge	LBB0_15
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x23, [x0, #56]
	add	x10, x8, x2
	cmp	x10, x9
	b.le	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_set_buf_flags
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x8, x8, x21
	sub	x8, x8, x9
	stp	x8, x9, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk_sect_loss
	ldr	x9, [x22]
	ldr	x8, [x19, #8]
	sub	x21, x9, x8
LBB0_3:
	cmp	x21, #1
	b.lt	LBB0_15
; %bb.4:
	ldr	x9, [x23]
	ldr	x10, [x19, #16]
	add	x1, x8, x10
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	blr	x9
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x22, x8, x21
	cmp	x22, x9
	str	x22, [x19, #8]
	b.le	LBB0_6
; %bb.5:
	mov	w0, #-1
	b	LBB0_16
LBB0_6:
	ldr	x8, [x19, #16]
	ldr	x9, [x19, #32]
	add	x8, x9, x8
	str	x8, [x19, #24]
	add	x9, x9, #2
	cmp	x9, x22
	b.ge	LBB0_15
; %bb.7:
Lloh7:
	adrp	x23, _DMX_MAX_SECTION_SIZE@GOTPAGE
Lloh8:
	ldr	x23, [x23, _DMX_MAX_SECTION_SIZE@GOTPAGEOFF]
	mov	w24, #-1
Lloh9:
	adrp	x25, _DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED@GOTPAGE
Lloh10:
	ldr	x25, [x25, _DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED@GOTPAGEOFF]
Lloh11:
	adrp	x20, l_.str.1@PAGE
Lloh12:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x25]
	mov	x0, x19
	bl	_set_buf_flags
	mov	x0, x20
	bl	_dprintk_sect_loss
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #0
	ldp	x9, x8, [x19, #24]
	add	x10, x8, x21
	add	x8, x9, x21
	stp	x8, x10, [x19, #24]
	add	x9, x10, #2
	cmp	x9, x22
	b.ge	LBB0_16
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x8
	bl	_section_length
	mov	x21, x0
	mov	w0, #0
	cmp	x21, #1
	b.lt	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x23]
	cmp	x21, x8
	b.gt	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #32]
	add	x8, x8, x21
	cmp	x8, x22
	b.gt	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	str	x21, [x19, #48]
	str	w24, [x19, #40]
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_dvb_dmx_swfilter_section_feed
	b	LBB0_9
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DMX_MAX_SECFEED_SIZE,8,3       ; @DMX_MAX_SECFEED_SIZE
	.comm	_DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED,4,2 ; @DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"section buffer full loss: %d/%d\n"

	.comm	_DMX_MAX_SECTION_SIZE,8,3       ; @DMX_MAX_SECTION_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"pusi not seen, discarding section data\n"

	.no_dead_strip	_dvb_dmx_swfilter_section_copy_dump
.subsections_via_symbols
