	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oprofile_put_buff              ## -- Begin function oprofile_put_buff
	.p2align	4, 0x90
_oprofile_put_buff:                     ## @oprofile_put_buff
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	_buffer_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	cmpl	%r15d, %ebx
	je	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movq	(%r12,%rax,8), %rdi
	callq	_add_event_entry
	cmpl	%r14d, %ebx
	cmovael	%r13d, %ebx
	cmpl	%r15d, %ebx
	jne	LBB0_2
LBB0_3:
	movq	_buffer_mutex@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_buffer_mutex,4,2               ## @buffer_mutex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oprofile_put_buff              ; -- Begin function oprofile_put_buff
	.p2align	2
_oprofile_put_buff:                     ; @oprofile_put_buff
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x0, _buffer_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _buffer_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	cmp	w21, w20
	b.eq	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w21, #1
	ldr	x0, [x22, w21, sxtw #3]
	bl	_add_event_entry
	cmp	w23, w19
	csinc	w21, wzr, w21, hs
	cmp	w21, w20
	b.ne	LBB0_1
LBB0_2:
Lloh2:
	adrp	x0, _buffer_mutex@GOTPAGE
Lloh3:
	ldr	x0, [x0, _buffer_mutex@GOTPAGEOFF]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_buffer_mutex,4,2               ; @buffer_mutex
.subsections_via_symbols
