	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_rline
_draw_rline:                            ## @draw_rline
	.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	$24, %rsp
	.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	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	movl	%r8d, %edi
	subl	%edx, %edi
	setg	%r15b
	callq	_FFABS
	movl	%eax, %r14d
	addl	%r15d, %r15d
	decl	%r15d
	xorl	%eax, %eax
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	subl	%r13d, %edi
	setg	%al
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_FFABS
	movl	-52(%rbp), %r11d                ## 4-byte Reload
	movl	-48(%rbp), %r10d                ## 4-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rcx), %r8d
	decl	%r8d
	movl	%eax, %ecx
	negl	%ecx
	cmpl	%eax, %r14d
	cmovgl	%r14d, %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	movl	%r14d, %r9d
	negl	%r9d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r9d, %esi
	movl	$0, %ecx
	cmovgl	%eax, %ecx
	movl	$0, %edi
	cmovgl	%r15d, %edi
	movl	%esi, %edx
	subl	%ecx, %edx
	addl	%r12d, %edi
	cmpl	%eax, %esi
	movl	$0, %ecx
	cmovll	%r8d, %ecx
	movl	$0, %esi
	cmovll	%r14d, %esi
	addl	%ecx, %r13d
	addl	%edx, %esi
	movl	%edi, %r12d
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	imull	%r11d, %edi
	leal	(%rdi,%r12,4), %edi
	movslq	%edi, %rdi
	movl	$65535, %ecx                    ## imm = 0xFFFF
	subl	(%rbx,%rdi,4), %ecx
	movl	%ecx, (%rbx,%rdi,4)
	movl	$65535, %ecx                    ## imm = 0xFFFF
	subl	4(%rbx,%rdi,4), %ecx
	movl	%ecx, 4(%rbx,%rdi,4)
	movl	$65535, %ecx                    ## imm = 0xFFFF
	subl	8(%rbx,%rdi,4), %ecx
	movl	%ecx, 8(%rbx,%rdi,4)
	movl	$65535, 12(%rbx,%rdi,4)         ## imm = 0xFFFF
	cmpl	%r10d, %r12d
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_3
## %bb.4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_draw_rline
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_rline
_draw_rline:                            ; @draw_rline
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	subs	w0, w4, w2
	mov	w27, #1
	cneg	w26, w27, le
	bl	_FFABS
	mov	x25, x0
	subs	w0, w19, w21
	cneg	w27, w27, le
	bl	_FFABS
	cmp	w25, w0
	csneg	w8, w25, w0, gt
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	neg	w9, w25
	mov	w10, #65535
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, w9
	csel	w11, w0, wzr, gt
	csel	w12, w26, wzr, gt
	add	w22, w12, w22
	cmp	w8, w0
	csel	w12, w27, wzr, lt
	add	w21, w12, w21
	csel	w12, w25, wzr, lt
	sub	w8, w8, w11
	add	w8, w8, w12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mul	w11, w21, w23
	add	w11, w11, w22, lsl #2
	add	x11, x24, w11, sxtw #2
	ldp	w12, w13, [x11]
	sub	w12, w10, w12
	sub	w13, w10, w13
	stp	w12, w13, [x11]
	ldr	w12, [x11, #8]
	sub	w12, w10, w12
	stp	w12, w10, [x11, #8]
	cmp	w22, w20
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w21, w19
	b.ne	LBB0_1
; %bb.4:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_draw_rline
.subsections_via_symbols
