	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidma_ll_int_handler_internal
_hidma_ll_int_handler_internal:         ## @hidma_ll_int_handler_internal
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_HIDMA_ERR_INT_MASK@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movl	16(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_err
	movq	_HIDMA_EVCA_IRQ_CLR_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	%r14d, %edi
	callq	_writel
	movq	%rbx, %rdi
	callq	_hidma_ll_disable
	movq	_HIDMA_EVRE_STATUS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$255, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hidma_cleanup_pending_tre      ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_HIDMA_EVCA_IRQ_CLR_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	movl	%r14d, %edi
	callq	_writel_relaxed
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hidma_handle_tre_completion    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HIDMA_ERR_INT_MASK,4,2         ## @HIDMA_ERR_INT_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error 0x%x, disabling...\n"

	.comm	_HIDMA_EVCA_IRQ_CLR_REG,8,3     ## @HIDMA_EVCA_IRQ_CLR_REG
	.comm	_HIDMA_EVRE_STATUS_ERROR,4,2    ## @HIDMA_EVRE_STATUS_ERROR
	.no_dead_strip	_hidma_ll_int_handler_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidma_ll_int_handler_internal
_hidma_ll_int_handler_internal:         ; @hidma_ll_int_handler_internal
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _HIDMA_ERR_INT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HIDMA_ERR_INT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _HIDMA_EVCA_IRQ_CLR_REG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HIDMA_EVCA_IRQ_CLR_REG@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
	mov	x0, x19
	bl	_hidma_ll_disable
Lloh8:
	adrp	x8, _HIDMA_EVRE_STATUS_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HIDMA_EVRE_STATUS_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #255
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hidma_cleanup_pending_tre
LBB0_2:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _HIDMA_EVCA_IRQ_CLR_REG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HIDMA_EVCA_IRQ_CLR_REG@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel_relaxed
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hidma_handle_tre_completion
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HIDMA_ERR_INT_MASK,4,2         ; @HIDMA_ERR_INT_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error 0x%x, disabling...\n"

	.comm	_HIDMA_EVCA_IRQ_CLR_REG,8,3     ; @HIDMA_EVCA_IRQ_CLR_REG
	.comm	_HIDMA_EVRE_STATUS_ERROR,4,2    ; @HIDMA_EVRE_STATUS_ERROR
	.no_dead_strip	_hidma_ll_int_handler_internal
.subsections_via_symbols
