	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlp_simplebus_init_resources
_xlp_simplebus_init_resources:          ## @xlp_simplebus_init_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_irq_rman@GOTPCREL(%rip), %rdi
	movq	$0, 24(%rdi)
	movl	$255, (%rdi)
	movq	_RMAN_ARRAY@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, 16(%rdi)
	leaq	L_.str(%rip), %rax
	movq	%rax, 8(%rdi)
	callq	_rman_init
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_irq_rman@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_rman_manage_region
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
LBB0_3:
	movq	(%rbx), %rax
	movq	_port_rman@GOTPCREL(%rip), %rdi
	movq	%rax, 16(%rdi)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, 8(%rdi)
	callq	_rman_init
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_PCIE_IO_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PCIE_IO_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_port_rman@GOTPCREL(%rip), %rdi
	callq	_rman_manage_region
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	callq	_panic
LBB0_6:
	movq	(%rbx), %rax
	movq	_mem_rman@GOTPCREL(%rip), %rdi
	movq	%rax, 16(%rdi)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, 8(%rdi)
	callq	_rman_init
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_PCIE_MEM_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PCIE_MEM_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mem_rman@GOTPCREL(%rip), %rdi
	callq	_rman_manage_region
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	leaq	L_.str.5(%rip), %rdi
	callq	_panic
LBB0_9:
	movq	(%rbx), %rax
	movq	_pci_ecfg_rman@GOTPCREL(%rip), %rdi
	movq	%rax, 16(%rdi)
	leaq	L_.str.6(%rip), %rax
	movq	%rax, 8(%rdi)
	callq	_rman_init
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_PCI_ECFG_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PCI_ECFG_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_pci_ecfg_rman@GOTPCREL(%rip), %rdi
	callq	_rman_manage_region
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	leaq	L_.str.7(%rip), %rdi
	callq	_panic
LBB0_12:
	movq	(%rbx), %rax
	movq	_gbu_rman@GOTPCREL(%rip), %rdi
	movq	%rax, 16(%rdi)
	leaq	L_.str.8(%rip), %rax
	movq	%rax, 8(%rdi)
	callq	_rman_init
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:
	movq	_GBU_MEM_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GBU_MEM_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_gbu_rman@GOTPCREL(%rip), %rdi
	callq	_rman_manage_region
	testq	%rax, %rax
	je	LBB0_14
LBB0_15:
	leaq	L_.str.9(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_panic                          ## TAILCALL
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_irq_rman,32,3                  ## @irq_rman
	.comm	_RMAN_ARRAY,8,3                 ## @RMAN_ARRAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI Mapped Interrupts"

L_.str.1:                               ## @.str.1
	.asciz	"xlp_simplebus_init_resources irq_rman"

	.comm	_port_rman,32,3                 ## @port_rman
L_.str.2:                               ## @.str.2
	.asciz	"I/O ports"

	.comm	_PCIE_IO_BASE,4,2               ## @PCIE_IO_BASE
	.comm	_PCIE_IO_LIMIT,4,2              ## @PCIE_IO_LIMIT
L_.str.3:                               ## @.str.3
	.asciz	"xlp_simplebus_init_resources port_rman"

	.comm	_mem_rman,32,3                  ## @mem_rman
L_.str.4:                               ## @.str.4
	.asciz	"I/O memory"

	.comm	_PCIE_MEM_BASE,4,2              ## @PCIE_MEM_BASE
	.comm	_PCIE_MEM_LIMIT,4,2             ## @PCIE_MEM_LIMIT
L_.str.5:                               ## @.str.5
	.asciz	"xlp_simplebus_init_resources mem_rman"

	.comm	_pci_ecfg_rman,32,3             ## @pci_ecfg_rman
L_.str.6:                               ## @.str.6
	.asciz	"PCI ECFG IO"

	.comm	_PCI_ECFG_BASE,4,2              ## @PCI_ECFG_BASE
	.comm	_PCI_ECFG_LIMIT,4,2             ## @PCI_ECFG_LIMIT
L_.str.7:                               ## @.str.7
	.asciz	"xlp_simplebus_init_resources pci_ecfg_rman"

	.comm	_gbu_rman,32,3                  ## @gbu_rman
L_.str.8:                               ## @.str.8
	.asciz	"Flash region"

	.comm	_GBU_MEM_BASE,4,2               ## @GBU_MEM_BASE
	.comm	_GBU_MEM_LIMIT,4,2              ## @GBU_MEM_LIMIT
L_.str.9:                               ## @.str.9
	.asciz	"xlp_simplebus_init_resources gbu_rman"

	.no_dead_strip	_xlp_simplebus_init_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlp_simplebus_init_resources
_xlp_simplebus_init_resources:          ; @xlp_simplebus_init_resources
	.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
Lloh0:
	adrp	x0, _irq_rman@GOTPAGE
Lloh1:
	ldr	x0, [x0, _irq_rman@GOTPAGEOFF]
	str	xzr, [x0, #24]
	mov	w8, #255
Lloh2:
	adrp	x19, _RMAN_ARRAY@GOTPAGE
Lloh3:
	ldr	x19, [x19, _RMAN_ARRAY@GOTPAGEOFF]
	str	w8, [x0]
	ldr	x8, [x19]
Lloh4:
	adrp	x9, l_.str@PAGE
Lloh5:
	add	x9, x9, l_.str@PAGEOFF
	stp	x9, x8, [x0, #8]
	bl	_rman_init
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, _irq_rman@GOTPAGE
Lloh7:
	ldr	x0, [x0, _irq_rman@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #255
	bl	_rman_manage_region
	cbz	x0, LBB0_3
LBB0_2:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_3:
	ldr	x8, [x19]
Lloh10:
	adrp	x0, _port_rman@GOTPAGE
Lloh11:
	ldr	x0, [x0, _port_rman@GOTPAGEOFF]
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x9, x8, [x0, #8]
	bl	_rman_init
	cbnz	x0, LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _PCIE_IO_BASE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PCIE_IO_BASE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _PCIE_IO_LIMIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PCIE_IO_LIMIT@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x0, _port_rman@GOTPAGE
Lloh21:
	ldr	x0, [x0, _port_rman@GOTPAGEOFF]
	bl	_rman_manage_region
	cbz	x0, LBB0_6
LBB0_5:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_panic
LBB0_6:
	ldr	x8, [x19]
Lloh24:
	adrp	x0, _mem_rman@GOTPAGE
Lloh25:
	ldr	x0, [x0, _mem_rman@GOTPAGEOFF]
Lloh26:
	adrp	x9, l_.str.4@PAGE
Lloh27:
	add	x9, x9, l_.str.4@PAGEOFF
	stp	x9, x8, [x0, #8]
	bl	_rman_init
	cbnz	x0, LBB0_8
; %bb.7:
Lloh28:
	adrp	x8, _PCIE_MEM_BASE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PCIE_MEM_BASE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _PCIE_MEM_LIMIT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PCIE_MEM_LIMIT@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x0, _mem_rman@GOTPAGE
Lloh35:
	ldr	x0, [x0, _mem_rman@GOTPAGEOFF]
	bl	_rman_manage_region
	cbz	x0, LBB0_9
LBB0_8:
Lloh36:
	adrp	x0, l_.str.5@PAGE
Lloh37:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_panic
LBB0_9:
	ldr	x8, [x19]
Lloh38:
	adrp	x0, _pci_ecfg_rman@GOTPAGE
Lloh39:
	ldr	x0, [x0, _pci_ecfg_rman@GOTPAGEOFF]
Lloh40:
	adrp	x9, l_.str.6@PAGE
Lloh41:
	add	x9, x9, l_.str.6@PAGEOFF
	stp	x9, x8, [x0, #8]
	bl	_rman_init
	cbnz	x0, LBB0_11
; %bb.10:
Lloh42:
	adrp	x8, _PCI_ECFG_BASE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PCI_ECFG_BASE@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
Lloh45:
	adrp	x8, _PCI_ECFG_LIMIT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _PCI_ECFG_LIMIT@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
Lloh48:
	adrp	x0, _pci_ecfg_rman@GOTPAGE
Lloh49:
	ldr	x0, [x0, _pci_ecfg_rman@GOTPAGEOFF]
	bl	_rman_manage_region
	cbz	x0, LBB0_12
LBB0_11:
Lloh50:
	adrp	x0, l_.str.7@PAGE
Lloh51:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_panic
LBB0_12:
	ldr	x8, [x19]
Lloh52:
	adrp	x0, _gbu_rman@GOTPAGE
Lloh53:
	ldr	x0, [x0, _gbu_rman@GOTPAGEOFF]
Lloh54:
	adrp	x9, l_.str.8@PAGE
Lloh55:
	add	x9, x9, l_.str.8@PAGEOFF
	stp	x9, x8, [x0, #8]
	bl	_rman_init
	cbnz	x0, LBB0_14
; %bb.13:
Lloh56:
	adrp	x8, _GBU_MEM_BASE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GBU_MEM_BASE@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
Lloh59:
	adrp	x8, _GBU_MEM_LIMIT@GOTPAGE
Lloh60:
	ldr	x8, [x8, _GBU_MEM_LIMIT@GOTPAGEOFF]
Lloh61:
	ldr	w2, [x8]
Lloh62:
	adrp	x0, _gbu_rman@GOTPAGE
Lloh63:
	ldr	x0, [x0, _gbu_rman@GOTPAGEOFF]
	bl	_rman_manage_region
	cbz	x0, LBB0_15
LBB0_14:
Lloh64:
	adrp	x0, l_.str.9@PAGE
Lloh65:
	add	x0, x0, l_.str.9@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_panic
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_irq_rman,32,3                  ; @irq_rman
	.comm	_RMAN_ARRAY,8,3                 ; @RMAN_ARRAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI Mapped Interrupts"

l_.str.1:                               ; @.str.1
	.asciz	"xlp_simplebus_init_resources irq_rman"

	.comm	_port_rman,32,3                 ; @port_rman
l_.str.2:                               ; @.str.2
	.asciz	"I/O ports"

	.comm	_PCIE_IO_BASE,4,2               ; @PCIE_IO_BASE
	.comm	_PCIE_IO_LIMIT,4,2              ; @PCIE_IO_LIMIT
l_.str.3:                               ; @.str.3
	.asciz	"xlp_simplebus_init_resources port_rman"

	.comm	_mem_rman,32,3                  ; @mem_rman
l_.str.4:                               ; @.str.4
	.asciz	"I/O memory"

	.comm	_PCIE_MEM_BASE,4,2              ; @PCIE_MEM_BASE
	.comm	_PCIE_MEM_LIMIT,4,2             ; @PCIE_MEM_LIMIT
l_.str.5:                               ; @.str.5
	.asciz	"xlp_simplebus_init_resources mem_rman"

	.comm	_pci_ecfg_rman,32,3             ; @pci_ecfg_rman
l_.str.6:                               ; @.str.6
	.asciz	"PCI ECFG IO"

	.comm	_PCI_ECFG_BASE,4,2              ; @PCI_ECFG_BASE
	.comm	_PCI_ECFG_LIMIT,4,2             ; @PCI_ECFG_LIMIT
l_.str.7:                               ; @.str.7
	.asciz	"xlp_simplebus_init_resources pci_ecfg_rman"

	.comm	_gbu_rman,32,3                  ; @gbu_rman
l_.str.8:                               ; @.str.8
	.asciz	"Flash region"

	.comm	_GBU_MEM_BASE,4,2               ; @GBU_MEM_BASE
	.comm	_GBU_MEM_LIMIT,4,2              ; @GBU_MEM_LIMIT
l_.str.9:                               ; @.str.9
	.asciz	"xlp_simplebus_init_resources gbu_rman"

	.no_dead_strip	_xlp_simplebus_init_resources
.subsections_via_symbols
