	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_dumb_create                ## -- Begin function vmw_dumb_create
	.p2align	4, 0x90
_vmw_dumb_create:                       ## @vmw_dumb_create
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_vmw_priv
	movl	8(%rbx), %ecx
	leal	7(%rcx), %edx
	addl	$14, %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	movq	%rax, %r14
	sarl	$3, %ecx
	imull	4(%rbx), %ecx
	movl	%ecx, (%rbx)
	imull	16(%rbx), %ecx
	movl	%ecx, 12(%rbx)
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_ttm_read_lock
	movl	%eax, %r12d
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_vmw_fpriv
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	addq	$20, %rbx
	movq	$0, (%rsp)
	leaq	-40(%rbp), %r9
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_vmw_user_bo_alloc
	movl	%eax, %r12d
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	-40(%rbp), %rdi
	callq	_vmw_bo_unreference
LBB0_3:
	movq	%r14, %rdi
	callq	_ttm_read_unlock
LBB0_4:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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	_vmw_dumb_create                ; -- Begin function vmw_dumb_create
	.p2align	2
_vmw_dumb_create:                       ; @vmw_dumb_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x0
	mov	x0, x1
	bl	_vmw_priv
	mov	x19, x0
	ldp	w8, w9, [x20, #4]
	add	w10, w9, #7
	add	w9, w9, #14
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #3
	mul	w8, w9, w8
	str	w8, [x20]
	ldr	w9, [x20, #16]
	mul	w8, w8, w9
	str	w8, [x20, #12]
	mov	w1, #1
	bl	_ttm_read_lock
	mov	x22, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_4
; %bb.1:
	mov	x0, x21
	bl	_vmw_fpriv
	ldr	w1, [x0]
	ldr	w2, [x20, #12]
	add	x4, x20, #20
	add	x5, sp, #8
	mov	x0, x19
	mov	w3, #0
	mov	x6, #0
	bl	_vmw_user_bo_alloc
	mov	x22, x0
	cmp	w0, #0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.2:
	add	x0, sp, #8
	bl	_vmw_bo_unreference
LBB0_3:
	mov	x0, x19
	bl	_ttm_read_unlock
LBB0_4:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
