	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpcap_adc_stop_bank
_cpcap_adc_stop_bank:                   ## @cpcap_adc_stop_bank
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_CPCAP_REG_ADCC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CPCAP_REG_ADCC1_DEFAULTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_regmap_update_bits
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %edi
	movq	_CPCAP_REG_ADCC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CPCAP_REG_ADCC2_DEFAULTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$65535, %edx                    ## imm = 0xFFFF
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CPCAP_REG_ADCC1,4,2            ## @CPCAP_REG_ADCC1
	.comm	_CPCAP_REG_ADCC1_DEFAULTS,4,2   ## @CPCAP_REG_ADCC1_DEFAULTS
	.comm	_CPCAP_REG_ADCC2,4,2            ## @CPCAP_REG_ADCC2
	.comm	_CPCAP_REG_ADCC2_DEFAULTS,4,2   ## @CPCAP_REG_ADCC2_DEFAULTS
	.no_dead_strip	_cpcap_adc_stop_bank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpcap_adc_stop_bank
_cpcap_adc_stop_bank:                   ; @cpcap_adc_stop_bank
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _CPCAP_REG_ADCC1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPCAP_REG_ADCC1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _CPCAP_REG_ADCC1_DEFAULTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CPCAP_REG_ADCC1_DEFAULTS@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w2, #65535
	bl	_regmap_update_bits
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _CPCAP_REG_ADCC2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CPCAP_REG_ADCC2@GOTPAGEOFF]
Lloh8:
	adrp	x9, _CPCAP_REG_ADCC2_DEFAULTS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CPCAP_REG_ADCC2_DEFAULTS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w3, [x9]
	mov	w2, #65535
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CPCAP_REG_ADCC1,4,2            ; @CPCAP_REG_ADCC1
	.comm	_CPCAP_REG_ADCC1_DEFAULTS,4,2   ; @CPCAP_REG_ADCC1_DEFAULTS
	.comm	_CPCAP_REG_ADCC2,4,2            ; @CPCAP_REG_ADCC2
	.comm	_CPCAP_REG_ADCC2_DEFAULTS,4,2   ; @CPCAP_REG_ADCC2_DEFAULTS
	.no_dead_strip	_cpcap_adc_stop_bank
.subsections_via_symbols
