	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tmc_etb_get_sysfs_trace        ## -- Begin function tmc_etb_get_sysfs_trace
	.p2align	4, 0x90
_tmc_etb_get_sysfs_trace:               ## @tmc_etb_get_sysfs_trace
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	(%rdx,%rsi), %r8
	movq	(%rdi), %r9
	movq	%r9, %rax
	subq	%rsi, %rax
	cmpq	%r9, %r8
	cmovleq	%rdx, %rax
	testq	%rax, %rax
	jle	LBB0_2
## %bb.1:
	addq	8(%rdi), %rsi
	movq	%rsi, (%rcx)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tmc_etb_get_sysfs_trace        ; -- Begin function tmc_etb_get_sysfs_trace
	.p2align	2
_tmc_etb_get_sysfs_trace:               ; @tmc_etb_get_sysfs_trace
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	sub	x9, x8, x1
	add	x10, x2, x1
	cmp	x10, x8
	csel	x8, x9, x2, gt
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x9, [x0, #8]
	add	x9, x9, x1
	str	x9, [x3]
LBB0_2:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
