	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refname_match                  ## -- Begin function refname_match
	.p2align	4, 0x90
_refname_match:                         ## @refname_match
	.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	%rsi, %r15
	movq	%rdi, %rbx
	callq	_strlen
	movl	%eax, %r12d
	movq	_ref_rev_parse_rules@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%r13), %rdi
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	_NUM_REV_PARSE_RULES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$3, %rax
	movq	%r13, %r14
	subq	%rax, %r14
	addq	$8, %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_mkpath
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	addq	$8, %r14
	addq	$8, %r13
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_ref_rev_parse_rules@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	%r14, %rax
	shrq	$3, %rax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_REV_PARSE_RULES,4,2        ## @NUM_REV_PARSE_RULES
	.comm	_ref_rev_parse_rules,8,3        ## @ref_rev_parse_rules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refname_match                  ; -- Begin function refname_match
	.p2align	2
_refname_match:                         ; @refname_match
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	bl	_strlen
	mov	x21, x0
Lloh0:
	adrp	x22, _ref_rev_parse_rules@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ref_rev_parse_rules@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x0, [x8]
	cbz	x0, LBB0_5
; %bb.1:
Lloh2:
	adrp	x9, _NUM_REV_PARSE_RULES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NUM_REV_PARSE_RULES@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	sub	x23, x8, x9, lsl #3
	add	x24, x8, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x21
	mov	x2, x20
	bl	_mkpath
	mov	x1, x0
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x24], #8
	add	x23, x23, #8
	cbnz	x0, LBB0_2
	b	LBB0_5
LBB0_4:
	ldr	x8, [x22]
	sub	x8, x8, x23
	lsr	x0, x8, #3
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_REV_PARSE_RULES,4,2        ; @NUM_REV_PARSE_RULES
	.comm	_ref_rev_parse_rules,8,3        ; @ref_rev_parse_rules
.subsections_via_symbols
