	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_binding_state_alloc        ## -- Begin function vmw_binding_state_alloc
	.p2align	4, 0x90
_vmw_binding_state_alloc:               ## @vmw_binding_state_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	callq	_vmw_mem_glob
	leaq	-24(%rbp), %rdx
	movl	%eax, %edi
	movl	$16, %esi
	callq	_ttm_mem_global_alloc
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %edi
LBB0_2:
	callq	_ERR_PTR
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_3:
	movl	$16, %edi
	callq	_vzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%r14, 8(%rax)
	movq	%rax, %rdi
	callq	_INIT_LIST_HEAD
LBB0_6:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_vmw_mem_glob
	movl	%eax, %edi
	movl	$16, %esi
	callq	_ttm_mem_global_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_binding_state_alloc        ; -- Begin function vmw_binding_state_alloc
	.p2align	2
_vmw_binding_state_alloc:               ; @vmw_binding_state_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [sp, #8]
	bl	_vmw_mem_glob
	add	x2, sp, #8
	mov	w1, #16
	bl	_ttm_mem_global_alloc
	cbz	w0, LBB0_2
LBB0_1:
	bl	_ERR_PTR
	mov	x20, x0
	b	LBB0_4
LBB0_2:
	mov	w0, #16
	bl	_vzalloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	str	x19, [x0, #8]
	bl	_INIT_LIST_HEAD
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	mov	x0, x19
	bl	_vmw_mem_glob
	mov	w1, #16
	bl	_ttm_mem_global_free
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
