	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VolumeCommit
_VolumeCommit:                          ## @VolumeCommit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VolIsMuted@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_VolPercent@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movq	_SDL_MIX_MAXVOLUME@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movq	_VolSDL@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VolIsMuted,8,3                 ## @VolIsMuted
	.comm	_VolPercent,4,2                 ## @VolPercent
	.comm	_SDL_MIX_MAXVOLUME,4,2          ## @SDL_MIX_MAXVOLUME
	.comm	_VolSDL,4,2                     ## @VolSDL
	.comm	_VOLUME_TYPE_OSS,8,3            ## @VOLUME_TYPE_OSS
	.comm	_VolumeControlType,8,3          ## @VolumeControlType
	.no_dead_strip	_VolumeCommit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VolumeCommit
_VolumeCommit:                          ; @VolumeCommit
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VolIsMuted@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VolIsMuted@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _VolPercent@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VolPercent@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, w9, wzr, eq
Lloh6:
	adrp	x9, _SDL_MIX_MAXVOLUME@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SDL_MIX_MAXVOLUME@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mul	w8, w9, w8
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
Lloh9:
	adrp	x9, _VolSDL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VolSDL@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VolIsMuted,8,3                 ; @VolIsMuted
	.comm	_VolPercent,4,2                 ; @VolPercent
	.comm	_SDL_MIX_MAXVOLUME,4,2          ; @SDL_MIX_MAXVOLUME
	.comm	_VolSDL,4,2                     ; @VolSDL
	.comm	_VOLUME_TYPE_OSS,8,3            ; @VOLUME_TYPE_OSS
	.comm	_VolumeControlType,8,3          ; @VolumeControlType
	.no_dead_strip	_VolumeCommit
.subsections_via_symbols
