	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_dmx_swfilter_204           ## -- Begin function dvb_dmx_swfilter_204
	.p2align	4, 0x90
_dvb_dmx_swfilter_204:                  ## @dvb_dmx_swfilter_204
	.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	$776, %rsp                      ## imm = 0x308
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	addq	$16, %rdi
	movq	%rdi, -808(%rbp)                ## 8-byte Spill
	callq	_spin_lock
	movslq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	$204, %ebx
	subq	%rdi, %rbx
	shlq	$2, %rdi
	addq	8(%r14), %rdi
	cmpq	%r15, %rbx
	jbe	LBB0_4
## %bb.3:
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	addl	(%r14), %r15d
	jmp	LBB0_19
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_4:
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	8(%r14), %rsi
	movl	(%rsi), %eax
	cmpl	$184, %eax
	je	LBB0_6
## %bb.5:
	cmpl	$71, %eax
	jne	LBB0_9
LBB0_6:
	leaq	-800(%rbp), %rdi
	movl	$188, %edx
	callq	_memcpy
	cmpl	$184, -800(%rbp)
	jne	LBB0_8
## %bb.7:
	movl	$71, -800(%rbp)
LBB0_8:
	leaq	-800(%rbp), %rsi
	movq	%r14, %rdi
	callq	_dvb_dmx_swfilter_packet
LBB0_9:
	movl	$0, (%r14)
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	leaq	-800(%rbp), %rsi
	callq	_dvb_dmx_swfilter_packet
	movl	$204, %ecx
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	addl	%ecx, %ebx
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	cmpq	%r15, %rax
	jae	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%r12,%rax,4), %edx
	cmpl	$184, %edx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$1, %ecx
	cmpl	$71, %edx
	jne	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%r12,%rax,4), %rsi
	movq	%r15, %r13
	subq	%rax, %r13
	cmpq	$204, %r13
	jb	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	-800(%rbp), %rdi
	movl	$188, %edx
	callq	_memcpy
	cmpl	$184, -800(%rbp)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	$71, -800(%rbp)
	jmp	LBB0_16
LBB0_18:
	movq	8(%r14), %rdi
	movl	%r13d, %edx
	callq	_memcpy
	movl	%r13d, %r15d
LBB0_19:
	movl	%r15d, (%r14)
LBB0_20:
	movq	-808(%rbp), %rdi                ## 8-byte Reload
	callq	_spin_unlock
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	addq	$776, %rsp                      ## imm = 0x308
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_dmx_swfilter_204           ; -- Begin function dvb_dmx_swfilter_204
	.p2align	2
_dvb_dmx_swfilter_204:                  ; @dvb_dmx_swfilter_204
	.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
	sub	sp, sp, #768
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x19, x0, #16
	mov	x0, x19
	bl	_spin_lock
	ldrsw	x8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w9, #204
	ldr	x10, [x20, #8]
	add	x0, x10, x8, lsl #2
	sub	x23, x9, x8
	cmp	x23, x21
	b.ls	LBB0_4
; %bb.2:
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	ldr	w8, [x20]
	add	w23, w8, w21
	b	LBB0_21
LBB0_3:
	mov	w23, #0
	b	LBB0_10
LBB0_4:
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	ldr	x1, [x20, #8]
	ldr	w8, [x1]
	cmp	w8, #184
	b.eq	LBB0_6
; %bb.5:
	cmp	w8, #71
	b.ne	LBB0_9
LBB0_6:
	add	x0, sp, #8
	mov	w2, #188
	bl	_memcpy
	ldr	w8, [sp, #8]
	cmp	w8, #184
	b.ne	LBB0_8
; %bb.7:
	mov	w8, #71
	str	w8, [sp, #8]
LBB0_8:
	add	x1, sp, #8
	mov	x0, x20
	bl	_dvb_dmx_swfilter_packet
LBB0_9:
	str	wzr, [x20]
LBB0_10:
	mov	x8, x23
	sxtw	x8, w8
	cmp	x8, x21
	b.hs	LBB0_22
; %bb.11:
	mov	w24, #71
	mov	x25, x23
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	bl	_dvb_dmx_swfilter_packet
	mov	w8, #204
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w25, w25, w8
	sxtw	x8, w25
	cmp	x8, x21
	b.hs	LBB0_22
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x1, x22, x8, lsl #2
	ldr	w9, [x1]
	cmp	w9, #184
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w9, #71
	b.ne	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	x23, x21, x8
	cmp	x23, #204
	b.lo	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #8
	mov	w2, #188
	bl	_memcpy
	ldr	w8, [sp, #8]
	cmp	w8, #184
	b.ne	LBB0_12
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	str	w24, [sp, #8]
	b	LBB0_12
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	w8, #1
	b	LBB0_13
LBB0_20:
	ldr	x0, [x20, #8]
	mov	x2, x23
	bl	_memcpy
LBB0_21:
	str	w23, [x20]
LBB0_22:
	mov	x0, x19
	bl	_spin_unlock
	ldur	x8, [x29, #-72]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	add	sp, sp, #768
	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
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
