	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubbub2_init_vm_ctx            ## -- Begin function hubbub2_init_vm_ctx
	.p2align	4, 0x90
_hubbub2_init_vm_ctx:                   ## @hubbub2_init_vm_ctx
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	callq	_TO_DCN20_HUBBUB
	movq	%rax, %r15
	movl	(%rbx), %eax
	sarl	$12, %eax
	movl	%eax, -48(%rbp)
	movl	4(%rbx), %eax
	sarl	$12, %eax
	movl	%eax, -44(%rbp)
	movl	16(%rbx), %edi
	callq	_page_table_depth_to_hw
	movl	%eax, -32(%rbp)
	movl	12(%rbx), %edi
	callq	_page_table_block_size_to_hw
	movl	%eax, -36(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -40(%rbp)
	movslq	%r14d, %rdi
	shlq	$2, %rdi
	addq	(%r15), %rdi
	leaq	-48(%rbp), %rsi
	callq	_dcn20_vmid_setup
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubbub2_init_vm_ctx            ; -- Begin function hubbub2_init_vm_ctx
	.p2align	2
_hubbub2_init_vm_ctx:                   ; @hubbub2_init_vm_ctx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x1
	bl	_TO_DCN20_HUBBUB
	mov	x21, x0
	ldr	d0, [x20]
	sshr.2s	v0, v0, #12
	str	d0, [sp, #8]
	ldr	w0, [x20, #16]
	bl	_page_table_depth_to_hw
	str	w0, [sp, #24]
	ldr	w0, [x20, #12]
	bl	_page_table_block_size_to_hw
	ldr	w8, [x20, #8]
	stp	w8, w0, [sp, #16]
	ldr	x8, [x21]
	add	x0, x8, w19, sxtw #2
	add	x1, sp, #8
	bl	_dcn20_vmid_setup
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
