	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_pcie_request_resources
_tegra_pcie_request_resources:          ## @tegra_pcie_request_resources
	.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, %rbx
	callq	_pci_host_bridge_from_priv
	movq	%rax, %r14
	movq	32(%rbx), %r12
	leaq	4(%rbx), %r15
	movl	16(%rbx), %edx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_pci_add_resource_offset
	leaq	24(%rbx), %rsi
	movl	12(%rbx), %edx
	movq	%r14, %rdi
	callq	_pci_add_resource_offset
	leaq	20(%rbx), %rsi
	movl	12(%rbx), %edx
	movq	%r14, %rdi
	callq	_pci_add_resource_offset
	leaq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_pci_add_resource
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_devm_request_pci_bus_resources
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_pci_remap_iospace
	xorl	%r12d, %r12d
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_pci_free_resource_list
LBB0_3:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tegra_pcie_request_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_pcie_request_resources
_tegra_pcie_request_resources:          ; @tegra_pcie_request_resources
	.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	_pci_host_bridge_from_priv
	mov	x20, x0
	ldr	x22, [x19, #32]
	add	x21, x19, #4
	ldr	w2, [x19, #16]
	mov	x1, x21
	bl	_pci_add_resource_offset
	add	x1, x19, #24
	ldr	w2, [x19, #12]
	mov	x0, x20
	bl	_pci_add_resource_offset
	add	x1, x19, #20
	ldr	w2, [x19, #12]
	mov	x0, x20
	bl	_pci_add_resource_offset
	add	x1, x19, #8
	mov	x0, x20
	bl	_pci_add_resource
	mov	x0, x22
	mov	x1, x20
	bl	_devm_request_pci_bus_resources
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w1, [x19]
	mov	x0, x21
	bl	_pci_remap_iospace
	mov	w22, #0
	b	LBB0_3
LBB0_2:
	mov	x22, x0
	mov	x0, x20
	bl	_pci_free_resource_list
LBB0_3:
	mov	x0, x22
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tegra_pcie_request_resources
.subsections_via_symbols
