	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gather_dirstat
_gather_dirstat:                        ## @gather_dirstat
	.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
	movl	%r8d, %r13d
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_diff_line_prefix
	xorl	%r14d, %r14d
	cmpq	$0, 8(%r15)
	je	LBB0_18
## %bb.1:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movq	%rbx, %r15
	addq	$16, 16(%rbx)
	movq	8(%rbx), %rcx
	decq	%rcx
	movq	%rcx, 8(%rbx)
	addl	$2, %r14d
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	addq	%rax, %r12
	testq	%rcx, %rcx
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rbx
	movq	16(%r15), %r15
	movq	(%r15), %rdi
	callq	_strlen
	cmpl	%r13d, %eax
	jl	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %r13
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	subl	%r13d, %eax
	incl	%eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %r15
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movl	%eax, %r8d
	callq	_gather_dirstat
	incl	%r14d
	movq	8(%rbx), %rcx
	jmp	LBB0_9
LBB0_3:
	movq	%rbx, %r15
LBB0_10:
	testl	%r13d, %r13d
	jne	LBB0_11
	jmp	LBB0_19
LBB0_5:
	movq	%rbx, %r15
	testl	%r13d, %r13d
	je	LBB0_19
LBB0_11:
	cmpl	$1, %r14d
	je	LBB0_19
## %bb.12:
	testq	%r12, %r12
	je	LBB0_19
## %bb.13:
	imulq	$1000, %r12, %rax               ## imm = 0x3E8
	movq	%rax, %rcx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	orq	%rsi, %rcx
	shrq	$32, %rcx
	je	LBB0_14
## %bb.15:
	xorl	%edx, %edx
	divq	%rsi
	cmpl	%eax, (%r15)
	jle	LBB0_17
	jmp	LBB0_19
LBB0_14:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
	cmpl	%eax, (%r15)
	jg	LBB0_19
LBB0_17:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edi
	movslq	%eax, %r8
	imulq	$1717986919, %r8, %rcx          ## imm = 0x66666667
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$34, %rcx
	addl	%eax, %ecx
	leal	(%rcx,%rcx), %eax
	leal	(%rax,%rax,4), %eax
	subl	%eax, %r8d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%r13d, %r9d
	callq	_fprintf
	cmpl	$0, 4(%r15)
	jne	LBB0_19
LBB0_18:
	xorl	%r12d, %r12d
LBB0_19:
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%4d.%01d%% %.*s\n"

	.no_dead_strip	_gather_dirstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gather_dirstat
_gather_dirstat:                        ; @gather_dirstat
	.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	x22, x4
	mov	x21, x3
	mov	x25, x2
	mov	x20, x1
	mov	x24, x0
	bl	_diff_line_prefix
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_12
; %bb.1:
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x19, #0
	mov	w27, #0
	sxtw	x28, w22
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x23, #8]
	ldp	x9, x8, [x20, #8]
	add	x10, x8, #16
	sub	x8, x9, #1
	stp	x8, x10, [x20, #8]
	add	w27, w27, #2
	add	x19, x0, x19
	cbz	x8, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x20, #16]
	ldr	x0, [x23]
	bl	_strlen
	cmp	w0, w22
	b.lt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x23]
	mov	x1, x21
	mov	x2, x22
	bl	_memcmp
	cbnz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x26, [x23]
	add	x0, x26, x28
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w0, w26
	add	w4, w8, #1
	mov	x0, x24
	mov	x1, x20
	mov	x2, x25
	mov	x3, x26
	bl	_gather_dirstat
	add	w27, w27, #1
	ldr	x8, [x20, #8]
	add	x19, x0, x19
	cbnz	x8, LBB0_3
LBB0_7:
	cbz	w22, LBB0_13
; %bb.8:
	cmp	w27, #1
	b.eq	LBB0_13
; %bb.9:
	cbz	x19, LBB0_13
; %bb.10:
	mov	w8, #1000
	mul	x8, x19, x8
	udiv	x8, x8, x25
	ldr	w9, [x20]
	cmp	w9, w8
	b.gt	LBB0_13
; %bb.11:
	ldr	w0, [x24]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w3, w9, w10
	mov	w9, #10
	msub	w4, w3, w9, w8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x5, x22
	mov	x6, x21
	bl	_fprintf
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_13
LBB0_12:
	mov	x19, #0
LBB0_13:
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%4d.%01d%% %.*s\n"

	.no_dead_strip	_gather_dirstat
.subsections_via_symbols
