	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm831x_handle_irq
_wm831x_handle_irq:                     ## @wm831x_handle_irq
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_wm831x_irqs@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movslq	%esi, %rbx
	shlq	$4, %rbx
	movq	8(%r13,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	(%rbx,%r13), %r15
	movl	4(%r13,%rbx), %esi
	movl	%r12d, %edi
	callq	*%rax
	movq	%r15, %rdi
	callq	_irq_data_to_status_reg
	movl	(%r13,%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wm831x_reg_write               ## TAILCALL
LBB0_2:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_dev_err
	movq	%r14, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___wm831x_disable_irq           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wm831x_irqs,8,3                ## @wm831x_irqs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unhandled IRQ %d, masking\n"

	.no_dead_strip	_wm831x_handle_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm831x_handle_irq
_wm831x_handle_irq:                     ; @wm831x_handle_irq
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _wm831x_irqs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wm831x_irqs@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	add	x8, x9, w1, sxtw #4
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.1:
	sxtw	x10, w20
	add	x21, x9, x10, lsl #4
	ldr	w1, [x21, #4]
	mov	x0, x20
	blr	x8
	mov	x0, x21
	bl	_irq_data_to_status_reg
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
	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
	b	_wm831x_reg_write
LBB0_2:
	ldr	w0, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	mov	x0, x19
	mov	x1, x20
	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
	b	___wm831x_disable_irq
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_wm831x_irqs,8,3                ; @wm831x_irqs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unhandled IRQ %d, masking\n"

	.no_dead_strip	_wm831x_handle_irq
.subsections_via_symbols
