	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function process_video_row
LCPI0_0:
	.space	16,32
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_process_video_row
	.p2align	4, 0x90
_process_video_row:                     ## @process_video_row
	.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	_I@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_vi_source@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	jne	LBB0_35
## %bb.1:
	movq	_vi_uploaded@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$1, (%rax,%rcx,4)
	jne	LBB0_35
## %bb.2:
	movq	_vi_privacy@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_3
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_vi_owner_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_fits
	testl	%eax, %eax
	je	LBB0_35
## %bb.4:
	movq	_L@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	_vi_title@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movslq	(%rcx,%rax,4), %rax
	movq	_vi_description@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movslq	(%rcx,%rdx,4), %rcx
	leaq	(%rcx,%rax), %rdi
	cmpl	$4094, %edi                     ## imm = 0xFFE
	jg	LBB0_35
## %bb.5:
	leaq	(%rcx,%rax), %r13
	incq	%r13
	cmpl	$254, %edi
	jg	LBB0_7
## %bb.6:
	addl	$22, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_write_alloc
	movq	_LEV_SEARCH_TEXT_SHORT@GOTPCREL(%rip), %rcx
	addq	(%rcx), %r13
	movq	%r13, 24(%rax)
	movq	$0, 16(%rax)
	movq	(%rbx), %rcx
	movq	_vi_duration@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, (%rax)
	addq	$8, %rax
	jmp	LBB0_8
LBB0_7:
	addl	$24, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_write_alloc
	movq	_LEV_SEARCH_TEXT_LONG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rax)
	movq	$0, 24(%rax)
	movq	(%rbx), %rcx
	movq	_vi_duration@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, (%rax)
	movl	%r13d, 8(%rax)
	addq	$16, %rax
LBB0_8:
	movq	(%rax), %rax
	movq	(%r12), %rdx
	movq	(%r15), %rcx
	movl	(%rcx,%rdx,4), %ecx
	testl	%ecx, %ecx
	jle	LBB0_21
## %bb.9:
	movq	_S@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rsi,%rdx,8), %rdx
	leal	-1(%rcx), %r9d
	cmpl	$31, %r9d
	jb	LBB0_19
## %bb.10:
	movq	%rax, %rsi
	subq	%rdx, %rsi
	cmpq	$32, %rsi
	jb	LBB0_19
## %bb.11:
	incq	%r9
	movq	%r9, %r8
	andq	$-32, %r8
	leaq	-32(%r8), %rdi
	movq	%rdi, %rsi
	shrq	$5, %rsi
	incq	%rsi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.13:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%ebx, %ebx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdx,%rbx), %xmm1
	movdqu	16(%rdx,%rbx), %xmm2
	pmaxub	%xmm0, %xmm1
	pmaxub	%xmm0, %xmm2
	movdqu	%xmm1, (%rax,%rbx)
	movdqu	%xmm2, 16(%rax,%rbx)
	movdqu	32(%rdx,%rbx), %xmm1
	movdqu	48(%rdx,%rbx), %xmm2
	pmaxub	%xmm0, %xmm1
	pmaxub	%xmm0, %xmm2
	movdqu	%xmm1, 32(%rax,%rbx)
	movdqu	%xmm2, 48(%rax,%rbx)
	addq	$64, %rbx
	addq	$-2, %rdi
	jne	LBB0_14
	jmp	LBB0_15
LBB0_12:
	xorl	%ebx, %ebx
LBB0_15:
	testb	$1, %sil
	je	LBB0_17
## %bb.16:
	movdqu	(%rdx,%rbx), %xmm0
	movdqu	16(%rdx,%rbx), %xmm1
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
	pmaxub	%xmm2, %xmm0
	pmaxub	%xmm2, %xmm1
	movdqu	%xmm0, (%rax,%rbx)
	movdqu	%xmm1, 16(%rax,%rbx)
LBB0_17:
	addq	%r8, %rax
	cmpq	%r8, %r9
	je	LBB0_21
## %bb.18:
	addq	%r8, %rdx
	subl	%r8d, %ecx
LBB0_19:
	incl	%ecx
	movl	$32, %esi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %edi
	incq	%rdx
	cmpb	$33, %dil
	cmovbl	%esi, %edi
	movb	%dil, (%rax)
	incq	%rax
	decl	%ecx
	cmpl	$1, %ecx
	ja	LBB0_20
LBB0_21:
	movb	$9, (%rax)
	movq	(%r14), %rsi
	movq	(%r15), %rcx
	movl	(%rcx,%rsi,4), %edx
	leaq	1(%rax), %rcx
	testl	%edx, %edx
	jle	LBB0_34
## %bb.22:
	movq	_S@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	(%rdi,%rsi,8), %rsi
	leal	-1(%rdx), %r10d
	cmpl	$31, %r10d
	jb	LBB0_32
## %bb.23:
	movq	%rax, %rdi
	subq	%rsi, %rdi
	incq	%rdi
	cmpq	$32, %rdi
	jb	LBB0_32
## %bb.24:
	incq	%r10
	movq	%r10, %r8
	andq	$-32, %r8
	leaq	-32(%r8), %rdi
	movq	%rdi, %r9
	shrq	$5, %r9
	incq	%r9
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.26:
	movq	%r9, %rdi
	andq	$-2, %rdi
	xorl	%ebx, %ebx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rbx), %xmm1
	movdqu	16(%rsi,%rbx), %xmm2
	pmaxub	%xmm0, %xmm1
	pmaxub	%xmm0, %xmm2
	movdqu	%xmm1, 1(%rax,%rbx)
	movdqu	%xmm2, 17(%rax,%rbx)
	movdqu	32(%rsi,%rbx), %xmm1
	movdqu	48(%rsi,%rbx), %xmm2
	pmaxub	%xmm0, %xmm1
	pmaxub	%xmm0, %xmm2
	movdqu	%xmm1, 33(%rax,%rbx)
	movdqu	%xmm2, 49(%rax,%rbx)
	addq	$64, %rbx
	addq	$-2, %rdi
	jne	LBB0_27
	jmp	LBB0_28
LBB0_25:
	xorl	%ebx, %ebx
LBB0_28:
	testb	$1, %r9b
	je	LBB0_30
## %bb.29:
	movdqu	(%rsi,%rbx), %xmm0
	movdqu	16(%rsi,%rbx), %xmm1
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
	pmaxub	%xmm2, %xmm0
	pmaxub	%xmm2, %xmm1
	movdqu	%xmm0, (%rcx,%rbx)
	movdqu	%xmm1, 16(%rcx,%rbx)
LBB0_30:
	addq	%r8, %rcx
	cmpq	%r8, %r10
	je	LBB0_34
## %bb.31:
	addq	%r8, %rsi
	subl	%r8d, %edx
LBB0_32:
	incl	%edx
	movl	$32, %eax
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %edi
	incq	%rsi
	cmpb	$33, %dil
	cmovbl	%eax, %edi
	movb	%dil, (%rcx)
	incq	%rcx
	decl	%edx
	cmpl	$1, %edx
	ja	LBB0_33
LBB0_34:
	movb	$0, (%rcx)
	movq	_adj_rec@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_I,8,3                          ## @I
	.comm	_vi_source,8,3                  ## @vi_source
	.comm	_vi_uploaded,8,3                ## @vi_uploaded
	.comm	_vi_privacy,8,3                 ## @vi_privacy
	.comm	_vi_owner_id,8,3                ## @vi_owner_id
	.comm	_L,8,3                          ## @L
	.comm	_vi_title,8,3                   ## @vi_title
	.comm	_vi_description,8,3             ## @vi_description
	.comm	_LEV_SEARCH_TEXT_SHORT,8,3      ## @LEV_SEARCH_TEXT_SHORT
	.comm	_vi_duration,8,3                ## @vi_duration
	.comm	_vi_id,8,3                      ## @vi_id
	.comm	_LEV_SEARCH_TEXT_LONG,4,2       ## @LEV_SEARCH_TEXT_LONG
	.comm	_S,8,3                          ## @S
	.comm	_adj_rec,4,2                    ## @adj_rec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_video_row              ; -- Begin function process_video_row
	.p2align	2
_process_video_row:                     ; @process_video_row
	.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
Lloh0:
	adrp	x21, _I@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _vi_source@GOTPAGE
Lloh3:
	ldr	x9, [x9, _vi_source@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbnz	w9, LBB0_3
; %bb.1:
Lloh5:
	adrp	x9, _vi_uploaded@GOTPAGE
Lloh6:
	ldr	x9, [x9, _vi_uploaded@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #1
	b.ne	LBB0_3
; %bb.2:
Lloh8:
	adrp	x9, _vi_privacy@GOTPAGE
Lloh9:
	ldr	x9, [x9, _vi_privacy@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_4
LBB0_3:
	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
	ret
LBB0_4:
Lloh11:
	adrp	x9, _vi_owner_id@GOTPAGE
Lloh12:
	ldr	x9, [x9, _vi_owner_id@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_fits
	cbz	w0, LBB0_3
; %bb.5:
Lloh14:
	adrp	x19, _L@GOTPAGE
Lloh15:
	ldr	x19, [x19, _L@GOTPAGEOFF]
Lloh16:
	adrp	x22, _vi_title@GOTPAGE
Lloh17:
	ldr	x22, [x22, _vi_title@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldrsw	x9, [x8, x9, lsl #2]
Lloh18:
	adrp	x20, _vi_description@GOTPAGE
Lloh19:
	ldr	x20, [x20, _vi_description@GOTPAGEOFF]
	ldr	x10, [x20]
	ldrsw	x8, [x8, x10, lsl #2]
	add	x8, x8, x9
	cmp	w8, #4094
	b.gt	LBB0_3
; %bb.6:
	add	x23, x8, #1
	cmp	w8, #254
	b.gt	LBB0_8
; %bb.7:
	add	w0, w8, #22
	bl	_write_alloc
Lloh20:
	adrp	x8, _LEV_SEARCH_TEXT_SHORT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LEV_SEARCH_TEXT_SHORT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	add	x8, x8, x23
	stp	xzr, x8, [x0, #16]
Lloh23:
	adrp	x8, _vi_duration@GOTPAGE
Lloh24:
	ldr	x8, [x8, _vi_duration@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh25:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x0]
	add	x8, x0, #8
	b	LBB0_9
LBB0_8:
	add	w0, w8, #24
	bl	_write_alloc
Lloh26:
	adrp	x8, _LEV_SEARCH_TEXT_LONG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LEV_SEARCH_TEXT_LONG@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	str	xzr, [x0, #24]
	ldr	x8, [x21]
Lloh29:
	adrp	x9, _vi_duration@GOTPAGE
Lloh30:
	ldr	x9, [x9, _vi_duration@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x0]
	str	w23, [x0, #8]
	add	x8, x0, #16
LBB0_9:
	ldr	x12, [x8]
	ldr	x11, [x22]
	ldr	x8, [x19]
	ldr	w9, [x8, x11, lsl #2]
Lloh32:
	adrp	x8, _S@GOTPAGE
Lloh33:
	ldr	x8, [x8, _S@GOTPAGEOFF]
	subs	w10, w9, #1
	b.lt	LBB0_17
; %bb.10:
	ldr	x13, [x8]
	ldr	x11, [x13, x11, lsl #3]
	cmp	w10, #63
	b.lo	LBB0_15
; %bb.11:
	sub	x13, x12, x11
	cmp	x13, #64
	b.lo	LBB0_15
; %bb.12:
	add	x13, x10, #1
	and	x14, x13, #0x1ffffffc0
	add	x15, x11, x14
	add	x10, x12, x14
	sub	w9, w9, w14
	add	x11, x11, #32
	add	x12, x12, #32
	movi.16b	v0, #32
	mov	x16, x14
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11], #64
	umax.16b	v1, v1, v0
	umax.16b	v2, v2, v0
	umax.16b	v3, v3, v0
	umax.16b	v4, v4, v0
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x16, x16, #64
	b.ne	LBB0_13
; %bb.14:
	mov	x11, x15
	mov	x12, x10
	cmp	x13, x14
	b.eq	LBB0_18
LBB0_15:
	add	w9, w9, #1
	mov	w13, #32
	mov	x10, x12
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x11], #1
	cmp	w12, #32
	csel	w12, w12, w13, hi
	strb	w12, [x10], #1
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_16
	b	LBB0_18
LBB0_17:
	mov	x10, x12
LBB0_18:
	mov	w11, #9
	mov	x9, x10
	strb	w11, [x9], #1
	ldr	x13, [x20]
	ldr	x11, [x19]
	ldr	w11, [x11, x13, lsl #2]
	subs	w12, w11, #1
	b.lt	LBB0_26
; %bb.19:
	ldr	x8, [x8]
	ldr	x8, [x8, x13, lsl #3]
	cmp	w12, #63
	b.lo	LBB0_24
; %bb.20:
	sub	x13, x10, x8
	add	x13, x13, #1
	cmp	x13, #64
	b.lo	LBB0_24
; %bb.21:
	add	x12, x12, #1
	and	x13, x12, #0x1ffffffc0
	add	x9, x9, x13
	add	x14, x8, x13
	sub	w11, w11, w13
	add	x10, x10, #33
	add	x8, x8, #32
	movi.16b	v0, #32
	mov	x15, x13
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x8, #-32]
	ldp	q3, q4, [x8], #64
	umax.16b	v1, v1, v0
	umax.16b	v2, v2, v0
	umax.16b	v3, v3, v0
	umax.16b	v4, v4, v0
	stp	q1, q2, [x10, #-32]
	stp	q3, q4, [x10], #64
	subs	x15, x15, #64
	b.ne	LBB0_22
; %bb.23:
	mov	x8, x14
	cmp	x12, x13
	b.eq	LBB0_26
LBB0_24:
	add	w10, w11, #1
	mov	w11, #32
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x8], #1
	cmp	w12, #32
	csel	w12, w12, w11, hi
	strb	w12, [x9], #1
	sub	w10, w10, #1
	cmp	w10, #1
	b.hi	LBB0_25
LBB0_26:
	strb	wzr, [x9]
Lloh34:
	adrp	x8, _adj_rec@GOTPAGE
Lloh35:
	ldr	x8, [x8, _adj_rec@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_I,8,3                          ; @I
	.comm	_vi_source,8,3                  ; @vi_source
	.comm	_vi_uploaded,8,3                ; @vi_uploaded
	.comm	_vi_privacy,8,3                 ; @vi_privacy
	.comm	_vi_owner_id,8,3                ; @vi_owner_id
	.comm	_L,8,3                          ; @L
	.comm	_vi_title,8,3                   ; @vi_title
	.comm	_vi_description,8,3             ; @vi_description
	.comm	_LEV_SEARCH_TEXT_SHORT,8,3      ; @LEV_SEARCH_TEXT_SHORT
	.comm	_vi_duration,8,3                ; @vi_duration
	.comm	_vi_id,8,3                      ; @vi_id
	.comm	_LEV_SEARCH_TEXT_LONG,4,2       ; @LEV_SEARCH_TEXT_LONG
	.comm	_S,8,3                          ; @S
	.comm	_adj_rec,4,2                    ; @adj_rec
.subsections_via_symbols
