	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macio_pci_add_devices
_macio_pci_add_devices:                 ## @macio_pci_add_devices
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rdi
	callq	_of_node_get
	testq	%rax, %rax
	je	LBB0_25
## %bb.1:
	movq	%rax, %rbx
	movq	_iomem_resource@GOTPCREL(%rip), %r8
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_macio_add_one_device
	testq	%rax, %rax
	je	LBB0_25
## %bb.2:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r13
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_of_get_next_child
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_macio_skip_device
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_of_node_get
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	movq	%r13, %r12
	movq	%r13, %r8
	callq	_macio_add_one_device
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_of_node_put
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %r13
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_of_node_name_prefix
	testq	%rax, %rax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_of_node_name_prefix
	testq	%rax, %rax
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmovneq	%r13, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %r14
	jmp	LBB0_9
LBB0_11:
	testq	%r14, %r14
	je	LBB0_18
## %bb.12:
	movq	(%r14), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_of_get_next_child
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:
	movq	%rax, %rbx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_of_get_next_child
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_18
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_macio_skip_device
	testq	%rax, %rax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %rdi
	callq	_of_node_get
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	callq	_macio_add_one_device
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %rdi
	callq	_of_node_put
	jmp	LBB0_17
LBB0_18:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_25
## %bb.19:
	movq	(%r14), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_of_get_next_child
	testq	%rax, %rax
	je	LBB0_25
## %bb.20:
	movq	%rax, %rbx
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_of_get_next_child
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_25
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_macio_skip_device
	testq	%rax, %rax
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rbx, %rdi
	callq	_of_node_get
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_macio_add_one_device
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rbx, %rdi
	callq	_of_node_put
	jmp	LBB0_24
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iomem_resource,4,2             ## @iomem_resource
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"media-bay"

L_.str.1:                               ## @.str.1
	.asciz	"escc"

	.no_dead_strip	_macio_pci_add_devices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macio_pci_add_devices
_macio_pci_add_devices:                 ; @macio_pci_add_devices
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	ldr	x0, [x0]
	bl	_of_node_get
	cbz	x0, LBB0_24
; %bb.1:
	mov	x23, x0
Lloh0:
	adrp	x4, _iomem_resource@GOTPAGE
Lloh1:
	ldr	x4, [x4, _iomem_resource@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x23
	mov	x3, #0
	bl	_macio_add_one_device
	cbz	x0, LBB0_24
; %bb.2:
	mov	x24, x0
	mov	x22, #0
	mov	x20, #0
	mov	x25, #0
	ldr	x21, [x0, #8]
Lloh2:
	adrp	x26, l_.str@PAGE
Lloh3:
	add	x26, x26, l_.str@PAGEOFF
Lloh4:
	adrp	x27, l_.str.1@PAGE
Lloh5:
	add	x27, x27, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x25
	bl	_of_get_next_child
	cbz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	bl	_macio_skip_device
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	bl	_of_node_get
	mov	x0, x19
	mov	x1, x24
	mov	x2, x25
	mov	x3, #0
	mov	x4, x21
	bl	_macio_add_one_device
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	bl	_of_node_put
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x0
	mov	x0, x25
	mov	x1, x26
	bl	_of_node_name_prefix
	cbnz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	mov	x1, x27
	bl	_of_node_name_prefix
	cmp	x0, #0
	csel	x20, x20, x28, eq
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x28
	b	LBB0_3
LBB0_10:
	cbz	x22, LBB0_17
; %bb.11:
	ldr	x23, [x22]
	mov	x0, x23
	mov	x1, #0
	bl	_of_get_next_child
	cbz	x0, LBB0_17
; %bb.12:
	mov	x24, x0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_of_get_next_child
	mov	x24, x0
	cbz	x0, LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_macio_skip_device
	cbnz	x0, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_of_node_get
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	mov	x3, x22
	mov	x4, x21
	bl	_macio_add_one_device
	cbnz	x0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_of_node_put
	b	LBB0_13
LBB0_17:
	cbz	x20, LBB0_24
; %bb.18:
	ldr	x22, [x20]
	mov	x0, x22
	mov	x1, #0
	bl	_of_get_next_child
	cbz	x0, LBB0_24
; %bb.19:
	mov	x23, x0
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_of_get_next_child
	mov	x23, x0
	cbz	x0, LBB0_24
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_macio_skip_device
	cbnz	x0, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x23
	bl	_of_node_get
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, #0
	mov	x4, x21
	bl	_macio_add_one_device
	cbnz	x0, LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x23
	bl	_of_node_put
	b	LBB0_20
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_iomem_resource,4,2             ; @iomem_resource
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"media-bay"

l_.str.1:                               ; @.str.1
	.asciz	"escc"

	.no_dead_strip	_macio_pci_add_devices
.subsections_via_symbols
