	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_pcie_disable_msi
_tegra_pcie_disable_msi:                ## @tegra_pcie_disable_msi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_AFI_INTR_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_afi_readl
	movq	_AFI_INTR_MASK_MSI_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_afi_writel
	movq	_AFI_MSI_EN_VEC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_afi_writel
	movq	_AFI_MSI_EN_VEC1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_afi_writel
	movq	_AFI_MSI_EN_VEC2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_afi_writel
	movq	_AFI_MSI_EN_VEC3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_afi_writel
	movq	_AFI_MSI_EN_VEC4@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_afi_writel
	movq	_AFI_MSI_EN_VEC5@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_afi_writel
	movq	_AFI_MSI_EN_VEC6@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_afi_writel
	movq	_AFI_MSI_EN_VEC7@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_afi_writel
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AFI_INTR_MASK,4,2              ## @AFI_INTR_MASK
	.comm	_AFI_INTR_MASK_MSI_MASK,4,2     ## @AFI_INTR_MASK_MSI_MASK
	.comm	_AFI_MSI_EN_VEC0,4,2            ## @AFI_MSI_EN_VEC0
	.comm	_AFI_MSI_EN_VEC1,4,2            ## @AFI_MSI_EN_VEC1
	.comm	_AFI_MSI_EN_VEC2,4,2            ## @AFI_MSI_EN_VEC2
	.comm	_AFI_MSI_EN_VEC3,4,2            ## @AFI_MSI_EN_VEC3
	.comm	_AFI_MSI_EN_VEC4,4,2            ## @AFI_MSI_EN_VEC4
	.comm	_AFI_MSI_EN_VEC5,4,2            ## @AFI_MSI_EN_VEC5
	.comm	_AFI_MSI_EN_VEC6,4,2            ## @AFI_MSI_EN_VEC6
	.comm	_AFI_MSI_EN_VEC7,4,2            ## @AFI_MSI_EN_VEC7
	.no_dead_strip	_tegra_pcie_disable_msi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_pcie_disable_msi
_tegra_pcie_disable_msi:                ; @tegra_pcie_disable_msi
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _AFI_INTR_MASK@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AFI_INTR_MASK@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_afi_readl
Lloh2:
	adrp	x8, _AFI_INTR_MASK_MSI_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AFI_INTR_MASK_MSI_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w2, [x20]
	mov	x0, x19
	bl	_afi_writel
Lloh5:
	adrp	x8, _AFI_MSI_EN_VEC0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AFI_MSI_EN_VEC0@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_afi_writel
Lloh8:
	adrp	x8, _AFI_MSI_EN_VEC1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AFI_MSI_EN_VEC1@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_afi_writel
Lloh11:
	adrp	x8, _AFI_MSI_EN_VEC2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AFI_MSI_EN_VEC2@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_afi_writel
Lloh14:
	adrp	x8, _AFI_MSI_EN_VEC3@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AFI_MSI_EN_VEC3@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_afi_writel
Lloh17:
	adrp	x8, _AFI_MSI_EN_VEC4@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AFI_MSI_EN_VEC4@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_afi_writel
Lloh20:
	adrp	x8, _AFI_MSI_EN_VEC5@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AFI_MSI_EN_VEC5@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_afi_writel
Lloh23:
	adrp	x8, _AFI_MSI_EN_VEC6@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AFI_MSI_EN_VEC6@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_afi_writel
Lloh26:
	adrp	x8, _AFI_MSI_EN_VEC7@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AFI_MSI_EN_VEC7@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_afi_writel
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AFI_INTR_MASK,4,2              ; @AFI_INTR_MASK
	.comm	_AFI_INTR_MASK_MSI_MASK,4,2     ; @AFI_INTR_MASK_MSI_MASK
	.comm	_AFI_MSI_EN_VEC0,4,2            ; @AFI_MSI_EN_VEC0
	.comm	_AFI_MSI_EN_VEC1,4,2            ; @AFI_MSI_EN_VEC1
	.comm	_AFI_MSI_EN_VEC2,4,2            ; @AFI_MSI_EN_VEC2
	.comm	_AFI_MSI_EN_VEC3,4,2            ; @AFI_MSI_EN_VEC3
	.comm	_AFI_MSI_EN_VEC4,4,2            ; @AFI_MSI_EN_VEC4
	.comm	_AFI_MSI_EN_VEC5,4,2            ; @AFI_MSI_EN_VEC5
	.comm	_AFI_MSI_EN_VEC6,4,2            ; @AFI_MSI_EN_VEC6
	.comm	_AFI_MSI_EN_VEC7,4,2            ; @AFI_MSI_EN_VEC7
	.no_dead_strip	_tegra_pcie_disable_msi
.subsections_via_symbols
