	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm_release_mem_vi
_pm_release_mem_vi:                     ## @pm_release_mem_vi
	.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, %rbx
	movl	%edi, %r14d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_IT_RELEASE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$64, %esi
	callq	_pm_build_pm4_header
	movl	%eax, 56(%rbx)
	movq	_CACHE_FLUSH_AND_INV_TS_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_event_index___release_mem__end_of_pipe@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 24(%rbx)
	movq	_cache_policy___release_mem__lru@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	$0, 32(%rbx)
	movq	_data_sel___release_mem__send_32_bit_low@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_int_sel___release_mem__send_interrupt_after_write_confirm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	%r14d, %eax
	shrl	$2, %eax
	movl	%eax, 12(%rbx)
	movl	%r14d, %edi
	callq	_upper_32_bits
	movl	%eax, 8(%rbx)
	movq	$0, (%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IT_RELEASE_MEM,4,2             ## @IT_RELEASE_MEM
	.comm	_CACHE_FLUSH_AND_INV_TS_EVENT,4,2 ## @CACHE_FLUSH_AND_INV_TS_EVENT
	.comm	_event_index___release_mem__end_of_pipe,4,2 ## @event_index___release_mem__end_of_pipe
	.comm	_cache_policy___release_mem__lru,4,2 ## @cache_policy___release_mem__lru
	.comm	_data_sel___release_mem__send_32_bit_low,4,2 ## @data_sel___release_mem__send_32_bit_low
	.comm	_int_sel___release_mem__send_interrupt_after_write_confirm,4,2 ## @int_sel___release_mem__send_interrupt_after_write_confirm
	.no_dead_strip	_pm_release_mem_vi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm_release_mem_vi
_pm_release_mem_vi:                     ; @pm_release_mem_vi
	.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
	mov	x0, x1
	mov	w1, #0
	mov	w2, #64
	bl	_memset
Lloh0:
	adrp	x8, _IT_RELEASE_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IT_RELEASE_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #64
	bl	_pm_build_pm4_header
Lloh3:
	adrp	x8, _CACHE_FLUSH_AND_INV_TS_EVENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CACHE_FLUSH_AND_INV_TS_EVENT@GOTPAGEOFF]
	str	w0, [x19, #56]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #48]
Lloh6:
	adrp	x8, _event_index___release_mem__end_of_pipe@GOTPAGE
Lloh7:
	ldr	x8, [x8, _event_index___release_mem__end_of_pipe@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	movi.2s	v0, #1
	str	d0, [x19, #24]
Lloh9:
	adrp	x9, _cache_policy___release_mem__lru@GOTPAGE
Lloh10:
	ldr	x9, [x9, _cache_policy___release_mem__lru@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
	str	xzr, [x19, #32]
Lloh12:
	adrp	x8, _data_sel___release_mem__send_32_bit_low@GOTPAGE
Lloh13:
	ldr	x8, [x8, _data_sel___release_mem__send_32_bit_low@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #20]
Lloh15:
	adrp	x8, _int_sel___release_mem__send_interrupt_after_write_confirm@GOTPAGE
Lloh16:
	ldr	x8, [x8, _int_sel___release_mem__send_interrupt_after_write_confirm@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	lsr	w9, w20, #2
	stp	w9, w8, [x19, #12]
	mov	x0, x20
	bl	_upper_32_bits
	str	w0, [x19, #8]
	str	xzr, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IT_RELEASE_MEM,4,2             ; @IT_RELEASE_MEM
	.comm	_CACHE_FLUSH_AND_INV_TS_EVENT,4,2 ; @CACHE_FLUSH_AND_INV_TS_EVENT
	.comm	_event_index___release_mem__end_of_pipe,4,2 ; @event_index___release_mem__end_of_pipe
	.comm	_cache_policy___release_mem__lru,4,2 ; @cache_policy___release_mem__lru
	.comm	_data_sel___release_mem__send_32_bit_low,4,2 ; @data_sel___release_mem__send_32_bit_low
	.comm	_int_sel___release_mem__send_interrupt_after_write_confirm,4,2 ; @int_sel___release_mem__send_interrupt_after_write_confirm
	.no_dead_strip	_pm_release_mem_vi
.subsections_via_symbols
