	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hlfsd_init
_hlfsd_init:                            ## @hlfsd_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_XLOG_INFO@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_plog
	xorl	%eax, %eax
	callq	_hlfsd_init_filehandles
	movq	_D_DAEMON@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_amuDebug
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	callq	_fork
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_2
## %bb.4:
	jne	LBB0_3
LBB0_5:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_plog
	xorl	%eax, %eax
	callq	_plt_init
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_plog
	xorl	%eax, %eax
	callq	_am_set_mypid
	movq	_serverpid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_masterpid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_reload@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_signal
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cleanup@GOTPCREL(%rip), %rsi
	callq	_signal
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_interlock@GOTPCREL(%rip), %rsi
	callq	_signal
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rsi
	callq	_signal
	movq	_ITIMER_REAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_reloadinterval@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	callq	_setitimer
	testq	%rax, %rax
	jns	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rdi
	callq	_fatal
LBB0_7:
	movq	_startup@GOTPCREL(%rip), %rdi
	callq	_clocktime
	movl	(%r15), %edi
	callq	_amuDebug
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	xorl	%eax, %eax
	callq	_amu_release_controlling_tty
	xorl	%eax, %eax
	callq	_getppid
	movq	_SIGUSR2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kill
	testq	%rax, %rax
	jns	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rdi
	callq	_fatal
LBB0_10:
	movl	(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_plog
	xorl	%eax, %eax
	callq	_svc_run
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cleanup                        ## TAILCALL
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
LBB0_3:
	movq	_masterpid@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_am_set_mypid                   ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"initializing hlfsd file handles"

	.comm	_D_DAEMON,4,2                   ## @D_DAEMON
L_.str.1:                               ## @.str.1
	.asciz	"fork: %m"

	.comm	_masterpid,4,2                  ## @masterpid
L_.str.2:                               ## @.str.2
	.asciz	"initializing home directory database"

L_.str.3:                               ## @.str.3
	.asciz	"home directory database initialized"

	.comm	_serverpid,4,2                  ## @serverpid
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_ITIMER_REAL,4,2                ## @ITIMER_REAL
	.comm	_reloadinterval,4,2             ## @reloadinterval
L_.str.4:                               ## @.str.4
	.asciz	"setitimer: %m"

	.comm	_startup,4,2                    ## @startup
	.comm	_SIGUSR2,4,2                    ## @SIGUSR2
L_.str.5:                               ## @.str.5
	.asciz	"kill: %m"

L_.str.6:                               ## @.str.6
	.asciz	"starting svc_run"

	.no_dead_strip	_hlfsd_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hlfsd_init
_hlfsd_init:                            ; @hlfsd_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _XLOG_INFO@GOTPAGE
Lloh1:
	ldr	x20, [x20, _XLOG_INFO@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
	bl	_hlfsd_init_filehandles
Lloh4:
	adrp	x21, _D_DAEMON@GOTPAGE
Lloh5:
	ldr	x21, [x21, _D_DAEMON@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_amuDebug
	cbz	x0, LBB0_3
; %bb.1:
	bl	_fork
	mov	x19, x0
	tbnz	w0, #31, LBB0_9
; %bb.2:
	cbnz	w19, LBB0_10
LBB0_3:
	ldr	w0, [x20]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_plog
	bl	_plt_init
	ldr	w0, [x20]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_plog
	bl	_am_set_mypid
Lloh10:
	adrp	x8, _serverpid@GOTPAGE
Lloh11:
	ldr	x8, [x8, _serverpid@GOTPAGEOFF]
Lloh12:
	str	w0, [x8]
Lloh13:
	adrp	x8, _masterpid@GOTPAGE
Lloh14:
	ldr	x8, [x8, _masterpid@GOTPAGEOFF]
Lloh15:
	str	w0, [x8]
Lloh16:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x19, _reload@GOTPAGE
Lloh20:
	ldr	x19, [x19, _reload@GOTPAGEOFF]
	mov	x1, x19
	bl	_signal
Lloh21:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_signal
Lloh24:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, _cleanup@GOTPAGE
Lloh28:
	ldr	x1, [x1, _cleanup@GOTPAGEOFF]
	bl	_signal
Lloh29:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, _interlock@GOTPAGE
Lloh33:
	ldr	x1, [x1, _interlock@GOTPAGEOFF]
	bl	_signal
Lloh34:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x1, _SIG_IGN@GOTPAGE
Lloh38:
	ldr	x1, [x1, _SIG_IGN@GOTPAGEOFF]
	bl	_signal
Lloh39:
	adrp	x8, _ITIMER_REAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ITIMER_REAL@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, _reloadinterval@GOTPAGE
Lloh43:
	ldr	x1, [x1, _reloadinterval@GOTPAGEOFF]
	mov	x2, #0
	bl	_setitimer
	tbz	x0, #63, LBB0_5
; %bb.4:
Lloh44:
	adrp	x0, l_.str.4@PAGE
Lloh45:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_fatal
LBB0_5:
Lloh46:
	adrp	x0, _startup@GOTPAGE
Lloh47:
	ldr	x0, [x0, _startup@GOTPAGEOFF]
	bl	_clocktime
	ldr	w0, [x21]
	bl	_amuDebug
	cbz	x0, LBB0_11
; %bb.6:
	bl	_amu_release_controlling_tty
	bl	_getppid
Lloh48:
	adrp	x8, _SIGUSR2@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SIGUSR2@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	bl	_kill
	tbz	x0, #63, LBB0_8
; %bb.7:
Lloh51:
	adrp	x0, l_.str.5@PAGE
Lloh52:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_fatal
LBB0_8:
	ldr	w0, [x20]
Lloh53:
	adrp	x1, l_.str.6@PAGE
Lloh54:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_plog
	bl	_svc_run
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_cleanup
LBB0_9:
Lloh55:
	adrp	x0, l_.str.1@PAGE
Lloh56:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
LBB0_10:
Lloh57:
	adrp	x8, _masterpid@GOTPAGE
Lloh58:
	ldr	x8, [x8, _masterpid@GOTPAGEOFF]
Lloh59:
	str	w19, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_am_set_mypid
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotStr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"initializing hlfsd file handles"

	.comm	_D_DAEMON,4,2                   ; @D_DAEMON
l_.str.1:                               ; @.str.1
	.asciz	"fork: %m"

	.comm	_masterpid,4,2                  ; @masterpid
l_.str.2:                               ; @.str.2
	.asciz	"initializing home directory database"

l_.str.3:                               ; @.str.3
	.asciz	"home directory database initialized"

	.comm	_serverpid,4,2                  ; @serverpid
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_ITIMER_REAL,4,2                ; @ITIMER_REAL
	.comm	_reloadinterval,4,2             ; @reloadinterval
l_.str.4:                               ; @.str.4
	.asciz	"setitimer: %m"

	.comm	_startup,4,2                    ; @startup
	.comm	_SIGUSR2,4,2                    ; @SIGUSR2
l_.str.5:                               ; @.str.5
	.asciz	"kill: %m"

l_.str.6:                               ; @.str.6
	.asciz	"starting svc_run"

	.no_dead_strip	_hlfsd_init
.subsections_via_symbols
