	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_diva_data_q_get_segment4write  ## -- Begin function diva_data_q_get_segment4write
	.p2align	4, 0x90
_diva_data_q_get_segment4write:         ## @diva_data_q_get_segment4write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	jge	LBB0_1
## %bb.3:
	movl	$1, (%rdi)
	movq	24(%rdi), %rax
	movq	32(%rdi), %rcx
	movq	(%rax,%rcx,8), %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	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_get_segment4write  ; -- Begin function diva_data_q_get_segment4write
	.p2align	2
_diva_data_q_get_segment4write:         ; @diva_data_q_get_segment4write
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbnz	w8, LBB0_3
; %bb.1:
	ldp	x8, x9, [x0, #8]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x0]
	ldp	x8, x9, [x0, #24]
	ldr	x0, [x8, x9, lsl #3]
	ret
LBB0_3:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
