	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm_map_process_v9
_pm_map_process_v9:                     ## @pm_map_process_v9
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	(%rdx), %r14d
	xorl	%r12d, %r12d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$112, %edx
	callq	_memset
	movq	_IT_MAP_PROCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$112, %esi
	callq	_pm_build_pm4_header
	movl	%eax, 108(%rbx)
	movq	32(%r15), %rax
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 96(%rbx)
	movl	$1, 100(%rbx)
	movq	48(%r15), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 104(%rbx)
	movl	4(%r15), %ecx
	movl	%ecx, %edx
	andl	$63, %edx
	shrl	$6, %ecx
	andl	$15, %ecx
	movl	%edx, 72(%rbx)
	movl	%ecx, 76(%rbx)
	movl	44(%r15), %ecx
	movl	%ecx, 92(%rbx)
	movl	40(%r15), %ecx
	movl	%ecx, 88(%rbx)
	movl	$1, 80(%rbx)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	28(%r15), %r12d
LBB0_2:
	movl	%r12d, 84(%rbx)
	movl	24(%r15), %eax
	movl	%eax, 68(%rbx)
	movl	20(%r15), %eax
	movl	%eax, 64(%rbx)
	movl	8(%r15), %edi
	sarl	$8, %edi
	callq	_lower_32_bits
	movq	%rax, 56(%rbx)
	movl	8(%r15), %edi
	sarl	$8, %edi
	callq	_upper_32_bits
	movq	%rax, 48(%rbx)
	movl	12(%r15), %edi
	sarl	$8, %edi
	callq	_lower_32_bits
	movq	%rax, 40(%rbx)
	movl	12(%r15), %edi
	sarl	$8, %edi
	callq	_upper_32_bits
	movq	%rax, 32(%rbx)
	movl	16(%r15), %edi
	callq	_lower_32_bits
	movq	%rax, 24(%rbx)
	movl	16(%r15), %edi
	callq	_upper_32_bits
	movq	%rax, 16(%rbx)
	movl	%r14d, %edi
	callq	_lower_32_bits
	movq	%rax, 8(%rbx)
	movl	%r14d, %edi
	callq	_upper_32_bits
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IT_MAP_PROCESS,4,2             ## @IT_MAP_PROCESS
	.no_dead_strip	_pm_map_process_v9
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm_map_process_v9
_pm_map_process_v9:                     ; @pm_map_process_v9
	.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	x21, x2
	mov	x19, x1
	ldr	w20, [x2]
	mov	x0, x1
	mov	w1, #0
	mov	w2, #112
	bl	_memset
Lloh0:
	adrp	x8, _IT_MAP_PROCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IT_MAP_PROCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #112
	bl	_pm_build_pm4_header
	mov	w8, #0
	ldr	x9, [x21, #32]
	cmp	x9, #0
	cset	w10, ne
	mov	w11, #1
	stp	w10, w11, [x19, #96]
	ldr	x10, [x21, #48]
	ldr	x10, [x10]
	ldr	w10, [x10]
	stp	w10, w0, [x19, #104]
	ldr	w10, [x21, #4]
	and	w12, w10, #0x3f
	ubfx	w10, w10, #6, #4
	stp	w12, w10, [x19, #72]
	ldr	d0, [x21, #40]
	str	d0, [x19, #88]
	str	w11, [x19, #80]
	cbnz	x9, LBB0_2
; %bb.1:
	ldr	w8, [x21, #28]
LBB0_2:
	str	w8, [x19, #84]
	ldur	d0, [x21, #20]
	str	d0, [x19, #64]
	ldr	w8, [x21, #8]
	asr	w0, w8, #8
	bl	_lower_32_bits
	str	x0, [x19, #56]
	ldr	w8, [x21, #8]
	asr	w0, w8, #8
	bl	_upper_32_bits
	str	x0, [x19, #48]
	ldr	w8, [x21, #12]
	asr	w0, w8, #8
	bl	_lower_32_bits
	str	x0, [x19, #40]
	ldr	w8, [x21, #12]
	asr	w0, w8, #8
	bl	_upper_32_bits
	str	x0, [x19, #32]
	ldr	w0, [x21, #16]
	bl	_lower_32_bits
	str	x0, [x19, #24]
	ldr	w0, [x21, #16]
	bl	_upper_32_bits
	str	x0, [x19, #16]
	mov	x0, x20
	bl	_lower_32_bits
	str	x0, [x19, #8]
	mov	x0, x20
	bl	_upper_32_bits
	str	x0, [x19]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IT_MAP_PROCESS,4,2             ; @IT_MAP_PROCESS
	.no_dead_strip	_pm_map_process_v9
.subsections_via_symbols
