	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniphier_pcie_irq_mask
_uniphier_pcie_irq_mask:                ## @uniphier_pcie_irq_mask
	.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_data
	movq	%rax, %rdi
	callq	_to_dw_pcie_from_pp
	movq	%rax, %rdi
	callq	_to_uniphier_pcie
	movq	%rax, %r14
	movq	_PCL_RCV_INTX@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rax), %rdi
	callq	_readl
	movq	_PCL_RCV_INTX_ALL_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	%r15, %rdi
	callq	_irqd_to_hwirq
	movq	_PCL_RCV_INTX_MASK_SHIFT@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, %rdi
	callq	_BIT
	orl	%eax, %ebx
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCL_RCV_INTX,8,3               ## @PCL_RCV_INTX
	.comm	_PCL_RCV_INTX_ALL_MASK,4,2      ## @PCL_RCV_INTX_ALL_MASK
	.comm	_PCL_RCV_INTX_MASK_SHIFT,8,3    ## @PCL_RCV_INTX_MASK_SHIFT
	.no_dead_strip	_uniphier_pcie_irq_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniphier_pcie_irq_mask
_uniphier_pcie_irq_mask:                ; @uniphier_pcie_irq_mask
	.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_data
	bl	_to_dw_pcie_from_pp
	bl	_to_uniphier_pcie
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _PCL_RCV_INTX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PCL_RCV_INTX@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _PCL_RCV_INTX_ALL_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCL_RCV_INTX_ALL_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w22, w0, w8
	mov	x0, x19
	bl	_irqd_to_hwirq
Lloh5:
	adrp	x8, _PCL_RCV_INTX_MASK_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCL_RCV_INTX_MASK_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x0, x8, x0
	bl	_BIT
	orr	w0, w0, w22
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x1, x9, x8
	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	_writel
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCL_RCV_INTX,8,3               ; @PCL_RCV_INTX
	.comm	_PCL_RCV_INTX_ALL_MASK,4,2      ; @PCL_RCV_INTX_ALL_MASK
	.comm	_PCL_RCV_INTX_MASK_SHIFT,8,3    ; @PCL_RCV_INTX_MASK_SHIFT
	.no_dead_strip	_uniphier_pcie_irq_mask
.subsections_via_symbols
