	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cond_read_list                 ## -- Begin function cond_read_list
	.p2align	4, 0x90
_cond_read_list:                        ## @cond_read_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-44(%rbp), %rdi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	$4, %edx
	callq	_next_entry
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.1:
	movl	-44(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, %r14
	leaq	12(%r15), %rdi
	movl	8(%r15), %esi
	callq	_avtab_alloc
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:
	testq	%r14, %r14
	jle	LBB0_3
## %bb.4:
	movq	%r15, %r12
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_cond_read_node
	testl	%eax, %eax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%r15, %r15
	cmoveq	%r12, %r13
	movq	%r14, (%r13)
	incq	%r15
	xorl	%ebx, %ebx
	movq	%r14, %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	cmpq	%r15, %r14
	jne	LBB0_5
	jmp	LBB0_12
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_9:
	negl	%ebx
	jmp	LBB0_10
LBB0_7:
	movl	%eax, %ebx
LBB0_10:
	movq	%r12, %r15
LBB0_11:
	movq	(%r15), %rdi
	callq	_cond_list_destroy
	movq	$0, (%r15)
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cond_read_list                 ; -- Begin function cond_read_list
	.p2align	2
_cond_read_list:                        ; @cond_read_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #12
	mov	w2, #4
	bl	_next_entry
	mov	x22, x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_le32_to_cpu
	mov	x21, x0
	add	x0, x19, #12
	ldr	w1, [x19, #8]
	bl	_avtab_alloc
	mov	x22, x0
	cbz	w0, LBB0_4
LBB0_2:
	ldr	x0, [x19]
	bl	_cond_list_destroy
	str	xzr, [x19]
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	cmp	x21, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x24, #0
	mov	x27, #0
Lloh0:
	adrp	x25, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ENOMEM@GOTPAGEOFF]
Lloh2:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x25]
	ldr	w1, [x26]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_cond_read_node
	mov	x22, x0
	cbnz	w0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x24, #0
	csel	x8, x19, x27, eq
	str	x23, [x8]
	add	x24, x24, #1
	mov	x27, x23
	cmp	x21, x24
	b.ne	LBB0_6
	b	LBB0_3
LBB0_9:
	mov	w22, #0
	b	LBB0_3
LBB0_10:
	neg	w22, w22
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
