	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_dlpar_node
_find_dlpar_node:                       ## @find_dlpar_node
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_find_php_slot_pci_node
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_NODE_TYPE_SLOT@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_find_php_slot_pci_node
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_NODE_TYPE_PHB@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_find_vio_slot_node
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_NODE_TYPE_VIO@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SLOT"

	.comm	_NODE_TYPE_SLOT,4,2             ## @NODE_TYPE_SLOT
L_.str.1:                               ## @.str.1
	.asciz	"PHB"

	.comm	_NODE_TYPE_PHB,4,2              ## @NODE_TYPE_PHB
	.comm	_NODE_TYPE_VIO,4,2              ## @NODE_TYPE_VIO
	.no_dead_strip	_find_dlpar_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_dlpar_node
_find_dlpar_node:                       ; @find_dlpar_node
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_find_php_slot_pci_node
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _NODE_TYPE_SLOT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NODE_TYPE_SLOT@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_find_php_slot_pci_node
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _NODE_TYPE_PHB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NODE_TYPE_PHB@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_find_vio_slot_node
	cbz	x0, LBB0_7
; %bb.5:
Lloh8:
	adrp	x8, _NODE_TYPE_VIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NODE_TYPE_VIO@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SLOT"

	.comm	_NODE_TYPE_SLOT,4,2             ; @NODE_TYPE_SLOT
l_.str.1:                               ; @.str.1
	.asciz	"PHB"

	.comm	_NODE_TYPE_PHB,4,2              ; @NODE_TYPE_PHB
	.comm	_NODE_TYPE_VIO,4,2              ; @NODE_TYPE_VIO
	.no_dead_strip	_find_dlpar_node
.subsections_via_symbols
