	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diva_data_q_ack_segment4read   ## -- Begin function diva_data_q_ack_segment4read
	.p2align	4, 0x90
_diva_data_q_ack_segment4read:          ## @diva_data_q_ack_segment4read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	(%rdi), %rax
	movq	24(%rdi), %rcx
	movq	$0, (%rcx,%rax,8)
	decq	16(%rdi)
	movq	(%rdi), %rax
	incq	%rax
	xorl	%ecx, %ecx
	cmpq	8(%rdi), %rax
	cmovbq	%rax, %rcx
	movq	%rcx, (%rdi)
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	_diva_data_q_ack_segment4read   ; -- Begin function diva_data_q_ack_segment4read
	.p2align	2
_diva_data_q_ack_segment4read:          ; @diva_data_q_ack_segment4read
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x0, #24]
	ldr	x9, [x0]
	str	xzr, [x8, x9, lsl #3]
	ldp	x9, x8, [x0, #8]
	sub	x8, x8, #1
	str	x8, [x0, #16]
	ldr	x8, [x0]
	add	x10, x8, #1
	cmp	x10, x9
	csinc	x8, xzr, x8, hs
	str	x8, [x0]
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
