	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isi_interrupt
_isi_interrupt:                         ## @isi_interrupt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rsi, %rdi
	callq	_spin_lock
	movq	_ISI_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_isi_readl
	movl	%eax, %r12d
	movq	_ISI_INTMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_isi_readl
	movl	%eax, %ebx
	andl	%r12d, %ebx
	movq	_ISI_CTRL_SRST@GOTPCREL(%rip), %r12
	testl	%ebx, (%r12)
	jne	LBB0_1
## %bb.2:
	movq	_ISI_CTRL_DIS@GOTPCREL(%rip), %r12
	testl	%ebx, (%r12)
	je	LBB0_3
LBB0_1:
	leaq	4(%r15), %rdi
	callq	_complete
	movq	_ISI_INTDIS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_isi_writel
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ISI_SR_CXFR_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_ISI_SR_PXFR_DONE@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	callq	_atmel_isi_handle_streaming
	movl	%eax, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_ISI_STATUS,4,2                 ## @ISI_STATUS
	.comm	_ISI_INTMASK,4,2                ## @ISI_INTMASK
	.comm	_ISI_CTRL_SRST,4,2              ## @ISI_CTRL_SRST
	.comm	_ISI_INTDIS,4,2                 ## @ISI_INTDIS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_ISI_CTRL_DIS,4,2               ## @ISI_CTRL_DIS
	.comm	_ISI_SR_CXFR_DONE,4,2           ## @ISI_SR_CXFR_DONE
	.comm	_ISI_SR_PXFR_DONE,4,2           ## @ISI_SR_PXFR_DONE
	.no_dead_strip	_isi_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isi_interrupt
_isi_interrupt:                         ; @isi_interrupt
	.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	x19, x1
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x1
	bl	_spin_lock
Lloh3:
	adrp	x8, _ISI_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISI_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_isi_readl
	mov	x21, x0
Lloh6:
	adrp	x8, _ISI_INTMASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISI_INTMASK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_isi_readl
	and	w21, w0, w21
Lloh9:
	adrp	x22, _ISI_CTRL_SRST@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ISI_CTRL_SRST@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w21, w8
	b.ne	LBB0_2
; %bb.1:
Lloh11:
	adrp	x22, _ISI_CTRL_DIS@GOTPAGE
Lloh12:
	ldr	x22, [x22, _ISI_CTRL_DIS@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_4
LBB0_2:
	add	x0, x19, #4
	bl	_complete
Lloh13:
	adrp	x8, _ISI_INTDIS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ISI_INTDIS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_isi_writel
Lloh16:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, 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
	ret
LBB0_4:
Lloh19:
	adrp	x8, _ISI_SR_CXFR_DONE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ISI_SR_CXFR_DONE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	and	w0, w8, w21
	bl	_likely
	cbnz	x0, LBB0_6
; %bb.5:
Lloh22:
	adrp	x8, _ISI_SR_PXFR_DONE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ISI_SR_PXFR_DONE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	and	w0, w8, w21
	bl	_likely
	cbz	x0, LBB0_3
LBB0_6:
	mov	x0, x19
	bl	_atmel_isi_handle_streaming
	mov	x20, x0
	b	LBB0_3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_ISI_STATUS,4,2                 ; @ISI_STATUS
	.comm	_ISI_INTMASK,4,2                ; @ISI_INTMASK
	.comm	_ISI_CTRL_SRST,4,2              ; @ISI_CTRL_SRST
	.comm	_ISI_INTDIS,4,2                 ; @ISI_INTDIS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_ISI_CTRL_DIS,4,2               ; @ISI_CTRL_DIS
	.comm	_ISI_SR_CXFR_DONE,4,2           ; @ISI_SR_CXFR_DONE
	.comm	_ISI_SR_PXFR_DONE,4,2           ; @ISI_SR_PXFR_DONE
	.no_dead_strip	_isi_interrupt
.subsections_via_symbols
