	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shortlog_output                ## -- Begin function shortlog_output
	.p2align	4, 0x90
_shortlog_output:                       ## @shortlog_output
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, 48(%rdi)
	je	LBB0_5
## %bb.1:
	movq	16(%r15), %rdi
	movl	8(%r15), %esi
	cmpq	$0, 40(%r15)
	jne	LBB0_2
## %bb.3:
	movq	_compare_by_list@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_compare_by_counter@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	callq	_QSORT
LBB0_5:
	leaq	8(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, 8(%r15)
	jle	LBB0_17
## %bb.6:
	movq	16(%r15), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	24(%r15), %esi
	movl	$10, %edi
	callq	_putc
	movl	$1, 4(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_string_list_clear
	movq	%rbx, %rdi
	callq	_free
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r15), %rax
	movq	$0, 8(%rax,%r13)
	incq	%rbx
	movslq	8(%r15), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_17
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%rbx, %r13
	shlq	$4, %r13
	leaq	(%rax,%r13), %r14
	cmpq	$0, 40(%r15)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	24(%r15), %r12d
	movq	%r14, %rdi
	callq	_UTIL_TO_INT
	movq	(%r14), %rcx
	movl	%r12d, %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax,%r13), %rbx
	movl	24(%r15), %edi
	movq	(%r14), %rdx
	movl	(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %r13d
	testl	%r13d, %r13d
	jle	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	24(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=2
	decq	%r13
	cmpq	$1, %r13
	jbe	LBB0_15
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	-2(%r13), %eax
	movq	8(%rbx), %rcx
	shlq	$4, %rax
	movq	(%rcx,%rax), %r14
	cmpq	$0, 32(%r15)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_strbuf_reset
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_add_wrapped_shortlog_msg
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edi
	movl	24(%r15), %ecx
	movl	$1, %edx
	callq	_fwrite
	jmp	LBB0_14
LBB0_17:
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	movl	$1, 12(%r15)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_string_list_clear
	movq	%r15, %rdi
	callq	_clear_mailmap
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.comm	_compare_by_counter,4,2         ## @compare_by_counter
	.comm	_compare_by_list,4,2            ## @compare_by_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%6d\t%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s (%d):\n"

L_.str.2:                               ## @.str.2
	.asciz	"      %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shortlog_output                ; -- Begin function shortlog_output
	.p2align	2
_shortlog_output:                       ; @shortlog_output
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #8]
Lloh3:
	adrp	x8, _compare_by_counter@GOTPAGE
Lloh4:
	ldr	x8, [x8, _compare_by_counter@GOTPAGEOFF]
	ldr	x9, [x19, #40]
Lloh5:
	adrp	x10, _compare_by_list@GOTPAGE
Lloh6:
	ldr	x10, [x10, _compare_by_list@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w2, [x8]
	bl	_QSORT
LBB0_2:
	mov	x20, x19
	ldr	w8, [x20, #8]!
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.3:
	mov	x26, #0
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
	ldr	x8, [x19, #16]
Lloh9:
	adrp	x22, l_.str.2@PAGE
Lloh10:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	w27, #1
Lloh11:
	adrp	x23, l_.str@PAGE
Lloh12:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x19, #24]
	mov	w0, #10
	bl	_putc
	str	w27, [x24, #4]
	mov	x0, x24
	mov	w1, #0
	bl	_string_list_clear
	mov	x0, x24
	bl	_free
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #16]
	add	x9, x8, x26, lsl #4
	str	xzr, [x9, #8]
	add	x26, x26, #1
	ldrsw	x9, [x19, #8]
	cmp	x26, x9
	b.ge	LBB0_14
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	add	x25, x8, x26, lsl #4
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w24, [x19, #24]
	mov	x0, x25
	bl	_UTIL_TO_INT
	ldr	x8, [x25]
	stp	x0, x8, [sp]
	mov	x0, x24
	mov	x1, x23
	bl	_fprintf
	b	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19, #24]
	ldp	x8, x24, [x25]
	ldr	w9, [x24]
	stp	x8, x9, [sp]
	mov	x1, x21
	bl	_fprintf
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x28, x8, #1
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	w0, [x19, #24]
	str	x25, [sp]
	mov	x1, x22
	bl	_fprintf
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	sub	x28, x28, #1
	cmp	x28, #1
	b.ls	LBB0_4
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w8, w28, #2
	ldr	x9, [x24, #8]
	lsl	x8, x8, #4
	ldr	x25, [x9, x8]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	add	x0, sp, #24
	bl	_strbuf_reset
	add	x0, sp, #24
	mov	x1, x25
	mov	x2, x19
	bl	_add_wrapped_shortlog_msg
	ldp	w1, w0, [sp, #24]
	ldr	w3, [x19, #24]
	mov	w2, #1
	bl	_fwrite
	b	LBB0_11
LBB0_14:
	add	x0, sp, #24
	bl	_strbuf_release
	mov	w8, #1
	str	w8, [x19, #12]
	mov	x0, x20
	mov	w1, #1
	bl	_string_list_clear
	mov	x0, x19
	bl	_clear_mailmap
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.comm	_compare_by_counter,4,2         ; @compare_by_counter
	.comm	_compare_by_list,4,2            ; @compare_by_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%6d\t%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s (%d):\n"

l_.str.2:                               ; @.str.2
	.asciz	"      %s\n"

.subsections_via_symbols
