	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function catu_sync_etr_buf
_catu_sync_etr_buf:                     ## @catu_sync_etr_buf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	40(%rdi), %rax
	movq	(%rax), %rax
	cmpl	$0, 32(%rdi)
	je	LBB0_1
## %bb.3:
	movq	24(%rdi), %rdx
	jmp	LBB0_4
LBB0_1:
	subq	%rsi, %rdx
	movq	%rdx, 8(%rdi)
	jge	LBB0_5
## %bb.2:
	addq	24(%rdi), %rdx
LBB0_4:
	movq	%rdx, 8(%rdi)
LBB0_5:
	subq	%rcx, %rsi
	movq	%rsi, 16(%rdi)
	movq	%rax, %rdi
	popq	%rbp
	jmp	_tmc_sg_table_sync_data_range   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_catu_sync_etr_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function catu_sync_etr_buf
_catu_sync_etr_buf:                     ; @catu_sync_etr_buf
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #40]
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	w10, [x0, #32]
	cbz	w10, LBB0_2
; %bb.1:
	ldr	x2, [x0, #24]
	b	LBB0_4
LBB0_2:
	subs	x2, x2, x1
	str	x2, [x0, #8]
	b.ge	LBB0_5
; %bb.3:
	ldr	x10, [x0, #24]
	add	x2, x10, x2
LBB0_4:
	str	x2, [x0, #8]
LBB0_5:
	sub	x1, x1, x9
	str	x1, [x0, #16]
	mov	x0, x8
	b	_tmc_sg_table_sync_data_range
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_catu_sync_etr_buf
.subsections_via_symbols
