	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arizona_underclocked
_arizona_underclocked:                  ## @arizona_underclocked
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	4(%rsi), %edi
	movq	_ARIZONA_INTERRUPT_RAW_STATUS_8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_24
LBB0_2:
	movl	-20(%rbp), %eax
	movq	_ARIZONA_AIF3_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_4:
	movq	_ARIZONA_AIF2_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_6:
	movq	_ARIZONA_AIF1_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_8:
	movq	_ARIZONA_ISRC3_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_10:
	movq	_ARIZONA_ISRC2_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_12:
	movq	_ARIZONA_ISRC1_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movl	(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_14:
	movq	_ARIZONA_FX_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:
	movl	(%r14), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_16:
	movq	_ARIZONA_ASRC_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	movl	(%r14), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_18:
	movq	_ARIZONA_DAC_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:
	movl	(%r14), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_20:
	movq	_ARIZONA_ADC_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.21:
	movl	(%r14), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	-20(%rbp), %eax
LBB0_22:
	movq	_ARIZONA_MIXER_UNDERCLOCKED_STS@GOTPCREL(%rip), %rcx
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.23:
	movl	(%r14), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_24:
	movl	(%rbx), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARIZONA_INTERRUPT_RAW_STATUS_8,4,2 ## @ARIZONA_INTERRUPT_RAW_STATUS_8
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to read underclock status: %d\n"

	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_ARIZONA_AIF3_UNDERCLOCKED_STS,4,2 ## @ARIZONA_AIF3_UNDERCLOCKED_STS
L_.str.1:                               ## @.str.1
	.asciz	"AIF3 underclocked\n"

	.comm	_ARIZONA_AIF2_UNDERCLOCKED_STS,4,2 ## @ARIZONA_AIF2_UNDERCLOCKED_STS
L_.str.2:                               ## @.str.2
	.asciz	"AIF2 underclocked\n"

	.comm	_ARIZONA_AIF1_UNDERCLOCKED_STS,4,2 ## @ARIZONA_AIF1_UNDERCLOCKED_STS
L_.str.3:                               ## @.str.3
	.asciz	"AIF1 underclocked\n"

	.comm	_ARIZONA_ISRC3_UNDERCLOCKED_STS,4,2 ## @ARIZONA_ISRC3_UNDERCLOCKED_STS
L_.str.4:                               ## @.str.4
	.asciz	"ISRC3 underclocked\n"

	.comm	_ARIZONA_ISRC2_UNDERCLOCKED_STS,4,2 ## @ARIZONA_ISRC2_UNDERCLOCKED_STS
L_.str.5:                               ## @.str.5
	.asciz	"ISRC2 underclocked\n"

	.comm	_ARIZONA_ISRC1_UNDERCLOCKED_STS,4,2 ## @ARIZONA_ISRC1_UNDERCLOCKED_STS
L_.str.6:                               ## @.str.6
	.asciz	"ISRC1 underclocked\n"

	.comm	_ARIZONA_FX_UNDERCLOCKED_STS,4,2 ## @ARIZONA_FX_UNDERCLOCKED_STS
L_.str.7:                               ## @.str.7
	.asciz	"FX underclocked\n"

	.comm	_ARIZONA_ASRC_UNDERCLOCKED_STS,4,2 ## @ARIZONA_ASRC_UNDERCLOCKED_STS
L_.str.8:                               ## @.str.8
	.asciz	"ASRC underclocked\n"

	.comm	_ARIZONA_DAC_UNDERCLOCKED_STS,4,2 ## @ARIZONA_DAC_UNDERCLOCKED_STS
L_.str.9:                               ## @.str.9
	.asciz	"DAC underclocked\n"

	.comm	_ARIZONA_ADC_UNDERCLOCKED_STS,4,2 ## @ARIZONA_ADC_UNDERCLOCKED_STS
L_.str.10:                              ## @.str.10
	.asciz	"ADC underclocked\n"

	.comm	_ARIZONA_MIXER_UNDERCLOCKED_STS,4,2 ## @ARIZONA_MIXER_UNDERCLOCKED_STS
L_.str.11:                              ## @.str.11
	.asciz	"Mixer dropped sample\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_arizona_underclocked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arizona_underclocked
_arizona_underclocked:                  ; @arizona_underclocked
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	ldr	w0, [x1, #4]
Lloh0:
	adrp	x8, _ARIZONA_INTERRUPT_RAW_STATUS_8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARIZONA_INTERRUPT_RAW_STATUS_8@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	str	x0, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_dev_err
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_25
LBB0_2:
	ldr	w8, [sp, #12]
Lloh7:
	adrp	x9, _ARIZONA_AIF3_UNDERCLOCKED_STS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ARIZONA_AIF3_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_4:
Lloh12:
	adrp	x9, _ARIZONA_AIF2_UNDERCLOCKED_STS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ARIZONA_AIF2_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x19]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_6:
Lloh17:
	adrp	x9, _ARIZONA_AIF1_UNDERCLOCKED_STS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ARIZONA_AIF1_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x19]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_8:
Lloh22:
	adrp	x9, _ARIZONA_ISRC3_UNDERCLOCKED_STS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ARIZONA_ISRC3_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	w0, [x19]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_10:
Lloh27:
	adrp	x9, _ARIZONA_ISRC2_UNDERCLOCKED_STS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _ARIZONA_ISRC2_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	w0, [x19]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_12:
Lloh32:
	adrp	x9, _ARIZONA_ISRC1_UNDERCLOCKED_STS@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ARIZONA_ISRC1_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	w0, [x19]
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_14:
Lloh37:
	adrp	x9, _ARIZONA_FX_UNDERCLOCKED_STS@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ARIZONA_FX_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w0, [x19]
Lloh40:
	adrp	x1, l_.str.7@PAGE
Lloh41:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_16:
Lloh42:
	adrp	x9, _ARIZONA_ASRC_UNDERCLOCKED_STS@GOTPAGE
Lloh43:
	ldr	x9, [x9, _ARIZONA_ASRC_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	w0, [x19]
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_18:
Lloh47:
	adrp	x9, _ARIZONA_DAC_UNDERCLOCKED_STS@GOTPAGE
Lloh48:
	ldr	x9, [x9, _ARIZONA_DAC_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
	ldr	w0, [x19]
Lloh50:
	adrp	x1, l_.str.9@PAGE
Lloh51:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_20:
Lloh52:
	adrp	x9, _ARIZONA_ADC_UNDERCLOCKED_STS@GOTPAGE
Lloh53:
	ldr	x9, [x9, _ARIZONA_ADC_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
	ldr	w0, [x19]
Lloh55:
	adrp	x1, l_.str.10@PAGE
Lloh56:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_err
	ldr	w8, [sp, #12]
LBB0_22:
Lloh57:
	adrp	x9, _ARIZONA_MIXER_UNDERCLOCKED_STS@GOTPAGE
Lloh58:
	ldr	x9, [x9, _ARIZONA_MIXER_UNDERCLOCKED_STS@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.23:
	ldr	w0, [x19]
Lloh60:
	adrp	x1, l_.str.11@PAGE
Lloh61:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_dev_err
LBB0_24:
Lloh62:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh63:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_ARIZONA_INTERRUPT_RAW_STATUS_8,4,2 ; @ARIZONA_INTERRUPT_RAW_STATUS_8
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to read underclock status: %d\n"

	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_ARIZONA_AIF3_UNDERCLOCKED_STS,4,2 ; @ARIZONA_AIF3_UNDERCLOCKED_STS
l_.str.1:                               ; @.str.1
	.asciz	"AIF3 underclocked\n"

	.comm	_ARIZONA_AIF2_UNDERCLOCKED_STS,4,2 ; @ARIZONA_AIF2_UNDERCLOCKED_STS
l_.str.2:                               ; @.str.2
	.asciz	"AIF2 underclocked\n"

	.comm	_ARIZONA_AIF1_UNDERCLOCKED_STS,4,2 ; @ARIZONA_AIF1_UNDERCLOCKED_STS
l_.str.3:                               ; @.str.3
	.asciz	"AIF1 underclocked\n"

	.comm	_ARIZONA_ISRC3_UNDERCLOCKED_STS,4,2 ; @ARIZONA_ISRC3_UNDERCLOCKED_STS
l_.str.4:                               ; @.str.4
	.asciz	"ISRC3 underclocked\n"

	.comm	_ARIZONA_ISRC2_UNDERCLOCKED_STS,4,2 ; @ARIZONA_ISRC2_UNDERCLOCKED_STS
l_.str.5:                               ; @.str.5
	.asciz	"ISRC2 underclocked\n"

	.comm	_ARIZONA_ISRC1_UNDERCLOCKED_STS,4,2 ; @ARIZONA_ISRC1_UNDERCLOCKED_STS
l_.str.6:                               ; @.str.6
	.asciz	"ISRC1 underclocked\n"

	.comm	_ARIZONA_FX_UNDERCLOCKED_STS,4,2 ; @ARIZONA_FX_UNDERCLOCKED_STS
l_.str.7:                               ; @.str.7
	.asciz	"FX underclocked\n"

	.comm	_ARIZONA_ASRC_UNDERCLOCKED_STS,4,2 ; @ARIZONA_ASRC_UNDERCLOCKED_STS
l_.str.8:                               ; @.str.8
	.asciz	"ASRC underclocked\n"

	.comm	_ARIZONA_DAC_UNDERCLOCKED_STS,4,2 ; @ARIZONA_DAC_UNDERCLOCKED_STS
l_.str.9:                               ; @.str.9
	.asciz	"DAC underclocked\n"

	.comm	_ARIZONA_ADC_UNDERCLOCKED_STS,4,2 ; @ARIZONA_ADC_UNDERCLOCKED_STS
l_.str.10:                              ; @.str.10
	.asciz	"ADC underclocked\n"

	.comm	_ARIZONA_MIXER_UNDERCLOCKED_STS,4,2 ; @ARIZONA_MIXER_UNDERCLOCKED_STS
l_.str.11:                              ; @.str.11
	.asciz	"Mixer dropped sample\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_arizona_underclocked
.subsections_via_symbols
