	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FCBIByBlock
_FCBIByBlock:                           ## @FCBIByBlock
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -168(%rbp)                 ## 8-byte Spill
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_WORKBLOCK_REALSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	imull	%r15d, %r15d
	shll	$2, %r15d
	shlq	$2, %r15
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	_ExpandHalfTextureToGrid
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_36
## %bb.1:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addl	$-2, %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	leal	(,%r13,4), %eax
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	leal	-2(%r13), %eax
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_WORKBLOCK_SIZE@GOTPCREL(%rip), %rbx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	%edi, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpl	-88(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_36
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_12 Depth 4
                                        ##       Child Loop BB0_30 Depth 3
                                        ##         Child Loop BB0_32 Depth 4
	testl	%r13d, %r13d
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	subl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	(%rbx), %rdi
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	_WORKBLOCK_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	%edi, %eax
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	cmpl	%r13d, %eax
	jge	LBB0_35
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_12 Depth 4
                                        ##       Child Loop BB0_30 Depth 3
                                        ##         Child Loop BB0_32 Depth 4
	movl	%r13d, %esi
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	subl	%eax, %esi
	callq	_MIN
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	movl	-116(%rbp), %esi                ## 4-byte Reload
	callq	_MIN
	movl	%eax, %edx
	movq	_WORKBLOCK_BORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax), %esi
	movq	%r14, %rcx
	movq	%r14, -152(%rbp)                ## 8-byte Spill
	leal	(%r14,%rax,2), %r13d
	movl	%edx, -120(%rbp)                ## 4-byte Spill
	addl	%edx, %esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	jle	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	leal	(,%r13,4), %ecx
	movl	%ecx, -132(%rbp)                ## 4-byte Spill
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	addl	%edx, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_12 Depth 4
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%r14), %edi
	subl	%eax, %edi
	cmpq	$0, -160(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=3
	xorl	%esi, %esi
	movl	-128(%rbp), %edx                ## 4-byte Reload
	callq	_CLAMP
	testl	%r13d, %r13d
	jg	LBB0_11
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=3
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %edi
	movl	%edi, %eax
	cltd
	idivl	%ecx
	movl	%edx, %eax
	testl	%r13d, %r13d
	jle	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=3
	imull	-124(%rbp), %eax                ## 4-byte Folded Reload
	cltq
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r12
	movl	-132(%rbp), %eax                ## 4-byte Reload
	imull	%r14d, %eax
	cltq
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=4
	movq	-112(%rbp), %rax                ## 8-byte Reload
	addl	%ebx, %eax
	subl	%ecx, %eax
	cltd
	idivl	-96(%rbp)                       ## 4-byte Folded Reload
	movl	%edx, %eax
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=4
	shll	$2, %eax
	cltq
	leaq	(%r12,%rax,4), %rsi
	movq	%r15, %rdi
	callq	_COPYSAMPLE
	addq	$32, %r15
	addl	$2, %ebx
	cmpl	%r13d, %ebx
	jge	LBB0_16
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	_WORKBLOCK_BORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpq	$0, -160(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=4
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%rbx), %edi
	subl	%ecx, %edi
	xorl	%esi, %esi
	movl	-136(%rbp), %edx                ## 4-byte Reload
	callq	_CLAMP
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=3
	addq	$2, %r14
	cmpq	-176(%rbp), %r14                ## 8-byte Folded Reload
	jge	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=3
	movq	_WORKBLOCK_BORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_DoLinear
	movq	_r_imageUpsampleType@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpq	$0, -168(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_19
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=2
	testl	%eax, %eax
	je	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$1, %eax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=2
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_DoFCBIQuick
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	$1, %r8d
	callq	_DoFCBIQuick
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=2
	testl	%eax, %eax
	je	LBB0_28
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$1, %eax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	callq	_DoFCBIQuick
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	callq	_DoFCBI
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	$1, %r8d
	jmp	LBB0_27
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=2
	callq	_DoFCBI
LBB0_28:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	-120(%rbp), %eax                ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=2
	movl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_30 Depth=3
	incq	%r12
	cmpq	-112(%rbp), %r12                ## 8-byte Folded Reload
	je	LBB0_34
LBB0_30:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_32 Depth 4
	cmpl	$0, -152(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=3
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	%r12d, %eax
	imull	-96(%rbp), %eax                 ## 4-byte Folded Reload
	addl	-104(%rbp), %eax                ## 4-byte Folded Reload
	shll	$2, %eax
	cltq
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r15
	movq	_WORKBLOCK_BORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%r12), %ecx
	imull	%r13d, %ecx
	addl	%eax, %ecx
	shll	$2, %ecx
	movslq	%ecx, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %r14d
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_30 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_COPYSAMPLE
	addq	$16, %r15
	addq	$16, %rbx
	decl	%r14d
	jne	LBB0_32
	jmp	LBB0_33
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WORKBLOCK_REALSIZE,4,2         ## @WORKBLOCK_REALSIZE
	.comm	_WORKBLOCK_SIZE,8,3             ## @WORKBLOCK_SIZE
	.comm	_WORKBLOCK_BORDER,4,2           ## @WORKBLOCK_BORDER
	.comm	_r_imageUpsampleType,8,3        ## @r_imageUpsampleType
	.no_dead_strip	_FCBIByBlock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FCBIByBlock
_FCBIByBlock:                           ; @FCBIByBlock
	.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
	sub	sp, sp, #80
	stur	x4, [x29, #-160]                ; 8-byte Folded Spill
	mov	x20, x3
	mov	x19, x2
	mov	x22, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _WORKBLOCK_REALSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WORKBLOCK_REALSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mul	w8, w8, w8
	lsl	w8, w8, #2
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x9, x9, x8
	stur	x9, [x29, #-120]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x8, x9, x8
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	mov	sp, x8
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	bl	_ExpandHalfTextureToGrid
	stur	w19, [x29, #-144]               ; 4-byte Folded Spill
	cmp	w19, #1
	b.lt	LBB0_35
; %bb.1:
	stur	wzr, [x29, #-96]                ; 4-byte Folded Spill
	ldur	w8, [x29, #-144]                ; 4-byte Folded Reload
	sub	w9, w8, #2
	lsl	w8, w22, #2
	stp	w8, w9, [x29, #-140]            ; 8-byte Folded Spill
	sub	w27, w22, #2
Lloh10:
	adrp	x19, _WORKBLOCK_SIZE@GOTPAGE
Lloh11:
	ldr	x19, [x19, _WORKBLOCK_SIZE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	w9, [x29, #-96]                 ; 4-byte Folded Reload
	add	w9, w9, w0
	ldur	w8, [x29, #-144]                ; 4-byte Folded Reload
	stur	w9, [x29, #-96]                 ; 4-byte Folded Spill
	cmp	w9, w8
	b.ge	LBB0_35
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;         Child Loop BB0_15 Depth 4
                                        ;       Child Loop BB0_32 Depth 3
                                        ;         Child Loop BB0_34 Depth 4
	cmp	w22, #0
	b.le	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	ldur	w8, [x29, #-144]                ; 4-byte Folded Reload
	ldur	w9, [x29, #-96]                 ; 4-byte Folded Reload
	sub	w8, w8, w9
	stur	w8, [x29, #-152]                ; 4-byte Folded Spill
	ldr	x0, [x19]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
Lloh12:
	adrp	x19, _WORKBLOCK_SIZE@GOTPAGE
Lloh13:
	ldr	x19, [x19, _WORKBLOCK_SIZE@GOTPAGEOFF]
	ldr	x0, [x19]
	add	w23, w23, w0
	cmp	w23, w22
	b.ge	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;         Child Loop BB0_15 Depth 4
                                        ;       Child Loop BB0_32 Depth 3
                                        ;         Child Loop BB0_34 Depth 4
	sub	w1, w22, w23
	bl	_MIN
	mov	x21, x0
	ldr	x0, [x19]
	ldur	w1, [x29, #-152]                ; 4-byte Folded Reload
	bl	_MIN
Lloh14:
	adrp	x8, _WORKBLOCK_BORDER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WORKBLOCK_BORDER@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	lsl	w9, w8, #1
	stur	w21, [x29, #-92]                ; 4-byte Folded Spill
	add	w28, w9, w21
	stur	w0, [x29, #-148]                ; 4-byte Folded Spill
	add	w9, w9, w0
	stur	x9, [x29, #-112]                ; 8-byte Folded Spill
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x25, #0
	lsl	w9, w28, #2
	stur	w9, [x29, #-132]                ; 4-byte Folded Spill
	add	w26, w22, w23
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_15 Depth 4
	ldur	w9, [x29, #-96]                 ; 4-byte Folded Reload
	add	w9, w9, w25
	sub	w0, w9, w8
	cbz	x20, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	mov	w1, #0
	ldur	w2, [x29, #-136]                ; 4-byte Folded Reload
	bl	_CLAMP
	cmp	w28, #1
	b.ge	LBB0_12
	b	LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=3
	ldur	w10, [x29, #-144]               ; 4-byte Folded Reload
	add	w8, w0, w10
	sdiv	w9, w8, w10
	msub	w0, w9, w10, w8
	cmp	w28, #1
	b.lt	LBB0_17
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=3
	mov	w19, #0
	ldur	w8, [x29, #-140]                ; 4-byte Folded Reload
	mul	w8, w8, w0
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	add	x21, x9, w8, sxtw #2
	ldur	w8, [x29, #-132]                ; 4-byte Folded Reload
	mul	w8, w8, w25
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	add	x24, x9, w8, sxtw #2
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=4
	add	w9, w26, w19
	sub	w8, w9, w8
	sdiv	w9, w8, w22
	msub	w0, w9, w22, w8
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=4
	lsl	w8, w0, #2
	add	x1, x21, w8, sxtw #2
	mov	x0, x24
	bl	_COPYSAMPLE
	add	x24, x24, #32
	add	w19, w19, #2
	cmp	w19, w28
	b.ge	LBB0_17
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ;       Parent Loop BB0_9 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
Lloh17:
	adrp	x8, _WORKBLOCK_BORDER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WORKBLOCK_BORDER@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cbz	x20, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=4
	add	w9, w23, w19
	sub	w0, w9, w8
	mov	w1, #0
	mov	x2, x27
	bl	_CLAMP
	b	LBB0_14
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=3
	add	x25, x25, #2
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	cmp	x25, x8
	b.ge	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=3
Lloh20:
	adrp	x8, _WORKBLOCK_BORDER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WORKBLOCK_BORDER@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	b	LBB0_9
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	x1, x0, [x29, #-128]            ; 16-byte Folded Reload
	mov	x2, x28
	ldur	x3, [x29, #-112]                ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_DoLinear
Lloh23:
	adrp	x8, _r_imageUpsampleType@GOTPAGE
Lloh24:
	ldr	x8, [x8, _r_imageUpsampleType@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldur	x9, [x29, #-160]                ; 8-byte Folded Reload
	cbz	x9, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=2
	ldur	w24, [x29, #-148]               ; 4-byte Folded Reload
	cbz	w8, LBB0_29
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	w8, #1
	b.ne	LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=2
	ldp	x21, x19, [x29, #-128]          ; 16-byte Folded Reload
	mov	x0, x19
	mov	x1, x21
	mov	x2, x28
	ldur	x25, [x29, #-112]               ; 8-byte Folded Reload
	mov	x3, x25
	mov	w4, #0
	bl	_DoFCBIQuick
	mov	x0, x19
	mov	x1, x21
	mov	x2, x28
	mov	x3, x25
	mov	w4, #1
	bl	_DoFCBIQuick
	b	LBB0_29
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=2
	ldur	w24, [x29, #-148]               ; 4-byte Folded Reload
	cbz	w8, LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	w8, #1
	b.ne	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=2
	ldp	x1, x0, [x29, #-128]            ; 16-byte Folded Reload
	mov	x2, x28
	ldur	x3, [x29, #-112]                ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #0
	bl	_DoFCBIQuick
	b	LBB0_29
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	x21, x19, [x29, #-128]          ; 16-byte Folded Reload
	mov	x0, x19
	mov	x1, x21
	mov	x2, x28
	ldur	x25, [x29, #-112]               ; 8-byte Folded Reload
	mov	x3, x25
	mov	w4, #0
	bl	_DoFCBI
	mov	x0, x19
	mov	x1, x21
	mov	x2, x28
	mov	x3, x25
	mov	w4, #1
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	x1, x0, [x29, #-128]            ; 16-byte Folded Reload
	mov	x2, x28
	ldur	x3, [x29, #-112]                ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #0
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=2
	bl	_DoFCBI
LBB0_29:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w24, #1
	b.lt	LBB0_6
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x19, #0
	mov	w21, w24
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=3
	add	x19, x19, #1
	cmp	x19, x21
	b.eq	LBB0_6
LBB0_32:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_34 Depth 4
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=3
	ldp	w8, w25, [x29, #-96]            ; 8-byte Folded Reload
	add	w8, w8, w19
	madd	w8, w8, w22, w23
	lsl	w8, w8, #2
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	add	x24, x9, w8, sxtw #2
Lloh26:
	adrp	x8, _WORKBLOCK_BORDER@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WORKBLOCK_BORDER@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	add	w9, w8, w19
	madd	w8, w9, w28, w8
	lsl	w8, w8, #2
	ldur	x9, [x29, #-128]                ; 8-byte Folded Reload
	add	x26, x9, w8, sxtw #2
LBB0_34:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ;       Parent Loop BB0_32 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	mov	x0, x24
	mov	x1, x26
	bl	_COPYSAMPLE
	add	x24, x24, #16
	add	x26, x26, #16
	subs	w25, w25, #1
	b.ne	LBB0_34
	b	LBB0_31
LBB0_35:
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.36:
	sub	sp, x29, #80
	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
LBB0_37:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_WORKBLOCK_REALSIZE,4,2         ; @WORKBLOCK_REALSIZE
	.comm	_WORKBLOCK_SIZE,8,3             ; @WORKBLOCK_SIZE
	.comm	_WORKBLOCK_BORDER,4,2           ; @WORKBLOCK_BORDER
	.comm	_r_imageUpsampleType,8,3        ; @r_imageUpsampleType
	.no_dead_strip	_FCBIByBlock
.subsections_via_symbols
