	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cik_init_cp_pg_table           ## -- Begin function cik_init_cp_pg_table
	.p2align	4, 0x90
_cik_init_cp_pg_table:                  ## @cik_init_cp_pg_table
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CHIP_KAVERI@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	movq	56(%rdi), %rdx
	cmpq	(%rax), %rcx
	sete	%al
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.1:
	movq	%rdi, %r14
	xorl	%ecx, %ecx
	movb	%al, %cl
	orl	$4, %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	%r13d, %r15d
	incl	%esi
	movl	%r15d, %r13d
	cmpl	-60(%rbp), %esi                 ## 4-byte Folded Reload
	je	LBB0_28
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	cmpq	$0, 48(%r14)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$3, %esi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	ja	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%r14), %rax
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$2, %esi
	je	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1, %esi
	je	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%esi, %esi
	jne	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%r14), %rax
	movq	_CP_ME_TABLE_OFFSET@GOTPCREL(%rip), %rcx
	jmp	LBB0_24
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r14), %rax
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r14), %rax
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r14), %rax
	jmp	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%r14), %rax
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movslq	(%rax), %r13
	movl	8(%r13), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movl	4(%r13), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	testl	%eax, %eax
	jle	LBB0_2
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movslq	%ebx, %rax
	addq	%r13, %rax
	movslq	%r12d, %rcx
	movslq	-56(%rbp), %rdx                 ## 4-byte Folded Reload
	movl	%r15d, %r12d
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rdx,4), %r13
	leaq	(%rax,%rcx,4), %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%r14,4), %edi
	callq	_le32_to_cpu
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r13,%r14,4)
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r14), %rax
	movq	_CP_ME_TABLE_OFFSET@GOTPCREL(%rip), %rcx
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r14), %rax
	movq	_CP_ME_TABLE_OFFSET@GOTPCREL(%rip), %rcx
	jmp	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r14), %rax
	movq	_CP_MEC_TABLE_OFFSET@GOTPCREL(%rip), %rcx
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_CP_ME_TABLE_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	testl	%r15d, %r15d
	jle	LBB0_4
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movslq	(%rax), %rax
	movslq	(%rcx), %rcx
	movslq	%r13d, %rdx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rdx,4), %r12
	leaq	(%rax,%rcx,4), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14,%rbx,4), %edi
	callq	_be32_to_cpu
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_28:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_CHIP_KAVERI,8,3                ## @CHIP_KAVERI
	.comm	_CP_ME_TABLE_SIZE,4,2           ## @CP_ME_TABLE_SIZE
	.comm	_CP_ME_TABLE_OFFSET,4,2         ## @CP_ME_TABLE_OFFSET
	.comm	_CP_MEC_TABLE_OFFSET,4,2        ## @CP_MEC_TABLE_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cik_init_cp_pg_table           ; -- Begin function cik_init_cp_pg_table
	.p2align	2
_cik_init_cp_pg_table:                  ; @cik_init_cp_pg_table
	.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
Lloh0:
	adrp	x8, _CHIP_KAVERI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHIP_KAVERI@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	mov	w8, #4
	cinc	w23, w8, eq
	ldr	x24, [x0, #56]
	cbz	x24, LBB0_25
; %bb.1:
	mov	x19, x0
	mov	w25, #0
	mov	w26, #0
Lloh3:
	adrp	x28, lJTI0_0@PAGE
Lloh4:
	add	x28, x28, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w20, w25
	add	w26, w26, #1
	cmp	w26, w23
	b.eq	LBB0_25
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w26, #3
	b.hi	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, w26
	adr	x9, LBB0_6
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	b	LBB0_15
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w26, #2
	b.eq	LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w26, #1
	b.eq	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w26, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	b	LBB0_20
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #24]
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #40]
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x27, [x8]
	ldr	w0, [x27, #8]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w0, [x27, #4]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	w0, [x27]
	bl	_le32_to_cpu
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x27, w21, sxtw
	mov	w21, w20
	add	x27, x24, w25, sxtw #2
	add	x22, x8, w22, sxtw #2
LBB0_17:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x22], #4
	bl	_le32_to_cpu
	bl	_cpu_to_le32
	str	w0, [x27], #4
	subs	x21, x21, #1
	b.ne	LBB0_17
	b	LBB0_2
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #24]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh5:
	adrp	x9, _CP_ME_TABLE_OFFSET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CP_ME_TABLE_OFFSET@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
Lloh7:
	adrp	x9, _CP_MEC_TABLE_OFFSET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CP_MEC_TABLE_OFFSET@GOTPAGEOFF]
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh9:
	adrp	x10, _CP_ME_TABLE_SIZE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CP_ME_TABLE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x10]
	cmp	w20, #1
	b.lt	LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x8]
	ldrsw	x9, [x9]
	add	x21, x24, w25, sxtw #2
	add	x22, x8, x9, lsl #2
	mov	x27, x20
LBB0_24:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x22], #4
	bl	_be32_to_cpu
	bl	_cpu_to_le32
	str	w0, [x21], #4
	subs	x27, x27, #1
	b.ne	LBB0_24
	b	LBB0_2
LBB0_25:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
                                        ; -- End function
	.comm	_CHIP_KAVERI,8,3                ; @CHIP_KAVERI
	.comm	_CP_ME_TABLE_SIZE,4,2           ; @CP_ME_TABLE_SIZE
	.comm	_CP_ME_TABLE_OFFSET,4,2         ; @CP_ME_TABLE_OFFSET
	.comm	_CP_MEC_TABLE_OFFSET,4,2        ; @CP_MEC_TABLE_OFFSET
.subsections_via_symbols
