	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_rev
_get_rev:                               ## @get_rev
	.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
	movq	%rdi, %r13
	addq	$8, %rdi
	movq	_COMMON@GOTPCREL(%rip), %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	cmpq	$0, (%rdi)
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%r13)
	je	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_prio_queue_get
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_parse_commit
	movl	(%r15), %ecx
	movq	_POPPED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	8(%r15), %r12
	movl	%ecx, (%r15)
	movl	(%r14), %ebx
	testl	%ecx, %ebx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_SEEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %ebx
	xorl	%r15d, %r15d
	testq	%r12, %r12
	jne	LBB0_7
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	decq	(%r13)
	movq	_COMMON_REF@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	_SEEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovel	%ecx, %ebx
	orl	%eax, %ebx
	testq	%r12, %r12
	je	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rsi
	testl	%eax, (%rsi)
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	testl	%ebx, (%r14)
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%r12), %rsi
	movq	%r13, %rdi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_mark_common
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	(%r12), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	_SEEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_rev_list_push
	testl	%ebx, (%r14)
	jne	LBB0_9
	jmp	LBB0_10
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_13:
	addq	$4, %r15
	movq	%r15, %rax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POPPED,4,2                     ## @POPPED
	.comm	_COMMON,4,2                     ## @COMMON
	.comm	_SEEN,4,2                       ## @SEEN
	.comm	_COMMON_REF,4,2                 ## @COMMON_REF
	.no_dead_strip	_get_rev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_rev
_get_rev:                               ; @get_rev
	.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	x19, x0
	add	x20, x0, #8
Lloh0:
	adrp	x23, _POPPED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _POPPED@GOTPAGEOFF]
Lloh2:
	adrp	x24, _COMMON@GOTPAGE
Lloh3:
	ldr	x24, [x24, _COMMON@GOTPAGEOFF]
Lloh4:
	adrp	x25, _COMMON_REF@GOTPAGE
Lloh5:
	ldr	x25, [x25, _COMMON_REF@GOTPAGEOFF]
Lloh6:
	adrp	x26, _SEEN@GOTPAGE
Lloh7:
	ldr	x26, [x26, _SEEN@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbnz	x21, LBB0_14
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x20]
	cbz	x8, LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_prio_queue_get
	mov	x21, x0
	bl	_parse_commit
	ldr	x27, [x21, #8]
	ldr	w8, [x23]
	ldr	w9, [x21]
	orr	w10, w9, w8
	str	w10, [x21]
	ldr	w9, [x24]
	tst	w9, w10
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, #0
	ldr	w8, [x26]
	orr	w22, w8, w9
	cbnz	x27, LBB0_8
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	sub	x8, x8, #1
	str	x8, [x19]
	ldr	w11, [x25]
	ldr	w8, [x26]
	tst	w11, w10
	csel	w9, wzr, w9, eq
	orr	w22, w8, w9
	cbnz	x27, LBB0_8
	b	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x26]
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [x27, #8]
	ldr	w9, [x1]
	tst	w8, w9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x19
	mov	x2, x22
	bl	_rev_list_push
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x24]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x1, [x27, #8]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_mark_common
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x27, [x27]
	cbnz	x27, LBB0_7
	b	LBB0_1
LBB0_13:
	mov	x0, #0
	b	LBB0_15
LBB0_14:
	add	x0, x21, #4
LBB0_15:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_POPPED,4,2                     ; @POPPED
	.comm	_COMMON,4,2                     ; @COMMON
	.comm	_SEEN,4,2                       ; @SEEN
	.comm	_COMMON_REF,4,2                 ; @COMMON_REF
	.no_dead_strip	_get_rev
.subsections_via_symbols
