	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_view_cmd_to_type
_vmw_view_cmd_to_type:                  ## @vmw_view_cmd_to_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SVGA_3D_CMD_DX_DEFINE_SHADERRESOURCE_VIEW@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	movl	%edi, %eax
	shrl	$31, %eax
	addl	%edi, %eax
	sarl	%eax
	movq	_vmw_view_max@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	cmovgel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVGA_3D_CMD_DX_DEFINE_SHADERRESOURCE_VIEW,4,2 ## @SVGA_3D_CMD_DX_DEFINE_SHADERRESOURCE_VIEW
	.comm	_vmw_view_max,4,2               ## @vmw_view_max
	.no_dead_strip	_vmw_view_cmd_to_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_view_cmd_to_type
_vmw_view_cmd_to_type:                  ; @vmw_view_cmd_to_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SVGA_3D_CMD_DX_DEFINE_SHADERRESOURCE_VIEW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVGA_3D_CMD_DX_DEFINE_SHADERRESOURCE_VIEW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w0, w8
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
Lloh3:
	adrp	x9, _vmw_view_max@GOTPAGE
Lloh4:
	ldr	x9, [x9, _vmw_view_max@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w0, w8, w9, lt
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVGA_3D_CMD_DX_DEFINE_SHADERRESOURCE_VIEW,4,2 ; @SVGA_3D_CMD_DX_DEFINE_SHADERRESOURCE_VIEW
	.comm	_vmw_view_max,4,2               ; @vmw_view_max
	.no_dead_strip	_vmw_view_cmd_to_type
.subsections_via_symbols
