	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_refspecs
_set_refspecs:                          ## @set_refspecs
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	jle	LBB0_17
## %bb.1:
	movl	%esi, %r14d
	movq	_rs@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r12d, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdx
	movq	_deleterefs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %rsi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_strbuf_addf
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_refspec_append
	incl	%r12d
	cmpl	%r14d, %r12d
	jge	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %r13
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_deleterefs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	incl	%r12d
	cmpl	%r14d, %r12d
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_remote_get
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_get_local_heads
	movq	%rbx, %rsi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_map_refspec
	jmp	LBB0_15
LBB0_17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tag"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.1:                               ## @.str.1
	.asciz	"tag shorthand without <tag>"

	.comm	_deleterefs,8,3                 ## @deleterefs
L_.str.2:                               ## @.str.2
	.asciz	":refs/tags/%s"

L_.str.3:                               ## @.str.3
	.asciz	"refs/tags/%s"

L_.str.4:                               ## @.str.4
	.asciz	"--delete only accepts plain target ref names"

L_.str.5:                               ## @.str.5
	.asciz	":%s"

	.comm	_rs,4,2                         ## @rs
	.no_dead_strip	_set_refspecs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_refspecs
_set_refspecs:                          ; @set_refspecs
	.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
	str	x2, [sp]                        ; 8-byte Folded Spill
	cmp	w1, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	mov	w25, #0
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	mov	x23, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x28, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x28, [x28, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	adrp	x24, _deleterefs@GOTPAGE
Lloh5:
	ldr	x24, [x24, _deleterefs@GOTPAGEOFF]
Lloh6:
	adrp	x26, _rs@GOTPAGE
Lloh7:
	ldr	x26, [x26, _rs@GOTPAGEOFF]
Lloh8:
	adrp	x27, l_.str.5@PAGE
Lloh9:
	add	x27, x27, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [x21, x25, lsl #3]
	ldr	x8, [x24]
	cmp	x8, #0
Lloh10:
	adrp	x8, l_.str.2@PAGE
Lloh11:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh12:
	adrp	x9, l_.str.3@PAGE
Lloh13:
	add	x9, x9, l_.str.3@PAGEOFF
	csel	x1, x9, x8, eq
	add	x0, sp, #24
	bl	_strbuf_addf
	add	x0, sp, #24
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, #0
	bl	_strbuf_detach
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, x0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	mov	x1, x19
	bl	_refspec_append
	add	w25, w25, #1
	cmp	w25, w20
	b.ge	LBB0_17
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x21, w25, sxtw #3]
	mov	x0, x22
	mov	x1, x19
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	str	w8, [sp, #16]
	mov	x0, x19
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	bl	_die
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	mov	x1, x27
	mov	x2, x19
	bl	_strbuf_addf
	add	x0, sp, #16
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	sxtw	x8, w25
	ldr	w9, [x28]
	str	w9, [sp, #24]
	add	x25, x8, #1
	cmp	w25, w20
	b.lt	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	bl	_die
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	w1, #58
	bl	_strchr
	cbnz	x0, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x23, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_remote_get
	mov	x23, x0
	bl	_get_local_heads
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x23
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	bl	_map_refspec
	b	LBB0_4
LBB0_17:
	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 AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tag"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.1:                               ; @.str.1
	.asciz	"tag shorthand without <tag>"

	.comm	_deleterefs,8,3                 ; @deleterefs
l_.str.2:                               ; @.str.2
	.asciz	":refs/tags/%s"

l_.str.3:                               ; @.str.3
	.asciz	"refs/tags/%s"

l_.str.4:                               ; @.str.4
	.asciz	"--delete only accepts plain target ref names"

l_.str.5:                               ; @.str.5
	.asciz	":%s"

	.comm	_rs,4,2                         ; @rs
	.no_dead_strip	_set_refspecs
.subsections_via_symbols
