	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hscroll
_hscroll:                               ## @hscroll
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movl	(%r14), %edx
	movl	4(%r14), %eax
	movl	(%rdi), %ecx
	movl	%ecx, %edi
	subl	%eax, %edi
	subl	%eax, %edi
	cmpl	%edi, %edx
	jle	LBB0_8
## %bb.1:
	xorl	%ebx, %ebx
	cmpl	%eax, %ecx
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	(%rdx), %edx
	addl	%ebx, %eax
	imull	%edx, %eax
	imull	%ebx, %edx
	movslq	%edx, %rdi
	addq	%rcx, %rdi
	movslq	%eax, %rsi
	addq	%rcx, %rsi
	movl	4(%r15), %edx
	callq	_memcpy
	incl	%ebx
	movl	(%r15), %ecx
	movl	4(%r14), %eax
	movl	%ecx, %edx
	subl	%eax, %edx
	cmpl	%edx, %ebx
	jl	LBB0_3
LBB0_4:
	cmpl	%ecx, %ebx
	jge	LBB0_7
## %bb.5:
	movq	_DEFAULT_BG_COLOR@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movslq	(%rcx), %rdi
	movslq	%ebx, %rbx
	imulq	%rbx, %rdi
	addq	(%rax), %rdi
	movl	(%r12), %esi
	movl	4(%r15), %edx
	callq	_memset
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_6
	jmp	LBB0_7
LBB0_8:
	addl	%edx, %eax
	movl	%eax, (%r14)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_BG_COLOR,4,2           ## @DEFAULT_BG_COLOR
	.no_dead_strip	_hscroll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hscroll
_hscroll:                               ; @hscroll
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x0, #8]
	ldr	w9, [x0]
	ldp	w10, w8, [x20]
	sub	w11, w9, w8, lsl #1
	cmp	w10, w11
	b.le	LBB0_5
; %bb.1:
	mov	x19, x0
	cmp	w9, w8
	b.le	LBB0_6
; %bb.2:
	mov	w21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldp	x9, x10, [x9]
	ldr	x10, [x10]
	ldr	w9, [x9]
	mul	w11, w9, w21
	add	x0, x10, w11, sxtw
	add	w8, w8, w21
	mul	w8, w9, w8
	add	x1, x10, w8, sxtw
	ldr	w2, [x19, #4]
	bl	_memcpy
	add	w21, w21, #1
	ldr	w9, [x19]
	ldr	w8, [x20, #4]
	sub	w10, w9, w8
	cmp	w21, w10
	b.lt	LBB0_3
; %bb.4:
	cmp	w21, w9
	b.lt	LBB0_7
	b	LBB0_9
LBB0_5:
	add	w8, w8, w10
	str	w8, [x20]
	b	LBB0_9
LBB0_6:
	mov	w21, #0
	cmp	w21, w9
	b.ge	LBB0_9
LBB0_7:
Lloh0:
	adrp	x22, _DEFAULT_BG_COLOR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DEFAULT_BG_COLOR@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldp	x8, x9, [x8]
	ldr	x9, [x9]
	ldrsw	x8, [x8]
	sxtw	x10, w21
	madd	x0, x8, x10, x9
	ldr	w1, [x22]
	ldr	w2, [x19, #4]
	bl	_memset
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
	b.lt	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_BG_COLOR,4,2           ; @DEFAULT_BG_COLOR
	.no_dead_strip	_hscroll
.subsections_via_symbols
