	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_refname_component
_check_refname_component:               ## @check_refname_component
	.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, %r13
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	(%r13), %rax
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %ecx
	movq	_REFNAME_REFSPEC_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_20
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, (%rdx)
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movl	%ebx, %r15d
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%r14), %ebx
	movq	_refname_disposition@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%rax,%rbx), %r12d
	testq	%r13, %r13
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$1, %r12b
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_strbuf_addch
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	decb	%r12b
	cmpb	$4, %r12b
	ja	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movzbl	%r12b, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$46, %r15b
	jne	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%r13, %r13
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r13), %esi
	decl	%esi
	movq	%r13, %rdi
	callq	_strbuf_setlen
	jmp	LBB0_6
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$64, %r15b
	jne	LBB0_6
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%r13, %r13
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movb	$45, -1(%rax,%rcx)
	jmp	LBB0_6
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%r13, %r13
	je	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movb	$45, -1(%rax,%rcx)
	movq	_REFNAME_REFSPEC_PATTERN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rdx), %ecx
	jmp	LBB0_5
LBB0_22:
	testq	%r14, %r14
	je	LBB0_30
## %bb.23:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpb	$46, (%rax)
	jne	LBB0_26
## %bb.24:
	testq	%r13, %r13
	je	LBB0_17
## %bb.25:
	movq	8(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	$45, (%rax,%rcx)
LBB0_26:
	movq	_LOCK_SUFFIX_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	cmpq	%rdx, %r14
	jl	LBB0_31
## %bb.27:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	subq	%rdx, %rdi
	addq	%r14, %rdi
	movq	_LOCK_SUFFIX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_31
## %bb.28:
	testq	%r13, %r13
	je	LBB0_17
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_strbuf_strip_suffix
	testq	%rax, %rax
	jne	LBB0_29
	jmp	LBB0_31
LBB0_17:
	movl	$-1, %r14d
LBB0_31:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	xorl	%r14d, %r14d
	jmp	LBB0_31
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_18
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_refname_disposition,8,3        ## @refname_disposition
	.comm	_REFNAME_REFSPEC_PATTERN,4,2    ## @REFNAME_REFSPEC_PATTERN
	.comm	_LOCK_SUFFIX_LEN,4,2            ## @LOCK_SUFFIX_LEN
	.comm	_LOCK_SUFFIX,4,2                ## @LOCK_SUFFIX
	.no_dead_strip	_check_refname_component
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_refname_component
_check_refname_component:               ; @check_refname_component
	.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	x20, x2
	mov	x22, x1
	mov	x21, x0
	cbz	x2, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
LBB0_3:
	mov	x19, #0
	mov	w24, #0
Lloh0:
	adrp	x25, _refname_disposition@GOTPAGE
Lloh1:
	ldr	x25, [x25, _refname_disposition@GOTPAGEOFF]
	mov	w26, #45
Lloh2:
	adrp	x28, lJTI0_0@PAGE
Lloh3:
	add	x28, x28, lJTI0_0@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x22]
Lloh4:
	adrp	x8, _REFNAME_REFSPEC_PATTERN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REFNAME_REFSPEC_PATTERN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_18
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bic	w8, w9, w8
	str	w8, [x22]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x19, x19, #1
	mov	x24, x23
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w23, [x21, x19]
	ldr	x8, [x25]
	ldrb	w27, [x8, x23]
	cbz	x20, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w27, #1
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_strbuf_addch
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w8, w27, #1
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w24, #46
	b.ne	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	cbz	x20, LBB0_28
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20]
	sub	w1, w8, #1
	mov	x0, x20
	bl	_strbuf_setlen
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w24, #64
	b.ne	LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x20, LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	x9, x8, [x20]
	add	x8, x9, x8
	sturb	w26, [x8, #-1]
	b	LBB0_6
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	x20, LBB0_28
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	x9, x8, [x20]
	add	x8, x9, x8
	sturb	w26, [x8, #-1]
Lloh7:
	adrp	x8, _REFNAME_REFSPEC_PATTERN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REFNAME_REFSPEC_PATTERN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x22]
	b	LBB0_5
LBB0_20:
	cbz	x19, LBB0_29
; %bb.21:
	ldrb	w8, [x21]
	cmp	w8, #46
	b.ne	LBB0_24
; %bb.22:
	cbz	x20, LBB0_28
; %bb.23:
	ldr	x8, [x20, #8]
	mov	w9, #45
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	strb	w9, [x8, x10]
LBB0_24:
Lloh10:
	adrp	x8, _LOCK_SUFFIX_LEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOCK_SUFFIX_LEN@GOTPAGEOFF]
Lloh12:
	ldrsw	x2, [x8]
	cmp	x19, x2
	b.lt	LBB0_29
; %bb.25:
	sub	x8, x21, x2
	add	x0, x8, x19
Lloh13:
	adrp	x21, _LOCK_SUFFIX@GOTPAGE
Lloh14:
	ldr	x21, [x21, _LOCK_SUFFIX@GOTPAGEOFF]
	ldr	w1, [x21]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcmp
	cbnz	w0, LBB0_29
; %bb.26:
	cbz	x20, LBB0_28
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	bl	_strbuf_strip_suffix
	cbnz	x0, LBB0_27
	b	LBB0_29
LBB0_28:
	mov	w19, #-1
LBB0_29:
	mov	x0, x19
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.comm	_refname_disposition,8,3        ; @refname_disposition
	.comm	_REFNAME_REFSPEC_PATTERN,4,2    ; @REFNAME_REFSPEC_PATTERN
	.comm	_LOCK_SUFFIX_LEN,4,2            ; @LOCK_SUFFIX_LEN
	.comm	_LOCK_SUFFIX,4,2                ; @LOCK_SUFFIX
	.no_dead_strip	_check_refname_component
.subsections_via_symbols
