	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_qpd_cik
_update_qpd_cik:                        ## @update_qpd_cik
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_qpd_to_pdd
	movq	%rax, %r14
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_SH_MEM_ALIGNMENT_MODE_UNALIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ALIGNMENT_MODE
	movl	%eax, %r15d
	movq	_MTYPE_NONCACHED@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_DEFAULT_MTYPE
	movl	%eax, %r12d
	orl	%r15d, %r12d
	movl	(%r13), %edi
	callq	_APE1_MTYPE
	orl	%r12d, %eax
	movl	%eax, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
LBB0_2:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_get_sh_mem_bases_32
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_SHARED_BASE
	movq	_PTR32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_get_sh_mem_bases_nybble_64
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_compute_sh_mem_bases_64bit
	movq	_SH_MEM_CONFIG__PRIVATE_ATC__SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
LBB0_5:
	movl	%eax, 4(%rbx)
	orl	%edx, (%rbx)
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rsi
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_pr_debug
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SH_MEM_ALIGNMENT_MODE_UNALIGNED,4,2 ## @SH_MEM_ALIGNMENT_MODE_UNALIGNED
	.comm	_MTYPE_NONCACHED,4,2            ## @MTYPE_NONCACHED
	.comm	_PTR32,4,2                      ## @PTR32
	.comm	_SH_MEM_CONFIG__PRIVATE_ATC__SHIFT,4,2 ## @SH_MEM_CONFIG__PRIVATE_ATC__SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"is32bit process: %d sh_mem_bases nybble: 0x%X and register 0x%X\n"

	.no_dead_strip	_update_qpd_cik
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_qpd_cik
_update_qpd_cik:                        ; @update_qpd_cik
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x0, x1
	bl	_qpd_to_pdd
	mov	x20, x0
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SH_MEM_ALIGNMENT_MODE_UNALIGNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SH_MEM_ALIGNMENT_MODE_UNALIGNED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ALIGNMENT_MODE
	mov	x21, x0
Lloh3:
	adrp	x22, _MTYPE_NONCACHED@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MTYPE_NONCACHED@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_DEFAULT_MTYPE
	orr	w21, w0, w21
	ldr	w0, [x22]
	bl	_APE1_MTYPE
	orr	w8, w21, w0
	str	w8, [x19]
	stp	xzr, xzr, [x19, #16]
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_get_sh_mem_bases_32
	mov	x20, x0
	bl	_SHARED_BASE
	mov	x3, x0
Lloh5:
	adrp	x8, _PTR32@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PTR32@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_get_sh_mem_bases_nybble_64
	mov	x20, x0
	bl	_compute_sh_mem_bases_64bit
	mov	x3, x0
Lloh8:
	adrp	x8, _SH_MEM_CONFIG__PRIVATE_ATC__SHIFT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SH_MEM_CONFIG__PRIVATE_ATC__SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
LBB0_5:
	ldr	w9, [x19]
	orr	w8, w9, w8
	stp	w8, w3, [x19]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x1, [x8]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_debug
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SH_MEM_ALIGNMENT_MODE_UNALIGNED,4,2 ; @SH_MEM_ALIGNMENT_MODE_UNALIGNED
	.comm	_MTYPE_NONCACHED,4,2            ; @MTYPE_NONCACHED
	.comm	_PTR32,4,2                      ; @PTR32
	.comm	_SH_MEM_CONFIG__PRIVATE_ATC__SHIFT,4,2 ; @SH_MEM_CONFIG__PRIVATE_ATC__SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"is32bit process: %d sh_mem_bases nybble: 0x%X and register 0x%X\n"

	.no_dead_strip	_update_qpd_cik
.subsections_via_symbols
