	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkout_all
_checkout_all:                          ## @checkout_all
	.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	_active_nr@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_24
## %bb.1:
	movq	%rdi, %r15
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_topath@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r13, %rdi
	callq	_ce_stage
	movq	(%r14,%rax,8), %rdx
	movq	_active_nr@GOTPCREL(%rip), %r14
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	%r13, %rdi
	movq	_state@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	callq	_checkout_entry
	shrq	$63, %rax
	addl	%eax, %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rbx
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_20
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_active_cache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %r13
	movq	%r13, %rdi
	callq	_ce_stage
	movq	_checkout_stage@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_CHECKOUT_ALL@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_ce_stage
	testq	%rax, %rax
	je	LBB0_19
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%r15)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_ce_namelen
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %eax
	jle	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rsi
	movq	%r15, %rdi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_19
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_to_tempfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_ce_namelen
	movq	%r15, %r14
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_ce_namelen
	cmpl	%eax, %r15d
	movq	%r14, %r15
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %r15
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_ce_namelen
	movq	%r15, %rdi
	movq	%r14, %r15
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_write_tempfile_record
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_to_tempfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_active_nr@GOTPCREL(%rip), %r14
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_18
LBB0_20:
	testq	%rbx, %rbx
	je	LBB0_23
## %bb.21:
	movq	_to_tempfile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.22:
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_write_tempfile_record
LBB0_23:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_25
LBB0_24:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movl	$128, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_active_nr,4,2                  ## @active_nr
	.comm	_active_cache,8,3               ## @active_cache
	.comm	_checkout_stage,8,3             ## @checkout_stage
	.comm	_CHECKOUT_ALL,8,3               ## @CHECKOUT_ALL
	.comm	_to_tempfile,8,3                ## @to_tempfile
	.comm	_state,4,2                      ## @state
	.comm	_topath,8,3                     ## @topath
	.no_dead_strip	_checkout_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkout_all
_checkout_all:                          ; @checkout_all
	.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
	str	w1, [sp, #8]                    ; 4-byte Folded Spill
Lloh0:
	adrp	x25, _active_nr@GOTPAGE
Lloh1:
	ldr	x25, [x25, _active_nr@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.1:
	mov	x19, x0
	mov	x28, #0
	mov	x22, #0
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
Lloh2:
	adrp	x20, _active_cache@GOTPAGE
Lloh3:
	ldr	x20, [x20, _active_cache@GOTPAGEOFF]
Lloh4:
	adrp	x24, _checkout_stage@GOTPAGE
Lloh5:
	ldr	x24, [x24, _checkout_stage@GOTPAGEOFF]
Lloh6:
	adrp	x26, _state@GOTPAGE
Lloh7:
	ldr	x26, [x26, _state@GOTPAGEOFF]
Lloh8:
	adrp	x27, _CHECKOUT_ALL@GOTPAGE
Lloh9:
	ldr	x27, [x27, _CHECKOUT_ALL@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh10:
	adrp	x8, _topath@GOTPAGE
Lloh11:
	ldr	x8, [x8, _topath@GOTPAGEOFF]
Lloh12:
	ldr	x22, [x8]
	mov	x0, x23
	bl	_ce_stage
	ldr	x2, [x22, x0, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x26
	mov	x3, #0
	bl	_checkout_entry
	lsr	x8, x0, #63
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w9, w9, w8
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	mov	x22, x23
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x25]
	cmp	x28, x8
	b.ge	LBB0_20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x23, [x8, x28, lsl #3]
	mov	x0, x23
	bl	_ce_stage
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x27]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_ce_stage
	cbz	x0, LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x19, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_ce_namelen
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w0, w8
	b.le	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x23]
	mov	x0, x19
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_memcmp
	cbnz	x0, LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh13:
	adrp	x8, _to_tempfile@GOTPAGE
Lloh14:
	ldr	x8, [x8, _to_tempfile@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbz	x22, LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x26
	mov	x26, x24
	mov	x0, x22
	bl	_ce_namelen
	mov	x24, x0
	mov	x0, x23
	bl	_ce_namelen
	cmp	w24, w0
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x24, [x22]
	ldr	x25, [x23]
	mov	x0, x23
	bl	_ce_namelen
	mov	x2, x0
	mov	x0, x24
	mov	x1, x25
Lloh16:
	adrp	x25, _active_nr@GOTPAGE
Lloh17:
	ldr	x25, [x25, _active_nr@GOTPAGEOFF]
	bl	_memcmp
	cbz	x0, LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x22]
	mov	x1, x19
	bl	_write_tempfile_record
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh18:
	adrp	x8, _to_tempfile@GOTPAGE
Lloh19:
	ldr	x8, [x8, _to_tempfile@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	mov	x24, x26
	mov	x26, x21
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x8, LBB0_2
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, #0
	b	LBB0_3
LBB0_20:
	cbz	x22, LBB0_23
; %bb.21:
Lloh21:
	adrp	x8, _to_tempfile@GOTPAGE
Lloh22:
	ldr	x8, [x8, _to_tempfile@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_23
; %bb.22:
	ldr	x0, [x22]
	mov	x1, x19
	bl	_write_tempfile_record
LBB0_23:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_25
LBB0_24:
	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_25:
	mov	w0, #128
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_active_nr,4,2                  ; @active_nr
	.comm	_active_cache,8,3               ; @active_cache
	.comm	_checkout_stage,8,3             ; @checkout_stage
	.comm	_CHECKOUT_ALL,8,3               ; @CHECKOUT_ALL
	.comm	_to_tempfile,8,3                ; @to_tempfile
	.comm	_state,4,2                      ; @state
	.comm	_topath,8,3                     ; @topath
	.no_dead_strip	_checkout_all
.subsections_via_symbols
