	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ResampleTexture
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
LCPI0_2:
	.quad	0x3fd0000000000000              ## double 0.25
	.quad	0x3fe8000000000000              ## double 0.75
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_3:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ResampleTexture:                       ## @ResampleTexture
	.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
	movl	$16408, %eax                    ## imm = 0x4018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movq	%rcx, %r13
	movl	%edx, %r10d
	movl	%esi, %r9d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%r8d, %r12d
	cmpl	$2049, %r8d                     ## imm = 0x801
	jl	LBB0_4
## %bb.1:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_ERR_DROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r9d, -16440(%rbp)              ## 4-byte Spill
	movl	%r10d, %ebx
	movl	%r8d, -16436(%rbp)              ## 4-byte Spill
	callq	*(%rax)
	movl	-16436(%rbp), %r8d              ## 4-byte Reload
	movl	%ebx, %r10d
	movl	-16440(%rbp), %r9d              ## 4-byte Reload
	jmp	LBB0_2
LBB0_4:
	testl	%r8d, %r8d
	jle	LBB0_5
LBB0_2:
	movl	%r9d, %eax
	shll	$16, %eax
	cltd
	idivl	%r8d
	movl	%eax, %ebx
	sarl	$2, %ebx
	movd	%eax, %xmm0
	cmpl	$8, %r8d
	jae	LBB0_14
## %bb.3:
	xorl	%edx, %edx
	movl	%ebx, %ecx
	jmp	LBB0_22
LBB0_14:
	movl	%r12d, %edx
	andl	$-8, %edx
	movd	%ebx, %xmm1
	pshufd	$0, %xmm1, %xmm3                ## xmm3 = xmm1[0,0,0,0]
	pshufd	$0, %xmm0, %xmm1                ## xmm1 = xmm0[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [0,1,2,3]
	pmulld	%xmm1, %xmm2
	paddd	%xmm3, %xmm2
	pslld	$2, %xmm1
	leaq	-8(%rdx), %rsi
	movq	%rsi, %rcx
	shrq	$3, %rcx
	incq	%rcx
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.16:
	movq	%rcx, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [4294967292,4294967292,4294967292,4294967292]
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm2, %xmm4
	paddd	%xmm1, %xmm4
	psrad	$14, %xmm2
	movdqa	%xmm4, %xmm5
	psrad	$14, %xmm5
	pand	%xmm3, %xmm2
	pand	%xmm3, %xmm5
	movdqa	%xmm2, -8240(%rbp,%rsi,4)
	movdqa	%xmm5, -8224(%rbp,%rsi,4)
	paddd	%xmm1, %xmm4
	movdqa	%xmm4, %xmm2
	paddd	%xmm1, %xmm2
	psrad	$14, %xmm4
	movdqa	%xmm2, %xmm5
	psrad	$14, %xmm5
	pand	%xmm3, %xmm4
	pand	%xmm3, %xmm5
	movdqa	%xmm4, -8208(%rbp,%rsi,4)
	movdqa	%xmm5, -8192(%rbp,%rsi,4)
	addq	$16, %rsi
	paddd	%xmm1, %xmm2
	addq	$-2, %rdi
	jne	LBB0_17
## %bb.18:
	testb	$1, %cl
	je	LBB0_20
LBB0_19:
	paddd	%xmm2, %xmm1
	psrad	$14, %xmm2
	psrad	$14, %xmm1
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [4294967292,4294967292,4294967292,4294967292]
	pand	%xmm3, %xmm2
	pand	%xmm3, %xmm1
	movdqa	%xmm2, -8240(%rbp,%rsi,4)
	movdqa	%xmm1, -8224(%rbp,%rsi,4)
LBB0_20:
	cmpq	%r12, %rdx
	je	LBB0_23
## %bb.21:
	movl	%eax, %ecx
	imull	%edx, %ecx
	addl	%ebx, %ecx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %esi
	sarl	$14, %esi
	andl	$-4, %esi
	movl	%esi, -8240(%rbp,%rdx,4)
	addl	%eax, %ecx
	incq	%rdx
	cmpq	%rdx, %r12
	jne	LBB0_22
LBB0_23:
	leal	(%rbx,%rbx,2), %ecx
	cmpl	$8, %r8d
	jae	LBB0_25
## %bb.24:
	xorl	%edx, %edx
	jmp	LBB0_33
LBB0_25:
	movl	%r12d, %edx
	andl	$-8, %edx
	movd	%ecx, %xmm1
	pshufd	$0, %xmm1, %xmm2                ## xmm2 = xmm1[0,0,0,0]
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [0,1,2,3]
	pmulld	%xmm0, %xmm1
	paddd	%xmm2, %xmm1
	pslld	$2, %xmm0
	leaq	-8(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.27:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [4294967292,4294967292,4294967292,4294967292]
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm1, %xmm3
	paddd	%xmm0, %xmm3
	psrad	$14, %xmm1
	movdqa	%xmm3, %xmm4
	psrad	$14, %xmm4
	pand	%xmm2, %xmm1
	pand	%xmm2, %xmm4
	movdqa	%xmm1, -16432(%rbp,%rsi,4)
	movdqa	%xmm4, -16416(%rbp,%rsi,4)
	paddd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$14, %xmm3
	movdqa	%xmm1, %xmm4
	psrad	$14, %xmm4
	pand	%xmm2, %xmm3
	pand	%xmm2, %xmm4
	movdqa	%xmm3, -16400(%rbp,%rsi,4)
	movdqa	%xmm4, -16384(%rbp,%rsi,4)
	addq	$16, %rsi
	paddd	%xmm0, %xmm1
	addq	$-2, %rdi
	jne	LBB0_28
## %bb.29:
	testb	$1, %r8b
	je	LBB0_31
LBB0_30:
	paddd	%xmm1, %xmm0
	psrad	$14, %xmm1
	psrad	$14, %xmm0
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [4294967292,4294967292,4294967292,4294967292]
	pand	%xmm2, %xmm1
	pand	%xmm2, %xmm0
	movdqa	%xmm1, -16432(%rbp,%rsi,4)
	movdqa	%xmm0, -16416(%rbp,%rsi,4)
LBB0_31:
	movb	$1, %r8b
	cmpq	%r12, %rdx
	je	LBB0_6
## %bb.32:
	movl	%eax, %esi
	imull	%edx, %esi
	addl	%esi, %ecx
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %esi
	sarl	$14, %esi
	andl	$-4, %esi
	movl	%esi, -16432(%rbp,%rdx,4)
	addl	%eax, %ecx
	incq	%rdx
	cmpq	%rdx, %r12
	jne	LBB0_33
## %bb.34:
	movb	$1, %r8b
LBB0_6:
	testl	%r14d, %r14d
	jle	LBB0_12
LBB0_7:
	shll	$2, %r9d
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r10d, %xmm1
	xorps	%xmm2, %xmm2
	cvtsi2sd	%r14d, %xmm2
	movd	%r9d, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movddup	%xmm1, %xmm1                    ## xmm1 = xmm1[0,0]
	movddup	%xmm2, %xmm2                    ## xmm2 = xmm2[0,0]
	xorl	%r9d, %r9d
	pxor	%xmm3, %xmm3
	movapd	LCPI0_2(%rip), %xmm4            ## xmm4 = [2.5E-1,7.5E-1]
	movsd	LCPI0_3(%rip), %xmm5            ## xmm5 = mem[0],zero
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	addsd	%xmm5, %xmm3
	incl	%r9d
	cmpl	%r14d, %r9d
	je	LBB0_12
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movddup	%xmm3, %xmm6                    ## xmm6 = xmm3[0,0]
	addpd	%xmm4, %xmm6
	testb	%r8b, %r8b
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	mulpd	%xmm1, %xmm6
	divpd	%xmm2, %xmm6
	cvttpd2dq	%xmm6, %xmm6
	pmulld	%xmm0, %xmm6
	movd	%xmm6, %eax
	cltq
	pextrd	$1, %xmm6, %edx
	leaq	(%r15,%rax,4), %rcx
	movslq	%edx, %rax
	leaq	(%r15,%rax,4), %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	-8240(%rbp,%rdi,4), %rax
	movslq	-16432(%rbp,%rdi,4), %rsi
	movl	(%rcx,%rsi,4), %ebx
	addl	(%rcx,%rax,4), %ebx
	addl	(%rdx,%rax,4), %ebx
	addl	(%rdx,%rsi,4), %ebx
	sarl	$2, %ebx
	movl	%ebx, (%r13)
	movl	4(%rcx,%rsi,4), %ebx
	addl	4(%rcx,%rax,4), %ebx
	addl	4(%rdx,%rax,4), %ebx
	addl	4(%rdx,%rsi,4), %ebx
	sarl	$2, %ebx
	movl	%ebx, 4(%r13)
	movl	8(%rcx,%rsi,4), %ebx
	addl	8(%rcx,%rax,4), %ebx
	addl	8(%rdx,%rax,4), %ebx
	addl	8(%rdx,%rsi,4), %ebx
	sarl	$2, %ebx
	movl	%ebx, 8(%r13)
	movl	12(%rcx,%rsi,4), %ebx
	addl	12(%rcx,%rax,4), %ebx
	addl	12(%rdx,%rax,4), %ebx
	addl	12(%rdx,%rsi,4), %ebx
	sarl	$2, %ebx
	movl	%ebx, 12(%r13)
	addq	$16, %r13
	incq	%rdi
	cmpq	%rdi, %r12
	jne	LBB0_10
	jmp	LBB0_11
LBB0_5:
	xorl	%r8d, %r8d
	testl	%r14d, %r14d
	jg	LBB0_7
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.35:
	addq	$16408, %rsp                    ## imm = 0x4018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	xorl	%esi, %esi
	testb	$1, %cl
	jne	LBB0_19
	jmp	LBB0_20
LBB0_26:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_30
	jmp	LBB0_31
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ri,8,3                         ## @ri
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ResampleTexture: max width"

	.no_dead_strip	_ResampleTexture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ResampleTexture
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ResampleTexture:                       ; @ResampleTexture
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	mov	w9, #16400
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #4, lsl #12             ; =16384
	sub	sp, sp, #16
	mov	x19, x5
	mov	x22, x4
	mov	x21, x3
	mov	x24, x2
	mov	x23, x1
	mov	x20, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	cmp	w4, #2049
	b.lt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ri@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _ERR_DROP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ERR_DROP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x9]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
	b	LBB0_3
LBB0_2:
	cmp	w22, #1
	b.lt	LBB0_24
LBB0_3:
	lsl	w8, w23, #16
	sdiv	w8, w8, w22
	asr	w12, w8, #2
	mov	w9, w22
	dup.4s	v0, w8
	adrp	x11, lCPI0_0@PAGE
	lsl	w10, w8, #2
	cmp	w22, #16
	b.hs	LBB0_5
; %bb.4:
	mov	x14, #0
	mov	x13, x12
	b	LBB0_8
LBB0_5:
	and	x14, x9, #0xfffffff0
	madd	w13, w8, w14, w12
	dup.4s	v2, w12
	ldr	q1, [x11, lCPI0_0@PAGEOFF]
	mla.4s	v2, v0, v1
	dup.4s	v1, w10
	add	x15, sp, #2, lsl #12            ; =8192
	add	x15, x15, #8
	add	x15, x15, #32
	mov	x16, x14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v3, v2, v1
	add.4s	v4, v3, v1
	add.4s	v5, v4, v1
	sshr.4s	v2, v2, #14
	sshr.4s	v3, v3, #14
	sshr.4s	v4, v4, #14
	sshr.4s	v6, v5, #14
	bic.4s	v2, #3
	bic.4s	v3, #3
	bic.4s	v4, #3
	bic.4s	v6, #3
	stp	q2, q3, [x15, #-32]
	stp	q4, q6, [x15], #64
	add.4s	v2, v5, v1
	subs	x16, x16, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x14, x9
	b.eq	LBB0_10
LBB0_8:
	add	x15, sp, #2, lsl #12            ; =8192
	add	x15, x15, #8
	add	x15, x15, x14, lsl #2
	sub	x14, x9, x14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	asr	w16, w13, #14
	and	w16, w16, #0xfffffffc
	str	w16, [x15], #4
	add	w13, w13, w8
	subs	x14, x14, #1
	b.ne	LBB0_9
LBB0_10:
	add	w14, w12, w12, lsl #1
	cmp	w22, #16
	b.hs	LBB0_12
; %bb.11:
	mov	x13, #0
	mov	x12, x14
	b	LBB0_15
LBB0_12:
	and	x13, x9, #0xfffffff0
	madd	w12, w8, w13, w14
	dup.4s	v1, w14
	ldr	q2, [x11, lCPI0_0@PAGEOFF]
	mla.4s	v1, v0, v2
	dup.4s	v0, w10
	add	x10, sp, #8
	add	x10, x10, #32
	mov	x11, x13
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v2, v1, v0
	add.4s	v3, v2, v0
	add.4s	v4, v3, v0
	sshr.4s	v1, v1, #14
	sshr.4s	v2, v2, #14
	sshr.4s	v3, v3, #14
	sshr.4s	v5, v4, #14
	bic.4s	v1, #3
	bic.4s	v2, #3
	bic.4s	v3, #3
	bic.4s	v5, #3
	stp	q1, q2, [x10, #-32]
	stp	q3, q5, [x10], #64
	add.4s	v1, v4, v0
	subs	x11, x11, #16
	b.ne	LBB0_13
; %bb.14:
	cmp	x13, x9
	b.eq	LBB0_17
LBB0_15:
	add	x10, sp, #8
	add	x10, x10, x13, lsl #2
	sub	x9, x9, x13
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	asr	w11, w12, #14
	and	w11, w11, #0xfffffffc
	str	w11, [x10], #4
	add	w12, w12, w8
	subs	x9, x9, #1
	b.ne	LBB0_16
LBB0_17:
	mov	w8, #1
	cmp	w19, #1
	b.lt	LBB0_25
LBB0_18:
	mov	w9, #0
	scvtf	d0, w24
	scvtf	d1, w19
	lsl	w10, w23, #2
	movi	d2, #0000000000000000
	mov	w11, w22
	fmov	d3, #0.25000000
	fmov	d4, #0.75000000
	fmov	d5, #1.00000000
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	fadd	d2, d2, d5
	add	w9, w9, #1
	cmp	w9, w19
	b.eq	LBB0_25
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	cbz	w8, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	fadd	d6, d2, d3
	fmul	d6, d6, d0
	fdiv	d6, d6, d1
	fcvtzs	w12, d6
	mul	w12, w10, w12
	fadd	d6, d2, d4
	fmul	d6, d6, d0
	fdiv	d6, d6, d1
	fcvtzs	w13, d6
	add	x12, x20, w12, sxtw #2
	mul	w13, w10, w13
	add	x13, x20, w13, sxtw #2
	add	x14, sp, #8
	add	x15, sp, #2, lsl #12            ; =8192
	add	x15, x15, #8
	mov	x16, x11
LBB0_22:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x17, [x15], #4
	lsl	x17, x17, #2
	add	x0, x12, x17
	ldrsw	x1, [x14], #4
	lsl	x1, x1, #2
	add	x2, x12, x1
	add	x17, x13, x17
	add	x1, x13, x1
	ldr	w3, [x0]
	ldr	w4, [x2]
	ldr	w5, [x17]
	add	w3, w4, w3
	add	w3, w3, w5
	ldr	w4, [x1]
	add	w3, w3, w4
	asr	w3, w3, #2
	str	w3, [x21]
	ldr	w3, [x0, #4]
	ldr	w4, [x2, #4]
	ldr	w5, [x17, #4]
	add	w3, w4, w3
	add	w3, w3, w5
	ldr	w4, [x1, #4]
	add	w3, w3, w4
	asr	w3, w3, #2
	str	w3, [x21, #4]
	ldr	w3, [x0, #8]
	ldr	w4, [x2, #8]
	ldr	w5, [x17, #8]
	add	w3, w4, w3
	add	w3, w3, w5
	ldr	w4, [x1, #8]
	add	w3, w3, w4
	asr	w3, w3, #2
	str	w3, [x21, #8]
	ldr	w0, [x0, #12]
	ldr	w2, [x2, #12]
	ldr	w17, [x17, #12]
	add	w0, w2, w0
	add	w17, w0, w17
	ldr	w0, [x1, #12]
	add	w17, w17, w0
	asr	w0, w17, #2
	add	x17, x21, #16
	str	w0, [x21, #12]
	mov	x21, x17
	subs	x16, x16, #1
	b.ne	LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x21, x17
	b	LBB0_19
LBB0_24:
	mov	w8, #0
	cmp	w19, #1
	b.ge	LBB0_18
LBB0_25:
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	add	sp, sp, #4, lsl #12             ; =16384
	add	sp, sp, #16
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ri,8,3                         ; @ri
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ResampleTexture: max width"

	.no_dead_strip	_ResampleTexture
.subsections_via_symbols
