	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_pipe_version
_put_pipe_version:                      ## @put_pipe_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_pipe_users@GOTPCREL(%rip), %rdi
	movq	_pipe_version_lock@GOTPCREL(%rip), %rsi
	callq	_atomic_dec_and_lock
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_pipe_version@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_pipe_version_lock@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pipe_users,4,2                 ## @pipe_users
	.comm	_pipe_version_lock,4,2          ## @pipe_version_lock
	.comm	_pipe_version,4,2               ## @pipe_version
	.no_dead_strip	_put_pipe_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_pipe_version
_put_pipe_version:                      ; @put_pipe_version
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _pipe_users@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pipe_users@GOTPAGEOFF]
Lloh2:
	adrp	x1, _pipe_version_lock@GOTPAGE
Lloh3:
	ldr	x1, [x1, _pipe_version_lock@GOTPAGEOFF]
	bl	_atomic_dec_and_lock
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _pipe_version@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pipe_version@GOTPAGEOFF]
	mov	w9, #-1
Lloh6:
	str	w9, [x8]
Lloh7:
	adrp	x0, _pipe_version_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _pipe_version_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_spin_unlock
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_pipe_users,4,2                 ; @pipe_users
	.comm	_pipe_version_lock,4,2          ; @pipe_version_lock
	.comm	_pipe_version,4,2               ; @pipe_version
	.no_dead_strip	_put_pipe_version
.subsections_via_symbols
