	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sndout_oss_setvol              ## -- Begin function sndout_oss_setvol
	.p2align	4, 0x90
_sndout_oss_setvol:                     ## @sndout_oss_setvol
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, %eax
	movq	_mixerdev@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	js	LBB0_2
## %bb.1:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovlel	%ecx, %eax
	cmpl	$255, %eax
	movl	$255, %edx
	cmovael	%edx, %eax
	testl	%esi, %esi
	cmovgl	%esi, %ecx
	cmpl	$255, %ecx
	cmovael	%edx, %ecx
	shll	$8, %eax
	orl	%ecx, %eax
	movl	%eax, -4(%rbp)
	movq	_SOUND_MIXER_WRITE_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_ioctl
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mixerdev,8,3                   ## @mixerdev
	.comm	_SOUND_MIXER_WRITE_PCM,4,2      ## @SOUND_MIXER_WRITE_PCM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sndout_oss_setvol              ; -- Begin function sndout_oss_setvol
	.p2align	2
_sndout_oss_setvol:                     ; @sndout_oss_setvol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
Lloh0:
	adrp	x9, _mixerdev@GOTPAGE
Lloh1:
	ldr	x9, [x9, _mixerdev@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x9]
	tbnz	x0, #63, LBB0_2
; %bb.1:
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	mov	w9, #255
	cmp	w8, #255
	csel	w8, w8, w9, lo
	cmp	w1, #0
	csel	w10, w1, wzr, gt
	cmp	w10, #255
	csel	w9, w10, w9, lo
	orr	w8, w9, w8, lsl #8
	stur	w8, [x29, #-4]
Lloh3:
	adrp	x8, _SOUND_MIXER_WRITE_PCM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOUND_MIXER_WRITE_PCM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_ioctl
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_mixerdev,8,3                   ; @mixerdev
	.comm	_SOUND_MIXER_WRITE_PCM,4,2      ; @SOUND_MIXER_WRITE_PCM
.subsections_via_symbols
