	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_service
_run_service:                           ## @run_service
	.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	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rsi), %ebx
	movl	%ebx, -52(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	16(%rsi), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_loginfo
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 24(%r15)
	je	LBB0_2
LBB0_3:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_path_ok
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r13
	movq	_export_all_trees@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
LBB0_9:
	cmpq	$0, 24(%r15)
	je	LBB0_11
## %bb.10:
	movl	20(%r15), %edx
	leaq	L_.str.7(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_addf
	movl	-48(%rbp), %edi
	leaq	-52(%rbp), %rsi
	callq	_git_config_get_bool
	movq	%rbx, %rdi
	callq	_strbuf_release
	movl	-52(%rbp), %ebx
LBB0_11:
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.13:
	movq	_access_hook@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_run_access_hook
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_16
LBB0_15:
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	*8(%r15)
	jmp	LBB0_16
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	movq	_F_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_access
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.5(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_logerror
	movq	_EACCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_5
LBB0_12:
	movslq	16(%r15), %rsi
	leaq	L_.str.8(%rip), %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_logerror
	movq	_EACCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_daemon_error
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movslq	16(%r15), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_logerror
	movq	_EACCES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str.2(%rip), %rsi
LBB0_5:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_daemon_error                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Request %s for '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"'%s': service not enabled."

	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"service not enabled"

L_.str.3:                               ## @.str.3
	.asciz	"no such repository"

	.comm	_export_all_trees,4,2           ## @export_all_trees
L_.str.4:                               ## @.str.4
	.asciz	"git-daemon-export-ok"

	.comm	_F_OK,4,2                       ## @F_OK
L_.str.5:                               ## @.str.5
	.asciz	"'%s': repository not exported."

L_.str.6:                               ## @.str.6
	.asciz	"repository not exported"

L_.str.7:                               ## @.str.7
	.asciz	"daemon.%s"

L_.str.8:                               ## @.str.8
	.asciz	"'%s': service not enabled for '%s'"

	.comm	_access_hook,8,3                ## @access_hook
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.no_dead_strip	_run_service
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_service
_run_service:                           ; @run_service
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w24, [x1]
	str	w24, [sp, #12]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w1, [x1, #16]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_loginfo
	cbnz	w24, LBB0_2
; %bb.1:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_16
LBB0_2:
	mov	x0, x19
	mov	x1, x22
	bl	_path_ok
	cbz	x0, LBB0_10
; %bb.3:
	mov	x23, x0
Lloh5:
	adrp	x8, _export_all_trees@GOTPAGE
Lloh6:
	ldr	x8, [x8, _export_all_trees@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w8, LBB0_11
LBB0_4:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w2, [x21, #20]
Lloh8:
	adrp	x1, l_.str.7@PAGE
Lloh9:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addf
	ldr	w0, [sp, #8]
	add	x1, sp, #12
	bl	_git_config_get_bool
	add	x0, sp, #8
	bl	_strbuf_release
	ldr	w24, [sp, #12]
LBB0_6:
	cbz	w24, LBB0_13
; %bb.7:
Lloh10:
	adrp	x8, _access_hook@GOTPAGE
Lloh11:
	ldr	x8, [x8, _access_hook@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.8:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	bl	_run_access_hook
	cbz	x0, LBB0_14
; %bb.9:
	mov	w0, #-1
	b	LBB0_15
LBB0_10:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_11:
Lloh15:
	adrp	x8, _F_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _F_OK@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_access
	cbz	x0, LBB0_4
; %bb.12:
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x23
	bl	_logerror
Lloh22:
	adrp	x8, _EACCES@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh24:
	adrp	x9, _errno@GOTPAGE
Lloh25:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	str	w8, [x9]
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_17
LBB0_13:
	ldrsw	x1, [x21, #16]
	str	x23, [sp]
Lloh30:
	adrp	x0, l_.str.8@PAGE
Lloh31:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_logerror
Lloh32:
	adrp	x8, _EACCES@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _errno@GOTPAGE
Lloh36:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh37:
	str	w8, [x9]
Lloh38:
	adrp	x1, l_.str.2@PAGE
Lloh39:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_daemon_error
	b	LBB0_15
LBB0_14:
Lloh40:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	bl	_signal
	ldr	x8, [x21, #8]
	mov	x0, x20
	blr	x8
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
	ldrsw	x1, [x21, #16]
Lloh46:
	adrp	x0, l_.str.1@PAGE
Lloh47:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_logerror
Lloh48:
	adrp	x8, _EACCES@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh50:
	adrp	x9, _errno@GOTPAGE
Lloh51:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
Lloh53:
	str	w8, [x9]
Lloh54:
	adrp	x1, l_.str.2@PAGE
Lloh55:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_daemon_error
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh52
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Request %s for '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"'%s': service not enabled."

	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"service not enabled"

l_.str.3:                               ; @.str.3
	.asciz	"no such repository"

	.comm	_export_all_trees,4,2           ; @export_all_trees
l_.str.4:                               ; @.str.4
	.asciz	"git-daemon-export-ok"

	.comm	_F_OK,4,2                       ; @F_OK
l_.str.5:                               ; @.str.5
	.asciz	"'%s': repository not exported."

l_.str.6:                               ; @.str.6
	.asciz	"repository not exported"

l_.str.7:                               ; @.str.7
	.asciz	"daemon.%s"

l_.str.8:                               ; @.str.8
	.asciz	"'%s': service not enabled for '%s'"

	.comm	_access_hook,8,3                ; @access_hook
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.no_dead_strip	_run_service
.subsections_via_symbols
