	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arizona_micd_set_level
_arizona_micd_set_level:                ## @arizona_micd_set_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ARIZONA_MIC_DETECT_LEVEL_4@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%edx, %ecx
	shll	$8, %ecx
	testb	$1, %sil
	cmovnel	%edx, %ecx
	movl	$16128, %r8d                    ## imm = 0x3F00
	movl	$63, %edx
	cmovel	%r8d, %edx
	movl	%esi, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	sarl	%eax
	subl	%eax, %r9d
	movl	(%rdi), %edi
	movl	%r9d, %esi
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ARIZONA_MIC_DETECT_LEVEL_4,4,2 ## @ARIZONA_MIC_DETECT_LEVEL_4
	.no_dead_strip	_arizona_micd_set_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arizona_micd_set_level
_arizona_micd_set_level:                ; @arizona_micd_set_level
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ARIZONA_MIC_DETECT_LEVEL_4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARIZONA_MIC_DETECT_LEVEL_4@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w9, w2, #8
	tst	w1, #0x1
	csel	w3, w9, w2, eq
	mov	w9, #63
	mov	w10, #16128
	csel	w2, w10, w9, eq
	cmp	w1, #0
	cinc	w9, w1, lt
	sub	w1, w8, w9, asr #1
	ldr	w0, [x0]
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARIZONA_MIC_DETECT_LEVEL_4,4,2 ; @ARIZONA_MIC_DETECT_LEVEL_4
	.no_dead_strip	_arizona_micd_set_level
.subsections_via_symbols
