	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tm2_null_res_block
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_tm2_null_res_block:                    ## @tm2_null_res_block
	.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	%edx, %r12d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_TM2_INIT_POINTERS
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	_U@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Ustride@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_clast@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movq	8(%r14), %rcx
	leaq	-112(%rbp), %rbx
	movq	%rbx, %r8
	movl	%r12d, %r9d
	callq	_tm2_low_chroma
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	_V@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Vstride@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r13), %rdx
	addq	$2, %rdx
	movq	8(%r14), %rcx
	addq	$2, %rcx
	movq	%rbx, %r8
	movl	%r12d, %r9d
	callq	_tm2_low_chroma
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	(%r14), %rax
	movl	4(%rax), %ecx
	addl	(%rax), %ecx
	addl	8(%rax), %ecx
	addl	12(%rax), %ecx
	movq	_last@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	testl	%r12d, %r12d
	jle	LBB0_2
## %bb.1:
	movl	-4(%r8), %r15d
	subl	%ecx, %r15d
LBB0_2:
	movl	12(%r8), %edx
	movl	%edx, %esi
	subl	%r15d, %esi
	movl	%esi, %edi
	sarl	$2, %edi
	leal	(%rdi,%r15), %ebx
	movl	%ebx, (%r8)
	sarl	%esi
	addl	%r15d, %esi
	movl	%esi, 4(%r8)
	subl	%edi, %edx
	movl	%edx, 8(%r8)
	movl	%ecx, %edx
	sarl	$2, %edx
	movl	%edx, (%rax)
	movl	%ecx, %esi
	sarl	%esi
	addl	%r15d, %esi
	leal	(%rdx,%rsi), %ebx
	subl	%r15d, %esi
	subl	%edx, %esi
	movl	%esi, 4(%rax)
	addl	%r15d, %ecx
	subl	%ebx, %ecx
	movl	%ecx, 8(%rax)
	movl	%edx, 12(%rax)
	movq	_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_Ystride@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %rcx
	movq	%r14, %rdi
	callq	_tm2_apply_deltas
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_U,4,2                          ## @U
	.comm	_Ustride,4,2                    ## @Ustride
	.comm	_clast,8,3                      ## @clast
	.comm	_V,4,2                          ## @V
	.comm	_Vstride,4,2                    ## @Vstride
	.comm	_last,8,3                       ## @last
	.comm	_Y,4,2                          ## @Y
	.comm	_Ystride,4,2                    ## @Ystride
	.no_dead_strip	_tm2_null_res_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function tm2_null_res_block
lCPI0_0:
	.long	4294967294                      ; 0xfffffffe
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tm2_null_res_block:                    ; @tm2_null_res_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_TM2_INIT_POINTERS
	stp	xzr, xzr, [sp]
Lloh3:
	adrp	x8, _U@GOTPAGE
Lloh4:
	ldr	x8, [x8, _U@GOTPAGEOFF]
Lloh5:
	adrp	x9, _Ustride@GOTPAGE
Lloh6:
	ldr	x9, [x9, _Ustride@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	ldr	w1, [x9]
Lloh9:
	adrp	x21, _clast@GOTPAGE
Lloh10:
	ldr	x21, [x21, _clast@GOTPAGEOFF]
	ldr	x2, [x21]
	ldr	x3, [x19, #8]
	mov	x4, sp
	mov	x5, x20
	bl	_tm2_low_chroma
	stp	xzr, xzr, [sp]
Lloh11:
	adrp	x8, _V@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V@GOTPAGEOFF]
Lloh13:
	adrp	x9, _Vstride@GOTPAGE
Lloh14:
	ldr	x9, [x9, _Vstride@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	ldr	w1, [x9]
	ldr	x8, [x21]
	add	x2, x8, #2
	ldr	x8, [x19, #8]
	add	x3, x8, #2
	mov	x4, sp
	mov	x5, x20
	bl	_tm2_low_chroma
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	stp	q0, q0, [sp, #32]
	ldr	x8, [x19]
	ldp	w9, w10, [x8]
	ldp	w11, w12, [x8, #8]
	add	w9, w10, w9
	add	w9, w9, w11
	add	w9, w9, w12
Lloh17:
	adrp	x10, _last@GOTPAGE
Lloh18:
	ldr	x10, [x10, _last@GOTPAGEOFF]
Lloh19:
	ldr	x4, [x10]
	cmp	w20, #1
	b.lt	LBB0_2
; %bb.1:
	ldur	w10, [x4, #-4]
	sub	w10, w10, w9
	b	LBB0_3
LBB0_2:
	mov	w10, #0
LBB0_3:
	ldr	w11, [x4, #12]
	sub	w12, w11, w10
	dup.2s	v0, w12
Lloh20:
	adrp	x12, lCPI0_0@PAGE
Lloh21:
	ldr	d1, [x12, lCPI0_0@PAGEOFF]
	sshl.2s	v0, v0, v1
	dup.2s	v1, w10
	add.2s	v1, v0, v1
	str	d1, [x4]
	fmov	w12, s0
	sub	w11, w11, w12
	str	w11, [x4, #8]
	asr	w11, w9, #2
	add	w12, w10, w9, asr #1
	add	w13, w10, w11
	sub	w13, w12, w13
	stp	w11, w13, [x8]
	add	w9, w9, w10
	add	w10, w11, w12
	sub	w9, w9, w10
	stp	w9, w11, [x8, #8]
Lloh22:
	adrp	x8, _Y@GOTPAGE
Lloh23:
	ldr	x8, [x8, _Y@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _Ystride@GOTPAGE
Lloh26:
	ldr	x8, [x8, _Ystride@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x3, sp
	mov	x0, x19
	bl	_tm2_apply_deltas
	ldur	x8, [x29, #-40]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdr	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_U,4,2                          ; @U
	.comm	_Ustride,4,2                    ; @Ustride
	.comm	_clast,8,3                      ; @clast
	.comm	_V,4,2                          ; @V
	.comm	_Vstride,4,2                    ; @Vstride
	.comm	_last,8,3                       ; @last
	.comm	_Y,4,2                          ; @Y
	.comm	_Ystride,4,2                    ; @Ystride
	.no_dead_strip	_tm2_null_res_block
.subsections_via_symbols
