	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos_irq_unmask
_exynos_irq_unmask:                     ## @exynos_irq_unmask
	.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	%rdi, %r15
	callq	_irq_data_get_irq_chip
	movq	%rax, %rdi
	callq	_to_exynos_irq_chip
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %r14
	movq	(%rbx), %r12
	movq	(%rax), %rbx
	movq	%r15, %rdi
	callq	_irqd_get_trigger_type
	movq	_IRQ_TYPE_LEVEL_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_exynos_irq_ack
LBB0_2:
	addq	%r12, %rbx
	movq	%r14, %r12
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	16(%r14), %rdi
	addq	%rbx, %rdi
	callq	_readl
	movb	(%r15), %cl
	movl	$-2, %edx
	roll	%cl, %edx
	movslq	%edx, %rdi
	andq	%rax, %rdi
	addq	16(%r14), %rbx
	movq	%rbx, %rsi
	callq	_writel
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_TYPE_LEVEL_MASK,4,2        ## @IRQ_TYPE_LEVEL_MASK
	.no_dead_strip	_exynos_irq_unmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_irq_unmask
_exynos_irq_unmask:                     ; @exynos_irq_unmask
	.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, x0
	bl	_irq_data_get_irq_chip
	bl	_to_exynos_irq_chip
	mov	x21, x0
	mov	x0, x19
	bl	_irq_data_get_irq_chip_data
	mov	x20, x0
	ldr	x21, [x21]
	ldr	x22, [x0]
	mov	x0, x19
	bl	_irqd_get_trigger_type
Lloh0:
	adrp	x8, _IRQ_TYPE_LEVEL_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_TYPE_LEVEL_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_exynos_irq_ack
LBB0_2:
	add	x22, x22, x21
	add	x21, x20, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #16]
	add	x0, x8, x22
	bl	_readl
	ldr	w8, [x19]
	mov	w9, #1
	lsl	w8, w9, w8
	mvn	w8, w8
	sxtw	x8, w8
	and	x0, x0, x8
	ldr	x8, [x20, #16]
	add	x1, x8, x22
	bl	_writel
	mov	x0, x21
	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
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_TYPE_LEVEL_MASK,4,2        ; @IRQ_TYPE_LEVEL_MASK
	.no_dead_strip	_exynos_irq_unmask
.subsections_via_symbols
