	.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
	movl	(%rdi), %eax
	movq	_GAIN_IDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movl	$21, %esi
	movq	%rdi, %rdx
	movl	$1, %ecx
	popq	%rbp
	jmp	_i2c_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GAIN_IDX,4,2                   ## @GAIN_IDX
	.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:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _GAIN_IDX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GAIN_IDX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_2
; %bb.1:
	ret
LBB0_2:
	mov	w1, #21
	mov	x2, x0
	mov	w3, #1
	b	_i2c_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GAIN_IDX,4,2                   ; @GAIN_IDX
	.no_dead_strip	_setgain
.subsections_via_symbols
