	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oprofile_start                 ## -- Begin function oprofile_start
	.p2align	4, 0x90
_oprofile_start:                        ## @oprofile_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_start_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_is_setup@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_oprofile_started@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	movl	$0, %ebx
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_oprofile_reset_stats
	movq	_oprofile_ops@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_start_switch_worker
	movl	$1, (%r14)
	xorl	%ebx, %ebx
LBB0_4:
	movq	_start_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_start_mutex,4,2                ## @start_mutex
	.comm	_is_setup,4,2                   ## @is_setup
	.comm	_oprofile_started,4,2           ## @oprofile_started
	.comm	_oprofile_ops,8,3               ## @oprofile_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_oprofile_start                 ; -- Begin function oprofile_start
	.p2align	2
_oprofile_start:                        ; @oprofile_start
	.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	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, _start_mutex@GOTPAGE
Lloh4:
	ldr	x0, [x0, _start_mutex@GOTPAGEOFF]
	bl	_mutex_lock
Lloh5:
	adrp	x8, _is_setup@GOTPAGE
Lloh6:
	ldr	x8, [x8, _is_setup@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
Lloh8:
	adrp	x20, _oprofile_started@GOTPAGE
Lloh9:
	ldr	x20, [x20, _oprofile_started@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w19, #0
	b	LBB0_6
LBB0_3:
	neg	w19, w19
	b	LBB0_6
LBB0_4:
	bl	_oprofile_reset_stats
Lloh10:
	adrp	x8, _oprofile_ops@GOTPAGE
Lloh11:
	ldr	x8, [x8, _oprofile_ops@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	blr	x8
	mov	x19, x0
	cbnz	w0, LBB0_6
; %bb.5:
	bl	_start_switch_worker
	mov	w8, #1
	str	w8, [x20]
LBB0_6:
Lloh13:
	adrp	x0, _start_mutex@GOTPAGE
Lloh14:
	ldr	x0, [x0, _start_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_start_mutex,4,2                ; @start_mutex
	.comm	_is_setup,4,2                   ; @is_setup
	.comm	_oprofile_started,4,2           ; @oprofile_started
	.comm	_oprofile_ops,8,3               ; @oprofile_ops
.subsections_via_symbols
