	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdspm_read_in_gain
_hdspm_read_in_gain:                    ## @hdspm_read_in_gain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HDSPM_MIXER_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	cmpl	%esi, %ecx
	jbe	LBB0_3
## %bb.1:
	cmpl	%edx, %ecx
	jbe	LBB0_3
## %bb.2:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %rax
	movl	%edx, %ecx
	movl	(%rax,%rcx,4), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDSPM_MIXER_CHANNELS,4,2       ## @HDSPM_MIXER_CHANNELS
	.no_dead_strip	_hdspm_read_in_gain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdspm_read_in_gain
_hdspm_read_in_gain:                    ; @hdspm_read_in_gain
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HDSPM_MIXER_CHANNELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDSPM_MIXER_CHANNELS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	ccmp	w8, w2, #0, hi
	b.hi	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8, w1, uxtw #3]
	ldr	w0, [x8, w2, uxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDSPM_MIXER_CHANNELS,4,2       ; @HDSPM_MIXER_CHANNELS
	.no_dead_strip	_hdspm_read_in_gain
.subsections_via_symbols
