	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cond_write_list                ## -- Begin function cond_write_list
	.p2align	4, 0x90
_cond_write_list:                       ## @cond_write_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%edi, %edi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rdi
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	callq	_cpu_to_le32
	movl	%eax, -28(%rbp)
	leaq	-28(%rbp), %rdi
	movl	$8, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_put_entry
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_cond_write_node
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
## %bb.7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_cond_write_list                ; -- Begin function cond_write_list
	.p2align	2
_cond_write_list:                       ; @cond_write_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, #0
	cbz	x1, LBB0_3
; %bb.1:
	mov	x8, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x0, #1
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
LBB0_3:
	bl	_cpu_to_le32
	str	w0, [sp, #12]
	add	x0, sp, #12
	mov	w1, #8
	mov	w2, #1
	mov	x3, x19
	bl	_put_entry
	cbnz	w0, LBB0_8
; %bb.4:
	cbz	x20, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_cond_write_node
	cbnz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x20]
	cbnz	x20, LBB0_5
; %bb.7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
