	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gdImageClipRectangle
_gdImageClipRectangle:                  ## @gdImageClipRectangle
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	leaq	-40(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	leaq	-28(%rbp), %r8
	callq	_gdImageGetClip
	movl	(%rbx), %edi
	movl	4(%rbx), %eax
	leal	(%rdi,%rax), %r15d
	decl	%r15d
	movl	8(%rbx), %eax
	movl	12(%rbx), %ecx
	leal	-1(%rax,%rcx), %r14d
	movl	-40(%rbp), %esi
	movl	-32(%rbp), %edx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_CLAMP
	movl	%eax, (%rbx)
	movl	8(%rbx), %edi
	movl	-36(%rbp), %esi
	movl	-28(%rbp), %edx
	callq	_CLAMP
	movl	%eax, 8(%rbx)
	movl	-40(%rbp), %esi
	movl	-32(%rbp), %edx
	movl	%r15d, %edi
	callq	_CLAMP
	subl	(%rbx), %eax
	incl	%eax
	movl	%eax, 4(%rbx)
	movl	-36(%rbp), %esi
	movl	-28(%rbp), %edx
	movl	%r14d, %edi
	callq	_CLAMP
	subl	8(%rbx), %eax
	incl	%eax
	movl	%eax, 12(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gdImageClipRectangle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gdImageClipRectangle
_gdImageClipRectangle:                  ; @gdImageClipRectangle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, sp
	bl	_gdImageGetClip
	ldp	w0, w8, [x19]
	add	w8, w0, w8
	sub	w20, w8, #1
	ldp	w8, w9, [x19, #8]
	add	w8, w8, w9
	sub	w21, w8, #1
	ldr	w1, [sp, #12]
	ldr	w2, [sp, #4]
	bl	_CLAMP
	str	w0, [x19]
	ldr	w0, [x19, #8]
	ldr	w1, [sp, #8]
	ldr	w2, [sp]
	bl	_CLAMP
	str	w0, [x19, #8]
	ldr	w1, [sp, #12]
	ldr	w2, [sp, #4]
	mov	x0, x20
	bl	_CLAMP
	ldr	w8, [x19]
	sub	w8, w0, w8
	add	w8, w8, #1
	str	w8, [x19, #4]
	ldr	w1, [sp, #8]
	ldr	w2, [sp]
	mov	x0, x21
	bl	_CLAMP
	ldr	w8, [x19, #8]
	sub	w8, w0, w8
	add	w8, w8, #1
	str	w8, [x19, #12]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gdImageClipRectangle
.subsections_via_symbols
