	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function powernv_attach
_powernv_attach:                        ## @powernv_attach
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_opal_check
	movq	_OPAL_REINIT_CPUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_opal_call
	movq	_cpu_idle_hook@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_powernv_cpu_idle@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
LBB0_2:
	movq	_SPR_PIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mfspr
	movq	_powernv_boot_pir@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_mfmsr
	movl	%eax, %ebx
	movq	_PSL_DR@GOTPCREL(%rip), %rax
	movq	_PSL_IR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	notl	%edi
	andl	%ebx, %edi
	callq	_mtmsr
	movq	_SPR_LPID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_mtspr
	xorl	%eax, %eax
	callq	_isync
	movq	_cpu_features2@GOTPCREL(%rip), %rax
	movq	_PPC_FEATURE2_ARCH_3_00@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_LPCR_HVICE@GOTPCREL(%rip), %rax
	movq	_lpcr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	%esi, (%rcx)
	jmp	LBB0_5
LBB0_3:
	movq	_lpcr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_5:
	movq	_SPR_LPCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mtspr
	xorl	%eax, %eax
	callq	_isync
	movl	%ebx, %edi
	callq	_mtmsr
	xorl	%eax, %eax
	callq	_powernv_cpuref_init
	xorl	%edi, %edi
	callq	_OF_peer
	movq	%rax, %rdi
	callq	_OF_child
	testq	%rax, %rax
	je	LBB0_36
## %bb.6:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r14
	leaq	-304(%rbp), %r15
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_OF_peer
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_36
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$255, %ecx
	callq	_OF_getprop
	testl	%eax, %eax
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	callq	_OF_child
	testq	%rax, %rax
	je	LBB0_36
## %bb.11:
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %r14
	leaq	-304(%rbp), %r15
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rdi
	callq	_OF_peer
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_36
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$255, %ecx
	callq	_OF_getprop
	testl	%eax, %eax
	jle	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:
	leaq	L_.str.4(%rip), %rsi
	leaq	-320(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$8, %ecx
	callq	_OF_getencprop
	testl	%eax, %eax
	jle	LBB0_17
## %bb.16:
	movq	-320(%rbp), %rax
	movq	_n_slbs@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_17:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_OF_getproplen
	testl	%eax, %eax
	jle	LBB0_36
## %bb.18:
	movl	%eax, %r14d
	movq	%rsp, -312(%rbp)                ## 8-byte Spill
	movl	%eax, %r13d
	shrl	$2, %r13d
	leaq	(,%r13,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leal	(,%r13,8), %ecx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_OF_getencprop
	xorl	%r12d, %r12d
	cmpl	$4, %r14d
	jae	LBB0_20
## %bb.19:
                                        ## implicit-def: $r14
	jmp	LBB0_33
LBB0_20:
	movabsq	$-8589934592, %r9               ## imm = 0xFFFFFFFE00000000
	movq	_SLBV_L@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %r8
	addq	$8, %r8
                                        ## implicit-def: $rdx
                                        ## implicit-def: $r14
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	%r11d, %r13d
	testl	%r11d, %r11d
	jle	LBB0_32
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
	movslq	%r12d, %r10
	movq	8(%r15,%r10,8), %rbx
	movq	16(%r15,%r10,8), %rax
	leal	3(%r10), %r12d
	leal	-3(%r13), %r11d
	cmpl	$4, %r13d
	jb	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	testq	%rax, %rax
	je	LBB0_28
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movslq	%r12d, %rax
	leaq	(%r8,%rax,8), %rdi
	shlq	$32, %rax
	negq	%rax
	decl	%r13d
	xorl	%esi, %esi
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=2
	addq	%r9, %rax
	addq	$2, %rsi
	addl	$-2, %r13d
	cmpl	$2, %r13d
	jle	LBB0_27
LBB0_24:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi,%rsi,8), %rdx
	cmpq	%rcx, %rbx
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	testq	%rdx, %rdx
	jne	LBB0_26
## %bb.38:                              ##   in Loop: Header=BB0_21 Depth=1
	addl	%esi, %r12d
	negq	%rax
	sarq	$29, %rax
	movq	(%r15,%rax), %r14
	subl	%esi, %r11d
	xorl	%edx, %edx
	cmpq	%rcx, %rbx
	je	LBB0_30
	jmp	LBB0_31
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	testq	%rax, %rax
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	%rcx, %rbx
	je	LBB0_30
	jmp	LBB0_31
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	addl	%esi, %r12d
	movq	%r9, %rdi
	subq	%rax, %rdi
	sarq	$29, %rdi
	movq	(%r15,%rdi), %r14
	subl	%esi, %r11d
	cmpq	%rcx, %rbx
	jne	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_21 Depth=1
	testq	%rdx, %rdx
	jne	LBB0_31
LBB0_32:
	movq	(%r15,%r10,8), %r12
	movl	%r11d, %r13d
LBB0_33:
	testl	%r13d, %r13d
	jne	LBB0_35
## %bb.34:
	leaq	L_.str.6(%rip), %rdi
	callq	_panic
LBB0_35:
	movl	$1, %eax
	movl	%r14d, %ecx
	shlq	%cl, %rax
	movq	_moea64_large_page_shift@GOTPCREL(%rip), %rcx
	movq	%r12, (%rcx)
	movq	_moea64_large_page_size@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-312(%rbp), %rsp                ## 8-byte Reload
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_39
## %bb.37:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_OPAL_REINIT_CPUS,4,2           ## @OPAL_REINIT_CPUS
	.comm	_cpu_idle_hook,8,3              ## @cpu_idle_hook
	.comm	_powernv_cpu_idle,8,3           ## @powernv_cpu_idle
	.comm	_SPR_PIR,4,2                    ## @SPR_PIR
	.comm	_powernv_boot_pir,4,2           ## @powernv_boot_pir
	.comm	_PSL_DR,4,2                     ## @PSL_DR
	.comm	_PSL_IR,4,2                     ## @PSL_IR
	.comm	_SPR_LPID,4,2                   ## @SPR_LPID
	.comm	_cpu_features2,4,2              ## @cpu_features2
	.comm	_PPC_FEATURE2_ARCH_3_00,4,2     ## @PPC_FEATURE2_ARCH_3_00
	.comm	_LPCR_HVICE,4,2                 ## @LPCR_HVICE
	.comm	_lpcr,4,2                       ## @lpcr
	.comm	_SPR_LPCR,4,2                   ## @SPR_LPCR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

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

L_.str.2:                               ## @.str.2
	.asciz	"device_type"

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

L_.str.4:                               ## @.str.4
	.asciz	"ibm,slb-size"

	.comm	_n_slbs,8,3                     ## @n_slbs
L_.str.5:                               ## @.str.5
	.asciz	"ibm,segment-page-sizes"

	.comm	_SLBV_L,8,3                     ## @SLBV_L
L_.str.6:                               ## @.str.6
	.asciz	"Standard large pages (SLB[L] = 1, PTE[LP] = 0) not supported by this system."

	.comm	_moea64_large_page_shift,8,3    ## @moea64_large_page_shift
	.comm	_moea64_large_page_size,8,3     ## @moea64_large_page_size
	.no_dead_strip	_powernv_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function powernv_attach
_powernv_attach:                        ; @powernv_attach
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #272
	mov	x19, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_opal_check
Lloh3:
	adrp	x8, _OPAL_REINIT_CPUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPAL_REINIT_CPUS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_opal_call
Lloh6:
	adrp	x8, _cpu_idle_hook@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cpu_idle_hook@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_2
; %bb.1:
Lloh8:
	adrp	x9, _powernv_cpu_idle@GOTPAGE
Lloh9:
	ldr	x9, [x9, _powernv_cpu_idle@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_2:
Lloh11:
	adrp	x8, _SPR_PIR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SPR_PIR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_mfspr
Lloh14:
	adrp	x8, _powernv_boot_pir@GOTPAGE
Lloh15:
	ldr	x8, [x8, _powernv_boot_pir@GOTPAGEOFF]
Lloh16:
	str	w0, [x8]
	bl	_mfmsr
	mov	x20, x0
Lloh17:
	adrp	x8, _PSL_DR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PSL_DR@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _PSL_IR@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PSL_IR@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w0, w0, w8
	bl	_mtmsr
Lloh23:
	adrp	x8, _SPR_LPID@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SPR_LPID@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_mtspr
	bl	_isync
Lloh26:
	adrp	x8, _cpu_features2@GOTPAGE
Lloh27:
	ldr	x8, [x8, _cpu_features2@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _PPC_FEATURE2_ARCH_3_00@GOTPAGE
Lloh30:
	ldr	x9, [x9, _PPC_FEATURE2_ARCH_3_00@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh32:
	adrp	x8, _LPCR_HVICE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LPCR_HVICE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _lpcr@GOTPAGE
Lloh36:
	ldr	x9, [x9, _lpcr@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w1, w10, w8
	str	w1, [x9]
	b	LBB0_5
LBB0_4:
Lloh37:
	adrp	x8, _lpcr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _lpcr@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
LBB0_5:
Lloh40:
	adrp	x8, _SPR_LPCR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SPR_LPCR@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_mtspr
	bl	_isync
	mov	x0, x20
	bl	_mtmsr
	bl	_powernv_cpuref_init
	mov	x0, #0
	bl	_OF_peer
	bl	_OF_child
	cbz	x0, LBB0_37
; %bb.6:
	mov	x20, x0
Lloh43:
	adrp	x21, l_.str@PAGE
Lloh44:
	add	x21, x21, l_.str@PAGEOFF
Lloh45:
	adrp	x22, l_.str.1@PAGE
Lloh46:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	bl	_OF_peer
	mov	x20, x0
	cbz	x0, LBB0_37
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, x19, #9
	mov	x0, x20
	mov	x1, x21
	mov	w3, #255
	bl	_OF_getprop
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x19, #9
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.10:
	mov	x0, x20
	bl	_OF_child
	cbz	x0, LBB0_37
; %bb.11:
	mov	x21, x0
Lloh47:
	adrp	x20, l_.str.2@PAGE
Lloh48:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh49:
	adrp	x22, l_.str.3@PAGE
Lloh50:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	bl	_OF_peer
	mov	x21, x0
	cbz	x0, LBB0_37
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x2, x19, #9
	mov	x0, x21
	mov	x1, x20
	mov	w3, #255
	bl	_OF_getprop
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x0, x19, #9
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_12
; %bb.15:
Lloh51:
	adrp	x1, l_.str.4@PAGE
Lloh52:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, x19, #0
	mov	x0, x21
	mov	w3, #8
	bl	_OF_getencprop
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.16:
	ldr	x8, [x19]
Lloh53:
	adrp	x9, _n_slbs@GOTPAGE
Lloh54:
	ldr	x9, [x9, _n_slbs@GOTPAGEOFF]
Lloh55:
	str	x8, [x9]
LBB0_17:
Lloh56:
	adrp	x1, l_.str.5@PAGE
Lloh57:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_OF_getproplen
	cmp	w0, #1
	b.lt	LBB0_37
; %bb.18:
	mov	x22, x0
	mov	x23, sp
	lsr	w24, w0, #2
	lsl	x8, x24, #3
	mov	x9, x8
Lloh58:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh59:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x3fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	lsl	w3, w24, #3
Lloh60:
	adrp	x1, l_.str.5@PAGE
Lloh61:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_OF_getencprop
	cmp	w22, #4
	b.hs	LBB0_20
; %bb.19:
	mov	x20, #0
                                        ; implicit-def: $x21
	b	LBB0_34
LBB0_20:
	mov	w10, #0
Lloh62:
	adrp	x8, _SLBV_L@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SLBV_L@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	add	x9, x20, #8
	mov	x11, #8589934592
                                        ; implicit-def: $x13
                                        ; implicit-def: $x21
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	cmp	w24, #0
	b.le	LBB0_33
LBB0_22:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
	mov	x16, x24
	mov	x12, x10
	add	x10, x20, w10, sxtw #3
	ldp	x14, x15, [x10, #8]
	add	w10, w12, #3
	sub	w24, w24, #3
	subs	w16, w16, #4
	b.lo	LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	cbz	x15, LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	and	w13, w16, #0xfffffffe
	add	w15, w13, w10
	sbfiz	x16, x10, #32, #32
	add	x17, x9, w10, sxtw #3
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	add	x16, x16, x11
	add	w10, w10, #2
	add	x17, x17, #16
	subs	w24, w24, #2
	b.le	LBB0_31
LBB0_26:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x17]
	cmp	x14, x8
	b.ne	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	cbnz	x13, LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_22 Depth=1
	asr	x15, x16, #29
	ldr	x21, [x20, x15]
	cmp	x14, x8
	b.eq	LBB0_32
	b	LBB0_21
LBB0_29:                                ;   in Loop: Header=BB0_22 Depth=1
	cbz	x15, LBB0_21
; %bb.30:                               ;   in Loop: Header=BB0_22 Depth=1
	cmp	x14, x8
	b.eq	LBB0_32
	b	LBB0_21
LBB0_31:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x21, [x20, w15, sxtw #3]
	cmp	x14, x8
	b.ne	LBB0_21
LBB0_32:                                ;   in Loop: Header=BB0_22 Depth=1
	cbnz	x13, LBB0_21
LBB0_33:
	sxtw	x8, w12
	ldr	x20, [x20, x8, lsl #3]
LBB0_34:
	cbnz	w24, LBB0_36
; %bb.35:
Lloh65:
	adrp	x0, l_.str.6@PAGE
Lloh66:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_panic
LBB0_36:
Lloh67:
	adrp	x8, _moea64_large_page_shift@GOTPAGE
Lloh68:
	ldr	x8, [x8, _moea64_large_page_shift@GOTPAGEOFF]
Lloh69:
	str	x20, [x8]
	mov	w8, #1
	lsl	x8, x8, x21
Lloh70:
	adrp	x9, _moea64_large_page_size@GOTPAGE
Lloh71:
	ldr	x9, [x9, _moea64_large_page_size@GOTPAGEOFF]
Lloh72:
	str	x8, [x9]
	mov	sp, x23
LBB0_37:
	ldur	x8, [x29, #-72]
Lloh73:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh74:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh75:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.38:
	mov	w0, #0
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotStr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotStr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_OPAL_REINIT_CPUS,4,2           ; @OPAL_REINIT_CPUS
	.comm	_cpu_idle_hook,8,3              ; @cpu_idle_hook
	.comm	_powernv_cpu_idle,8,3           ; @powernv_cpu_idle
	.comm	_SPR_PIR,4,2                    ; @SPR_PIR
	.comm	_powernv_boot_pir,4,2           ; @powernv_boot_pir
	.comm	_PSL_DR,4,2                     ; @PSL_DR
	.comm	_PSL_IR,4,2                     ; @PSL_IR
	.comm	_SPR_LPID,4,2                   ; @SPR_LPID
	.comm	_cpu_features2,4,2              ; @cpu_features2
	.comm	_PPC_FEATURE2_ARCH_3_00,4,2     ; @PPC_FEATURE2_ARCH_3_00
	.comm	_LPCR_HVICE,4,2                 ; @LPCR_HVICE
	.comm	_lpcr,4,2                       ; @lpcr
	.comm	_SPR_LPCR,4,2                   ; @SPR_LPCR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

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

l_.str.2:                               ; @.str.2
	.asciz	"device_type"

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

l_.str.4:                               ; @.str.4
	.asciz	"ibm,slb-size"

	.comm	_n_slbs,8,3                     ; @n_slbs
l_.str.5:                               ; @.str.5
	.asciz	"ibm,segment-page-sizes"

	.comm	_SLBV_L,8,3                     ; @SLBV_L
l_.str.6:                               ; @.str.6
	.asciz	"Standard large pages (SLB[L] = 1, PTE[LP] = 0) not supported by this system."

	.comm	_moea64_large_page_shift,8,3    ; @moea64_large_page_shift
	.comm	_moea64_large_page_size,8,3     ; @moea64_large_page_size
	.no_dead_strip	_powernv_attach
.subsections_via_symbols
