	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iiDownloadAll
_iiDownloadAll:                         ## @iiDownloadAll
	.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
	movl	%ecx, %ebx
                                        ## kill: def $esi killed $esi def $rsi
	movq	(%rdi), %rax
	movq	_II_STATE_READY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	_LOADWARE_BLOCK_SIZE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	subl	(%r12), %ebx
	leal	1(%rsi), %r13d
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	callq	_iiDownloadBlock
	movl	%r13d, %esi
	cmpl	$129, %eax
	je	LBB0_2
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.5:
	movl	$128, %eax
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.6:
	movq	_II_DOWN_OVER@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movq	_II_DOWN_BADSTATE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_II_DOWN_UNDER@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_II_STATE_READY,8,3             ## @II_STATE_READY
	.comm	_II_DOWN_BADSTATE,4,2           ## @II_DOWN_BADSTATE
	.comm	_LOADWARE_BLOCK_SIZE,8,3        ## @LOADWARE_BLOCK_SIZE
	.comm	_II_DOWN_OVER,4,2               ## @II_DOWN_OVER
	.comm	_II_DOWN_UNDER,4,2              ## @II_DOWN_UNDER
	.no_dead_strip	_iiDownloadAll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iiDownloadAll
_iiDownloadAll:                         ; @iiDownloadAll
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _II_STATE_READY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _II_STATE_READY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
Lloh3:
	adrp	x22, _LOADWARE_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _LOADWARE_BLOCK_SIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	sub	w19, w19, w8
	add	w23, w1, #1
	mov	x0, x21
	mov	x2, x20
	bl	_iiDownloadBlock
	mov	x1, x23
	cmp	w0, #129
	b.eq	LBB0_2
; %bb.4:
	cmp	w0, #128
	b.ne	LBB0_9
; %bb.5:
Lloh5:
	adrp	x8, _II_DOWN_OVER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _II_DOWN_OVER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #128
	cmp	w19, #0
	csel	w0, w8, w9, gt
	b	LBB0_9
LBB0_6:
Lloh8:
	adrp	x8, _II_DOWN_BADSTATE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _II_DOWN_BADSTATE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _II_DOWN_UNDER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _II_DOWN_UNDER@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_II_STATE_READY,8,3             ; @II_STATE_READY
	.comm	_II_DOWN_BADSTATE,4,2           ; @II_DOWN_BADSTATE
	.comm	_LOADWARE_BLOCK_SIZE,8,3        ; @LOADWARE_BLOCK_SIZE
	.comm	_II_DOWN_OVER,4,2               ; @II_DOWN_OVER
	.comm	_II_DOWN_UNDER,4,2              ; @II_DOWN_UNDER
	.no_dead_strip	_iiDownloadAll
.subsections_via_symbols
