	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diva_data_q_ack_segment4write  ## -- Begin function diva_data_q_ack_segment4write
	.p2align	4, 0x90
_diva_data_q_ack_segment4write:         ## @diva_data_q_ack_segment4write
	.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, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movl	%esi, (%rax,%rcx,4)
	incl	32(%rdi)
	incq	%rcx
	xorl	%eax, %eax
	cmpq	16(%rdi), %rcx
	cmovbq	%rcx, %rax
	movq	%rax, 8(%rdi)
	movq	$0, 24(%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_segment4write  ; -- Begin function diva_data_q_ack_segment4write
	.p2align	2
_diva_data_q_ack_segment4write:         ; @diva_data_q_ack_segment4write
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x8, x9, [x0]
	str	w1, [x8, x9, lsl #2]
	ldr	w8, [x0, #32]
	add	w8, w8, #1
	str	w8, [x0, #32]
	add	x8, x9, #1
	ldr	x10, [x0, #16]
	cmp	x8, x10
	csinc	x8, xzr, x9, hs
	str	x8, [x0, #8]
	str	xzr, [x0, #24]
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
