	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_revision_arg            ## -- Begin function handle_revision_arg
	.p2align	4, 0x90
_handle_revision_arg:                   ## @handle_revision_arg
	.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
	movl	%ecx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_REVARG_CANNOT_BE_FILENAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_GET_OID_RECORD_PATH@GOTPCREL(%rip), %rax
	movq	_UNINTERESTING@GOTPCREL(%rip), %rsi
	movq	_BOTTOM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movl	%r12d, %ecx
	orl	%edx, %ecx
	notl	%r12d
	andl	%edx, %r12d
	testl	%edx, (%rsi)
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	cmovnel	%ecx, %r12d
	testl	%ebx, %r14d
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_handle_dotdot
	testl	%eax, %eax
	je	LBB0_28
## %bb.4:
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r14
	cmpb	$0, 2(%rax)
	je	LBB0_6
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%rax, %rbx
	cmpb	$0, 2(%rax)
	jne	LBB0_12
## %bb.10:
	movb	$0, (%rbx)
	movq	_BOTTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	xorl	%r12d, %edx
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_add_parents_only
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movb	$94, (%rbx)
LBB0_12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	movq	%r13, %rbx
	je	LBB0_19
## %bb.13:
	movq	%rax, %r14
	cmpb	$0, 2(%rax)
	je	LBB0_14
## %bb.15:
	movq	%r14, %rdi
	addq	$2, %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, %ecx
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	movl	$-1, %ebx
	jne	LBB0_29
## %bb.16:
	testl	%ecx, %ecx
	jne	LBB0_17
	jmp	LBB0_29
LBB0_2:
	movl	$-1, %ebx
	jmp	LBB0_29
LBB0_6:
	movb	$0, (%r14)
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_add_parents_only
	testq	%rax, %rax
	jne	LBB0_29
## %bb.7:
	movb	$94, (%r14)
	jmp	LBB0_8
LBB0_14:
	movl	$1, %ecx
LBB0_17:
	movb	$0, (%r14)
	movq	_BOTTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	xorl	%r12d, %edx
	movq	%r13, %rbx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_add_parents_only
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	movb	$94, (%r14)
LBB0_19:
	movq	_BOTTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_UNINTERESTING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	cmpb	$94, (%r15)
	sete	%r13b
	cmovel	%eax, %r14d
	addq	%r15, %r13
	movq	_REVARG_COMMITTISH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	-52(%rbp), %edx                 ## 4-byte Folded Reload
	je	LBB0_21
## %bb.20:
	movq	_GET_OID_COMMITTISH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_21:
	orl	-64(%rbp), %edx                 ## 4-byte Folded Reload
	movl	12(%rbx), %edi
	leaq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movq	%r13, %rsi
	callq	_get_oid_with_context
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	%rbx, %rax
	xorl	%ebx, %ebx
	cmpq	$1, (%rax)
	sbbl	%ebx, %ebx
	jmp	LBB0_29
LBB0_23:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -52(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_25
## %bb.24:
	movl	8(%rbx), %edi
	movq	%r13, %rsi
	callq	_verify_non_filename
LBB0_25:
	xorl	%r12d, %r14d
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %ecx
	callq	_get_reference
	movq	%rbx, %r12
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movq	%rax, %rbx
	movq	_REV_CMD_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%r14d, %r8d
	callq	_add_rev_cmdline
	movl	-48(%rbp), %r8d
	movl	-44(%rbp), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_add_pending_object_with_path
	movl	-48(%rbp), %edi
	callq	_free
LBB0_28:
	xorl	%ebx, %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	xorl	%ebx, %ebx
	cmpq	$1, (%r12)
	sbbl	%ebx, %ebx
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_REVARG_CANNOT_BE_FILENAME,4,2  ## @REVARG_CANNOT_BE_FILENAME
	.comm	_GET_OID_RECORD_PATH,4,2        ## @GET_OID_RECORD_PATH
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.comm	_BOTTOM,4,2                     ## @BOTTOM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".."

L_.str.1:                               ## @.str.1
	.asciz	"^@"

L_.str.2:                               ## @.str.2
	.asciz	"^!"

L_.str.3:                               ## @.str.3
	.asciz	"^-"

	.comm	_REVARG_COMMITTISH,4,2          ## @REVARG_COMMITTISH
	.comm	_GET_OID_COMMITTISH,4,2         ## @GET_OID_COMMITTISH
	.comm	_REV_CMD_REV,4,2                ## @REV_CMD_REV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_revision_arg            ; -- Begin function handle_revision_arg
	.p2align	2
_handle_revision_arg:                   ; @handle_revision_arg
	.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, x3
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _REVARG_CANNOT_BE_FILENAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REVARG_CANNOT_BE_FILENAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GET_OID_RECORD_PATH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GET_OID_RECORD_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x9]
Lloh6:
	adrp	x26, _UNINTERESTING@GOTPAGE
Lloh7:
	ldr	x26, [x26, _UNINTERESTING@GOTPAGEOFF]
	ldr	w9, [x26]
Lloh8:
	adrp	x27, _BOTTOM@GOTPAGE
Lloh9:
	ldr	x27, [x27, _BOTTOM@GOTPAGEOFF]
	ldr	w10, [x27]
	orr	w11, w10, w2
	bic	w10, w2, w10
	tst	w9, w2
	csel	w21, w10, w11, eq
	and	w24, w8, w3
	cbnz	w24, LBB0_2
; %bb.1:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_13
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_handle_dotdot
	cbz	w0, LBB0_25
; %bb.3:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_5
; %bb.4:
	mov	x23, x0
	ldrb	w8, [x0, #2]
	cbz	w8, LBB0_14
LBB0_5:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_9
; %bb.6:
	mov	x23, x0
	ldrb	w8, [x0, #2]
	cbnz	w8, LBB0_9
; %bb.7:
	strb	wzr, [x23]
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	eor	w2, w8, w21
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_add_parents_only
	cbnz	x0, LBB0_9
; %bb.8:
	mov	w8, #94
	strb	w8, [x23]
LBB0_9:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_19
; %bb.10:
	mov	x23, x0
	ldrb	w8, [x0, #2]!
	cbz	w8, LBB0_16
; %bb.11:
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	mov	x3, x0
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	mov	w0, #-1
	cbnz	w8, LBB0_25
; %bb.12:
	cbnz	w3, LBB0_17
	b	LBB0_25
LBB0_13:
	mov	w0, #-1
	b	LBB0_25
LBB0_14:
	strb	wzr, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	bl	_add_parents_only
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_25
; %bb.15:
	mov	w8, #94
	strb	w8, [x23]
	b	LBB0_5
LBB0_16:
	mov	w3, #1
LBB0_17:
	strb	wzr, [x23]
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	eor	w2, w8, w21
	mov	x0, x19
	mov	x1, x20
	bl	_add_parents_only
	cbnz	x0, LBB0_19
; %bb.18:
	mov	w8, #94
	strb	w8, [x23]
LBB0_19:
	mov	x8, x20
	ldrb	w9, [x8], #1
	ldr	w10, [x26]
	ldr	w11, [x27]
	orr	w10, w11, w10
	cmp	w9, #94
	csel	w26, w10, wzr, eq
	csel	x23, x20, x8, ne
Lloh18:
	adrp	x8, _REVARG_COMMITTISH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REVARG_COMMITTISH@GOTPAGEOFF]
Lloh20:
	adrp	x9, _GET_OID_COMMITTISH@GOTPAGE
Lloh21:
	ldr	x9, [x9, _GET_OID_COMMITTISH@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
	tst	w8, w22
	csel	w8, wzr, w9, eq
	orr	w2, w8, w25
	ldr	w0, [x19, #12]
	mov	x3, sp
	add	x4, sp, #8
	mov	x1, x23
	bl	_get_oid_with_context
	cbz	x0, LBB0_21
LBB0_20:
	ldr	x8, [x19]
	cmp	x8, #0
	csetm	w0, eq
	b	LBB0_25
LBB0_21:
	cbnz	w24, LBB0_23
; %bb.22:
	ldr	w0, [x19, #8]
	mov	x1, x23
	bl	_verify_non_filename
LBB0_23:
	eor	w21, w26, w21
	mov	x2, sp
	mov	x0, x19
	mov	x1, x23
	mov	x3, x21
	bl	_get_reference
	cbz	x0, LBB0_20
; %bb.24:
	mov	x22, x0
Lloh24:
	adrp	x8, _REV_CMD_REV@GOTPAGE
Lloh25:
	ldr	x8, [x8, _REV_CMD_REV@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x4, x21
	bl	_add_rev_cmdline
	ldp	w4, w3, [sp, #8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_add_pending_object_with_path
	ldr	w0, [sp, #8]
	bl	_free
	mov	w0, #0
LBB0_25:
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_REVARG_CANNOT_BE_FILENAME,4,2  ; @REVARG_CANNOT_BE_FILENAME
	.comm	_GET_OID_RECORD_PATH,4,2        ; @GET_OID_RECORD_PATH
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.comm	_BOTTOM,4,2                     ; @BOTTOM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".."

l_.str.1:                               ; @.str.1
	.asciz	"^@"

l_.str.2:                               ; @.str.2
	.asciz	"^!"

l_.str.3:                               ; @.str.3
	.asciz	"^-"

	.comm	_REVARG_COMMITTISH,4,2          ; @REVARG_COMMITTISH
	.comm	_GET_OID_COMMITTISH,4,2         ; @GET_OID_COMMITTISH
	.comm	_REV_CMD_REV,4,2                ; @REV_CMD_REV
.subsections_via_symbols
