	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function current_pointed_by_HEAD
_current_pointed_by_HEAD:               ## @current_pointed_by_HEAD
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	movq	_DECORATION_REF_HEAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r14d, %r14d
	movq	%rdi, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rcx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_2
	jmp	LBB0_15
LBB0_5:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	leaq	-36(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_resolve_ref_unsafe
	testq	%rax, %rax
	je	LBB0_15
## %bb.6:
	movq	%rax, %r15
	movq	_REF_ISSYMREF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -36(%rbp)
	je	LBB0_14
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_starts_with
	testl	%eax, %eax
	je	LBB0_14
## %bb.8:
	movq	_DECORATION_REF_LOCAL@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	8(%rbx), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.12:
	movq	%rbx, %r14
	jmp	LBB0_15
LBB0_14:
	xorl	%r14d, %r14d
LBB0_15:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DECORATION_REF_HEAD,8,3        ## @DECORATION_REF_HEAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

	.comm	_REF_ISSYMREF,4,2               ## @REF_ISSYMREF
L_.str.1:                               ## @.str.1
	.asciz	"refs/"

	.comm	_DECORATION_REF_LOCAL,8,3       ## @DECORATION_REF_LOCAL
	.no_dead_strip	_current_pointed_by_HEAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function current_pointed_by_HEAD
_current_pointed_by_HEAD:               ; @current_pointed_by_HEAD
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.1:
Lloh0:
	adrp	x8, _DECORATION_REF_HEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DECORATION_REF_HEAD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	x9, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cmp	x10, x8
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x9, #16]
	cbnz	x9, LBB0_2
	b	LBB0_11
LBB0_4:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x3, sp, #12
	mov	w1, #0
	mov	x2, #0
	bl	_resolve_ref_unsafe
	cbz	x0, LBB0_11
; %bb.5:
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _REF_ISSYMREF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REF_ISSYMREF@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.6:
	mov	x20, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_starts_with
	cbz	w0, LBB0_11
; %bb.7:
Lloh10:
	adrp	x21, _DECORATION_REF_LOCAL@GOTPAGE
Lloh11:
	ldr	x21, [x21, _DECORATION_REF_LOCAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x19, [x19, #16]
	cbz	x19, LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_strcmp
	cbnz	w0, LBB0_8
	b	LBB0_12
LBB0_11:
	mov	x19, #0
LBB0_12:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DECORATION_REF_HEAD,8,3        ; @DECORATION_REF_HEAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_REF_ISSYMREF,4,2               ; @REF_ISSYMREF
l_.str.1:                               ; @.str.1
	.asciz	"refs/"

	.comm	_DECORATION_REF_LOCAL,8,3       ; @DECORATION_REF_LOCAL
	.no_dead_strip	_current_pointed_by_HEAD
.subsections_via_symbols
