	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function join_revs
_join_revs:                             ## @join_revs
	.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
	movl	%ecx, %r13d
                                        ## kill: def $edx killed $edx def $rdx
	movq	_REV_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rdx,%rax), %ecx
	movl	$-1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	notl	%edx
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	movl	%eax, %ecx
	shrl	%cl, %edx
	shll	%cl, %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rdi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	callq	_interesting
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_pop_commit
	movq	%rax, %r15
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %ebx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_mark_seen
	movl	%ebx, %eax
	notl	%eax
	xorl	%r14d, %r14d
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	andl	-68(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	%ebx, %r14d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=2
	testq	%r15, %r15
	je	LBB0_23
LBB0_20:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rbx
	movq	(%r15), %r15
	movl	(%rbx), %eax
	notl	%eax
	testl	%eax, %r14d
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	sete	%r12b
	movq	%rbx, %rdi
	callq	_parse_commit
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_mark_seen
	testq	%rax, %rax
	setne	%al
	andb	%r12b, %al
	movzbl	%al, %eax
	subl	%eax, %r13d
	orl	%r14d, (%rbx)
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_commit_list_insert_by_date
	jmp	LBB0_22
LBB0_2:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r8
	testq	%r8, %r8
	movl	-44(%rbp), %r10d                ## 4-byte Reload
	je	LBB0_13
## %bb.3:
	xorl	%esi, %esi
	movq	_UNINTERESTING@GOTPCREL(%rip), %rcx
	movq	%r8, %r9
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r9), %r9
	testq	%r9, %r9
	je	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	8(%r9), %rdi
	movl	(%rdi), %eax
	movl	%eax, %edx
	notl	%edx
	testl	%edx, %r10d
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, (%rcx)
	je	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rdi), %rdi
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rdi), %rbx
	movq	(%rdi), %rdi
	movl	(%rbx), %eax
	movl	(%rcx), %edx
	testl	%eax, %edx
	jne	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	orl	%eax, %edx
	movl	%edx, (%rbx)
	movl	$1, %esi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%esi, %esi
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r8, %r9
	movl	$0, %esi
	testq	%r8, %r8
	jne	LBB0_4
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REV_SHIFT,4,2                  ## @REV_SHIFT
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.no_dead_strip	_join_revs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function join_revs
_join_revs:                             ; @join_revs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _REV_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REV_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	add	w8, w9, w2
	mov	w10, #-1
	lsl	w8, w10, w8
	lsl	w9, w10, w9
	bic	w24, w9, w8
	ldr	x0, [x0]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x3
	mvn	w25, w8
Lloh3:
	adrp	x26, _UNINTERESTING@GOTPAGE
Lloh4:
	ldr	x26, [x26, _UNINTERESTING@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x21]
	cbz	x0, LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	bl	_interesting
	mov	x22, x0
	mov	x0, x21
	bl	_pop_commit
	mov	x23, x0
	cbnz	w22, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #1
	b.lt	LBB0_10
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w28, [x23]
	mov	x0, x23
	mov	x1, x20
	bl	_mark_seen
	ldr	w8, [x26]
	bics	wzr, w24, w28
	csel	w8, w8, wzr, eq
	ldr	x27, [x23, #8]
	cbz	x27, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w9, w28, w25
	orr	w28, w8, w9
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	cbz	x27, LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x27, x23, [x27]
	ldr	w8, [x23]
	bics	wzr, w28, w8
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x23
	bl	_parse_commit
	mov	x0, x23
	mov	x1, x20
	bl	_mark_seen
	cmp	x0, #0
	ccmp	w22, #0, #0, ne
	cset	w8, eq
	sub	w19, w19, w8
	ldr	w8, [x23]
	orr	w8, w8, w28
	str	w8, [x23]
	mov	x0, x23
	mov	x1, x21
	bl	_commit_list_insert_by_date
	b	LBB0_7
LBB0_10:
	ldr	x8, [x20]
	cbz	x8, LBB0_21
; %bb.11:
	mov	w10, #0
Lloh5:
	adrp	x9, _UNINTERESTING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UNINTERESTING@GOTPAGEOFF]
	mov	x11, x8
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x12, [x11, #8]
	ldr	w13, [x12]
	bics	wzr, w24, w13
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w14, [x9]
	tst	w14, w13
	b.eq	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x12, [x12, #8]
	cbnz	x12, LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x11, [x11]
	cbnz	x11, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	w10, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w10, #0
	mov	x11, x8
	cbnz	x8, LBB0_12
	b	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	cbz	x12, LBB0_15
LBB0_19:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x12, x13, [x12]
	ldr	w14, [x13]
	ldr	w15, [x9]
	tst	w15, w14
	b.ne	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	orr	w10, w15, w14
	str	w10, [x13]
	mov	w10, #1
	b	LBB0_18
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_REV_SHIFT,4,2                  ; @REV_SHIFT
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.no_dead_strip	_join_revs
.subsections_via_symbols
