	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_get_output_ports
_mixer_get_output_ports:                ## @mixer_get_output_ports
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_port_to_amixer
                                        ## kill: def $eax killed $eax def $rax
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rcx
	movq	_CHN_NUM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	%eax, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	%rcx, (%rbx)
LBB0_2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	_CHN_NUM@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movq	(%r14), %rcx
	incl	%eax
	movq	(%rcx,%rax,8), %rax
	movq	%rax, (%r15)
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHN_NUM,4,2                    ## @CHN_NUM
	.no_dead_strip	_mixer_get_output_ports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_get_output_ports
_mixer_get_output_ports:                ; @mixer_get_output_ports
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x3
	mov	x21, x2
	mov	x20, x0
	mov	x0, x1
	bl	_port_to_amixer
Lloh0:
	adrp	x8, _CHN_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHN_NUM@GOTPAGEOFF]
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x9, [x20]
	ldr	w10, [x8]
	mul	w10, w10, w0
	ldr	x9, [x9, w10, uxtw #3]
	str	x9, [x21]
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	ldr	x9, [x20]
	ldr	w8, [x8]
	orr	w10, wzr, #0x1
	madd	w8, w8, w0, w10
	ldr	x8, [x9, w8, uxtw #3]
	str	x8, [x19]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CHN_NUM,4,2                    ; @CHN_NUM
	.no_dead_strip	_mixer_get_output_ports
.subsections_via_symbols
