	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_sysmmu_irq
_exynos_sysmmu_irq:                     ## @exynos_sysmmu_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	cmpl	$0, 36(%rsi)
	sete	%dil
	callq	_WARN_ON
	movl	32(%r12), %edi
	callq	_MMU_MAJ_VER
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	$5, %eax
	movq	_sysmmu_v5_faults@GOTPCREL(%rip), %rax
	cmovlq	_sysmmu_faults@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_REG_INT_CLEAR@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_REG_V5_INT_CLEAR@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_REG_V5_INT_STATUS@GOTPCREL(%rip), %rax
	cmovlq	_REG_INT_STATUS@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_spin_lock
	movl	4(%r12), %edi
	callq	_clk_enable
	addq	8(%r12), %r13
	movq	%r13, %rdi
	callq	_readl
	movl	%eax, %edi
	callq	___ffs
	movl	%eax, %r13d
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r13d, (%rbx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	addq	$16, %rbx
	cmpl	%r15d, %r14d
	jne	LBB0_2
## %bb.4:
	movl	%r14d, %r15d
LBB0_5:
	xorl	%edi, %edi
	cmpl	%r14d, %r15d
	sete	%dil
	callq	_BUG_ON
	movq	8(%rbx), %rdi
	addq	8(%r12), %rdi
	callq	_readl
	movl	%eax, %r15d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_show_fault_information
	movq	24(%r12), %rdi
	testq	%rdi, %rdi
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_7
## %bb.6:
	movl	16(%r12), %esi
	movl	4(%rbx), %ecx
	movl	%r15d, %edx
	callq	_report_iommu_fault
LBB0_7:
	cmpl	$5, -48(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmovll	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_BUG_ON
	movl	$1, %edi
	movl	%r13d, %ecx
	shll	%cl, %edi
	movzwl	%bx, %esi
	addq	8(%r12), %rsi
	callq	_writel
	movq	%r12, %rdi
	callq	_sysmmu_unblock
	movl	4(%r12), %edi
	callq	_clk_disable
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_REG_INT_STATUS,2,1             ## @REG_INT_STATUS
	.comm	_REG_INT_CLEAR,2,1              ## @REG_INT_CLEAR
	.comm	_sysmmu_faults,8,3              ## @sysmmu_faults
	.comm	_REG_V5_INT_STATUS,2,1          ## @REG_V5_INT_STATUS
	.comm	_REG_V5_INT_CLEAR,2,1           ## @REG_V5_INT_CLEAR
	.comm	_sysmmu_v5_faults,8,3           ## @sysmmu_v5_faults
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_exynos_sysmmu_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_sysmmu_irq
_exynos_sysmmu_irq:                     ; @exynos_sysmmu_irq
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
Lloh0:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	ldr	w8, [x1, #36]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w0, [x19, #32]
	bl	_MMU_MAJ_VER
	mov	x20, x0
Lloh3:
	adrp	x8, _sysmmu_faults@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sysmmu_faults@GOTPAGEOFF]
Lloh5:
	adrp	x9, _sysmmu_v5_faults@GOTPAGE
Lloh6:
	ldr	x9, [x9, _sysmmu_v5_faults@GOTPAGEOFF]
	cmp	w0, #5
	csel	x8, x8, x9, lt
	ldr	x21, [x8]
Lloh7:
	adrp	x8, _REG_INT_CLEAR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REG_INT_CLEAR@GOTPAGEOFF]
	ldrh	w25, [x8]
Lloh9:
	adrp	x8, _REG_V5_INT_CLEAR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_V5_INT_CLEAR@GOTPAGEOFF]
	ldrh	w26, [x8]
Lloh11:
	adrp	x8, _REG_INT_STATUS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_INT_STATUS@GOTPAGEOFF]
Lloh13:
	adrp	x9, _REG_V5_INT_STATUS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _REG_V5_INT_STATUS@GOTPAGEOFF]
	csel	x8, x8, x9, lt
	ldrh	w22, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x23, x0
	mov	x0, x19
	bl	_spin_lock
	ldr	w0, [x19, #4]
	bl	_clk_enable
	ldr	x8, [x19, #8]
	add	x0, x8, x22
	bl	_readl
	bl	___ffs
	mov	x22, x0
	mov	w8, #0
	cbz	w23, LBB0_5
; %bb.1:
	sub	w9, w23, #1
	add	x9, x21, w9, uxtw #4
	add	x9, x9, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x21]
	cmp	w10, w22
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w8, #1
	add	x21, x21, #16
	cmp	w23, w8
	b.ne	LBB0_2
; %bb.4:
	mov	x8, x23
	mov	x21, x9
LBB0_5:
	cmp	w8, w23
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x19, #8]
	ldr	x9, [x21, #8]
	add	x0, x9, x8
	bl	_readl
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_show_fault_information
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w1, [x19, #16]
	ldr	w3, [x21, #4]
	mov	x2, x23
	bl	_report_iommu_fault
	b	LBB0_8
LBB0_7:
	neg	w0, w24
LBB0_8:
	cmp	w20, #5
	csel	w20, w25, w26, lt
	cmp	w0, #0
	cset	w0, ne
	bl	_BUG_ON
	mov	w8, #1
	lsl	w0, w8, w22
	ldr	x8, [x19, #8]
	add	x1, x8, x20
	bl	_writel
	mov	x0, x19
	bl	_sysmmu_unblock
	ldr	w0, [x19, #4]
	bl	_clk_disable
	mov	x0, x19
	bl	_spin_unlock
Lloh15:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_REG_INT_STATUS,2,1             ; @REG_INT_STATUS
	.comm	_REG_INT_CLEAR,2,1              ; @REG_INT_CLEAR
	.comm	_sysmmu_faults,8,3              ; @sysmmu_faults
	.comm	_REG_V5_INT_STATUS,2,1          ; @REG_V5_INT_STATUS
	.comm	_REG_V5_INT_CLEAR,2,1           ; @REG_V5_INT_CLEAR
	.comm	_sysmmu_v5_faults,8,3           ; @sysmmu_v5_faults
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_exynos_sysmmu_irq
.subsections_via_symbols
