	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OF_decode_addr                 ## -- Begin function OF_decode_addr
	.p2align	4, 0x90
_OF_decode_addr:                        ## @OF_decode_addr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_OF_parent
	testq	%rax, %rax
	je	LBB0_51
## %bb.1:
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdx
	movl	$32, %ecx
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_OF_getprop
	cmpl	$-1, %eax
	je	LBB0_51
## %bb.2:
	movb	$0, -49(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-292(%rbp), %rdx
	movl	$4, %ecx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_OF_getprop
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movl	$2, -292(%rbp)
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	leaq	-296(%rbp), %rdx
	movl	$4, %ecx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_OF_getprop
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.5:
	movl	-296(%rbp), %eax
	jmp	LBB0_7
LBB0_6:
	movl	$1, -296(%rbp)
	movl	$1, %eax
LBB0_7:
	movl	-292(%rbp), %ecx
	addl	$-4, %ecx
	cmpl	$-2, %ecx
	jb	LBB0_51
## %bb.8:
	testl	%eax, %eax
	jle	LBB0_51
## %bb.9:
	cmpl	$3, %eax
	jge	LBB0_51
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcmp
	movl	-292(%rbp), %ecx
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	cmpl	$3, %ecx
	jge	LBB0_51
## %bb.14:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_15
LBB0_11:
	cmpl	$4, %ecx
	jge	LBB0_51
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
LBB0_15:
	leaq	-288(%rbp), %rdx
	movl	$200, %ecx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_OF_getprop
	cmpl	$-1, %eax
	je	LBB0_51
## %bb.16:
	testl	%r12d, %r12d
	js	LBB0_51
## %bb.17:
	movslq	-292(%rbp), %rcx
	movslq	-296(%rbp), %rsi
	addq	%rcx, %rsi
	movslq	%eax, %rcx
	leaq	(,%rsi,4), %rdi
	movq	%rcx, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_18
## %bb.19:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rdi
	cmpl	%r12d, %eax
	jg	LBB0_21
	jmp	LBB0_51
LBB0_18:
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
	cmpl	%r12d, %eax
	jle	LBB0_51
LBB0_21:
	imull	%r12d, %esi
	movslq	%esi, %rax
	movl	-288(%rbp,%rax,4), %esi
	leaq	-80(%rbp), %rdi
	callq	_phys_hi_mask_space
	movl	%eax, -304(%rbp)                ## 4-byte Spill
	movl	$-1, %ebx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	-292(%rbp), %esi
	movl	$2, %edi
	callq	_MIN
	incl	%ebx
	cmpl	%eax, %ebx
	jl	LBB0_22
## %bb.23:
	movq	%r13, -312(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_OF_parent
	testq	%rax, %rax
	je	LBB0_56
## %bb.24:
	movq	%r14, %r13
	jmp	LBB0_25
LBB0_29:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	$32, %ecx
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdx
	xorl	%eax, %eax
	callq	_OF_getprop
	cmpl	$-1, %eax
	je	LBB0_51
## %bb.30:                              ##   in Loop: Header=BB0_25 Depth=1
	movb	$0, -49(%rbp)
	movq	%r14, %r13
LBB0_55:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	%r13, %r14
	movl	-300(%rbp), %eax
	movl	%eax, -292(%rbp)
	movq	%r12, %rdi
	callq	_OF_parent
	movq	%r12, %r13
	testq	%rax, %rax
	je	LBB0_56
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r12
	movl	$4, %ecx
	movq	%rax, %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-300(%rbp), %rdx
	xorl	%eax, %eax
	callq	_OF_getprop
	cmpl	$-1, %eax
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	-300(%rbp), %eax
	addl	$-4, %eax
	cmpl	$-3, %eax
	ja	LBB0_28
	jmp	LBB0_51
LBB0_26:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	$2, -300(%rbp)
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	$200, %ecx
	movq	%r13, %rdi
	leaq	L_.str.6(%rip), %rsi
	leaq	-288(%rbp), %rdx
	xorl	%eax, %eax
	callq	_OF_getprop
	cmpl	$-1, %eax
	je	LBB0_29
## %bb.31:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	%eax, %ebx
	movl	$4, %ecx
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-296(%rbp), %rdx
	xorl	%eax, %eax
	callq	_OF_getprop
	cmpl	$-1, %eax
	je	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	-296(%rbp), %eax
	leal	-3(%rax), %ecx
	cmpl	$-3, %ecx
	ja	LBB0_34
	jmp	LBB0_51
LBB0_32:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	$1, -296(%rbp)
	movl	$1, %eax
LBB0_34:                                ##   in Loop: Header=BB0_25 Depth=1
	addl	-292(%rbp), %eax
	addl	-300(%rbp), %eax
	movslq	%eax, %rcx
	shlq	$2, %rcx
	movslq	%ebx, %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_35
## %bb.36:                              ##   in Loop: Header=BB0_25 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %r14
	jmp	LBB0_37
LBB0_35:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r14d
LBB0_37:                                ##   in Loop: Header=BB0_25 Depth=1
	testl	%r14d, %r14d
	jg	LBB0_38
## %bb.54:                              ##   in Loop: Header=BB0_25 Depth=1
	jne	LBB0_55
	jmp	LBB0_51
LBB0_56:
	movl	$0, (%r15)
	movq	%r14, %rdi
	callq	_OF_parent
	testq	%rax, %rax
	je	LBB0_57
## %bb.58:
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdx
	movl	$32, %ecx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_OF_getprop
	cmpl	$-1, %eax
	movq	-312(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_51
## %bb.59:
	movb	$0, -49(%rbp)
	leaq	L_.str.7(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_62
## %bb.60:
	leaq	L_.str.8(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_62
## %bb.61:
	leaq	L_.str.9(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_62
## %bb.64:
	leaq	L_.str.3(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_51
## %bb.65:
	leaq	L_.str.10(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_66
LBB0_51:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_52:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_53
## %bb.67:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_57:
	movq	_NEXUS_BUS_SPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-312(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_62:
	movq	_NEXUS_BUS_SPACE@GOTPCREL(%rip), %rax
LBB0_63:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_52
LBB0_38:
	leaq	-80(%rbp), %rbx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_39
LBB0_40:                                ##   in Loop: Header=BB0_39 Depth=1
	addl	%r15d, %esi
	addl	-300(%rbp), %esi
	addl	-296(%rbp), %esi
	movl	%esi, %r15d
LBB0_50:                                ##   in Loop: Header=BB0_39 Depth=1
	incl	%r12d
	cmpl	%r14d, %r12d
	je	LBB0_51
LBB0_39:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_43 Depth 2
                                        ##     Child Loop BB0_47 Depth 2
	movslq	%r15d, %rax
	movl	-288(%rbp,%rax,4), %esi
	movq	%rbx, %rdi
	callq	_phys_hi_mask_space
	movl	-292(%rbp), %esi
	cmpl	-304(%rbp), %eax                ## 4-byte Folded Reload
	jne	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_39 Depth=1
	addl	%esi, %r15d
	addl	$-2, %r15d
	movl	$2, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MIN
	testl	%eax, %eax
	jle	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_39 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_43:                                ##   Parent Loop BB0_39 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%ebx
	movl	-292(%rbp), %esi
	movl	$2, %edi
	callq	_MIN
	cmpl	%eax, %ebx
	jl	LBB0_43
## %bb.44:                              ##   in Loop: Header=BB0_39 Depth=1
	addl	%ebx, %r15d
LBB0_45:                                ##   in Loop: Header=BB0_39 Depth=1
	movl	-300(%rbp), %esi
	leal	(%r15,%rsi), %r13d
	addl	$-2, %r13d
	movl	$2, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MIN
	testl	%eax, %eax
	jle	LBB0_49
## %bb.46:                              ##   in Loop: Header=BB0_39 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_39 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%ebx
	movl	-300(%rbp), %esi
	movl	$2, %edi
	callq	_MIN
	cmpl	%eax, %ebx
	jl	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_39 Depth=1
	addl	%ebx, %r13d
LBB0_49:                                ##   in Loop: Header=BB0_39 Depth=1
	movl	-296(%rbp), %r15d
	testl	%r15d, %r15d
	movl	$0, %eax
	cmovlel	%eax, %r15d
	addl	%r13d, %r15d
	leaq	-80(%rbp), %rbx
	jmp	LBB0_50
LBB0_66:
	movq	_SBUS_BUS_SPACE@GOTPCREL(%rip), %rax
	jmp	LBB0_63
LBB0_53:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

L_.str.1:                               ## @.str.1
	.asciz	"#address-cells"

L_.str.2:                               ## @.str.2
	.asciz	"#size-cells"

L_.str.3:                               ## @.str.3
	.asciz	"pci"

L_.str.4:                               ## @.str.4
	.asciz	"assigned-addresses"

L_.str.5:                               ## @.str.5
	.asciz	"reg"

L_.str.6:                               ## @.str.6
	.asciz	"ranges"

	.comm	_NEXUS_BUS_SPACE,4,2            ## @NEXUS_BUS_SPACE
L_.str.7:                               ## @.str.7
	.asciz	"central"

L_.str.8:                               ## @.str.8
	.asciz	"ebus"

L_.str.9:                               ## @.str.9
	.asciz	"upa"

	.comm	_PCI_IO_BUS_SPACE,4,2           ## @PCI_IO_BUS_SPACE
	.comm	_PCI_MEMORY_BUS_SPACE,4,2       ## @PCI_MEMORY_BUS_SPACE
L_.str.10:                              ## @.str.10
	.asciz	"sbus"

	.comm	_SBUS_BUS_SPACE,4,2             ## @SBUS_BUS_SPACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OF_decode_addr                 ; -- Begin function OF_decode_addr
	.p2align	2
_OF_decode_addr:                        ; @OF_decode_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_OF_parent
	cbz	x0, LBB0_41
; %bb.1:
	mov	x22, x0
	mov	w8, #32
	sub	x9, x29, #128
	stp	x9, x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_OF_getprop
	cmn	w0, #1
	b.eq	LBB0_41
; %bb.2:
	sturb	wzr, [x29, #-97]
	mov	w8, #4
	add	x9, sp, #36
	stp	x9, x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_OF_getprop
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #2
	str	w8, [sp, #36]
LBB0_4:
	mov	w8, #4
	add	x9, sp, #32
	stp	x9, x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_OF_getprop
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [sp, #32]
	b	LBB0_7
LBB0_6:
	mov	w8, #1
	str	w8, [sp, #32]
LBB0_7:
	ldr	w9, [sp, #36]
	sub	w9, w9, #4
	cmn	w9, #2
	b.lo	LBB0_41
; %bb.8:
	cmp	w8, #1
	b.lt	LBB0_41
; %bb.9:
	cmp	w8, #3
	b.ge	LBB0_41
; %bb.10:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	sub	x0, x29, #128
	bl	_strcmp
	ldr	w8, [sp, #36]
	cbz	x0, LBB0_13
; %bb.11:
	cmp	w8, #3
	b.ge	LBB0_41
; %bb.12:
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_13:
	cmp	w8, #4
	b.ge	LBB0_41
; %bb.14:
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_15:
	mov	w8, #200
	add	x9, sp, #40
	stp	x9, x8, [sp]
	mov	x0, x23
	bl	_OF_getprop
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_41
; %bb.16:
	tbnz	w21, #31, LBB0_41
; %bb.17:
	ldp	w9, w8, [sp, #32]
	add	w8, w9, w8
	sxtw	x9, w0
	sbfiz	x10, x8, #2, #32
	udiv	x9, x9, x10
	cmp	w9, w21
	b.le	LBB0_41
; %bb.18:
	mul	w8, w8, w21
	add	x9, sp, #40
	ldr	w1, [x9, w8, sxtw #2]
	sub	x0, x29, #128
	bl	_phys_hi_mask_space
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	w21, #-1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [sp, #36]
	mov	w0, #2
	bl	_MIN
	add	w21, w21, #1
	cmp	w21, w0
	b.lt	LBB0_19
; %bb.20:
	mov	x0, x22
	bl	_OF_parent
	cbz	x0, LBB0_34
; %bb.21:
	mov	w21, #4
Lloh15:
	adrp	x23, l_.str.1@PAGE
Lloh16:
	add	x23, x23, l_.str.1@PAGEOFF
	add	x26, sp, #40
Lloh17:
	adrp	x24, l_.str.6@PAGE
Lloh18:
	add	x24, x24, l_.str.6@PAGEOFF
	mov	x28, x22
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w9, #32
	sub	x8, x29, #128
	stp	x8, x9, [sp]
	mov	x0, x27
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_OF_getprop
	cmn	w0, #1
	b.eq	LBB0_41
; %bb.23:                               ;   in Loop: Header=BB0_25 Depth=1
	sturb	wzr, [x29, #-97]
	mov	x28, x22
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x22, x28
	ldr	w8, [sp, #28]
	str	w8, [sp, #36]
	mov	x0, x27
	bl	_OF_parent
	mov	x28, x27
	cbz	x0, LBB0_34
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	mov	x27, x0
	add	x8, sp, #28
	stp	x8, x21, [sp]
	mov	x1, x23
	bl	_OF_getprop
	cmn	w0, #1
	b.eq	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [sp, #28]
	sub	w8, w8, #4
	cmn	w8, #3
	b.hi	LBB0_28
	b	LBB0_41
LBB0_27:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w8, #2
	str	w8, [sp, #28]
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w8, #200
	stp	x26, x8, [sp]
	mov	x0, x28
	mov	x1, x24
	bl	_OF_getprop
	cmn	w0, #1
	b.eq	LBB0_22
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x25, x0
	add	x8, sp, #32
	stp	x8, x21, [sp]
	mov	x0, x28
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_OF_getprop
	cmn	w0, #1
	b.eq	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [sp, #32]
	sub	w9, w8, #3
	cmn	w9, #3
	b.hi	LBB0_32
	b	LBB0_41
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w8, #1
	str	w8, [sp, #32]
LBB0_32:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w9, [sp, #36]
	ldr	w10, [sp, #28]
	add	w8, w9, w8
	add	w8, w8, w10
	sbfiz	x8, x8, #2, #32
	sxtw	x9, w25
	udiv	x22, x9, x8
	cmp	w22, #1
	b.ge	LBB0_47
; %bb.33:                               ;   in Loop: Header=BB0_25 Depth=1
	cbnz	w22, LBB0_24
	b	LBB0_41
LBB0_34:
	str	wzr, [x20]
	mov	x0, x22
	bl	_OF_parent
	cbz	x0, LBB0_45
; %bb.35:
	mov	w8, #32
	sub	x9, x29, #128
	stp	x9, x8, [sp]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_OF_getprop
	cmn	w0, #1
	b.eq	LBB0_41
; %bb.36:
	sturb	wzr, [x29, #-97]
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	sub	x0, x29, #128
	bl	_strcmp
	cbz	x0, LBB0_44
; %bb.37:
Lloh27:
	adrp	x1, l_.str.8@PAGE
Lloh28:
	add	x1, x1, l_.str.8@PAGEOFF
	sub	x0, x29, #128
	bl	_strcmp
	cbz	x0, LBB0_44
; %bb.38:
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	sub	x0, x29, #128
	bl	_strcmp
	cbz	x0, LBB0_44
; %bb.39:
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	sub	x0, x29, #128
	bl	_strcmp
	cbz	x0, LBB0_41
; %bb.40:
Lloh33:
	adrp	x1, l_.str.10@PAGE
Lloh34:
	add	x1, x1, l_.str.10@PAGEOFF
	sub	x0, x29, #128
	bl	_strcmp
	cbz	x0, LBB0_60
LBB0_41:
Lloh35:
	adrp	x8, _ENXIO@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
LBB0_42:
	ldur	x8, [x29, #-96]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.43:
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_44:
	mov	w0, #0
LBB0_45:
Lloh41:
	adrp	x8, _NEXUS_BUS_SPACE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _NEXUS_BUS_SPACE@GOTPAGEOFF]
LBB0_46:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_42
LBB0_47:
	mov	w19, #0
	mov	w21, #0
	add	x20, sp, #40
	b	LBB0_50
LBB0_48:                                ;   in Loop: Header=BB0_50 Depth=1
	ldp	w8, w9, [sp, #28]
	add	w10, w1, w21
	add	w8, w10, w8
	add	w21, w8, w9
LBB0_49:                                ;   in Loop: Header=BB0_50 Depth=1
	add	w19, w19, #1
	cmp	w19, w22
	b.eq	LBB0_41
LBB0_50:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_53 Depth 2
                                        ;     Child Loop BB0_57 Depth 2
	ldr	w1, [x20, w21, sxtw #2]
	sub	x0, x29, #128
	bl	_phys_hi_mask_space
	ldr	w1, [sp, #36]
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w0, w8
	b.ne	LBB0_48
; %bb.51:                               ;   in Loop: Header=BB0_50 Depth=1
	add	w8, w21, w1
	sub	w21, w8, #2
	mov	w0, #2
	bl	_MIN
	cmp	w0, #1
	b.lt	LBB0_55
; %bb.52:                               ;   in Loop: Header=BB0_50 Depth=1
	mov	w23, #0
LBB0_53:                                ;   Parent Loop BB0_50 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w23, w23, #1
	ldr	w1, [sp, #36]
	mov	w0, #2
	bl	_MIN
	cmp	w23, w0
	b.lt	LBB0_53
; %bb.54:                               ;   in Loop: Header=BB0_50 Depth=1
	add	w21, w21, w23
LBB0_55:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	w1, [sp, #28]
	add	w8, w21, w1
	sub	w21, w8, #2
	mov	w0, #2
	bl	_MIN
	cmp	w0, #1
	b.lt	LBB0_59
; %bb.56:                               ;   in Loop: Header=BB0_50 Depth=1
	mov	w23, #0
LBB0_57:                                ;   Parent Loop BB0_50 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w23, w23, #1
	ldr	w1, [sp, #28]
	mov	w0, #2
	bl	_MIN
	cmp	w23, w0
	b.lt	LBB0_57
; %bb.58:                               ;   in Loop: Header=BB0_50 Depth=1
	add	w21, w21, w23
LBB0_59:                                ;   in Loop: Header=BB0_50 Depth=1
	ldr	w8, [sp, #32]
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	add	w21, w21, w8
	b	LBB0_49
LBB0_60:
Lloh43:
	adrp	x8, _SBUS_BUS_SPACE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SBUS_BUS_SPACE@GOTPAGEOFF]
	b	LBB0_46
LBB0_61:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

l_.str.1:                               ; @.str.1
	.asciz	"#address-cells"

l_.str.2:                               ; @.str.2
	.asciz	"#size-cells"

l_.str.3:                               ; @.str.3
	.asciz	"pci"

l_.str.4:                               ; @.str.4
	.asciz	"assigned-addresses"

l_.str.5:                               ; @.str.5
	.asciz	"reg"

l_.str.6:                               ; @.str.6
	.asciz	"ranges"

	.comm	_NEXUS_BUS_SPACE,4,2            ; @NEXUS_BUS_SPACE
l_.str.7:                               ; @.str.7
	.asciz	"central"

l_.str.8:                               ; @.str.8
	.asciz	"ebus"

l_.str.9:                               ; @.str.9
	.asciz	"upa"

	.comm	_PCI_IO_BUS_SPACE,4,2           ; @PCI_IO_BUS_SPACE
	.comm	_PCI_MEMORY_BUS_SPACE,4,2       ; @PCI_MEMORY_BUS_SPACE
l_.str.10:                              ; @.str.10
	.asciz	"sbus"

	.comm	_SBUS_BUS_SPACE,4,2             ; @SBUS_BUS_SPACE
.subsections_via_symbols
