	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_nand_irq
_tegra_nand_irq:                        ## @tegra_nand_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
	movq	%rsi, %rbx
	movq	_ISR@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	8(%rsi), %rdi
	callq	_readl_relaxed
	movl	%eax, %r14d
	movq	_DMA_MST_CTRL@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	8(%rbx), %rdi
	callq	_readl_relaxed
	movl	%eax, %r15d
	movl	20(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_dev_dbg
	testl	%r14d, %r14d
	jne	LBB0_3
## %bb.1:
	movq	_DMA_MST_CTRL_IS_DONE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
LBB0_3:
	movq	_ISR_CORRFAIL_ERR@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movl	$1, (%rbx)
LBB0_5:
	movq	_ISR_CMD_DONE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
## %bb.6:
	leaq	24(%rbx), %rdi
	callq	_complete
LBB0_7:
	movq	_ISR_UND@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_9
## %bb.8:
	movl	20(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
LBB0_9:
	movq	_ISR_OVR@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_11
## %bb.10:
	movl	20(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
LBB0_11:
	movq	_DMA_MST_CTRL_IS_DONE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_13
## %bb.12:
	movq	(%r13), %rsi
	addq	8(%rbx), %rsi
	movl	%r15d, %edi
	callq	_writel_relaxed
	leaq	16(%rbx), %rdi
	callq	_complete
LBB0_13:
	movq	(%r12), %rsi
	addq	8(%rbx), %rsi
	movl	%r14d, %edi
	callq	_writel_relaxed
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ISR,8,3                        ## @ISR
	.comm	_DMA_MST_CTRL,8,3               ## @DMA_MST_CTRL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"isr %08x\n"

	.comm	_DMA_MST_CTRL_IS_DONE,4,2       ## @DMA_MST_CTRL_IS_DONE
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_ISR_CORRFAIL_ERR,4,2           ## @ISR_CORRFAIL_ERR
	.comm	_ISR_CMD_DONE,4,2               ## @ISR_CMD_DONE
	.comm	_ISR_UND,4,2                    ## @ISR_UND
L_.str.1:                               ## @.str.1
	.asciz	"FIFO underrun\n"

	.comm	_ISR_OVR,4,2                    ## @ISR_OVR
L_.str.2:                               ## @.str.2
	.asciz	"FIFO overrun\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_tegra_nand_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_nand_irq
_tegra_nand_irq:                        ; @tegra_nand_irq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x22, _ISR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ISR@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x20, x0
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x23, _DMA_MST_CTRL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DMA_MST_CTRL@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x21, x0
	ldr	w0, [x19, #20]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
Lloh6:
	adrp	x24, _DMA_MST_CTRL_IS_DONE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _DMA_MST_CTRL_IS_DONE@GOTPAGEOFF]
	cbnz	w20, LBB0_2
; %bb.1:
	ldr	w8, [x24]
	tst	w8, w21
	b.eq	LBB0_14
LBB0_2:
Lloh8:
	adrp	x8, _ISR_CORRFAIL_ERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISR_CORRFAIL_ERR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
Lloh11:
	adrp	x8, _ISR_CMD_DONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ISR_CMD_DONE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	add	x0, x19, #24
	bl	_complete
LBB0_6:
Lloh14:
	adrp	x8, _ISR_UND@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISR_UND@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x19, #20]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_8:
Lloh19:
	adrp	x8, _ISR_OVR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ISR_OVR@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	ldr	w0, [x19, #20]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
LBB0_10:
	ldr	w8, [x24]
	tst	w8, w21
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel_relaxed
	add	x0, x19, #16
	bl	_complete
LBB0_12:
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel_relaxed
Lloh24:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh26:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_13
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_ISR,8,3                        ; @ISR
	.comm	_DMA_MST_CTRL,8,3               ; @DMA_MST_CTRL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"isr %08x\n"

	.comm	_DMA_MST_CTRL_IS_DONE,4,2       ; @DMA_MST_CTRL_IS_DONE
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_ISR_CORRFAIL_ERR,4,2           ; @ISR_CORRFAIL_ERR
	.comm	_ISR_CMD_DONE,4,2               ; @ISR_CMD_DONE
	.comm	_ISR_UND,4,2                    ; @ISR_UND
l_.str.1:                               ; @.str.1
	.asciz	"FIFO underrun\n"

	.comm	_ISR_OVR,4,2                    ; @ISR_OVR
l_.str.2:                               ; @.str.2
	.asciz	"FIFO overrun\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_tegra_nand_irq
.subsections_via_symbols
