	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _gdScaleVert
__gdScaleVert:                          ## @_gdScaleVert
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movl	%esi, %r13d
	movq	%rdi, %rcx
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	cmpl	%r9d, %edx
	movq	%rdi, %r15
	jne	LBB0_4
## %bb.1:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	decl	%eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movq	8(%rcx), %rax
	movl	(%rax,%rbx,4), %esi
	movl	%r13d, %edx
	callq	_memcpy
	movq	%r15, %rcx
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_3
LBB0_4:
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %eax
	cvtsi2sd	%rax, %xmm0
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %eax
	cvtsi2sd	%rax, %xmm1
	divsd	%xmm1, %xmm0
	movl	(%rcx), %edx
	movl	%r14d, %edi
	callq	__gdContributionsCalc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	cmpl	$1, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.7:
	movl	%r13d, %ebx
	movq	%r15, %r13
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	decl	%ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%rsp)
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r14d, %r8d
	movl	%r15d, %r9d
	callq	__gdScaleCol
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%r15d
	cmpl	%r15d, -64(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_8
LBB0_9:
	movq	%rax, %rdi
	callq	__gdContributionsFree
	movl	$1, %eax
	jmp	LBB0_10
LBB0_5:
	xorl	%eax, %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__gdScaleVert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _gdScaleVert
__gdScaleVert:                          ; @_gdScaleVert
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x21, x3
	mov	x24, x2
	mov	x22, x1
	mov	x23, x0
	cmp	w2, w5
	b.ne	LBB0_4
; %bb.1:
	subs	w8, w24, #1
	b.eq	LBB0_4
; %bb.2:
	mov	x25, #0
	lsl	x26, x8, #2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	w0, [x8, x25]
	ldr	x8, [x23, #8]
	ldr	w1, [x8, x25]
	mov	x2, x22
	bl	_memcpy
	add	x25, x25, #4
	cmp	x26, x25
	b.ne	LBB0_3
LBB0_4:
	ucvtf	d0, w19
	ucvtf	d1, w24
	fdiv	d0, d0, d1
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x24
	bl	__gdContributionsCalc
	cbz	x0, LBB0_9
; %bb.5:
	mov	x24, x0
	cmp	w20, #1
	b.eq	LBB0_8
; %bb.6:
	mov	w25, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	w5, w25, #1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x6, x24
	bl	__gdScaleCol
	add	w25, w25, #1
	cmp	w20, w25
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x24
	bl	__gdContributionsFree
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__gdScaleVert
.subsections_via_symbols
