	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setgain
_setgain:                               ## @setgain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$63, %esi
	jle	LBB0_4
## %bb.1:
	cmpl	$127, %esi
	ja	LBB0_3
## %bb.2:
	shrl	%esi
	orl	$64, %esi
	jmp	LBB0_4
LBB0_3:
	shrl	$2, %esi
	orl	$192, %esi
LBB0_4:
	movq	(%rdi), %rax
	movl	%esi, (%rax)
	movl	$0, 4(%rax)
	movl	$33589, %esi                    ## imm = 0x8335
	movl	$2, %edx
	popq	%rbp
	jmp	_reg_w_buf                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_setgain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setgain
_setgain:                               ; @setgain
	.cfi_startproc
; %bb.0:
	cmp	w1, #63
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	str	w1, [x8]
	b	LBB0_6
LBB0_2:
	cmp	w1, #127
	b.hi	LBB0_4
; %bb.3:
	lsr	w8, w1, #1
	orr	w9, w8, #0x40
	b	LBB0_5
LBB0_4:
	lsr	w8, w1, #2
	orr	w9, w8, #0xc0
LBB0_5:
	ldr	x8, [x0]
	str	w9, [x8]
LBB0_6:
	str	wzr, [x8, #4]
	mov	w1, #33589
	mov	w2, #2
	b	_reg_w_buf
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_setgain
.subsections_via_symbols
