	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdImageRectangle               ## -- Begin function gdImageRectangle
	.p2align	4, 0x90
_gdImageRectangle:                      ## @gdImageRectangle
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %ebx
	movq	%rdi, %r13
	movl	(%rdi), %esi
	cmpl	%ecx, %ebx
	jne	LBB0_3
## %bb.1:
	cmpl	%r8d, %edx
	jne	LBB0_3
## %bb.2:
	cmpl	$1, %esi
	jne	LBB0_3
## %bb.32:
	movq	%r13, %rdi
	movl	%ebx, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r14d, %ecx
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdImageSetPixel                ## TAILCALL
LBB0_3:
	cmpl	%edx, %r8d
	movl	%edx, %r15d
	cmovgl	%r8d, %r15d
	cmovll	%r8d, %edx
	cmpl	%ebx, %ecx
	movl	%ebx, %eax
	cmovgl	%ecx, %eax
	cmovll	%ecx, %ebx
	cmpl	$2, %esi
	jl	LBB0_26
## %bb.4:
	movl	%esi, %edi
	shrl	%edi
	movl	%ebx, %ecx
	subl	%edi, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	subl	%edi, %edx
	leal	(%rdi,%rax), %ecx
	addl	%edi, %r15d
	movl	%r15d, -76(%rbp)                ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	addl	%edx, %esi
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	leal	(%rax,%rdi,2), %eax
	movl	%ebx, -100(%rbp)                ## 4-byte Spill
	subl	%ebx, %eax
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%edx, %r12d
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	jle	LBB0_9
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	decl	%r12d
	cmpl	%ecx, -72(%rbp)                 ## 4-byte Folded Reload
	jg	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ebx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	callq	_gdImageSetPixel
	incl	%ebx
	decl	%r15d
	jne	LBB0_8
	jmp	LBB0_5
LBB0_26:
	cmpl	%eax, %ebx
	je	LBB0_28
## %bb.27:
	cmpl	%r15d, %edx
	je	LBB0_28
## %bb.30:
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%rdx, %r12
	movl	%eax, %ecx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r8d
	movl	%r14d, %r9d
	callq	_gdImageLine
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_gdImageLine
	incl	%r12d
	decl	%r15d
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_gdImageLine
	movq	%r13, %rdi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %esi
	movl	%r12d, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	jmp	LBB0_29
LBB0_9:
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	subl	%eax, %edx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_15
## %bb.10:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	leal	(%rax,%rdx,2), %eax
	subl	-100(%rbp), %eax                ## 4-byte Folded Reload
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpl	-76(%rbp), %r12d                ## 4-byte Folded Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	jge	LBB0_15
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	incl	%r12d
	cmpl	%ecx, -72(%rbp)                 ## 4-byte Folded Reload
	jg	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ebx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	callq	_gdImageSetPixel
	incl	%ebx
	decl	%r15d
	jne	LBB0_14
	jmp	LBB0_11
LBB0_15:
	movq	-112(%rbp), %r12                ## 8-byte Reload
	cmpl	-64(%rbp), %r12d                ## 4-byte Folded Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jle	LBB0_16
LBB0_31:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	%r13, %rdi
	movl	%ebx, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%eax, %ecx
LBB0_29:
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdImageLine                    ## TAILCALL
LBB0_16:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax), %r15d
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=1
	leal	1(%r12), %eax
	cmpl	-64(%rbp), %r12d                ## 4-byte Folded Reload
	movl	%eax, %r12d
	jge	LBB0_19
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	js	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
                                        ## kill: def $ebx killed $ebx killed $rbx def $rbx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	callq	_gdImageSetPixel
	leal	1(%rbx), %eax
	cmpl	%r15d, %ebx
	movl	%eax, %ebx
	jl	LBB0_21
	jmp	LBB0_18
LBB0_19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r15d
	notl	%r15d
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %r15d
	negl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=1
	leal	1(%r12), %eax
	cmpl	-64(%rbp), %r12d                ## 4-byte Folded Reload
	movl	%eax, %r12d
	jge	LBB0_31
LBB0_23:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
	cmpl	%ecx, %r15d
	jge	LBB0_22
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
                                        ## kill: def $ebx killed $ebx killed $rbx def $rbx
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%rcx,%rbx), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	callq	_gdImageSetPixel
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	incl	%ebx
	cmpl	$1, %ebx
	jne	LBB0_25
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdImageRectangle               ; -- Begin function gdImageRectangle
	.p2align	2
_gdImageRectangle:                      ; @gdImageRectangle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x5
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w1, w3
	b.ne	LBB0_4
; %bb.1:
	cmp	w2, w4
	b.ne	LBB0_4
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_gdImageSetPixel
LBB0_4:
	cmp	w4, w2
	csel	w21, w4, w2, gt
	csel	w24, w4, w2, lt
	cmp	w3, w1
	csel	w22, w3, w1, gt
	csel	w25, w3, w1, lt
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.5:
	lsr	w10, w8, #1
	sub	w28, w25, w10
	add	w26, w10, w22
	add	w9, w10, w21
	stp	w8, w9, [sp, #24]               ; 8-byte Folded Spill
	sub	w23, w24, w10
	add	w21, w23, w8
	stp	w25, w22, [sp, #16]             ; 8-byte Folded Spill
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	add	w8, w22, w10, lsl #1
	sub	w8, w8, w25
	add	w27, w8, #1
	mov	x24, x21
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	w24, w23
	b.le	LBB0_13
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	sub	w24, w24, #1
	cmp	w28, w26
	b.gt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x25, x28
	mov	x22, x27
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x25
	mov	x2, x24
	mov	x3, x19
	bl	_gdImageSetPixel
	add	w25, w25, #1
	subs	w22, w22, #1
	b.ne	LBB0_9
	b	LBB0_6
LBB0_10:
	cmp	w25, w22
	b.eq	LBB0_21
; %bb.11:
	cmp	w24, w21
	b.eq	LBB0_21
; %bb.12:
	mov	x0, x20
	mov	x1, x25
	mov	x2, x24
	mov	x3, x22
	mov	x4, x24
	mov	x5, x19
	bl	_gdImageLine
	mov	x0, x20
	mov	x1, x25
	mov	x2, x21
	mov	x3, x22
	mov	x4, x21
	mov	x5, x19
	bl	_gdImageLine
	add	w24, w24, #1
	sub	w21, w21, #1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x24
	mov	x3, x25
	mov	x4, x21
	mov	x5, x19
	bl	_gdImageLine
	mov	x0, x20
	mov	x1, x22
	b	LBB0_22
LBB0_13:
	ldp	w8, w9, [sp, #24]               ; 8-byte Folded Reload
	sub	w24, w9, w8
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.14:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w8, w8, w9, lsl #1
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	sub	w8, w8, w9
	add	w25, w8, #1
	mov	x22, x24
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w22, w8
	b.ge	LBB0_19
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	add	w22, w22, #1
	cmp	w28, w26
	b.gt	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x23, x28
	mov	x27, x25
LBB0_18:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	mov	x3, x19
	bl	_gdImageSetPixel
	add	w23, w23, #1
	subs	w27, w27, #1
	b.ne	LBB0_18
	b	LBB0_15
LBB0_19:
	cmp	w21, w24
	b.le	LBB0_23
LBB0_20:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_21:
	mov	x0, x20
	mov	x1, x25
LBB0_22:
	mov	x2, x24
	mov	x3, x22
	mov	x4, x21
	mov	x5, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_gdImageLine
LBB0_23:
	ldr	w27, [sp, #24]                  ; 4-byte Folded Reload
	add	w25, w28, w27
	mov	x22, x21
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w8, w22, #1
	cmp	w22, w24
	mov	x22, x8
	b.ge	LBB0_28
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
	tbnz	w27, #31, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x23, x28
LBB0_27:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	mov	x3, x19
	bl	_gdImageSetPixel
	add	w8, w23, #1
	cmp	w23, w25
	mov	x23, x8
	b.lt	LBB0_27
	b	LBB0_24
LBB0_28:
	mvn	w8, w27
	add	w22, w26, w8
	neg	w23, w27
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	w8, w21, #1
	cmp	w21, w24
	mov	x21, x8
	b.ge	LBB0_20
LBB0_30:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
	cmp	w22, w26
	b.ge	LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x25, x23
LBB0_32:                                ;   Parent Loop BB0_30 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w1, w26, w25
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_gdImageSetPixel
	add	w25, w25, #1
	cmp	w25, #1
	b.ne	LBB0_32
	b	LBB0_29
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
