	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_emc_isr
_tegra_emc_isr:                         ## @tegra_emc_isr
	.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, %r14
	movq	_EMC_REFRESH_OVERFLOW_INT@GOTPCREL(%rip), %r12
	movq	_EMC_CLKCHANGE_COMPLETE_INT@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	orl	(%r12), %r15d
	movq	_EMC_INTSTATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rsi), %rdi
	callq	_readl_relaxed
	movl	%eax, %ebx
	andl	%r15d, %ebx
	je	LBB0_1
## %bb.2:
	testl	%ebx, (%r13)
	je	LBB0_4
## %bb.3:
	leaq	12(%r14), %rdi
	callq	_complete
LBB0_4:
	testl	%ebx, (%r12)
	je	LBB0_6
## %bb.5:
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err_ratelimited
LBB0_6:
	movq	_EMC_INTSTATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel_relaxed
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMC_REFRESH_OVERFLOW_INT,4,2   ## @EMC_REFRESH_OVERFLOW_INT
	.comm	_EMC_CLKCHANGE_COMPLETE_INT,4,2 ## @EMC_CLKCHANGE_COMPLETE_INT
	.comm	_EMC_INTSTATUS,8,3              ## @EMC_INTSTATUS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refresh request overflow timeout\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_emc_isr
_tegra_emc_isr:                         ; @tegra_emc_isr
	.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
Lloh0:
	adrp	x22, _EMC_REFRESH_OVERFLOW_INT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EMC_REFRESH_OVERFLOW_INT@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _EMC_CLKCHANGE_COMPLETE_INT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _EMC_CLKCHANGE_COMPLETE_INT@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w20, w9, w8
	ldr	x8, [x1]
Lloh4:
	adrp	x21, _EMC_INTSTATUS@GOTPAGE
Lloh5:
	ldr	x21, [x21, _EMC_INTSTATUS@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl_relaxed
	ands	w20, w0, w20
	b.eq	LBB0_6
; %bb.1:
	ldr	w8, [x23]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
	add	x0, x19, #12
	bl	_complete
LBB0_3:
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err_ratelimited
LBB0_5:
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel_relaxed
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EMC_REFRESH_OVERFLOW_INT,4,2   ; @EMC_REFRESH_OVERFLOW_INT
	.comm	_EMC_CLKCHANGE_COMPLETE_INT,4,2 ; @EMC_CLKCHANGE_COMPLETE_INT
	.comm	_EMC_INTSTATUS,8,3              ; @EMC_INTSTATUS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refresh request overflow timeout\n"

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