	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnVScroll
_OnVScroll:                             ## @OnVScroll
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	%edx, %edi
	callq	_LOWORD
	cmpl	$128, %eax
	je	LBB0_29
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_3
## %bb.2:
	movq	_SND_ALIAS_SYSTEMDEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SND_ASYNC@GOTPCREL(%rip), %rax
	movq	_SND_ALIAS_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%esi, %esi
	callq	_PlaySound
	jmp	LBB0_29
LBB0_3:
	movq	_VOLUME_MAX@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	_IDC_LINE_SLIDER_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TBM_GETPOS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_SendDlgItemMessage
	cltq
	subq	%rax, %rbx
	movq	_VOLUME_MIN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_5
## %bb.4:
	movq	(%r14), %rbx
	jmp	LBB0_8
LBB0_5:
	cmpq	(%r12), %rbx
	jne	LBB0_7
## %bb.6:
	movq	8(%r14), %rbx
	jmp	LBB0_8
LBB0_7:
	imulq	16(%r14), %rbx
	addq	(%r14), %rbx
LBB0_8:
	movq	24(%r14), %r8
	testq	%r8, %r8
	je	LBB0_9
## %bb.10:
	movq	32(%r14), %rsi
	movq	64(%r14), %r10
	cmpq	$1, %r8
	jne	LBB0_12
## %bb.11:
	xorl	%edi, %edi
                                        ## implicit-def: $r9
LBB0_22:
	testb	$1, %r8b
	je	LBB0_28
## %bb.23:
	movq	(%r10,%rdi,8), %rax
	cmpq	%rsi, %rax
	je	LBB0_27
## %bb.24:
	imulq	%rbx, %rax
	movq	%rax, %rcx
	orq	%rsi, %rcx
	shrq	$32, %rcx
	je	LBB0_25
## %bb.26:
	xorl	%edx, %edx
	divq	%rsi
	movq	%rax, %rbx
	jmp	LBB0_27
LBB0_9:
	movq	48(%r14), %r9
	jmp	LBB0_28
LBB0_12:
	movq	%r8, %r11
	andq	$-2, %r11
	movq	48(%r14), %r9
	xorl	%edi, %edi
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	xorl	%edx, %edx
	divq	%rsi
	movq	%rax, %rcx
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rcx, 8(%r9,%rdi,8)
	addq	$2, %rdi
	cmpq	%rdi, %r11
	je	LBB0_22
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r10,%rdi,8), %rax
	movq	%rbx, %rcx
	cmpq	%rsi, %rax
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	imulq	%rbx, %rax
	movq	%rax, %rcx
	orq	%rsi, %rcx
	shrq	$32, %rcx
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%edx, %edx
	divq	%rsi
	movq	%rax, %rcx
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rcx, (%r9,%rdi,8)
	movq	8(%r10,%rdi,8), %rax
	movq	%rbx, %rcx
	cmpq	%rsi, %rax
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	imulq	%rbx, %rax
	movq	%rax, %rcx
	orq	%rsi, %rcx
	shrq	$32, %rcx
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %ecx
	jmp	LBB0_21
LBB0_25:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %ebx
LBB0_27:
	movq	48(%r14), %r9
	movq	%rbx, (%r9,%rdi,8)
LBB0_28:
	movl	$40, -72(%rbp)
	movl	56(%r14), %eax
	movl	%eax, -36(%rbp)
	movq	%r8, -64(%rbp)
	movl	$0, -40(%rbp)
	movl	$4, -56(%rbp)
	movq	%r9, -48(%rbp)
	movl	40(%r14), %edi
	movq	_MIXER_OBJECTF_HMIXER@GOTPCREL(%rip), %rax
	movq	_MIXER_SETCONTROLDETAILSF_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	-72(%rbp), %rsi
	callq	_mixerSetControlDetails
LBB0_29:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SND_ALIAS_SYSTEMDEFAULT,4,2    ## @SND_ALIAS_SYSTEMDEFAULT
	.comm	_SND_ASYNC,4,2                  ## @SND_ASYNC
	.comm	_SND_ALIAS_ID,4,2               ## @SND_ALIAS_ID
	.comm	_VOLUME_MAX,8,3                 ## @VOLUME_MAX
	.comm	_IDC_LINE_SLIDER_VERT,4,2       ## @IDC_LINE_SLIDER_VERT
	.comm	_TBM_GETPOS,4,2                 ## @TBM_GETPOS
	.comm	_VOLUME_MIN,8,3                 ## @VOLUME_MIN
	.comm	_MIXER_OBJECTF_HMIXER,4,2       ## @MIXER_OBJECTF_HMIXER
	.comm	_MIXER_SETCONTROLDETAILSF_VALUE,4,2 ## @MIXER_SETCONTROLDETAILSF_VALUE
	.no_dead_strip	_OnVScroll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnVScroll
_OnVScroll:                             ; @OnVScroll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_LOWORD
	cmp	w0, #128
	b.eq	LBB0_14
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _SND_ALIAS_SYSTEMDEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SND_ALIAS_SYSTEMDEFAULT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SND_ASYNC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SND_ASYNC@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _SND_ALIAS_ID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SND_ALIAS_ID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x1, #0
	bl	_PlaySound
	b	LBB0_14
LBB0_3:
Lloh9:
	adrp	x21, _VOLUME_MAX@GOTPAGE
Lloh10:
	ldr	x21, [x21, _VOLUME_MAX@GOTPAGEOFF]
	ldr	x22, [x21]
Lloh11:
	adrp	x8, _IDC_LINE_SLIDER_VERT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDC_LINE_SLIDER_VERT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _TBM_GETPOS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TBM_GETPOS@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_SendDlgItemMessage
	sub	x8, x22, w0, sxtw
Lloh17:
	adrp	x9, _VOLUME_MIN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _VOLUME_MIN@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	x9, [x19]
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_7
	b	LBB0_12
LBB0_5:
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	ldr	x9, [x19, #8]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_12
LBB0_7:
	mov	x11, #0
	ldr	x12, [x19, #64]
	ldr	x13, [x19, #32]
	ldr	x10, [x19, #48]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	str	x14, [x10, x11, lsl #3]
	add	x11, x11, #1
	cmp	x8, x11
	b.eq	LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x12, x11, lsl #3]
	mov	x14, x9
	cmp	x15, x13
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mul	x14, x15, x9
	udiv	x14, x14, x13
	b	LBB0_8
LBB0_11:
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	madd	x9, x9, x8, x10
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_7
LBB0_12:
	ldr	x10, [x19, #48]
LBB0_13:
	mov	w9, #40
	str	w9, [sp, #8]
	ldr	w9, [x19, #56]
	str	x8, [sp, #16]
	stp	wzr, w9, [sp, #40]
	mov	w8, #4
	str	w8, [sp, #24]
	str	x10, [sp, #32]
Lloh20:
	adrp	x8, _MIXER_OBJECTF_HMIXER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MIXER_OBJECTF_HMIXER@GOTPAGEOFF]
	ldr	w0, [x19, #40]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _MIXER_SETCONTROLDETAILSF_VALUE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MIXER_SETCONTROLDETAILSF_VALUE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x1, sp, #8
	bl	_mixerSetControlDetails
LBB0_14:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_ALIAS_SYSTEMDEFAULT,4,2    ; @SND_ALIAS_SYSTEMDEFAULT
	.comm	_SND_ASYNC,4,2                  ; @SND_ASYNC
	.comm	_SND_ALIAS_ID,4,2               ; @SND_ALIAS_ID
	.comm	_VOLUME_MAX,8,3                 ; @VOLUME_MAX
	.comm	_IDC_LINE_SLIDER_VERT,4,2       ; @IDC_LINE_SLIDER_VERT
	.comm	_TBM_GETPOS,4,2                 ; @TBM_GETPOS
	.comm	_VOLUME_MIN,8,3                 ; @VOLUME_MIN
	.comm	_MIXER_OBJECTF_HMIXER,4,2       ; @MIXER_OBJECTF_HMIXER
	.comm	_MIXER_SETCONTROLDETAILSF_VALUE,4,2 ; @MIXER_SETCONTROLDETAILSF_VALUE
	.no_dead_strip	_OnVScroll
.subsections_via_symbols
