	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_info_refs
_get_info_refs:                         ## @get_info_refs
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_get_parameter
	movq	%rax, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	%r15, %rdi
	callq	_hdr_nocache
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	$0, -48(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -56(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_select_service
	movq	%rax, %r14
	movq	(%rax), %rdx
	leaq	L_.str.4(%rip), %rsi
	leaq	-88(%rbp), %rdi
	callq	_strbuf_addf
	movq	_content_type@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-88(%rbp), %edx
	movq	%r15, %rdi
	callq	_hdr_str
	movq	%r15, %rdi
	callq	_end_headers
	xorl	%eax, %eax
	callq	_determine_protocol_version_server
	movq	_protocol_v2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rdx
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_packet_write_fmt
	movl	$1, %edi
	callq	_packet_flush
LBB0_3:
	movq	(%r14), %rax
	movq	%rax, -80(%rbp)
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	callq	_run_service
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	callq	_select_getanyfile
	movq	_show_text_ref@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_for_each_namespaced_ref
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_send_strbuf
LBB0_5:
	leaq	-88(%rbp), %rdi
	callq	_strbuf_release
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"service"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.1:                               ## @.str.1
	.asciz	"--stateless-rpc"

L_.str.2:                               ## @.str.2
	.asciz	"--advertise-refs"

L_.str.3:                               ## @.str.3
	.asciz	"."

L_.str.4:                               ## @.str.4
	.asciz	"application/x-git-%s-advertisement"

	.comm	_content_type,4,2               ## @content_type
	.comm	_protocol_v2,8,3                ## @protocol_v2
L_.str.5:                               ## @.str.5
	.asciz	"# service=git-%s\n"

	.comm	_show_text_ref,4,2              ## @show_text_ref
L_.str.6:                               ## @.str.6
	.asciz	"text/plain"

	.no_dead_strip	_get_info_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_info_refs
_get_info_refs:                         ; @get_info_refs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_get_parameter
	mov	x20, x0
Lloh5:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x19
	bl	_hdr_nocache
	cbz	x20, LBB0_4
; %bb.1:
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh10:
	adrp	x9, l_.str.2@PAGE
Lloh11:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x8, x9, [sp, #24]
Lloh12:
	adrp	x8, l_.str.3@PAGE
Lloh13:
	add	x8, x8, l_.str.3@PAGEOFF
	stp	x8, xzr, [sp, #40]
	mov	x0, x19
	mov	x1, x20
	bl	_select_service
	mov	x20, x0
	ldr	x2, [x0]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addf
Lloh16:
	adrp	x8, _content_type@GOTPAGE
Lloh17:
	ldr	x8, [x8, _content_type@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w2, [sp, #8]
	mov	x0, x19
	bl	_hdr_str
	mov	x0, x19
	bl	_end_headers
	bl	_determine_protocol_version_server
Lloh19:
	adrp	x8, _protocol_v2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _protocol_v2@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	ldr	x2, [x20]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_packet_write_fmt
	mov	w0, #1
	bl	_packet_flush
LBB0_3:
	ldr	x8, [x20]
	str	x8, [sp, #16]
	add	x0, sp, #16
	mov	w1, #0
	bl	_run_service
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_select_getanyfile
Lloh24:
	adrp	x8, _show_text_ref@GOTPAGE
Lloh25:
	ldr	x8, [x8, _show_text_ref@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_for_each_namespaced_ref
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_send_strbuf
LBB0_5:
	add	x0, sp, #8
	bl	_strbuf_release
	ldur	x8, [x29, #-24]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"service"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.1:                               ; @.str.1
	.asciz	"--stateless-rpc"

l_.str.2:                               ; @.str.2
	.asciz	"--advertise-refs"

l_.str.3:                               ; @.str.3
	.asciz	"."

l_.str.4:                               ; @.str.4
	.asciz	"application/x-git-%s-advertisement"

	.comm	_content_type,4,2               ; @content_type
	.comm	_protocol_v2,8,3                ; @protocol_v2
l_.str.5:                               ; @.str.5
	.asciz	"# service=git-%s\n"

	.comm	_show_text_ref,4,2              ; @show_text_ref
l_.str.6:                               ; @.str.6
	.asciz	"text/plain"

	.no_dead_strip	_get_info_refs
.subsections_via_symbols
