	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init
_init:                                  ## @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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	L_.str(%rip), %rax
	movq	_uc_cfg@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	$0, -32(%rbp)
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigaction
	testq	%rax, %rax
	js	LBB0_8
## %bb.1:
	movl	56(%r14), %edi
	testl	%edi, %edi
	je	LBB0_9
## %bb.2:
	callq	_malloc
	movq	%rax, 64(%r14)
	movl	56(%r14), %edi
	callq	_malloc
	movq	%rax, 72(%r14)
	movq	64(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.3:
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	cmpl	$0, 56(%r14)
	je	LBB0_10
## %bb.5:
	movb	$0, (%rcx)
	cmpl	$2, 56(%r14)
	jb	LBB0_10
## %bb.6:
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	64(%r14), %rcx
	movb	%al, (%rcx,%rax)
	incq	%rax
	movslq	56(%r14), %rcx
	cmpq	%rcx, %rax
	jb	LBB0_7
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_18
LBB0_9:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%r14)
LBB0_10:
	xorl	%eax, %eax
	callq	_getuid
	movl	%eax, 52(%r14)
	xorl	%eax, %eax
	callq	_geteuid
	movl	%eax, 48(%r14)
	xorl	%eax, %eax
	callq	_getgid
	movl	%eax, 44(%r14)
	xorl	%eax, %eax
	callq	_getegid
	movl	%eax, 40(%r14)
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_getgroups
	movl	%eax, 24(%r14)
	testl	%eax, %eax
	js	LBB0_17
## %bb.11:
	shll	$2, %eax
	movl	%eax, %edi
	callq	_malloc
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:
	movl	24(%r14), %edi
	movq	%rax, %rsi
	callq	_getgroups
	testq	%rax, %rax
	js	LBB0_17
## %bb.13:
	leaq	8(%r14), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	16(%r14), %edi
	movq	_work_dir@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%r14), %r8
	leaq	L_.str.4(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_21
## %bb.14:
	cmpl	$4, %eax
	jb	LBB0_22
## %bb.15:
	leaq	L_.str.6(%rip), %rdi
	callq	_uc_logmsgx
	jmp	LBB0_19
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.3(%rip), %rdi
LBB0_18:
	callq	_uc_logmsg
LBB0_19:
	movl	$-1, %eax
LBB0_20:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_21:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_18
LBB0_22:
	movq	_PF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	%rbx, %rdi
	callq	_SUN_LEN
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SERVER"

	.comm	_uc_cfg,80,3                    ## @uc_cfg
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
L_.str.1:                               ## @.str.1
	.asciz	"init: sigaction"

L_.str.2:                               ## @.str.2
	.asciz	"init: malloc"

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

L_.str.4:                               ## @.str.4
	.asciz	"%s/%s"

	.comm	_work_dir,8,3                   ## @work_dir
L_.str.5:                               ## @.str.5
	.asciz	"init: snprintf"

L_.str.6:                               ## @.str.6
	.asciz	"init: not enough space for socket pathname"

	.comm	_PF_LOCAL,4,2                   ## @PF_LOCAL
	.no_dead_strip	_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init
_init:                                  ; @init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x19, _uc_cfg@GOTPAGE
Lloh1:
	ldr	x19, [x19, _uc_cfg@GOTPAGEOFF]
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
Lloh4:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
	add	x0, sp, #8
	bl	_sigemptyset
Lloh7:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	x2, #0
	bl	_sigaction
	tbnz	x0, #63, LBB0_7
; %bb.1:
	ldr	w0, [x19, #56]
	cbz	w0, LBB0_8
; %bb.2:
	bl	_malloc
	str	x0, [x19, #64]
	ldr	w0, [x19, #56]
	bl	_malloc
	str	x0, [x19, #72]
	ldr	x8, [x19, #64]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_15
; %bb.3:
	ldr	w9, [x19, #56]
	cbz	w9, LBB0_9
; %bb.4:
	strb	wzr, [x8]
	ldr	w8, [x19, #56]
	cmp	w8, #2
	b.lo	LBB0_9
; %bb.5:
	mov	w8, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #64]
	strb	w8, [x9, x8]
	add	x8, x8, #1
	ldrsw	x9, [x19, #56]
	cmp	x8, x9
	b.lo	LBB0_6
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_8:
	stp	xzr, xzr, [x19, #64]
LBB0_9:
	bl	_getuid
	str	w0, [x19, #52]
	bl	_geteuid
	str	w0, [x19, #48]
	bl	_getgid
	str	w0, [x19, #44]
	bl	_getegid
	str	w0, [x19, #40]
	mov	w0, #0
	mov	x1, #0
	bl	_getgroups
	str	w0, [x19, #24]
	tbnz	w0, #31, LBB0_16
; %bb.10:
	lsl	w0, w0, #2
	bl	_malloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_15
; %bb.11:
	mov	x1, x0
	ldr	w0, [x19, #24]
	bl	_getgroups
	tbnz	x0, #63, LBB0_16
; %bb.12:
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	w0, [x19, #16]
Lloh12:
	adrp	x8, _work_dir@GOTPAGE
Lloh13:
	ldr	x8, [x8, _work_dir@GOTPAGEOFF]
Lloh14:
	ldr	x3, [x8]
	ldr	x4, [x19]
Lloh15:
	adrp	x2, l_.str.4@PAGE
Lloh16:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	tbnz	w0, #31, LBB0_20
; %bb.13:
	cmp	w0, #4
	b.lo	LBB0_21
; %bb.14:
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_uc_logmsgx
	b	LBB0_18
LBB0_15:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_17:
	bl	_uc_logmsg
LBB0_18:
	mov	w0, #-1
LBB0_19:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_20:
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_17
LBB0_21:
Lloh25:
	adrp	x8, _PF_LOCAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PF_LOCAL@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	add	x0, x19, #8
	bl	_SUN_LEN
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SERVER"

	.comm	_uc_cfg,80,3                    ; @uc_cfg
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
l_.str.1:                               ; @.str.1
	.asciz	"init: sigaction"

l_.str.2:                               ; @.str.2
	.asciz	"init: malloc"

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

l_.str.4:                               ; @.str.4
	.asciz	"%s/%s"

	.comm	_work_dir,8,3                   ; @work_dir
l_.str.5:                               ; @.str.5
	.asciz	"init: snprintf"

l_.str.6:                               ; @.str.6
	.asciz	"init: not enough space for socket pathname"

	.comm	_PF_LOCAL,4,2                   ; @PF_LOCAL
	.no_dead_strip	_init
.subsections_via_symbols
