	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gif_copy_img_rect
_gif_copy_img_rect:                     ## @gif_copy_img_rect
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %eax
	imull	%edx, %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	imull	%edx, %r8d
	movslq	%r8d, %r8
	leaq	(%rdi,%r8,4), %rbx
	cltq
	leaq	(%rbx,%rax,4), %r15
	leaq	(%rsi,%r8,4), %r12
	movslq	%ecx, %r13
	shll	$2, -44(%rbp)                   ## 4-byte Folded Spill
	movslq	%edx, %r14
	shlq	$2, %r14
	shlq	$2, %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r13), %rsi
	leaq	(%r12,%r13), %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	addq	%r14, %rbx
	addq	%r14, %r12
	cmpq	%r15, %rbx
	jb	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gif_copy_img_rect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gif_copy_img_rect
_gif_copy_img_rect:                     ; @gif_copy_img_rect
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w2 killed $w2 def $x2
	mul	w8, w6, w2
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x0
	mul	w9, w4, w2
	sxtw	x10, w9
	add	x9, x0, w9, sxtw #2
	add	x21, x9, w8, sxtw #2
	lsl	w20, w5, #2
	lsl	x22, x10, #2
	sbfiz	x23, x2, #2, #32
	sbfiz	x8, x3, #2, #32
	add	x24, x0, x8
	add	x25, x1, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x24, x22
	add	x0, x25, x22
	mov	x2, x20
	bl	_memcpy
	add	x22, x22, x23
	add	x8, x19, x22
	cmp	x8, x21
	b.lo	LBB0_2
LBB0_3:
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gif_copy_img_rect
.subsections_via_symbols
