	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cond_write_av_list
_cond_write_av_list:                    ## @cond_write_av_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_cpu_to_le32
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rdi
	movl	$8, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_put_entry
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_4
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%r13d, %r13d
	testq	%rbx, %rbx
	je	LBB0_8
	.p2align	4, 0x90
## %bb.5:
	testq	%r12, %r12
	je	LBB0_8
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_avtab_write_item
	testl	%eax, %eax
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movl	%eax, %r13d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cond_write_av_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cond_write_av_list
_cond_write_av_list:                    ; @cond_write_av_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	x22, #0
	cbz	x1, LBB0_3
; %bb.1:
	mov	x8, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x22, #1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_2
LBB0_3:
	mov	x0, x22
	bl	_cpu_to_le32
	str	w0, [sp, #12]
	add	x0, sp, #12
	mov	w1, #8
	mov	w2, #1
	mov	x3, x19
	bl	_put_entry
	cbz	w0, LBB0_5
LBB0_4:
	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
LBB0_5:
	cbz	x22, LBB0_4
; %bb.6:
	cbz	x20, LBB0_4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x21
	mov	x2, x19
	bl	_avtab_write_item
	cbnz	w0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_7
; %bb.9:
	mov	w0, #0
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cond_write_av_list
.subsections_via_symbols
