	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function postprocess_chroma
_postprocess_chroma:                    ## @postprocess_chroma
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	jle	LBB0_6
## %bb.1:
	movl	%ecx, %ebx
	movl	$16, %r15d
	subl	%ecx, %r15d
	leal	-1(%rbx), %ecx
	movl	$1, %r13d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r13d
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movl	4(%rax), %edx
	movl	8(%rax), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	movq	8(%rcx), %rsi
	movq	16(%rcx), %r11
	movslq	%eax, %r10
	movslq	%edi, %rcx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	leaq	(,%rcx,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	shlq	$3, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	(,%r10,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shlq	$3, %r10
	movq	%r10, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rsi, %rcx
	movq	%r11, %r14
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	addq	-80(%rbp), %r14                 ## 8-byte Folded Reload
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	addq	-88(%rbp), %r11                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	addq	-96(%rbp), %rsi                 ## 8-byte Folded Reload
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r11, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi,%r12,8), %rdi
	addq	%r13, %rdi
	movl	%ebx, %esi
	callq	_av_clip_uintp2_c
	movl	%r15d, %ecx
	shll	%cl, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r12,4)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %rdi
	addq	%r13, %rdi
	movl	%ebx, %esi
	callq	_av_clip_uintp2_c
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	%r15d, %ecx
	shll	%cl, %eax
	movl	%eax, (%r14,%r12,4)
	incq	%r12
	cmpq	%r12, %rdi
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_postprocess_chroma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function postprocess_chroma
_postprocess_chroma:                    ; @postprocess_chroma
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	stp	w2, w1, [sp, #44]               ; 8-byte Folded Spill
	cmp	w2, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x27, x3
	mov	w12, #0
	mov	w8, #16
	sub	w23, w8, w3
	sub	w8, w3, #1
	mov	w9, #1
	lsl	w24, w9, w8
	ldp	x8, x9, [x0]
	ldp	w8, w10, [x8, #4]
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	ldr	w11, [sp, #48]                  ; 4-byte Folded Reload
	mov	w20, w11
	sbfiz	x13, x10, #2, #32
	ldp	x28, x21, [x9, #8]
	sbfiz	x9, x10, #3, #32
	stp	x9, x13, [sp, #24]              ; 16-byte Folded Spill
	sbfiz	x9, x8, #2, #32
	sbfiz	x8, x8, #3, #32
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	mov	x8, x28
	mov	x19, x21
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w12, [sp, #52]                  ; 4-byte Folded Reload
	add	w12, w12, #1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x19, x19, x8
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x21, x21, x8
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	add	x10, x10, x8
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x28, x28, x8
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w12, w8
	mov	x8, x10
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	str	w12, [sp, #52]                  ; 4-byte Folded Spill
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x22, x26, #3
	ldr	x8, [x28, x22]
	add	x0, x8, x24
	mov	x1, x27
	bl	_av_clip_uintp2_c
	lsl	w8, w0, w23
	lsl	x25, x26, #2
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	str	w8, [x9, x25]
	ldr	x8, [x21, x22]
	add	x0, x8, x24
	mov	x1, x27
	bl	_av_clip_uintp2_c
	lsl	w8, w0, w23
	str	w8, [x19, x25]
	add	x26, x26, #1
	cmp	x20, x26
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_postprocess_chroma
.subsections_via_symbols
