	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SndMixerGetVolumeControlDetails ## -- Begin function SndMixerGetVolumeControlDetails
	.p2align	4, 0x90
_SndMixerGetVolumeControlDetails:       ## @SndMixerGetVolumeControlDetails
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	$40, -40(%rbp)
	movq	%rsi, -8(%rbp)
	movq	%rdx, -16(%rbp)
	movq	$0, -24(%rbp)
	movq	%rcx, -32(%rbp)
	movl	%r8d, -36(%rbp)
	movq	_MIXER_GETCONTROLDETAILSF_VALUE@GOTPCREL(%rip), %rax
	movq	_MIXER_OBJECTF_HMIXER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	-40(%rbp), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_mixerGetControlDetails
	movq	%rax, %rcx
	movq	_MMSYSERR_NOERROR@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_3
LBB0_2:
	movl	$-1, %eax
LBB0_3:
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIXER_GETCONTROLDETAILSF_VALUE,4,2 ## @MIXER_GETCONTROLDETAILSF_VALUE
	.comm	_MIXER_OBJECTF_HMIXER,4,2       ## @MIXER_OBJECTF_HMIXER
	.comm	_MMSYSERR_NOERROR,8,3           ## @MMSYSERR_NOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SndMixerGetVolumeControlDetails ; -- Begin function SndMixerGetVolumeControlDetails
	.p2align	2
_SndMixerGetVolumeControlDetails:       ; @SndMixerGetVolumeControlDetails
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	cbz	x0, LBB0_3
; %bb.1:
	mov	w8, #40
	stp	x2, x1, [sp, #32]
	stp	x3, xzr, [sp, #16]
Lloh0:
	adrp	x9, _MIXER_GETCONTROLDETAILSF_VALUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MIXER_GETCONTROLDETAILSF_VALUE@GOTPAGEOFF]
	stp	w8, w4, [sp, #8]
Lloh2:
	ldr	w8, [x9]
Lloh3:
	adrp	x9, _MIXER_OBJECTF_HMIXER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MIXER_OBJECTF_HMIXER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x1, sp, #8
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_mixerGetControlDetails
Lloh6:
	adrp	x8, _MMSYSERR_NOERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MMSYSERR_NOERROR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIXER_GETCONTROLDETAILSF_VALUE,4,2 ; @MIXER_GETCONTROLDETAILSF_VALUE
	.comm	_MIXER_OBJECTF_HMIXER,4,2       ; @MIXER_OBJECTF_HMIXER
	.comm	_MMSYSERR_NOERROR,8,3           ; @MMSYSERR_NOERROR
.subsections_via_symbols
