	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arizona_jackdet
_arizona_jackdet:                       ## @arizona_jackdet
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	104(%rsi), %r13
	leaq	80(%rsi), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_cancel_delayed_work_sync
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	96(%r14), %r12
	movq	%r12, %rdi
	callq	_cancel_delayed_work_sync
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	28(%r14), %edi
	callq	_pm_runtime_get_sync
	leaq	32(%r14), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	cmpq	$0, 72(%r14)
	je	LBB0_2
## %bb.1:
	movq	_ARIZONA_MICD_CLAMP_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_2:
	movq	_ARIZONA_JD1_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%r15d, %r15d
	cmpq	$0, 16(%r13)
	cmovel	%ebx, %r15d
LBB0_3:
	movl	(%r13), %edi
	movq	_ARIZONA_AOD_IRQ_RAW_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	32(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	movq	_IRQ_NONE@GOTPCREL(%rip), %rbx
	jmp	LBB0_35
LBB0_5:
	andl	-44(%rbp), %ebx
	movl	%ebx, -44(%rbp)
	cmpl	(%r14), %ebx
	jne	LBB0_10
## %bb.6:
	movl	32(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:
	movq	_system_power_efficient_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_HPDET_DEBOUNCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movl	%ebx, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_queue_delayed_work
LBB0_8:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_34
## %bb.9:
	movl	4(%r14), %edi
	movq	_system_power_efficient_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_msecs_to_jiffies
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_queue_delayed_work
	jmp	LBB0_34
LBB0_10:
	movl	%ebx, (%r14)
	movl	32(%r13), %edi
	cmpl	%r15d, %ebx
	jne	LBB0_19
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_dbg
	movl	36(%r14), %edi
	movq	_EXTCON_MECHANICAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$1, %edx
	callq	_extcon_set_state_sync
	testl	%eax, %eax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:
	movl	32(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
LBB0_13:
	cmpl	$0, 24(%r13)
	je	LBB0_14
## %bb.15:
	movq	_system_power_efficient_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_HPDET_DEBOUNCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movl	%ebx, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_queue_delayed_work
	cmpq	$0, 72(%r14)
	jne	LBB0_18
	jmp	LBB0_17
LBB0_19:
	leaq	L_.str.4(%rip), %rsi
	callq	_dev_dbg
	movq	%r14, %rdi
	callq	_arizona_stop_mic
	movq	$0, 64(%r14)
	movq	56(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_22
## %bb.20:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r14), %rdi
	movq	$0, (%rdi,%rbx,8)
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_21
LBB0_22:
	movq	$0, 12(%r14)
	movl	$0, 20(%r14)
	cmpl	$0, 24(%r14)
	jle	LBB0_25
## %bb.23:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	40(%r14), %edi
	movq	48(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	xorl	%edx, %edx
	callq	_input_report_key
	incq	%rbx
	movslq	24(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_24
LBB0_25:
	movl	40(%r14), %edi
	callq	_input_sync
	movq	_arizona_cable@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cmpl	$2, %eax
	jl	LBB0_30
## %bb.26:
	xorl	%ebx, %ebx
	leaq	L_.str.5(%rip), %r12
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=1
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	decl	%eax
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_30
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	36(%r14), %edi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	xorl	%edx, %edx
	callq	_extcon_set_state_sync
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	32(%r13), %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_29
LBB0_30:
	movq	%r14, %rdi
	callq	_arizona_hpdet_wait
	movl	(%r13), %edi
	movq	_ARIZONA_JACK_DETECT_DEBOUNCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARIZONA_MICD_CLAMP_DB@GOTPCREL(%rip), %rax
	movq	_ARIZONA_JD1_DB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_regmap_update_bits
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_14:
	movq	$1, 8(%r14)
	movq	$0, 88(%r14)
	movq	%r14, %rdi
	callq	_arizona_start_mic
	cmpq	$0, 72(%r14)
	jne	LBB0_18
LBB0_17:
	cmpq	$0, 16(%r13)
	jne	LBB0_31
LBB0_18:
	movl	(%r13), %edi
	movq	_ARIZONA_JACK_DETECT_DEBOUNCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARIZONA_MICD_CLAMP_DB@GOTPCREL(%rip), %rax
	movq	_ARIZONA_JD1_DB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
LBB0_31:
	movl	8(%r13), %eax
	testl	%eax, %eax
	jne	LBB0_33
## %bb.32:
	movq	_DEFAULT_MICD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_33:
	movl	%eax, 4(%r14)
LBB0_34:
	movl	(%r13), %edi
	movq	_ARIZONA_MICD_CLAMP_FALL_TRIG_STS@GOTPCREL(%rip), %rax
	movq	_ARIZONA_MICD_CLAMP_RISE_TRIG_STS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_ARIZONA_AOD_WKUP_AND_TRIG@GOTPCREL(%rip), %rax
	movq	_ARIZONA_JD1_FALL_TRIG_STS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_ARIZONA_JD1_RISE_TRIG_STS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_regmap_write
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	28(%r14), %edi
	callq	_pm_runtime_mark_last_busy
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rbx
LBB0_35:
	movl	28(%r14), %edi
	callq	_pm_runtime_put_autosuspend
	movl	(%rbx), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARIZONA_MICD_CLAMP_STS,4,2     ## @ARIZONA_MICD_CLAMP_STS
	.comm	_ARIZONA_JD1_STS,4,2            ## @ARIZONA_JD1_STS
	.comm	_ARIZONA_AOD_IRQ_RAW_STATUS,4,2 ## @ARIZONA_AOD_IRQ_RAW_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to read jackdet status: %d\n"

	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
L_.str.1:                               ## @.str.1
	.asciz	"Suppressing duplicate JACKDET\n"

	.comm	_system_power_efficient_wq,4,2  ## @system_power_efficient_wq
	.comm	_HPDET_DEBOUNCE,4,2             ## @HPDET_DEBOUNCE
L_.str.2:                               ## @.str.2
	.asciz	"Detected jack\n"

	.comm	_EXTCON_MECHANICAL,8,3          ## @EXTCON_MECHANICAL
L_.str.3:                               ## @.str.3
	.asciz	"Mechanical report failed: %d\n"

	.comm	_ARIZONA_JACK_DETECT_DEBOUNCE,4,2 ## @ARIZONA_JACK_DETECT_DEBOUNCE
	.comm	_ARIZONA_MICD_CLAMP_DB,4,2      ## @ARIZONA_MICD_CLAMP_DB
	.comm	_ARIZONA_JD1_DB,4,2             ## @ARIZONA_JD1_DB
L_.str.4:                               ## @.str.4
	.asciz	"Detected jack removal\n"

	.comm	_arizona_cable,8,3              ## @arizona_cable
L_.str.5:                               ## @.str.5
	.asciz	"Removal report failed: %d\n"

	.comm	_DEFAULT_MICD_TIMEOUT,4,2       ## @DEFAULT_MICD_TIMEOUT
	.comm	_ARIZONA_AOD_WKUP_AND_TRIG,4,2  ## @ARIZONA_AOD_WKUP_AND_TRIG
	.comm	_ARIZONA_MICD_CLAMP_FALL_TRIG_STS,4,2 ## @ARIZONA_MICD_CLAMP_FALL_TRIG_STS
	.comm	_ARIZONA_MICD_CLAMP_RISE_TRIG_STS,4,2 ## @ARIZONA_MICD_CLAMP_RISE_TRIG_STS
	.comm	_ARIZONA_JD1_FALL_TRIG_STS,4,2  ## @ARIZONA_JD1_FALL_TRIG_STS
	.comm	_ARIZONA_JD1_RISE_TRIG_STS,4,2  ## @ARIZONA_JD1_RISE_TRIG_STS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_arizona_jackdet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function arizona_jackdet
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_arizona_jackdet:                       ; @arizona_jackdet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	ldr	x25, [x1, #104]
	add	x21, x1, #80
	mov	x0, x21
	bl	_cancel_delayed_work_sync
	mov	x24, x0
	add	x22, x19, #96
	mov	x0, x22
	bl	_cancel_delayed_work_sync
	mov	x23, x0
	ldr	w0, [x19, #28]
	bl	_pm_runtime_get_sync
	add	x20, x19, #32
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w26, #0
Lloh0:
	adrp	x8, _ARIZONA_MICD_CLAMP_STS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARIZONA_MICD_CLAMP_STS@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ARIZONA_JD1_STS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARIZONA_JD1_STS@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	ldr	x8, [x25, #16]
	cmp	x8, #0
	csel	w26, w27, wzr, eq
LBB0_3:
	ldr	w0, [x25]
Lloh6:
	adrp	x8, _ARIZONA_AOD_IRQ_RAW_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARIZONA_AOD_IRQ_RAW_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	cbz	w0, LBB0_5
; %bb.4:
	mov	x2, x0
	ldr	w0, [x25, #32]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	x0, x20
	bl	_mutex_unlock
Lloh11:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh12:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_35
LBB0_5:
	ldr	w8, [sp, #12]
	and	w8, w8, w27
	str	w8, [sp, #12]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.6:
	ldr	w0, [x25, #32]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	cbz	w24, LBB0_8
; %bb.7:
Lloh15:
	adrp	x8, _system_power_efficient_wq@GOTPAGE
Lloh16:
	ldr	x8, [x8, _system_power_efficient_wq@GOTPAGEOFF]
Lloh17:
	ldr	w24, [x8]
Lloh18:
	adrp	x8, _HPDET_DEBOUNCE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HPDET_DEBOUNCE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x24
	mov	x1, x21
	bl	_queue_delayed_work
LBB0_8:
	cbz	w23, LBB0_34
; %bb.9:
	ldr	w0, [x19, #4]
Lloh21:
	adrp	x8, _system_power_efficient_wq@GOTPAGE
Lloh22:
	ldr	x8, [x8, _system_power_efficient_wq@GOTPAGEOFF]
Lloh23:
	ldr	w21, [x8]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_queue_delayed_work
	b	LBB0_34
LBB0_10:
	str	w8, [x19]
	ldr	w0, [x25, #32]
	cmp	w8, w26
	b.ne	LBB0_15
; %bb.11:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	ldr	w0, [x19, #36]
Lloh26:
	adrp	x8, _EXTCON_MECHANICAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EXTCON_MECHANICAL@GOTPAGEOFF]
Lloh28:
	ldr	x1, [x8]
	mov	w2, #1
	bl	_extcon_set_state_sync
	cbz	w0, LBB0_13
; %bb.12:
	mov	x2, x0
	ldr	w0, [x25, #32]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
LBB0_13:
	ldr	w8, [x25, #24]
	cbz	w8, LBB0_27
; %bb.14:
Lloh31:
	adrp	x8, _system_power_efficient_wq@GOTPAGE
Lloh32:
	ldr	x8, [x8, _system_power_efficient_wq@GOTPAGEOFF]
Lloh33:
	ldr	w22, [x8]
Lloh34:
	adrp	x8, _HPDET_DEBOUNCE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _HPDET_DEBOUNCE@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_queue_delayed_work
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_29
	b	LBB0_28
LBB0_15:
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_dbg
	mov	x0, x19
	bl	_arizona_stop_mic
	str	xzr, [x19, #64]
	ldr	x0, [x19, #56]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.16:
	mov	x21, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #56]
	str	xzr, [x0, x21, lsl #3]
	add	x21, x21, #1
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_17
LBB0_18:
	str	xzr, [x19, #16]
	str	wzr, [x19, #12]
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.19:
	mov	x21, #0
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #40]
	ldr	x8, [x19, #48]
	ldr	w1, [x8, x21, lsl #2]
	mov	w2, #0
	bl	_input_report_key
	add	x21, x21, #1
	ldrsw	x8, [x19, #24]
	cmp	x21, x8
	b.lt	LBB0_20
LBB0_21:
	ldr	w0, [x19, #40]
	bl	_input_sync
Lloh39:
	adrp	x22, _arizona_cable@GOTPAGE
Lloh40:
	ldr	x22, [x22, _arizona_cable@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.le	LBB0_26
; %bb.22:
	mov	x23, #0
Lloh41:
	adrp	x21, l_.str.5@PAGE
Lloh42:
	add	x21, x21, l_.str.5@PAGEOFF
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	sub	w8, w0, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #36]
	ldr	x8, [x22]
	ldr	x1, [x8, x23, lsl #3]
	mov	w2, #0
	bl	_extcon_set_state_sync
	cbz	w0, LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x2, x0
	ldr	w0, [x25, #32]
	mov	x1, x21
	bl	_dev_err
	b	LBB0_23
LBB0_26:
	mov	x0, x19
	bl	_arizona_hpdet_wait
	ldr	w0, [x25]
Lloh43:
	adrp	x8, _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPAGEOFF]
Lloh45:
	adrp	x9, _ARIZONA_MICD_CLAMP_DB@GOTPAGE
Lloh46:
	ldr	x9, [x9, _ARIZONA_MICD_CLAMP_DB@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	ldr	w8, [x9]
Lloh49:
	adrp	x9, _ARIZONA_JD1_DB@GOTPAGE
Lloh50:
	ldr	x9, [x9, _ARIZONA_JD1_DB@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x3, x2
	b	LBB0_30
LBB0_27:
Lloh52:
	adrp	x8, lCPI0_0@PAGE
Lloh53:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #8]
	str	xzr, [x19, #88]
	mov	x0, x19
	bl	_arizona_start_mic
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_29
LBB0_28:
	ldr	x8, [x25, #16]
	cbnz	x8, LBB0_31
LBB0_29:
	ldr	w0, [x25]
Lloh54:
	adrp	x8, _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ARIZONA_JACK_DETECT_DEBOUNCE@GOTPAGEOFF]
Lloh56:
	adrp	x9, _ARIZONA_MICD_CLAMP_DB@GOTPAGE
Lloh57:
	ldr	x9, [x9, _ARIZONA_MICD_CLAMP_DB@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
Lloh59:
	ldr	w8, [x9]
Lloh60:
	adrp	x9, _ARIZONA_JD1_DB@GOTPAGE
Lloh61:
	ldr	x9, [x9, _ARIZONA_JD1_DB@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w3, #0
LBB0_30:
	bl	_regmap_update_bits
LBB0_31:
	ldr	w8, [x25, #8]
	cbnz	w8, LBB0_33
; %bb.32:
Lloh63:
	adrp	x8, _DEFAULT_MICD_TIMEOUT@GOTPAGE
Lloh64:
	ldr	x8, [x8, _DEFAULT_MICD_TIMEOUT@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
LBB0_33:
	str	w8, [x19, #4]
LBB0_34:
	ldr	w0, [x25]
Lloh66:
	adrp	x8, _ARIZONA_AOD_WKUP_AND_TRIG@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ARIZONA_AOD_WKUP_AND_TRIG@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
Lloh69:
	adrp	x8, _ARIZONA_MICD_CLAMP_FALL_TRIG_STS@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ARIZONA_MICD_CLAMP_FALL_TRIG_STS@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
Lloh72:
	adrp	x9, _ARIZONA_MICD_CLAMP_RISE_TRIG_STS@GOTPAGE
Lloh73:
	ldr	x9, [x9, _ARIZONA_MICD_CLAMP_RISE_TRIG_STS@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh75:
	adrp	x9, _ARIZONA_JD1_FALL_TRIG_STS@GOTPAGE
Lloh76:
	ldr	x9, [x9, _ARIZONA_JD1_FALL_TRIG_STS@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh78:
	adrp	x9, _ARIZONA_JD1_RISE_TRIG_STS@GOTPAGE
Lloh79:
	ldr	x9, [x9, _ARIZONA_JD1_RISE_TRIG_STS@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_regmap_write
	mov	x0, x20
	bl	_mutex_unlock
	ldr	w0, [x19, #28]
	bl	_pm_runtime_mark_last_busy
Lloh81:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh82:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_35:
	ldr	w0, [x19, #28]
	bl	_pm_runtime_put_autosuspend
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh47
	.loh AdrpLdr	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh58
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_ARIZONA_MICD_CLAMP_STS,4,2     ; @ARIZONA_MICD_CLAMP_STS
	.comm	_ARIZONA_JD1_STS,4,2            ; @ARIZONA_JD1_STS
	.comm	_ARIZONA_AOD_IRQ_RAW_STATUS,4,2 ; @ARIZONA_AOD_IRQ_RAW_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to read jackdet status: %d\n"

	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
l_.str.1:                               ; @.str.1
	.asciz	"Suppressing duplicate JACKDET\n"

	.comm	_system_power_efficient_wq,4,2  ; @system_power_efficient_wq
	.comm	_HPDET_DEBOUNCE,4,2             ; @HPDET_DEBOUNCE
l_.str.2:                               ; @.str.2
	.asciz	"Detected jack\n"

	.comm	_EXTCON_MECHANICAL,8,3          ; @EXTCON_MECHANICAL
l_.str.3:                               ; @.str.3
	.asciz	"Mechanical report failed: %d\n"

	.comm	_ARIZONA_JACK_DETECT_DEBOUNCE,4,2 ; @ARIZONA_JACK_DETECT_DEBOUNCE
	.comm	_ARIZONA_MICD_CLAMP_DB,4,2      ; @ARIZONA_MICD_CLAMP_DB
	.comm	_ARIZONA_JD1_DB,4,2             ; @ARIZONA_JD1_DB
l_.str.4:                               ; @.str.4
	.asciz	"Detected jack removal\n"

	.comm	_arizona_cable,8,3              ; @arizona_cable
l_.str.5:                               ; @.str.5
	.asciz	"Removal report failed: %d\n"

	.comm	_DEFAULT_MICD_TIMEOUT,4,2       ; @DEFAULT_MICD_TIMEOUT
	.comm	_ARIZONA_AOD_WKUP_AND_TRIG,4,2  ; @ARIZONA_AOD_WKUP_AND_TRIG
	.comm	_ARIZONA_MICD_CLAMP_FALL_TRIG_STS,4,2 ; @ARIZONA_MICD_CLAMP_FALL_TRIG_STS
	.comm	_ARIZONA_MICD_CLAMP_RISE_TRIG_STS,4,2 ; @ARIZONA_MICD_CLAMP_RISE_TRIG_STS
	.comm	_ARIZONA_JD1_FALL_TRIG_STS,4,2  ; @ARIZONA_JD1_FALL_TRIG_STS
	.comm	_ARIZONA_JD1_RISE_TRIG_STS,4,2  ; @ARIZONA_JD1_RISE_TRIG_STS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_arizona_jackdet
.subsections_via_symbols
