	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_gvt_update_vgpu_types
_intel_gvt_update_vgpu_types:           ## @intel_gvt_update_vgpu_types
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_gvt_aperture_sz
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_HOST_LOW_GM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	addl	20(%r13), %r14d
	movq	%r13, %rdi
	callq	_gvt_hidden_sz
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_HOST_HIGH_GM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	24(%r13), %ebx
	movq	%r13, %rdi
	callq	_gvt_fence_sz
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	movl	%eax, %r12d
	subl	%r14d, -48(%rbp)                ## 4-byte Folded Spill
	subl	%ebx, -44(%rbp)                 ## 4-byte Folded Spill
	movq	_HOST_FENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	16(%r13), %eax
	subl	%eax, %r12d
	movl	$8, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rcx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	xorl	%edx, %edx
	divl	-8(%rcx,%r15)
	movl	%eax, %edi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	xorl	%edx, %edx
	divl	-4(%rcx,%r15)
	movl	%eax, %esi
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	(%rcx,%r15)
	movl	%eax, %r14d
	callq	_min
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_min
	movq	8(%r13), %rcx
	movl	%eax, 4(%rcx,%r15)
	movl	8(%rcx,%r15), %edx
	movl	-8(%rcx,%r15), %r8d
	movl	-4(%rcx,%r15), %r9d
	movl	(%rcx,%r15), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	callq	_gvt_dbg_core
	incq	%rbx
	movslq	(%r13), %rax
	addq	$20, %r15
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_LOW_GM_SIZE,4,2           ## @HOST_LOW_GM_SIZE
	.comm	_HOST_HIGH_GM_SIZE,4,2          ## @HOST_HIGH_GM_SIZE
	.comm	_HOST_FENCE,4,2                 ## @HOST_FENCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"update type[%d]: %s avail %u low %u high %u fence %u\n"

	.no_dead_strip	_intel_gvt_update_vgpu_types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_gvt_update_vgpu_types
_intel_gvt_update_vgpu_types:           ; @intel_gvt_update_vgpu_types
	.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
	mov	x19, x0
	bl	_gvt_aperture_sz
	mov	x21, x0
Lloh0:
	adrp	x8, _HOST_LOW_GM_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_LOW_GM_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	ldr	w25, [x19, #20]
	mov	x0, x19
	bl	_gvt_hidden_sz
	mov	x22, x0
Lloh3:
	adrp	x8, _HOST_HIGH_GM_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HOST_HIGH_GM_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	ldr	w27, [x19, #24]
	mov	x0, x19
	bl	_gvt_fence_sz
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x20, #0
	add	w8, w24, w25
	sub	w24, w21, w8
	add	w8, w26, w27
	sub	w25, w22, w8
Lloh6:
	adrp	x8, _HOST_FENCE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HOST_FENCE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	add	w8, w8, w9
	sub	w26, w0, w8
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	ldp	w9, w10, [x8]
	udiv	w0, w24, w9
	udiv	w1, w25, w10
	ldr	w8, [x8, #8]
	udiv	w22, w26, w8
	bl	_min
	mov	x1, x22
	bl	_min
	mov	x3, x0
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	str	w0, [x8, #12]
	ldr	w2, [x8, #16]
	ldp	w4, w5, [x8]
	ldr	w6, [x8, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_gvt_dbg_core
	add	x20, x20, #1
	ldrsw	x8, [x19]
	add	x23, x23, #20
	cmp	x20, x8
	b.lt	LBB0_2
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_LOW_GM_SIZE,4,2           ; @HOST_LOW_GM_SIZE
	.comm	_HOST_HIGH_GM_SIZE,4,2          ; @HOST_HIGH_GM_SIZE
	.comm	_HOST_FENCE,4,2                 ; @HOST_FENCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"update type[%d]: %s avail %u low %u high %u fence %u\n"

	.no_dead_strip	_intel_gvt_update_vgpu_types
.subsections_via_symbols
