	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twl6040_vib_irq_handler
_twl6040_vib_irq_handler:               ## @twl6040_vib_irq_handler
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	8(%rsi), %r14
	movq	_TWL6040_REG_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_twl6040_reg_read
	movl	%eax, %ebx
	movq	_TWL6040_VIBLOCDET@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movq	_TWL6040_REG_VIBCTLL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TWL6040_VIBENA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_twl6040_clear_bits
LBB0_2:
	movq	_TWL6040_VIBROCDET@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_warn
	movq	_TWL6040_REG_VIBCTLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TWL6040_VIBENA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_twl6040_clear_bits
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TWL6040_REG_STATUS,4,2         ## @TWL6040_REG_STATUS
	.comm	_TWL6040_VIBLOCDET,4,2          ## @TWL6040_VIBLOCDET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Left Vibrator overcurrent detected\n"

	.comm	_TWL6040_REG_VIBCTLL,4,2        ## @TWL6040_REG_VIBCTLL
	.comm	_TWL6040_VIBENA,4,2             ## @TWL6040_VIBENA
	.comm	_TWL6040_VIBROCDET,4,2          ## @TWL6040_VIBROCDET
L_.str.1:                               ## @.str.1
	.asciz	"Right Vibrator overcurrent detected\n"

	.comm	_TWL6040_REG_VIBCTLR,4,2        ## @TWL6040_REG_VIBCTLR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_twl6040_vib_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twl6040_vib_irq_handler
_twl6040_vib_irq_handler:               ; @twl6040_vib_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	ldr	x19, [x1, #8]
Lloh0:
	adrp	x8, _TWL6040_REG_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TWL6040_REG_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_twl6040_reg_read
	mov	x21, x0
Lloh3:
	adrp	x8, _TWL6040_VIBLOCDET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TWL6040_VIBLOCDET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x22, _TWL6040_VIBENA@GOTPAGE
Lloh7:
	ldr	x22, [x22, _TWL6040_VIBENA@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x20]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
Lloh10:
	adrp	x8, _TWL6040_REG_VIBCTLL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TWL6040_REG_VIBCTLL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_twl6040_clear_bits
LBB0_2:
Lloh13:
	adrp	x8, _TWL6040_VIBROCDET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TWL6040_VIBROCDET@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x20]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
Lloh18:
	adrp	x8, _TWL6040_REG_VIBCTLR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TWL6040_REG_VIBCTLR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_twl6040_clear_bits
LBB0_4:
Lloh21:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TWL6040_REG_STATUS,4,2         ; @TWL6040_REG_STATUS
	.comm	_TWL6040_VIBLOCDET,4,2          ; @TWL6040_VIBLOCDET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Left Vibrator overcurrent detected\n"

	.comm	_TWL6040_REG_VIBCTLL,4,2        ; @TWL6040_REG_VIBCTLL
	.comm	_TWL6040_VIBENA,4,2             ; @TWL6040_VIBENA
	.comm	_TWL6040_VIBROCDET,4,2          ; @TWL6040_VIBROCDET
l_.str.1:                               ; @.str.1
	.asciz	"Right Vibrator overcurrent detected\n"

	.comm	_TWL6040_REG_VIBCTLR,4,2        ; @TWL6040_REG_VIBCTLR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_twl6040_vib_irq_handler
.subsections_via_symbols
