	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_cmdbuf_ctx_add
_vmw_cmdbuf_ctx_add:                    ## @vmw_cmdbuf_ctx_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rsi), %rax
	movq	_SVGA_CB_FLAG_DX_CONTEXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	$0, 8(%rax)
LBB0_2:
	movq	%rdx, (%rsi)
	addq	$8, %rsi
	shlq	$2, %rdx
	addq	(%rbx), %rdx
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_list_add_tail
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_vmw_cmdbuf_man_process         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVGA_CB_FLAG_DX_CONTEXT,4,2    ## @SVGA_CB_FLAG_DX_CONTEXT
	.no_dead_strip	_vmw_cmdbuf_ctx_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_cmdbuf_ctx_add
_vmw_cmdbuf_ctx_add:                    ; @vmw_cmdbuf_ctx_add
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
	ldr	x9, [x1, #16]
	ldr	w10, [x9]
Lloh0:
	adrp	x11, _SVGA_CB_FLAG_DX_CONTEXT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _SVGA_CB_FLAG_DX_CONTEXT@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x9, #8]
LBB0_2:
	str	x2, [x8], #8
	ldr	x9, [x19]
	add	x1, x9, x2, lsl #2
	mov	x0, x8
	bl	_list_add_tail
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vmw_cmdbuf_man_process
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVGA_CB_FLAG_DX_CONTEXT,4,2    ; @SVGA_CB_FLAG_DX_CONTEXT
	.no_dead_strip	_vmw_cmdbuf_ctx_add
.subsections_via_symbols
