	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function log_sample
_log_sample:                            ## @log_sample
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	8(%rdi)
	movq	%rsi, %r15
	movq	_ESCAPE_CODE@GOTPCREL(%rip), %rsi
	cmpq	%r15, (%rsi)
	jne	LBB0_3
## %bb.1:
	addq	$4, %rbx
	jmp	LBB0_2
LBB0_3:
	movq	%r8, %r14
	testq	%r9, %r9
	cmovneq	%r9, %rax
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	movq	%rax, %rcx
	callq	_op_add_code
	testq	%rax, %rax
	jne	LBB0_2
## %bb.4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_op_add_sample
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	incl	(%rbx)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$1, %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_ESCAPE_CODE,8,3                ## @ESCAPE_CODE
	.no_dead_strip	_log_sample
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function log_sample
_log_sample:                            ; @log_sample
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x0, #8]
	add	w9, w9, #1
	str	w9, [x0, #8]
Lloh3:
	adrp	x9, _ESCAPE_CODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ESCAPE_CODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x1
	b.ne	LBB0_2
; %bb.1:
	add	x19, x19, #4
	b	LBB0_4
LBB0_2:
	mov	x20, x4
	mov	x21, x1
	cmp	x5, #0
	csel	x8, x8, x5, eq
	mov	x0, x19
	mov	x1, x2
	mov	x2, x3
	mov	x3, x8
	bl	_op_add_code
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_op_add_sample
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #0
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #1
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_ESCAPE_CODE,8,3                ; @ESCAPE_CODE
	.no_dead_strip	_log_sample
.subsections_via_symbols
