	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reject_updates_to_hidden
_reject_updates_to_hidden:              ## @reject_updates_to_hidden
	.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	%rdi, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	xorl	%eax, %eax
	callq	_get_git_namespace
	leaq	-64(%rbp), %rdi
	movl	%eax, %esi
	callq	_strbuf_addstr
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	-64(%rbp), %r14
	leaq	-64(%rbp), %r15
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strbuf_setlen
	movl	12(%rbx), %esi
	movq	%r15, %rdi
	callq	_strbuf_addstr
	movl	12(%rbx), %edi
	movl	-56(%rbp), %esi
	callq	_ref_is_hidden
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%rbx), %rdi
	callq	_is_null_oid
	testq	%rax, %rax
	movq	%r13, %rax
	cmoveq	%r12, %rax
	movq	%rax, (%rbx)
	jmp	LBB0_5
LBB0_6:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"deny deleting a hidden ref"

L_.str.1:                               ## @.str.1
	.asciz	"deny updating a hidden ref"

	.no_dead_strip	_reject_updates_to_hidden
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reject_updates_to_hidden
_reject_updates_to_hidden:              ; @reject_updates_to_hidden
	.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
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	bl	_get_git_namespace
	mov	x1, x0
	mov	x0, sp
	bl	_strbuf_addstr
	cbz	x19, LBB0_6
; %bb.1:
	ldr	x20, [sp]
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
Lloh5:
	adrp	x22, l_.str.1@PAGE
Lloh6:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #16]
	cbz	x19, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, sp
	mov	x1, x20
	bl	_strbuf_setlen
	ldr	w1, [x19, #12]
	mov	x0, sp
	bl	_strbuf_addstr
	ldr	w0, [x19, #12]
	ldr	w1, [sp, #8]
	bl	_ref_is_hidden
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x19, #8
	bl	_is_null_oid
	cmp	x0, #0
	csel	x8, x22, x21, eq
	str	x8, [x19]
	b	LBB0_2
LBB0_6:
	mov	x0, sp
	bl	_strbuf_release
	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	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"deny deleting a hidden ref"

l_.str.1:                               ; @.str.1
	.asciz	"deny updating a hidden ref"

	.no_dead_strip	_reject_updates_to_hidden
.subsections_via_symbols
