	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdcs_set_gains
_hdcs_set_gains:                        ## @hdcs_set_gains
	.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	%esi, %eax
	shrl	%eax
	orl	$128, %eax
	cmpl	$127, %esi
	cmovlel	%esi, %eax
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqa	%xmm0, -16(%rbp)
	movq	_HDCS_ERECPGA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	movl	$4, %ecx
	callq	_hdcs_reg_write_seq
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDCS_ERECPGA,4,2               ## @HDCS_ERECPGA
	.no_dead_strip	_hdcs_set_gains
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdcs_set_gains
_hdcs_set_gains:                        ; @hdcs_set_gains
	.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
	lsr	w8, w1, #1
	orr	w8, w8, #0x80
	cmp	w1, #127
	csel	w8, w8, w1, gt
	dup.4s	v0, w8
	str	q0, [sp]
Lloh0:
	adrp	x8, _HDCS_ERECPGA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDCS_ERECPGA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	mov	w3, #4
	bl	_hdcs_reg_write_seq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDCS_ERECPGA,4,2               ; @HDCS_ERECPGA
	.no_dead_strip	_hdcs_set_gains
.subsections_via_symbols
