	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdImageAALine                  ## -- Begin function gdImageAALine
	.p2align	4, 0x90
_gdImageAALine:                         ## @gdImageAALine
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movl	%esi, -56(%rbp)
	movl	%edx, -48(%rbp)
	movl	%ecx, -52(%rbp)
	movl	%r8d, -44(%rbp)
	cmpl	$0, 16(%rdi)
	je	LBB0_39
## %bb.1:
	movq	%r13, %rdi
	callq	_gdImageSX
	leaq	-1(%rax), %r8
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_clip_1d
	testl	%eax, %eax
	je	LBB0_38
## %bb.2:
	movq	%r13, %rdi
	callq	_gdImageSY
	leaq	-1(%rax), %r8
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	callq	_clip_1d
	testl	%eax, %eax
	je	LBB0_38
## %bb.3:
	movl	-52(%rbp), %r15d
	movl	-44(%rbp), %r12d
	movl	-48(%rbp), %eax
	subl	-56(%rbp), %r15d
	jne	LBB0_5
## %bb.4:
	cmpl	%eax, %r12d
	jne	LBB0_5
LBB0_38:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	movq	%r13, %rdi
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdImageLine                    ## TAILCALL
LBB0_5:
	subl	%eax, %r12d
	movslq	%r15d, %rdi
	movslq	%r12d, %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_abs
	movq	%rax, %r14
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_abs
	cmpq	%rax, %r14
	jle	LBB0_22
## %bb.6:
	movl	-56(%rbp), %ecx
	movl	-52(%rbp), %esi
	testl	%r15d, %r15d
	js	LBB0_8
## %bb.7:
	movl	%esi, %ebx
	movl	%ecx, %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_22:
	testl	%r12d, %r12d
	js	LBB0_24
## %bb.23:
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_8:
	movl	%esi, -56(%rbp)
	movl	%ecx, -52(%rbp)
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %eax
	movl	%eax, -48(%rbp)
	movl	%edx, -44(%rbp)
	movl	%ecx, %edi
	subl	%esi, %edi
	movslq	%edi, %rdi
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	%ecx, %ebx
LBB0_9:
	shlq	$16, %rax
	movq	%rax, %rcx
	orq	%rdi, %rcx
	shrq	$32, %rcx
	je	LBB0_10
## %bb.11:
	cqto
	idivq	%rdi
	jmp	LBB0_12
LBB0_24:
	movl	-56(%rbp), %eax
	movl	-52(%rbp), %edx
	movl	%edx, -56(%rbp)
	movl	%eax, -52(%rbp)
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %ecx
	movl	%ecx, -48(%rbp)
	movl	%esi, -44(%rbp)
	subl	%edx, %eax
	cltq
	movl	%esi, %edx
	subl	%ecx, %edx
	movslq	%edx, %rdi
LBB0_25:
	shlq	$16, %rax
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_26
## %bb.27:
	cqto
	idivq	%rdi
	jmp	LBB0_28
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_12:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpl	%ebx, %esi
	jg	LBB0_38
## %bb.13:
	movslq	%esi, %r12
	movslq	-48(%rbp), %r15
	xorl	%r14d, %r14d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	$-65536, %r14                   ## imm = 0xFFFF0000
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	leaq	1(%r12), %rax
	movslq	-52(%rbp), %rcx
	movq	%rdx, %r15
	cmpq	%rcx, %r12
	movq	%rax, %r12
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jge	LBB0_38
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rax
	movzbl	%ah, %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, %r8
	callq	_gdImageSetAAPixelColor
	leaq	1(%r15), %rdx
	cmpq	(%r13), %rdx
	jge	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	xorq	$255, %rbx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	%rdx, %r13
	movq	%rbx, %r8
	callq	_gdImageSetAAPixelColor
	movq	%r13, %rdx
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	cmpq	$65536, %r14                    ## imm = 0x10000
	jge	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	testq	%r14, %r14
	jns	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	$65536, %r14                    ## imm = 0x10000
	decq	%r15
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdx
	jmp	LBB0_21
LBB0_26:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_28:
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpl	%esi, %ecx
	jg	LBB0_38
## %bb.29:
	movslq	%ecx, %r12
	movslq	-56(%rbp), %rbx
	xorl	%edx, %edx
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_30 Depth=1
	addq	$-65536, %rdx                   ## imm = 0xFFFF0000
LBB0_37:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	leaq	1(%r12), %rax
	movslq	-44(%rbp), %rcx
	movq	%r15, %rbx
	cmpq	%rcx, %r12
	movq	%rax, %r12
	jge	LBB0_38
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%dh, %eax
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rdx, %r14
	movq	%r12, %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %r8
	callq	_gdImageSetAAPixelColor
	leaq	1(%rbx), %r15
	cmpq	8(%r13), %r15
	jge	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	xorq	$255, %r8
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_gdImageSetAAPixelColor
LBB0_32:                                ##   in Loop: Header=BB0_30 Depth=1
	addq	-88(%rbp), %r14                 ## 8-byte Folded Reload
	cmpq	$65536, %r14                    ## imm = 0x10000
	movq	%r14, %rdx
	jge	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_30 Depth=1
	testq	%rdx, %rdx
	jns	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_30 Depth=1
	addq	$65536, %rdx                    ## imm = 0x10000
	decq	%rbx
LBB0_36:                                ##   in Loop: Header=BB0_30 Depth=1
	movq	%rbx, %r15
	jmp	LBB0_37
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdImageAALine                  ; -- Begin function gdImageAALine
	.p2align	2
_gdImageAALine:                         ; @gdImageAALine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x5
	mov	x20, x0
	stp	w2, w1, [sp, #8]
	stp	w4, w3, [sp]
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_gdImageSX
	sub	x4, x0, #1
	add	x0, sp, #12
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x3, sp
	bl	_clip_1d
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_gdImageSY
	sub	x4, x0, #1
	add	x0, sp, #8
	add	x1, sp, #12
	mov	x2, sp
	add	x3, sp, #4
	bl	_clip_1d
	cbz	w0, LBB0_5
; %bb.3:
	ldp	w8, w9, [sp]
	ldp	w10, w11, [sp, #8]
	subs	w9, w9, w11
	b.ne	LBB0_7
; %bb.4:
	cmp	w8, w10
	b.ne	LBB0_7
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	mov	x0, x20
	mov	x5, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_gdImageLine
LBB0_7:
	sub	w8, w8, w10
	sxtw	x21, w9
	sxtw	x22, w8
	mov	x0, x21
	bl	_abs
	mov	x23, x0
	mov	x0, x22
	bl	_abs
	cmp	x23, x0
	b.le	LBB0_10
; %bb.8:
	ldr	w9, [sp, #12]
	ldr	w8, [sp, #4]
	tbnz	w21, #31, LBB0_12
; %bb.9:
	mov	x10, x8
	mov	x8, x9
	cmp	w8, w10
	b.gt	LBB0_5
	b	LBB0_13
LBB0_10:
	tbnz	w22, #31, LBB0_17
; %bb.11:
	ldr	w8, [sp, #8]
	ldr	w9, [sp]
	cmp	w8, w9
	b.gt	LBB0_5
	b	LBB0_18
LBB0_12:
	ldr	w10, [sp, #8]
	ldr	w11, [sp]
	stp	w11, w8, [sp, #8]
	stp	w10, w9, [sp]
	sub	w12, w9, w8
	sxtw	x21, w12
	sub	w10, w10, w11
	sxtw	x22, w10
	mov	x10, x9
	cmp	w8, w10
	b.gt	LBB0_5
LBB0_13:
	mov	x25, #0
	lsl	x9, x22, #16
	sxtw	x23, w8
	ldrsw	x22, [sp, #8]
	sdiv	x24, x9, x21
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x8, x25, x24
	add	x9, x8, #16, lsl #12            ; =65536
	sub	x10, x22, #1
	tst	x8, #0x8000000000000000
	csel	x10, x22, x10, eq
	csel	x9, x8, x9, eq
	subs	x8, x8, #16, lsl #12            ; =65536
	csinc	x22, x10, x22, lt
	csel	x25, x9, x8, lt
	add	x8, x23, #1
	ldrsw	x9, [sp, #4]
	cmp	x23, x9
	mov	x23, x8
	b.ge	LBB0_5
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ubfx	x21, x25, #8, #8
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	mov	x3, x19
	mov	x4, x21
	bl	_gdImageSetAAPixelColor
	add	x2, x22, #1
	ldr	x8, [x20]
	cmp	x2, x8
	b.ge	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	eor	x4, x21, #0xff
	mov	x0, x20
	mov	x1, x23
	mov	x3, x19
	bl	_gdImageSetAAPixelColor
	b	LBB0_14
LBB0_17:
	ldp	w9, w10, [sp, #8]
	ldp	w8, w11, [sp]
	stp	w8, w11, [sp, #8]
	stp	w9, w10, [sp]
	sub	w10, w10, w11
	sxtw	x21, w10
	sub	w10, w9, w8
	sxtw	x22, w10
	cmp	w8, w9
	b.gt	LBB0_5
LBB0_18:
	mov	x25, #0
	lsl	x9, x21, #16
	sxtw	x21, w8
	ldrsw	x23, [sp, #12]
	sdiv	x24, x9, x22
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x8, x25, x24
	add	x9, x8, #16, lsl #12            ; =65536
	sub	x10, x23, #1
	tst	x8, #0x8000000000000000
	csel	x10, x23, x10, eq
	csel	x9, x8, x9, eq
	subs	x8, x8, #16, lsl #12            ; =65536
	csinc	x23, x10, x23, lt
	csel	x25, x9, x8, lt
	add	x8, x21, #1
	ldrsw	x9, [sp]
	cmp	x21, x9
	mov	x21, x8
	b.ge	LBB0_5
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ubfx	x22, x25, #8, #8
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	mov	x3, x19
	mov	x4, x22
	bl	_gdImageSetAAPixelColor
	add	x1, x23, #1
	ldr	x8, [x20, #8]
	cmp	x1, x8
	b.ge	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	eor	x4, x22, #0xff
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_gdImageSetAAPixelColor
	b	LBB0_19
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
