	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_cmd_describe               ## -- Begin function vmw_cmd_describe
	.p2align	4, 0x90
_vmw_cmd_describe:                      ## @vmw_cmd_describe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_SVGA_CMD_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_4
## %bb.1:
	addq	$-128, %rax
	cmpq	$3, %rax
	ja	LBB0_6
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	addq	$16, %rax
	movq	%rax, (%rsi)
	movq	8(%rdi), %rcx
	movq	_SVGA_3D_CMD_MAX@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rcx
	jae	LBB0_7
## %bb.5:
	movq	_SVGA_3D_CMD_BASE@GOTPCREL(%rip), %rax
	subq	(%rax), %rcx
	movq	_vmw_cmd_entries@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	movq	%rax, (%rdx)
	jmp	LBB0_12
LBB0_6:
	leaq	L_.str.4(%rip), %rax
	movq	%rax, (%rdx)
	movq	$0, (%rsi)
	xorl	%eax, %eax
LBB0_7:
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str.3(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.2(%rip), %rax
LBB0_11:
	movq	%rax, (%rdx)
	movq	$12, (%rsi)
LBB0_12:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_SVGA_CMD_MAX,8,3               ## @SVGA_CMD_MAX
	.comm	_SVGA_3D_CMD_MAX,8,3            ## @SVGA_3D_CMD_MAX
	.comm	_SVGA_3D_CMD_BASE,8,3           ## @SVGA_3D_CMD_BASE
	.comm	_vmw_cmd_entries,8,3            ## @vmw_cmd_entries
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SVGA_CMD_UPDATE"

L_.str.1:                               ## @.str.1
	.asciz	"SVGA_CMD_DEFINE_GMRFB"

L_.str.2:                               ## @.str.2
	.asciz	"SVGA_CMD_BLIT_GMRFB_TO_SCREEN"

L_.str.3:                               ## @.str.3
	.asciz	"SVGA_CMD_BLIT_SCREEN_TO_GMRFB"

L_.str.4:                               ## @.str.4
	.asciz	"UNKNOWN"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_cmd_describe               ; -- Begin function vmw_cmd_describe
	.p2align	2
_vmw_cmd_describe:                      ; @vmw_cmd_describe
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SVGA_CMD_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVGA_CMD_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_4
; %bb.1:
	sub	x8, x8, #128
	cmp	x8, #3
	b.hi	LBB0_7
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_11
LBB0_4:
	add	x8, x8, #16
	str	x8, [x1]
	ldr	x8, [x0, #8]
Lloh7:
	adrp	x9, _SVGA_3D_CMD_MAX@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SVGA_3D_CMD_MAX@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_6
; %bb.5:
Lloh10:
	adrp	x9, _SVGA_3D_CMD_BASE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SVGA_3D_CMD_BASE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, _vmw_cmd_entries@GOTPAGE
Lloh14:
	ldr	x10, [x10, _vmw_cmd_entries@GOTPAGEOFF]
	sub	x8, x8, x9
Lloh15:
	ldr	x9, [x10]
	ldr	x8, [x9, x8, lsl #3]
	str	x8, [x2]
	mov	w0, #1
	ret
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	mov	w0, #0
Lloh16:
	adrp	x8, l_.str.4@PAGE
Lloh17:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [x2]
	str	xzr, [x1]
	ret
LBB0_8:
Lloh18:
	adrp	x8, l_.str.1@PAGE
Lloh19:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh20:
	adrp	x8, l_.str.3@PAGE
Lloh21:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh22:
	adrp	x8, l_.str.2@PAGE
Lloh23:
	add	x8, x8, l_.str.2@PAGEOFF
LBB0_11:
	str	x8, [x2]
	mov	w8, #12
	str	x8, [x1]
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_SVGA_CMD_MAX,8,3               ; @SVGA_CMD_MAX
	.comm	_SVGA_3D_CMD_MAX,8,3            ; @SVGA_3D_CMD_MAX
	.comm	_SVGA_3D_CMD_BASE,8,3           ; @SVGA_3D_CMD_BASE
	.comm	_vmw_cmd_entries,8,3            ; @vmw_cmd_entries
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SVGA_CMD_UPDATE"

l_.str.1:                               ; @.str.1
	.asciz	"SVGA_CMD_DEFINE_GMRFB"

l_.str.2:                               ; @.str.2
	.asciz	"SVGA_CMD_BLIT_GMRFB_TO_SCREEN"

l_.str.3:                               ; @.str.3
	.asciz	"SVGA_CMD_BLIT_SCREEN_TO_GMRFB"

l_.str.4:                               ; @.str.4
	.asciz	"UNKNOWN"

.subsections_via_symbols
