	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_gvt_create_vgpu          ## -- Begin function intel_gvt_create_vgpu
	.p2align	4, 0x90
_intel_gvt_create_vgpu:                 ## @intel_gvt_create_vgpu
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	movl	$1, -64(%rbp)
	movq	24(%rsi), %rdi
	movq	16(%rsi), %rbx
	movl	8(%rsi), %eax
	movl	%eax, -32(%rbp)
	movl	4(%rsi), %eax
	movl	%eax, -36(%rbp)
	movl	(%rsi), %eax
	movl	%eax, -40(%rbp)
	callq	_BYTES_TO_MB
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	callq	_BYTES_TO_MB
	movq	%rax, -56(%rbp)
	movq	%r14, %rdi
	callq	_mutex_lock
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	___intel_gvt_create_vgpu
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_intel_gvt_update_vgpu_types
LBB0_2:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rax
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	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	_intel_gvt_create_vgpu          ; -- Begin function intel_gvt_create_vgpu
	.p2align	2
_intel_gvt_create_vgpu:                 ; @intel_gvt_create_vgpu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	str	xzr, [sp, #40]
	mov	w8, #1
	str	w8, [sp]
	ldp	x20, x0, [x1, #16]
	ldr	w8, [x1, #8]
	str	w8, [sp, #32]
	ldr	d0, [x1]
	str	d0, [sp, #24]
	bl	_BYTES_TO_MB
	str	x0, [sp, #16]
	mov	x0, x20
	bl	_BYTES_TO_MB
	str	x0, [sp, #8]
	mov	x0, x19
	bl	_mutex_lock
	mov	x1, sp
	mov	x0, x19
	bl	___intel_gvt_create_vgpu
	mov	x20, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_intel_gvt_update_vgpu_types
LBB0_2:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
