	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arizona_clk32k_disable         ## -- Begin function arizona_clk32k_disable
	.p2align	4, 0x90
_arizona_clk32k_disable:                ## @arizona_clk32k_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setle	%dil
	callq	_BUG_ON
	decq	(%rbx)
	jne	LBB0_6
## %bb.1:
	movl	32(%rbx), %edi
	movq	_ARIZONA_CLOCK_32K_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARIZONA_CLK_32K_ENA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movl	28(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.4:
	movl	24(%rbx), %edi
	callq	_pm_runtime_put_sync
	movq	_ARIZONA_MCLK1@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_ARIZONA_MCLK2@GOTPCREL(%rip), %rax
LBB0_5:
	movq	16(%rbx), %rcx
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %edi
	callq	_clk_disable_unprepare
LBB0_6:
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARIZONA_CLOCK_32K_1,4,2        ## @ARIZONA_CLOCK_32K_1
	.comm	_ARIZONA_CLK_32K_ENA,4,2        ## @ARIZONA_CLK_32K_ENA
	.comm	_ARIZONA_MCLK1,8,3              ## @ARIZONA_MCLK1
	.comm	_ARIZONA_MCLK2,8,3              ## @ARIZONA_MCLK2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arizona_clk32k_disable         ; -- Begin function arizona_clk32k_disable
	.p2align	2
_arizona_clk32k_disable:                ; @arizona_clk32k_disable
	.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	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20]
	cmp	x8, #1
	cset	w0, lt
	bl	_BUG_ON
	ldr	x8, [x20]
	subs	x8, x8, #1
	str	x8, [x20]
	b.ne	LBB0_6
; %bb.1:
	ldr	w0, [x20, #32]
Lloh0:
	adrp	x8, _ARIZONA_CLOCK_32K_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARIZONA_CLOCK_32K_1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ARIZONA_CLK_32K_ENA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARIZONA_CLK_32K_ENA@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_regmap_update_bits
	ldr	w8, [x20, #28]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.3:
	ldr	w0, [x20, #24]
	bl	_pm_runtime_put_sync
Lloh6:
	adrp	x8, _ARIZONA_MCLK1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARIZONA_MCLK1@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _ARIZONA_MCLK2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARIZONA_MCLK2@GOTPAGEOFF]
LBB0_5:
	ldr	x9, [x20, #16]
	ldr	x8, [x8]
	ldr	w0, [x9, x8, lsl #2]
	bl	_clk_disable_unprepare
LBB0_6:
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ARIZONA_CLOCK_32K_1,4,2        ; @ARIZONA_CLOCK_32K_1
	.comm	_ARIZONA_CLK_32K_ENA,4,2        ; @ARIZONA_CLK_32K_ENA
	.comm	_ARIZONA_MCLK1,8,3              ; @ARIZONA_MCLK1
	.comm	_ARIZONA_MCLK2,8,3              ; @ARIZONA_MCLK2
.subsections_via_symbols
