	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_update_ana_gain
_dib8000_update_ana_gain:               ## @dib8000_update_ana_gain
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	$116, %esi
	movl	%ebx, %edx
	callq	_dib8000_write_word
	movq	_adc_target_16dB@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %edx
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	$80, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	4(%rax), %edx
	movq	%r15, %rdi
	movl	$81, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	8(%rax), %edx
	movq	%r15, %rdi
	movl	$82, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	12(%rax), %edx
	movq	%r15, %rdi
	movl	$83, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	16(%rax), %edx
	movq	%r15, %rdi
	movl	$84, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	20(%rax), %edx
	movq	%r15, %rdi
	movl	$85, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	24(%rax), %edx
	movq	%r15, %rdi
	movl	$86, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	28(%rax), %edx
	movq	%r15, %rdi
	movl	$87, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	32(%rax), %edx
	movq	%r15, %rdi
	movl	$88, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	36(%rax), %r14d
	jmp	LBB0_3
LBB0_2:
	addl	$-355, %edx                     ## imm = 0xFE9D
	movq	%r15, %rdi
	movl	$80, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	$-355, %r14d                    ## imm = 0xFE9D
	movl	4(%rax), %edx
	addl	%r14d, %edx
	movq	%r15, %rdi
	movl	$81, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	8(%rax), %edx
	addl	%r14d, %edx
	movq	%r15, %rdi
	movl	$82, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	12(%rax), %edx
	addl	%r14d, %edx
	movq	%r15, %rdi
	movl	$83, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	16(%rax), %edx
	addl	%r14d, %edx
	movq	%r15, %rdi
	movl	$84, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	20(%rax), %edx
	addl	%r14d, %edx
	movq	%r15, %rdi
	movl	$85, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	24(%rax), %edx
	addl	%r14d, %edx
	movq	%r15, %rdi
	movl	$86, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	28(%rax), %edx
	addl	%r14d, %edx
	movq	%r15, %rdi
	movl	$87, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	movl	32(%rax), %edx
	addl	%r14d, %edx
	movq	%r15, %rdi
	movl	$88, %esi
	callq	_dib8000_write_word
	movq	(%r12), %rax
	addl	36(%rax), %r14d
LBB0_3:
	movq	%r15, %rdi
	movl	$89, %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dib8000_write_word             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_adc_target_16dB,8,3            ## @adc_target_16dB
	.no_dead_strip	_dib8000_update_ana_gain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_update_ana_gain
_dib8000_update_ana_gain:               ; @dib8000_update_ana_gain
	.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	x20, x1
	mov	x19, x0
	mov	w1, #116
	mov	x2, x20
	bl	_dib8000_write_word
Lloh0:
	adrp	x21, _adc_target_16dB@GOTPAGE
Lloh1:
	ldr	x21, [x21, _adc_target_16dB@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w2, [x8]
	cbz	w20, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #80
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w2, [x8, #4]
	mov	x0, x19
	mov	w1, #81
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w2, [x8, #8]
	mov	x0, x19
	mov	w1, #82
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w2, [x8, #12]
	mov	x0, x19
	mov	w1, #83
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w2, [x8, #16]
	mov	x0, x19
	mov	w1, #84
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w2, [x8, #20]
	mov	x0, x19
	mov	w1, #85
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w2, [x8, #24]
	mov	x0, x19
	mov	w1, #86
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w2, [x8, #28]
	mov	x0, x19
	mov	w1, #87
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w2, [x8, #32]
	mov	x0, x19
	mov	w1, #88
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w2, [x8, #36]
	b	LBB0_3
LBB0_2:
	sub	w2, w2, #355
	mov	x0, x19
	mov	w1, #80
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w8, [x8, #4]
	sub	w2, w8, #355
	mov	x0, x19
	mov	w1, #81
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w8, [x8, #8]
	sub	w2, w8, #355
	mov	x0, x19
	mov	w1, #82
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w8, [x8, #12]
	sub	w2, w8, #355
	mov	x0, x19
	mov	w1, #83
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w8, [x8, #16]
	sub	w2, w8, #355
	mov	x0, x19
	mov	w1, #84
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w8, [x8, #20]
	sub	w2, w8, #355
	mov	x0, x19
	mov	w1, #85
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w8, [x8, #24]
	sub	w2, w8, #355
	mov	x0, x19
	mov	w1, #86
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w8, [x8, #28]
	sub	w2, w8, #355
	mov	x0, x19
	mov	w1, #87
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w8, [x8, #32]
	sub	w2, w8, #355
	mov	x0, x19
	mov	w1, #88
	bl	_dib8000_write_word
	ldr	x8, [x21]
	ldr	w8, [x8, #36]
	sub	w2, w8, #355
LBB0_3:
	mov	x0, x19
	mov	w1, #89
	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
	b	_dib8000_write_word
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_adc_target_16dB,8,3            ; @adc_target_16dB
	.no_dead_strip	_dib8000_update_ana_gain
.subsections_via_symbols
