	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function event_buffer_release
_event_buffer_release:                  ## @event_buffer_release
	.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	%rsi, %rbx
	xorl	%eax, %eax
	callq	_oprofile_stop
	xorl	%eax, %eax
	callq	_oprofile_shutdown
	movl	(%rbx), %edi
	callq	_dcookie_unregister
	movq	_buffer_pos@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_buffer_ready@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	_buffer_opened@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	callq	___clear_bit_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buffer_pos,8,3                 ## @buffer_pos
	.comm	_buffer_ready,4,2               ## @buffer_ready
	.comm	_buffer_opened,4,2              ## @buffer_opened
	.no_dead_strip	_event_buffer_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function event_buffer_release
_event_buffer_release:                  ; @event_buffer_release
	.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
	mov	x19, x1
	bl	_oprofile_stop
	bl	_oprofile_shutdown
	ldr	w0, [x19]
	bl	_dcookie_unregister
Lloh0:
	adrp	x8, _buffer_pos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _buffer_pos@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
Lloh3:
	adrp	x0, _buffer_ready@GOTPAGE
Lloh4:
	ldr	x0, [x0, _buffer_ready@GOTPAGEOFF]
	mov	w1, #0
	bl	_atomic_set
Lloh5:
	adrp	x1, _buffer_opened@GOTPAGE
Lloh6:
	ldr	x1, [x1, _buffer_opened@GOTPAGEOFF]
	mov	w0, #0
	bl	___clear_bit_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_buffer_pos,8,3                 ; @buffer_pos
	.comm	_buffer_ready,4,2               ; @buffer_ready
	.comm	_buffer_opened,4,2              ; @buffer_opened
	.no_dead_strip	_event_buffer_release
.subsections_via_symbols
