	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_fence_obj_init
_vmw_fence_obj_init:                    ## @vmw_fence_obj_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r8d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	16(%rsi), %rdi
	movl	16(%rbx), %ecx
	movq	_vmw_fence_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdx
	callq	_dma_fence_init
	leaq	12(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, (%r14)
	movq	%rbx, %rdi
	callq	_spin_lock
	movl	12(%rbx), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_3
LBB0_2:
	addq	$8, %r14
	leaq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
	incl	4(%rbx)
	xorl	%r14d, %r14d
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vmw_fence_ops,4,2              ## @vmw_fence_ops
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_vmw_fence_obj_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_fence_obj_init
_vmw_fence_obj_init:                    ; @vmw_fence_obj_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x3
	mov	x4, x2
	mov	x20, x1
	mov	x19, x0
	add	x0, x1, #16
	ldr	w3, [x19, #16]
Lloh0:
	adrp	x1, _vmw_fence_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _vmw_fence_ops@GOTPAGEOFF]
	mov	x2, x19
	bl	_dma_fence_init
	add	x0, x20, #12
	bl	_INIT_LIST_HEAD
	str	x21, [x20]
	mov	x0, x19
	bl	_spin_lock
	ldr	w0, [x19, #12]
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_3
LBB0_2:
	add	x0, x20, #8
	add	x1, x19, #8
	bl	_list_add_tail
	mov	w20, #0
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_vmw_fence_ops,4,2              ; @vmw_fence_ops
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_vmw_fence_obj_init
.subsections_via_symbols
