	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mobiveil_unmask_intx_irq
_mobiveil_unmask_intx_irq:              ## @mobiveil_unmask_intx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_irq_to_desc
	movq	%rax, %rdi
	callq	_irq_desc_get_chip_data
	movq	%rax, %r15
	movl	(%r14), %ebx
	movq	_PAB_INTX_START@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	decb	%bl
	movq	%r15, %rdi
	callq	_raw_spin_lock_irqsave
	movq	_PAB_INTP_AMBA_MISC_ENB@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_csr_readl
	btsl	%ebx, %eax
	movl	(%r14), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_csr_writel
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_spin_unlock_irqrestore     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAB_INTX_START,4,2             ## @PAB_INTX_START
	.comm	_PAB_INTP_AMBA_MISC_ENB,4,2     ## @PAB_INTP_AMBA_MISC_ENB
	.no_dead_strip	_mobiveil_unmask_intx_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mobiveil_unmask_intx_irq
_mobiveil_unmask_intx_irq:              ; @mobiveil_unmask_intx_irq
	.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
	ldr	w0, [x0, #4]
	bl	_irq_to_desc
	bl	_irq_desc_get_chip_data
	mov	x20, x0
Lloh0:
	adrp	x8, _PAB_INTX_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAB_INTX_START@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh2:
	ldr	w8, [x8]
	add	w8, w9, w8
	sub	w8, w8, #1
	mov	w9, #1
	lsl	w19, w9, w8
	bl	_raw_spin_lock_irqsave
Lloh3:
	adrp	x21, _PAB_INTP_AMBA_MISC_ENB@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PAB_INTP_AMBA_MISC_ENB@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_csr_readl
	orr	w1, w0, w19
	ldr	w2, [x21]
	mov	x0, x20
	bl	_csr_writel
	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
	b	_raw_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAB_INTX_START,4,2             ; @PAB_INTX_START
	.comm	_PAB_INTP_AMBA_MISC_ENB,4,2     ; @PAB_INTP_AMBA_MISC_ENB
	.no_dead_strip	_mobiveil_unmask_intx_irq
.subsections_via_symbols
