	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compress_sliced_buf
_compress_sliced_buf:                   ## @compress_sliced_buf
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rdx, %rbx
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r12
	movslq	(%rdi), %r13
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jg	LBB0_2
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
	addq	$4, %rbx
	cmpl	%eax, %ecx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$255, (%rbx)
	jne	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 4(%rbx)
	jne	LBB0_1
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 8(%rbx)
	jne	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, 12(%rbx)
	jne	LBB0_1
	jmp	LBB0_7
LBB0_6:
	movl	%ecx, %eax
LBB0_7:
	subl	%eax, %ecx
	cmpl	%r13d, %ecx
	jl	LBB0_20
## %bb.8:
	movl	%ecx, %eax
	cltd
	idivl	%r13d
	testl	%eax, %eax
	jle	LBB0_20
## %bb.9:
	movl	%eax, %r14d
	addq	$16, %rbx
	shlq	$2, %r13
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	%r13, %rbx
	decq	%r14
	je	LBB0_20
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$255, -16(%rbx)
	jne	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$0, -12(%rbx)
	jne	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$0, -8(%rbx)
	jne	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	%r15d, -4(%rbx)
	jne	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)
	movl	16(%r12), %edi
	movq	_decode_vbi_line@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-80(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	leaq	-80(%rbp), %rdx
	callq	_v4l2_subdev_call
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	-72(%rbp), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	btl	%ecx, %esi
	jb	LBB0_10
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	orl	%edx, %esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movslq	%esi, %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rsi,2), %rsi
	movq	%rax, 16(%rdx,%rsi,8)
	movl	-68(%rbp), %eax
	movl	%eax, 8(%rdx,%rsi,8)
	movl	%ecx, (%rdx,%rsi,8)
	movl	4(%rdx,%rsi,8), %edi
	movq	-80(%rbp), %rsi
	movl	$42, %edx
	callq	_memcpy
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	incl	%esi
	jmp	LBB0_11
LBB0_20:
	movl	%esi, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_decode_vbi_line,4,2            ## @decode_vbi_line
	.no_dead_strip	_compress_sliced_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compress_sliced_buf
_compress_sliced_buf:                   ; @compress_sliced_buf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x19, x1
	mov	x21, x0
	ldrsw	x8, [x0]
	mov	w9, #0
	subs	w10, w3, #1
	b.lt	LBB0_8
; %bb.1:
	add	x10, x2, w10, uxtw #2
	add	x10, x10, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	add	x2, x2, #4
	cmp	w3, w9
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x2]
	cmp	w11, #255
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x2, #4]
	cbnz	w11, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x2, #8]
	cbnz	w11, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x2, #12]
	cmp	w11, w20
	b.ne	LBB0_2
	b	LBB0_8
LBB0_7:
	mov	x2, x10
	mov	x9, x3
LBB0_8:
	sub	w9, w3, w9
	cmp	w9, w8
	b.lt	LBB0_19
; %bb.9:
	sdiv	w22, w9, w8
	cmp	w22, #1
	b.lt	LBB0_19
; %bb.10:
	mov	w23, #0
	add	x24, x2, #16
	lsl	x25, x8, #2
Lloh0:
	adrp	x26, _decode_vbi_line@GOTPAGE
Lloh1:
	ldr	x26, [x26, _decode_vbi_line@GOTPAGEOFF]
	mov	w27, #1
	mov	w28, #24
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x24, x24, x25
	subs	x22, x22, #1
	b.eq	LBB0_19
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x24, #-16]
	cmp	w8, #255
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	w8, [x24, #-12]
	cbnz	w8, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	w8, [x24, #-8]
	cbnz	w8, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	w8, [x24, #-4]
	cmp	w8, w20
	b.ne	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	str	x24, [sp, #24]
	ldr	w0, [x21, #16]
	ldr	w2, [x26]
	ldur	q0, [sp, #24]
	str	q0, [sp]
	ldr	x8, [sp, #40]
	str	x8, [sp, #16]
	mov	x1, sp
	add	x3, sp, #24
	bl	_v4l2_subdev_call
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_11
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w9, [sp, #32]
	lsl	w10, w27, w9
	tst	w10, w23
	b.ne	LBB0_11
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	orr	w23, w10, w23
	ldr	x10, [x21, #8]
	smaddl	x10, w19, w28, x10
	str	x8, [x10, #16]
	ldr	w8, [sp, #36]
	str	w8, [x10, #8]
	str	w9, [x10]
	ldr	w0, [x10, #4]
	ldr	x1, [sp, #24]
	mov	w2, #42
	bl	_memcpy
	add	w19, w19, #1
	b	LBB0_11
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_decode_vbi_line,4,2            ; @decode_vbi_line
	.no_dead_strip	_compress_sliced_buf
.subsections_via_symbols
