	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_cons_helper
_read_cons_helper:                      ## @read_cons_helper
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	%esi, %r15d
	movq	%rdi, %r13
	xorl	%r14d, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	(%rcx), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	leaq	16(%rbx), %rax
	testq	%rbx, %rbx
	cmoveq	%r13, %rax
	movq	%r12, (%rax)
	leaq	-60(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_next_entry
	testl	%eax, %eax
	js	LBB0_26
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	-60(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%r12)
	movl	-56(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, %r14
	testl	%r14d, %r14d
	jle	LBB0_24
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$-1, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=2
	testl	%r13d, %r13d
	js	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	%r15, %rbx
	decl	%r14d
	je	LBB0_23
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%rax, %r15
	leaq	24(%rbx), %rax
	testq	%rbx, %rbx
	cmoveq	%r12, %rax
	movq	%r15, (%rax)
	leaq	-60(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$12, %edx
	callq	_next_entry
	testl	%eax, %eax
	js	LBB0_26
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	-60(%rbp), %edi
	callq	_le32_to_cpu
	movl	%eax, (%r15)
	movl	-56(%rbp), %edi
	callq	_le32_to_cpu
	movl	%eax, 4(%r15)
	movl	-52(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, 16(%r15)
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=2
	testl	%r13d, %r13d
	jle	LBB0_24
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=2
	decl	%r13d
	jmp	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=2
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	_CEXPR_XTARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	jne	LBB0_24
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	_CEXPR_MAXDEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, %r13d
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r15, %rdi
	addq	$8, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_ebitmap_read
	testl	%eax, %eax
	je	LBB0_21
	jmp	LBB0_24
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	_CEXPR_MAXDEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, %r13d
	je	LBB0_24
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=2
	incl	%r13d
	jmp	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_24
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	incl	%r14d
	xorl	%eax, %eax
	movq	%r12, %rbx
	cmpl	%r15d, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	jne	LBB0_4
	jmp	LBB0_26
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_24:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_25:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_28
## %bb.27:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_16
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CEXPR_MAXDEPTH,4,2             ## @CEXPR_MAXDEPTH
	.comm	_CEXPR_XTARGET,4,2              ## @CEXPR_XTARGET
	.no_dead_strip	_read_cons_helper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_cons_helper
_read_cons_helper:                      ; @read_cons_helper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmp	w1, #1
	b.lt	LBB0_22
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w25, #0
	mov	x24, #0
Lloh3:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	adrp	x28, lJTI0_0@PAGE
Lloh6:
	add	x28, x28, lJTI0_0@PAGEOFF
	str	x0, [sp]                        ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w1, [x27]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_24
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
	add	x8, x24, #16
	cmp	x24, #0
	csel	x8, x22, x8, eq
	str	x0, [x8]
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #8
	bl	_next_entry
	tbnz	w0, #31, LBB0_26
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #12]
	bl	_le32_to_cpu
	str	x0, [x23, #8]
	ldr	w0, [sp, #16]
	bl	_le32_to_cpu
	mov	x24, x0
	cmp	w24, #1
	b.lt	LBB0_23
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w25, [sp, #8]                   ; 4-byte Folded Spill
	mov	x25, #0
	mov	w26, #-1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	tbnz	w26, #31, LBB0_23
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x25, x22
	subs	w24, w24, #1
	b.eq	LBB0_20
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x27]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_24
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x22, x0
	add	x8, x25, #24
	cmp	x25, #0
	csel	x8, x23, x8, eq
	str	x0, [x8]
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #12
	bl	_next_entry
	tbnz	w0, #31, LBB0_26
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [sp, #12]
	bl	_le32_to_cpu
	str	w0, [x22]
	ldr	w0, [sp, #16]
	bl	_le32_to_cpu
	str	w0, [x22, #4]
	ldr	w0, [sp, #20]
	bl	_le32_to_cpu
	str	x0, [x22, #16]
	ldr	w8, [x22]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	adr	x9, LBB0_6
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	w26, #0
	b.le	LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	sub	w26, w26, #1
	b	LBB0_7
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=2
	cbnz	w20, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x22, #4]
Lloh7:
	adrp	x9, _CEXPR_XTARGET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _CEXPR_XTARGET@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_23
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=2
Lloh10:
	adrp	x8, _CEXPR_MAXDEPTH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CEXPR_MAXDEPTH@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	sub	w8, w8, #1
	cmp	w26, w8
	b.eq	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=2
	add	x0, x22, #8
	mov	x1, x19
	bl	_ebitmap_read
	cbz	w0, LBB0_19
	b	LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=2
Lloh13:
	adrp	x8, _CEXPR_MAXDEPTH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CEXPR_MAXDEPTH@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	sub	w8, w8, #1
	cmp	w26, w8
	b.eq	LBB0_23
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=2
	add	w26, w26, #1
	b	LBB0_7
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [sp]                       ; 8-byte Folded Reload
	ldr	w25, [sp, #8]                   ; 4-byte Folded Reload
	cbnz	w26, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	add	w25, w25, #1
	mov	x24, x23
	cmp	w25, w21
	b.ne	LBB0_2
	b	LBB0_26
LBB0_22:
	mov	w0, #0
	b	LBB0_26
LBB0_23:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_25:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_26:
	ldr	x8, [sp, #24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_14-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CEXPR_MAXDEPTH,4,2             ; @CEXPR_MAXDEPTH
	.comm	_CEXPR_XTARGET,4,2              ; @CEXPR_XTARGET
	.no_dead_strip	_read_cons_helper
.subsections_via_symbols
