	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gdTransformAffineCopy
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gdTransformAffineCopy
	.p2align	4, 0x90
_gdTransformAffineCopy:                 ## @gdTransformAffineCopy
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r14
	movq	%rcx, %rbx
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -224(%rbp)                ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -216(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rcx), %r12
	movq	_GD_BILINEAR_FIXED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_4
## %bb.1:
	movq	_GD_BICUBIC_FIXED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_4
## %bb.2:
	movq	_GD_NEAREST_NEIGHBOUR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_4
## %bb.3:
	movq	_GD_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_5
LBB0_4:
	movq	_GD_BICUBIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_gdImageSetInterpolationMethod
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_gdImageClipRectangle
	cmpl	$0, (%r14)
	jg	LBB0_21
## %bb.6:
	cmpl	$0, 4(%r14)
	jg	LBB0_21
## %bb.7:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movl	8(%r14), %r15d
	movq	%rbx, %rdi
	callq	_gdImageSX
	cmpl	%eax, %r15d
	movq	-104(%rbp), %r15                ## 8-byte Reload
	jl	LBB0_21
## %bb.8:
	movl	12(%r14), %r15d
	movq	%rbx, %rdi
	callq	_gdImageSY
	cmpl	%eax, %r15d
	movq	-104(%rbp), %r15                ## 8-byte Reload
	jge	LBB0_9
LBB0_21:
	leaq	-148(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	leaq	-140(%rbp), %rcx
	leaq	-136(%rbp), %r8
	movq	%rbx, %rdi
	callq	_gdImageGetClip
	movl	(%r14), %esi
	movl	4(%r14), %edx
	movl	8(%r14), %eax
	leal	(%rsi,%rax), %ecx
	decl	%ecx
	movl	12(%r14), %eax
	leal	-1(%rdx,%rax), %r8d
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_gdImageSetClip
	leaq	-176(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_gdTransformAffineBoundingBox
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	xorl	%ecx, %ecx
LBB0_10:
	movl	%ecx, -204(%rbp)                ## 4-byte Spill
	movq	%r12, -240(%rbp)                ## 8-byte Spill
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	leaq	-256(%rbp), %rsi
	leaq	-252(%rbp), %rdx
	leaq	-248(%rbp), %rcx
	leaq	-244(%rbp), %r8
	movq	%r13, %rdi
	callq	_gdImageGetClip
	movl	-172(%rbp), %eax
	movl	%eax, %r12d
	negl	%r12d
	cmovsl	%eax, %r12d
	movq	%r15, %rsi
	movl	-176(%rbp), %r15d
	leal	(%r12,%r15), %eax
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movl	-164(%rbp), %eax
	movl	%eax, %ebx
	negl	%ebx
	cmovsl	%eax, %ebx
	addl	-168(%rbp), %ebx
	leaq	-96(%rbp), %rdi
	callq	_gdAffineInvert
	movl	(%r14), %eax
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movl	4(%r14), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	cmpq	$0, 16(%r13)
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	je	LBB0_11
## %bb.25:
	movl	-164(%rbp), %eax
	cmpl	%ebx, %eax
	jg	LBB0_31
## %bb.26:
	leal	(%r15,%r12), %edi
	incl	%edi
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	leaq	-120(%rbp), %r8
	leaq	-112(%rbp), %rsi
	leaq	-96(%rbp), %r13
	movl	%edi, -184(%rbp)                ## 4-byte Spill
	movq	-216(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	-232(%rbp), %rcx                ## 8-byte Reload
	leal	1(%rcx), %eax
	cmpl	-160(%rbp), %ecx                ## 4-byte Folded Reload
                                        ## kill: def $eax killed $eax def $rax
	je	LBB0_31
LBB0_27:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	addsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %eax
	movl	%eax, -112(%rbp)
	cmpl	$0, -124(%rbp)                  ## 4-byte Folded Reload
	js	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	-224(%rbp), %rax                ## 8-byte Reload
	movq	-232(%rbp), %rcx                ## 8-byte Reload
	addl	%ecx, %eax
	movl	%eax, -192(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	addsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %eax
	movl	%eax, -108(%rbp)
	movq	%r8, %r12
	movq	%r8, %rdi
	movq	%r13, %rdx
	callq	_gdAffineApplyToPointF
	leal	(%r15,%rbx), %r14d
	movl	-116(%rbp), %esi
	addl	-132(%rbp), %esi                ## 4-byte Folded Reload
	movl	-120(%rbp), %edx
	addl	-128(%rbp), %edx                ## 4-byte Folded Reload
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_getPixelInterpolated
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %esi
	movl	-192(%rbp), %edx                ## 4-byte Reload
	movl	%eax, %ecx
	callq	_gdImageSetPixel
	leaq	-112(%rbp), %rsi
	movq	%r12, %r8
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movl	-184(%rbp), %edi                ## 4-byte Reload
	incl	%ebx
	cmpl	%ebx, %edi
	jne	LBB0_29
	jmp	LBB0_30
LBB0_23:
	movl	-148(%rbp), %esi
	movl	-144(%rbp), %edx
	movl	-140(%rbp), %ecx
	movl	-136(%rbp), %r8d
	movq	%rbx, %rdi
	callq	_gdImageSetClip
LBB0_24:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_gdImageSetInterpolationMethod
	movq	_GD_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_11:
	testl	%ebx, %ebx
	js	LBB0_31
## %bb.12:
	movslq	-216(%rbp), %rcx                ## 4-byte Folded Reload
	movq	-160(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leal	(%r15,%r12), %eax
	incl	%eax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movl	%ecx, %r12d
	xorl	%r14d, %r14d
	shlq	$2, %rcx
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r14
	cmpq	-160(%rbp), %r14                ## 8-byte Folded Reload
	je	LBB0_31
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	-164(%rbp), %xmm1
	addsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	movl	%eax, -112(%rbp)
	movl	%r14d, %ebx
	addl	-224(%rbp), %ebx                ## 4-byte Folded Reload
	js	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_gdImageSY
	cmpl	%eax, %ebx
	jge	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -124(%rbp)                  ## 4-byte Folded Reload
	js	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %r13
	addq	-184(%rbp), %r13                ## 8-byte Folded Reload
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15d, %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	-172(%rbp), %xmm1
	addsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	movl	%eax, -108(%rbp)
	leaq	-120(%rbp), %rdi
	leaq	-112(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	callq	_gdAffineApplyToPointF
	leaq	(%r12,%r15), %rbx
	testl	%ebx, %ebx
	js	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_gdImageSX
	cmpl	%eax, %ebx
	jge	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	-116(%rbp), %esi
	addl	-132(%rbp), %esi                ## 4-byte Folded Reload
	movl	-120(%rbp), %edx
	addl	-128(%rbp), %edx                ## 4-byte Folded Reload
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	movl	$-1, %ecx
	callq	_getPixelInterpolated
	movl	%eax, (%r13,%r15,4)
	incq	%r15
	cmpl	%r15d, -192(%rbp)               ## 4-byte Folded Reload
	jne	LBB0_17
	jmp	LBB0_20
LBB0_31:
	cmpb	$0, -204(%rbp)                  ## 1-byte Folded Reload
	movq	-200(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_33
## %bb.32:
	movl	-148(%rbp), %esi
	movl	-144(%rbp), %edx
	movl	-140(%rbp), %ecx
	movl	-136(%rbp), %r8d
	movq	%rbx, %rdi
	callq	_gdImageSetClip
LBB0_33:
	movq	%rbx, %rdi
	movq	-240(%rbp), %rsi                ## 8-byte Reload
	callq	_gdImageSetInterpolationMethod
	movq	_GD_TRUE@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_36
## %bb.35:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	-176(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_gdTransformAffineBoundingBox
	movb	$1, %cl
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_24
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GD_DEFAULT,8,3                 ## @GD_DEFAULT
	.comm	_GD_BILINEAR_FIXED,8,3          ## @GD_BILINEAR_FIXED
	.comm	_GD_BICUBIC_FIXED,8,3           ## @GD_BICUBIC_FIXED
	.comm	_GD_NEAREST_NEIGHBOUR,8,3       ## @GD_NEAREST_NEIGHBOUR
	.comm	_GD_BICUBIC,8,3                 ## @GD_BICUBIC
	.comm	_GD_FALSE,4,2                   ## @GD_FALSE
	.comm	_GD_TRUE,4,2                    ## @GD_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdTransformAffineCopy          ; -- Begin function gdTransformAffineCopy
	.p2align	2
_gdTransformAffineCopy:                 ; @gdTransformAffineCopy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	d9, d8, [sp, #176]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x26, x5
	mov	x24, x4
	mov	x19, x3
	str	w2, [sp, #44]                   ; 4-byte Folded Spill
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	ldr	x21, [x3]
Lloh3:
	adrp	x8, _GD_BILINEAR_FIXED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GD_BILINEAR_FIXED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _GD_BICUBIC_FIXED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GD_BICUBIC_FIXED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _GD_NEAREST_NEIGHBOUR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _GD_NEAREST_NEIGHBOUR@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x21, x8
	ccmp	x21, x9, #4, ne
	ccmp	x21, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _GD_BICUBIC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GD_BICUBIC@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_gdImageSetInterpolationMethod
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _GD_DEFAULT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GD_DEFAULT@GOTPAGEOFF]
Lloh17:
	ldr	x21, [x8]
LBB0_3:
	mov	x0, x19
	mov	x1, x24
	bl	_gdImageClipRectangle
	ldr	w8, [x24]
	cmp	w8, #0
	b.gt	LBB0_7
; %bb.4:
	ldr	w8, [x24, #4]
	cmp	w8, #0
	b.gt	LBB0_7
; %bb.5:
	ldr	w20, [x24, #8]
	mov	x0, x19
	bl	_gdImageSX
	cmp	w20, w0
	b.lt	LBB0_7
; %bb.6:
	ldr	w20, [x24, #12]
	mov	x0, x19
	bl	_gdImageSY
	cmp	w20, w0
	b.ge	LBB0_33
LBB0_7:
	add	x1, sp, #92
	add	x2, sp, #88
	add	x3, sp, #84
	add	x4, sp, #80
	mov	x0, x19
	bl	_gdImageGetClip
	ldp	w1, w2, [x24]
	ldp	w8, w9, [x24, #8]
	add	w8, w1, w8
	sub	w3, w8, #1
	add	w8, w2, w9
	sub	w4, w8, #1
	mov	x0, x19
	bl	_gdImageSetClip
	add	x2, sp, #48
	mov	x0, x24
	mov	x1, x26
	bl	_gdTransformAffineBoundingBox
	cbz	w0, LBB0_16
; %bb.8:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_9:
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
	add	x1, sp, #108
	add	x2, sp, #104
	add	x3, sp, #100
	add	x4, sp, #96
	mov	x0, x22
	bl	_gdImageGetClip
	ldp	w20, w8, [sp, #48]
	cmp	w8, #0
	cneg	w27, w8, mi
	add	w8, w27, w20
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	ldp	w8, w9, [sp, #56]
	cmp	w9, #0
	cneg	w9, w9, mi
	add	w25, w9, w8
	add	x0, sp, #112
	mov	x1, x26
	bl	_gdAffineInvert
	ldp	w28, w26, [x24]
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_18
; %bb.10:
	ldr	w21, [sp, #60]
	cmp	w21, w25
	b.gt	LBB0_28
; %bb.11:
	add	w8, w20, w27
	add	w27, w8, #1
	fmov	d8, #0.50000000
	str	w25, [sp, #32]                  ; 4-byte Folded Spill
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w8, w21, #1
	ldr	w25, [sp, #32]                  ; 4-byte Folded Reload
	cmp	w21, w25
	mov	x21, x8
	b.eq	LBB0_28
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	scvtf	d0, w21
	fadd	d0, d0, d8
	fcvtzs	w8, d0
	str	w8, [sp, #72]
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w20, #0
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	add	w24, w21, w8
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	scvtf	d0, w20
	fadd	d0, d0, d8
	fcvtzs	w8, d0
	str	w8, [sp, #76]
	add	x0, sp, #64
	add	x1, sp, #72
	add	x2, sp, #112
	bl	_gdAffineApplyToPointF
	add	w25, w23, w20
	ldp	w9, w8, [sp, #64]
	add	w1, w8, w28
	add	w2, w9, w26
	mov	x0, x19
	mov	w3, #0
	bl	_getPixelInterpolated
	mov	x3, x0
	mov	x0, x22
	mov	x1, x25
	mov	x2, x24
	bl	_gdImageSetPixel
	add	w20, w20, #1
	cmp	w27, w20
	b.ne	LBB0_15
	b	LBB0_12
LBB0_16:
	ldp	w2, w1, [sp, #88]
	ldp	w4, w3, [sp, #80]
	mov	x0, x19
	bl	_gdImageSetClip
LBB0_17:
	mov	x0, x19
	mov	x1, x21
	bl	_gdImageSetInterpolationMethod
Lloh18:
	adrp	x8, _GD_FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GD_FALSE@GOTPAGEOFF]
	b	LBB0_31
LBB0_18:
	tbnz	w25, #31, LBB0_28
; %bb.19:
	mov	x24, #0
	sxtw	x9, w23
	add	w8, w25, #1
	stp	x9, x8, [sp, #24]               ; 16-byte Folded Spill
	add	w8, w20, w27
	add	w20, w8, #1
	mov	w23, w23
	fmov	d8, #0.50000000
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x24, x24, #1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	x24, x8
	b.eq	LBB0_28
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
	scvtf	d0, w24
	fadd	d0, d0, d8
	ldr	s1, [sp, #60]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fadd	d0, d0, d1
	fcvtzs	w8, d0
	str	w8, [sp, #72]
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	adds	w27, w24, w8
	b.mi	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x22
	bl	_gdImageSY
	cmp	w27, w0
	b.ge	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_20
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x21, #0
	ldr	x8, [x22, #8]
	ldr	x8, [x8, w27, uxtw #3]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x27, x8, x9, lsl #2
LBB0_25:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	scvtf	d0, w21
	fadd	d0, d0, d8
	ldr	s1, [sp, #52]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fadd	d0, d0, d1
	fcvtzs	w8, d0
	str	w8, [sp, #76]
	add	x0, sp, #64
	add	x1, sp, #72
	add	x2, sp, #112
	bl	_gdAffineApplyToPointF
	add	x25, x23, x21
	tbnz	w25, #31, LBB0_20
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x22
	bl	_gdImageSX
	cmp	w25, w0
	b.ge	LBB0_20
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=2
	ldp	w9, w8, [sp, #64]
	add	w1, w8, w28
	add	w2, w9, w26
	mov	x0, x19
	mov	w3, #-1
	bl	_getPixelInterpolated
	str	w0, [x27, x21, lsl #2]
	add	x21, x21, #1
	cmp	w20, w21
	b.ne	LBB0_25
	b	LBB0_20
LBB0_28:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	tbnz	w8, #0, LBB0_30
; %bb.29:
	ldp	w2, w1, [sp, #88]
	ldp	w4, w3, [sp, #80]
	mov	x0, x19
	bl	_gdImageSetClip
LBB0_30:
	mov	x0, x19
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_gdImageSetInterpolationMethod
Lloh20:
	adrp	x8, _GD_TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GD_TRUE@GOTPAGEOFF]
LBB0_31:
	ldr	w0, [x8]
	ldur	x8, [x29, #-112]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.32:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #176]              ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_33:
	add	x2, sp, #48
	mov	x0, x24
	mov	x1, x26
	bl	_gdTransformAffineBoundingBox
	cbz	w0, LBB0_17
; %bb.34:
	mov	w8, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_9
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GD_DEFAULT,8,3                 ; @GD_DEFAULT
	.comm	_GD_BILINEAR_FIXED,8,3          ; @GD_BILINEAR_FIXED
	.comm	_GD_BICUBIC_FIXED,8,3           ; @GD_BICUBIC_FIXED
	.comm	_GD_NEAREST_NEIGHBOUR,8,3       ; @GD_NEAREST_NEIGHBOUR
	.comm	_GD_BICUBIC,8,3                 ; @GD_BICUBIC
	.comm	_GD_FALSE,4,2                   ; @GD_FALSE
	.comm	_GD_TRUE,4,2                    ; @GD_TRUE
.subsections_via_symbols
