	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_execbuf_res_size
_vmw_execbuf_res_size:                  ## @vmw_execbuf_res_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_vmw_res_dx_context@GOTPCREL(%rip), %rcx
	movl	$4, %eax
	cmpl	%esi, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_vmw_res_context@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%esi, (%rcx)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpq	$0, (%rdi)
	setne	%al
	shll	$2, %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vmw_res_dx_context,4,2         ## @vmw_res_dx_context
	.comm	_vmw_res_context,4,2            ## @vmw_res_context
	.no_dead_strip	_vmw_execbuf_res_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_execbuf_res_size
_vmw_execbuf_res_size:                  ; @vmw_execbuf_res_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _vmw_res_dx_context@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vmw_res_dx_context@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #4
	ret
LBB0_2:
Lloh3:
	adrp	x8, _vmw_res_context@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vmw_res_context@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w8, ne
	lsl	w0, w8, #2
	ret
LBB0_4:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_vmw_res_dx_context,4,2         ; @vmw_res_dx_context
	.comm	_vmw_res_context,4,2            ; @vmw_res_context
	.no_dead_strip	_vmw_execbuf_res_size
.subsections_via_symbols
