	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_pcie_port_get_pex_ctrl
_tegra_pcie_port_get_pex_ctrl:          ## @tegra_pcie_port_get_pex_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$2, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.5:
	movq	_AFI_PEX1_CTRL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_AFI_PEX0_CTRL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	8(%rdi), %rax
	movq	(%rax), %rax
LBB0_7:
	movq	(%rax), %rax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AFI_PEX0_CTRL,8,3              ## @AFI_PEX0_CTRL
	.comm	_AFI_PEX1_CTRL,8,3              ## @AFI_PEX1_CTRL
	.no_dead_strip	_tegra_pcie_port_get_pex_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_pcie_port_get_pex_ctrl
_tegra_pcie_port_get_pex_ctrl:          ; @tegra_pcie_port_get_pex_ctrl
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	cmp	w8, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _AFI_PEX1_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AFI_PEX1_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ret
LBB0_4:
Lloh3:
	adrp	x8, _AFI_PEX0_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AFI_PEX0_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ret
LBB0_5:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	ret
LBB0_6:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AFI_PEX0_CTRL,8,3              ; @AFI_PEX0_CTRL
	.comm	_AFI_PEX1_CTRL,8,3              ; @AFI_PEX1_CTRL
	.no_dead_strip	_tegra_pcie_port_get_pex_ctrl
.subsections_via_symbols
