	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tm2_update_block
_tm2_update_block:                      ## @tm2_update_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_TM2_INIT_POINTERS_2
	movq	_Uo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rcx, %r14
	movq	(%rax), %r15
	movq	_TM2_UPD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GET_TOK
	addq	%r15, %rax
	movq	_U@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	_Vo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GET_TOK
	addq	%r15, %rax
	movq	_V@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	(%r14), %rax
	movq	8(%rax), %r15
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GET_TOK
	addq	%r15, %rax
	movq	_U@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	_Vo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %r15
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GET_TOK
	addq	%r15, %rax
	movq	_V@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movq	%rax, 8(%rcx)
	movq	_Ustride@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$3, %rax
	addq	%rax, (%r14)
	movq	_Vstride@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rcx,%rax,8), %rax
	movq	%rax, (%rdx)
	movq	_oUstride@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_Uo@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	movq	_oVstride@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	shlq	$3, %rdx
	movq	_Vo@GOTPCREL(%rip), %r14
	addq	%rdx, (%r14)
	leaq	(%rcx,%rax,8), %rdx
	movq	%rdx, (%rsi)
	movq	(%rcx,%rax,8), %r15
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GET_TOK
	addq	%r15, %rax
	movq	_U@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	(%r14), %rax
	movq	(%rax), %r15
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GET_TOK
	addq	%r15, %rax
	movq	_V@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	movq	_Uo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %r15
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_GET_TOK
	addq	%r15, %rax
	movq	_U@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	_Vo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %r15
	movq	_TM2_UPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_GET_TOK
	addq	%r15, %rax
	movq	%r14, %r9
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	_Ustride@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	leaq	(,%rsi,8), %rdi
	addq	(%r13), %rdi
	movq	_oUstride@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$3, %rax
	movq	_Uo@GOTPCREL(%rip), %rdx
	addq	%rax, (%rdx)
	movq	_Vstride@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	leaq	(%rcx,%rax,8), %r10
	movq	_oVstride@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	shlq	$3, %rdx
	movq	_Vo@GOTPCREL(%rip), %rcx
	addq	%rdx, (%rcx)
	movq	%rsi, %rdx
	shlq	$4, %rdx
	subq	%rdx, %rdi
	movq	%rdi, (%r13)
	shlq	$4, %rax
	subq	%rax, %r10
	movq	%r10, (%r9)
	movq	%r9, %r13
	movq	_clast@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	8(%r12), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_TM2_RECALC_BLOCK
	movq	(%r13), %rdi
	movl	(%r14), %esi
	movq	(%r15), %rdx
	addq	$2, %rdx
	movq	8(%r12), %rcx
	addq	$2, %rcx
	callq	_TM2_RECALC_BLOCK
	movq	_Yo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	12(%rax), %edx
	movq	_last@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subl	12(%rcx), %edx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rsi
	movl	%edx, (%rsi)
	movq	_oYstride@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movl	12(%rax,%rdx,4), %edi
	subl	12(%rax), %edi
	movl	%edi, 4(%rsi)
	movl	12(%rax,%rdx,8), %edi
	subl	12(%rax,%rdx,4), %edi
	movl	%edi, 8(%rsi)
	leaq	(%rdx,%rdx,2), %rdi
	movl	12(%rax,%rdi,4), %edi
	subl	12(%rax,%rdx,8), %edi
	movl	%edi, 12(%rsi)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	12(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	(%rax), %r14d
	movq	_TM2_UPD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_GET_TOK
	addl	%r14d, %eax
	movq	_Y@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	_last@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	%eax, (%rcx)
	movq	_Yo@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	4(%rax), %ebx
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_GET_TOK
	addl	%ebx, %eax
	movq	_Y@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	%eax, 4(%rcx)
	movq	_last@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	%eax, 4(%rcx)
	movq	(%r14), %rax
	movl	8(%rax), %ebx
	movq	_TM2_UPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_GET_TOK
	addl	%ebx, %eax
	movq	(%r12), %rcx
	movl	%eax, 8(%rcx)
	movq	(%r13), %rcx
	movl	%eax, 8(%rcx)
	movq	(%r14), %rax
	movl	12(%rax), %ebx
	movq	_TM2_UPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_GET_TOK
	addl	%ebx, %eax
	movq	(%r12), %rdx
	movl	%eax, 12(%rdx)
	movq	(%r13), %rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 12(%rcx)
	subl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	(%r15), %rsi
	movl	%eax, (%rsi,%rbx,4)
	movq	_Ystride@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rdx,%rax,4), %rdx
	movq	_oYstride@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	addq	(%r14), %rax
	movq	%rdx, (%r12)
	movq	%rax, (%r14)
	incq	%rbx
	cmpq	$4, %rbx
	jne	LBB0_1
## %bb.2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Uo,8,3                         ## @Uo
	.comm	_TM2_UPD,4,2                    ## @TM2_UPD
	.comm	_U,8,3                          ## @U
	.comm	_Vo,8,3                         ## @Vo
	.comm	_V,8,3                          ## @V
	.comm	_Ustride,4,2                    ## @Ustride
	.comm	_Vstride,4,2                    ## @Vstride
	.comm	_oUstride,4,2                   ## @oUstride
	.comm	_oVstride,4,2                   ## @oVstride
	.comm	_clast,8,3                      ## @clast
	.comm	_Yo,8,3                         ## @Yo
	.comm	_last,8,3                       ## @last
	.comm	_oYstride,4,2                   ## @oYstride
	.comm	_Y,8,3                          ## @Y
	.comm	_Ystride,4,2                    ## @Ystride
	.no_dead_strip	_tm2_update_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tm2_update_block
_tm2_update_block:                      ; @tm2_update_block
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	bl	_TM2_INIT_POINTERS_2
Lloh0:
	adrp	x21, _Uo@GOTPAGE
Lloh1:
	ldr	x21, [x21, _Uo@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x22, [x8]
Lloh2:
	adrp	x20, _TM2_UPD@GOTPAGE
Lloh3:
	ldr	x20, [x20, _TM2_UPD@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	x8, x0, x22
Lloh4:
	adrp	x22, _U@GOTPAGE
Lloh5:
	ldr	x22, [x22, _U@GOTPAGEOFF]
	ldr	x9, [x22]
	str	x8, [x9]
Lloh6:
	adrp	x24, _Vo@GOTPAGE
Lloh7:
	ldr	x24, [x24, _Vo@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x25, [x8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
Lloh8:
	adrp	x23, _V@GOTPAGE
Lloh9:
	ldr	x23, [x23, _V@GOTPAGEOFF]
	add	x8, x0, x25
	ldr	x9, [x23]
	str	x8, [x9]
	ldr	x8, [x21]
	ldr	x25, [x8, #8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	x8, x0, x25
	ldr	x9, [x22]
	str	x8, [x9, #8]
	ldr	x8, [x24]
	ldr	x25, [x8, #8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	x8, x0, x25
	ldr	x9, [x23]
	str	x8, [x9, #8]
Lloh10:
	adrp	x8, _Ustride@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Ustride@GOTPAGEOFF]
Lloh12:
	ldrsw	x8, [x8]
	ldr	x10, [x22]
	add	x8, x10, x8, lsl #3
	str	x8, [x22]
Lloh13:
	adrp	x25, _Vstride@GOTPAGE
Lloh14:
	ldr	x25, [x25, _Vstride@GOTPAGEOFF]
	ldrsw	x8, [x25]
	add	x8, x9, x8, lsl #3
	str	x8, [x23]
Lloh15:
	adrp	x27, _oUstride@GOTPAGE
Lloh16:
	ldr	x27, [x27, _oUstride@GOTPAGEOFF]
	ldrsw	x8, [x27]
	ldr	x9, [x21]
	lsl	x8, x8, #3
	add	x10, x9, x8
	str	x10, [x21]
Lloh17:
	adrp	x28, _oVstride@GOTPAGE
Lloh18:
	ldr	x28, [x28, _oVstride@GOTPAGEOFF]
	ldrsw	x10, [x28]
	ldr	x11, [x24]
	add	x10, x11, x10, lsl #3
	str	x10, [x24]
	ldr	x26, [x9, x8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	x8, x0, x26
	ldr	x9, [x22]
	str	x8, [x9]
	ldr	x8, [x24]
	ldr	x26, [x8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	x8, x0, x26
	ldr	x9, [x23]
	str	x8, [x9]
	ldr	x8, [x21]
	ldr	x26, [x8, #8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	x8, x0, x26
	ldr	x9, [x22]
	str	x8, [x9, #8]
	ldr	x8, [x24]
	ldr	x26, [x8, #8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	x8, x0, x26
	ldr	x9, [x23]
	str	x8, [x9, #8]
Lloh19:
	adrp	x8, _Ustride@GOTPAGE
Lloh20:
	ldr	x8, [x8, _Ustride@GOTPAGEOFF]
Lloh21:
	ldrsw	x1, [x8]
	ldr	x8, [x22]
	add	x8, x8, x1, lsl #3
	ldrsw	x10, [x25]
	add	x9, x9, x10, lsl #3
	ldrsw	x11, [x27]
	ldr	x12, [x21]
	add	x11, x12, x11, lsl #3
	str	x11, [x21]
	ldrsw	x11, [x28]
	ldr	x12, [x24]
	add	x11, x12, x11, lsl #3
	str	x11, [x24]
	sub	x0, x8, x1, lsl #4
	str	x0, [x22]
	sub	x8, x9, x10, lsl #4
	str	x8, [x23]
Lloh22:
	adrp	x21, _clast@GOTPAGE
Lloh23:
	ldr	x21, [x21, _clast@GOTPAGEOFF]
	ldr	x2, [x21]
	ldr	x3, [x19, #8]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_TM2_RECALC_BLOCK
	ldr	x0, [x23]
	ldr	w1, [x25]
	ldr	x8, [x21]
	add	x2, x8, #2
	ldr	x8, [x19, #8]
	add	x3, x8, #2
	bl	_TM2_RECALC_BLOCK
	mov	x21, #0
Lloh24:
	adrp	x22, _Yo@GOTPAGE
Lloh25:
	ldr	x22, [x22, _Yo@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w10, [x9, #12]
Lloh26:
	adrp	x23, _last@GOTPAGE
Lloh27:
	ldr	x23, [x23, _last@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w11, [x8, #12]
	sub	w10, w10, w11
	ldr	x11, [x19]
Lloh28:
	adrp	x24, _oYstride@GOTPAGE
Lloh29:
	ldr	x24, [x24, _oYstride@GOTPAGEOFF]
	str	w10, [x11]
	ldr	w10, [x24]
	add	w12, w10, #3
	sbfiz	x12, x12, #2, #32
	ldr	w13, [x9, x12]
	ldr	w14, [x9, #12]
	sub	w13, w13, w14
	str	w13, [x11, #4]
	lsl	w13, w10, #1
	add	w14, w13, #3
	sbfiz	x14, x14, #2, #32
	ldr	w15, [x9, x14]
	ldr	w12, [x9, x12]
	sub	w12, w15, w12
	str	w12, [x11, #8]
	add	w10, w13, w10
	add	w10, w10, #3
	ldr	w10, [x9, w10, sxtw #2]
	ldr	w12, [x9, x14]
	sub	w10, w10, w12
	str	w10, [x11, #12]
Lloh30:
	adrp	x25, _Y@GOTPAGE
Lloh31:
	ldr	x25, [x25, _Y@GOTPAGEOFF]
Lloh32:
	adrp	x26, _Ystride@GOTPAGE
Lloh33:
	ldr	x26, [x26, _Ystride@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x8, #12]
	ldr	w28, [x9]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	w8, w28, w0
	ldr	x9, [x25]
	str	w8, [x9]
	ldr	x9, [x23]
	str	w8, [x9]
	ldr	x8, [x22]
	ldr	w28, [x8, #4]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	w8, w28, w0
	ldr	x9, [x25]
	str	w8, [x9, #4]
	ldr	x9, [x23]
	str	w8, [x9, #4]
	ldr	x8, [x22]
	ldr	w28, [x8, #8]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	add	w8, w28, w0
	ldr	x9, [x25]
	str	w8, [x9, #8]
	ldr	x9, [x23]
	str	w8, [x9, #8]
	ldr	x8, [x22]
	ldr	w28, [x8, #12]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GET_TOK
	ldr	x9, [x25]
	add	w10, w28, w0
	sub	w11, w10, w27
	str	w10, [x9, #12]
	ldr	x8, [x23]
	str	w10, [x8, #12]
	ldr	x10, [x19]
	str	w11, [x10, x21]
	ldrsw	x10, [x26]
	add	x9, x9, x10, lsl #2
	str	x9, [x25]
	ldrsw	x9, [x24]
	ldr	x10, [x22]
	add	x9, x10, x9, lsl #2
	str	x9, [x22]
	add	x21, x21, #4
	cmp	x21, #16
	b.ne	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Uo,8,3                         ; @Uo
	.comm	_TM2_UPD,4,2                    ; @TM2_UPD
	.comm	_U,8,3                          ; @U
	.comm	_Vo,8,3                         ; @Vo
	.comm	_V,8,3                          ; @V
	.comm	_Ustride,4,2                    ; @Ustride
	.comm	_Vstride,4,2                    ; @Vstride
	.comm	_oUstride,4,2                   ; @oUstride
	.comm	_oVstride,4,2                   ; @oVstride
	.comm	_clast,8,3                      ; @clast
	.comm	_Yo,8,3                         ; @Yo
	.comm	_last,8,3                       ; @last
	.comm	_oYstride,4,2                   ; @oYstride
	.comm	_Y,8,3                          ; @Y
	.comm	_Ystride,4,2                    ; @Ystride
	.no_dead_strip	_tm2_update_block
.subsections_via_symbols
