	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_fence_get_stub             ## -- Begin function dma_fence_get_stub
	.p2align	4, 0x90
_dma_fence_get_stub:                    ## @dma_fence_get_stub
	.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	_dma_fence_stub_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	_dma_fence_stub@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_dma_fence_stub@GOTPCREL(%rip), %rbx
	movq	_dma_fence_stub_ops@GOTPCREL(%rip), %rsi
	movq	_dma_fence_stub_lock@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_dma_fence_init
	movq	%rbx, %rdi
	callq	_dma_fence_signal_locked
LBB0_2:
	movq	_dma_fence_stub_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	_dma_fence_stub@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dma_fence_get                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dma_fence_stub_lock,4,2        ## @dma_fence_stub_lock
	.comm	_dma_fence_stub,4,2             ## @dma_fence_stub
	.comm	_dma_fence_stub_ops,4,2         ## @dma_fence_stub_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_fence_get_stub             ; -- Begin function dma_fence_get_stub
	.p2align	2
_dma_fence_get_stub:                    ; @dma_fence_get_stub
	.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
Lloh0:
	adrp	x0, _dma_fence_stub_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _dma_fence_stub_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh2:
	adrp	x8, _dma_fence_stub@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dma_fence_stub@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh5:
	adrp	x19, _dma_fence_stub@GOTPAGE
Lloh6:
	ldr	x19, [x19, _dma_fence_stub@GOTPAGEOFF]
Lloh7:
	adrp	x1, _dma_fence_stub_ops@GOTPAGE
Lloh8:
	ldr	x1, [x1, _dma_fence_stub_ops@GOTPAGEOFF]
Lloh9:
	adrp	x2, _dma_fence_stub_lock@GOTPAGE
Lloh10:
	ldr	x2, [x2, _dma_fence_stub_lock@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	bl	_dma_fence_init
	mov	x0, x19
	bl	_dma_fence_signal_locked
LBB0_2:
Lloh11:
	adrp	x0, _dma_fence_stub_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _dma_fence_stub_lock@GOTPAGEOFF]
	bl	_spin_unlock
Lloh13:
	adrp	x0, _dma_fence_stub@GOTPAGE
Lloh14:
	ldr	x0, [x0, _dma_fence_stub@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dma_fence_get
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_dma_fence_stub_lock,4,2        ; @dma_fence_stub_lock
	.comm	_dma_fence_stub,4,2             ; @dma_fence_stub
	.comm	_dma_fence_stub_ops,4,2         ; @dma_fence_stub_ops
.subsections_via_symbols
