	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_dmx_swfilter               ## -- Begin function dvb_dmx_swfilter
	.p2align	4, 0x90
_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	16(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	movslq	(%r15), %rdi
	testq	%rdi, %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	$188, %ebx
	subq	%rdi, %rbx
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	cmpq	%r14, %rbx
	jbe	LBB0_4
## %bb.3:
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	addl	(%r15), %r14d
	jmp	LBB0_13
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	movq	%r12, %rsi
	movl	%ebx, %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)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	addl	%ecx, %ebx
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	cmpq	%r14, %rax
	jae	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %ecx
	cmpl	$71, (%r12,%rax,4)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r12,%rax,4), %rsi
	movq	%r14, %r13
	subq	%rax, %r13
	cmpq	$188, %r13
	jb	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_dvb_dmx_swfilter_packet
	movl	$188, %ecx
	jmp	LBB0_11
LBB0_12:
	movq	8(%r15), %rdi
	movl	%r13d, %edx
	callq	_memcpy
	movl	%r13d, %r14d
LBB0_13:
	movl	%r14d, (%r15)
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.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               ; -- Begin function dvb_dmx_swfilter
	.p2align	2
_dvb_dmx_swfilter:                      ; @dvb_dmx_swfilter
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_spin_lock
	ldrsw	x8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w9, #188
	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_15
LBB0_3:
	mov	w23, #0
	b	LBB0_7
LBB0_4:
	mov	x1, x22
	mov	x2, x23
	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	x8, x23
	sxtw	x8, w8
	cmp	x8, x21
	b.hs	LBB0_16
; %bb.8:
	mov	x24, x23
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	w8, #1
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w24, w24, w8
	sxtw	x8, w24
	cmp	x8, x21
	b.hs	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x1, x22, x8, lsl #2
	ldr	w9, [x1]
	cmp	w9, #71
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	x23, x21, x8
	cmp	x23, #188
	b.lo	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	bl	_dvb_dmx_swfilter_packet
	mov	w8, #188
	b	LBB0_10
LBB0_14:
	ldr	x0, [x20, #8]
	mov	x2, x23
	bl	_memcpy
LBB0_15:
	str	w23, [x20]
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
