	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dvb_dmx_swfilter
__dvb_dmx_swfilter:                     ## @_dvb_dmx_swfilter
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movslq	(%r15), %rdi
	testq	%rdi, %rdi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	%r12d, %r14d
	subl	%edi, %r14d
	movslq	%r14d, %rax
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	cmpq	%rbx, %rax
	jbe	LBB0_4
## %bb.3:
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addl	%ebx, (%r15)
	jmp	LBB0_18
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_4:
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	8(%r15), %rsi
	cmpl	$71, (%rsi)
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_dvb_dmx_swfilter_packet
LBB0_6:
	movl	$0, (%r15)
LBB0_7:
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_find_next_packet
	movl	%eax, %r14d
	cltq
	cmpq	%rbx, %rax
	jae	LBB0_14
## %bb.8:
	movslq	%r12d, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_dvb_dmx_swfilter_packet
	addl	%r12d, %r14d
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_find_next_packet
	movl	%eax, %r14d
	cltq
	cmpq	%rbx, %rax
	jae	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rcx
	subq	%rax, %rcx
	cmpq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	jb	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	cmpl	$204, %r12d
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$184, (%rsi)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r15), %rdi
	movl	$188, %edx
	callq	_memcpy
	movq	8(%r15), %rsi
	movl	$71, (%rsi)
	jmp	LBB0_13
LBB0_14:
	cmpl	%ebx, %r14d
	je	LBB0_18
## %bb.15:
	subl	%r14d, %ebx
	movq	8(%r15), %rdi
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movl	%ebx, (%r15)
	cmpl	$204, %r12d
	jne	LBB0_18
## %bb.16:
	movq	8(%r15), %rax
	cmpl	$184, (%rax)
	jne	LBB0_18
## %bb.17:
	movl	$71, (%rax)
LBB0_18:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__dvb_dmx_swfilter
.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
__dvb_dmx_swfilter:                     ; @_dvb_dmx_swfilter
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldrsw	x8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	sub	w24, w21, w8
	sxtw	x9, w24
	ldr	x10, [x20, #8]
	add	x0, x10, x8, lsl #2
	cmp	x9, x22
	b.ls	LBB0_4
; %bb.2:
	mov	x1, x23
	mov	x2, x22
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, w22
	str	w8, [x20]
	b	LBB0_18
LBB0_3:
	mov	w24, #0
	b	LBB0_7
LBB0_4:
	mov	x1, x23
	mov	x2, x24
	bl	_memcpy
	ldr	x1, [x20, #8]
	ldr	w8, [x1]
	cmp	w8, #71
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_dvb_dmx_swfilter_packet
LBB0_6:
	str	wzr, [x20]
LBB0_7:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	mov	x3, x21
	bl	_find_next_packet
	mov	x24, x0
	mov	x8, x0
	sxtw	x8, w8
	cmp	x8, x22
	b.hs	LBB0_14
; %bb.8:
	sxtw	x25, w21
	mov	w26, #71
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x20
	bl	_dvb_dmx_swfilter_packet
	add	w1, w24, w21
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	bl	_find_next_packet
	mov	x24, x0
	sxtw	x8, w24
	cmp	x8, x22
	b.hs	LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	x9, x22, x8
	cmp	x9, x25
	b.lo	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x1, x23, x8, lsl #2
	cmp	w21, #204
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x1]
	cmp	w8, #184
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x20, #8]
	mov	w2, #188
	bl	_memcpy
	ldr	x1, [x20, #8]
	str	w26, [x1]
	b	LBB0_9
LBB0_14:
	cmp	w24, w22
	b.eq	LBB0_18
; %bb.15:
	sub	w22, w22, w24
	ldr	x0, [x20, #8]
	add	x1, x23, x8, lsl #2
	mov	x2, x22
	bl	_memcpy
	str	w22, [x20]
	cmp	w21, #204
	b.ne	LBB0_18
; %bb.16:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	cmp	w9, #184
	b.ne	LBB0_18
; %bb.17:
	mov	w9, #71
	str	w9, [x8]
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__dvb_dmx_swfilter
.subsections_via_symbols
