	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_one_mergetag
_check_one_mergetag:                    ## @check_one_mergetag
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	(%rdx), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r12d
	movl	4(%rsi), %r13d
	movq	_OBJ_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_type_name
	leaq	-48(%rbp), %r14
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_hash_object_file
	movq	_the_repository@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_lookup_tag
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r12), %edi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%rax, %rsi
	callq	_parse_tag_buffer
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_8:
	xorl	%eax, %eax
	callq	_error
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpl	$2, 8(%r15)
	jl	LBB0_12
## %bb.4:
	movl	$1, %ebx
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r12, %rsi
	callq	_get_oid
	testq	%rax, %rax
	js	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_get_tagged_oid
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_oideq
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	8(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdi
	callq	_oid_to_hex
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	(%r15), %rcx
	movq	(%rcx,%rbx,8), %rsi
	movl	%eax, %edi
	jmp	LBB0_8
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_TAG,4,2                    ## @OBJ_TAG
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad mergetag in commit '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"malformed mergetag in commit '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"not a valid object name: '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"original commit '%s' contains mergetag '%s' that is discarded; use --edit instead of --graft"

	.no_dead_strip	_check_one_mergetag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_one_mergetag
_check_one_mergetag:                    ; @check_one_mergetag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x2
	mov	x22, x1
	ldr	x8, [x2]
	ldr	x19, [x8]
	ldp	w23, w21, [x1]
Lloh0:
	adrp	x8, _OBJ_TAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJ_TAG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_type_name
	mov	x2, x0
	add	x3, sp, #24
	mov	x0, x21
	mov	x1, x23
	bl	_hash_object_file
Lloh3:
	adrp	x23, _the_repository@GOTPAGE
Lloh4:
	ldr	x23, [x23, _the_repository@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x1, sp, #24
	bl	_lookup_tag
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w0, [x23]
	ldp	w3, w2, [x22]
	mov	x1, x21
	bl	_parse_tag_buffer
	cbz	x0, LBB0_4
; %bb.2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	b	LBB0_10
LBB0_3:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	b	LBB0_10
LBB0_4:
	ldr	w8, [x20, #8]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.5:
	mov	w22, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x0, [x8, x22, lsl #3]
	add	x1, sp, #16
	bl	_get_oid
	tbnz	x0, #63, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_get_tagged_oid
	add	x1, sp, #16
	bl	_oideq
	cbnz	x0, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20, #8]
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_9:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x20, x0
	add	x0, sp, #24
	bl	_oid_to_hex
	str	x0, [sp]
	mov	x0, x20
LBB0_10:
	mov	x1, x19
LBB0_11:
	bl	_error
LBB0_12:
	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
	add	sp, sp, #96
	ret
LBB0_13:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	x8, [x20]
	ldr	x1, [x8, x22, lsl #3]
	b	LBB0_11
LBB0_14:
	mov	w0, #0
	b	LBB0_12
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_TAG,4,2                    ; @OBJ_TAG
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad mergetag in commit '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"malformed mergetag in commit '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"not a valid object name: '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"original commit '%s' contains mergetag '%s' that is discarded; use --edit instead of --graft"

	.no_dead_strip	_check_one_mergetag
.subsections_via_symbols
