	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_default                   ## -- Begin function init_default
	.p2align	4, 0x90
_init_default:                          ## @init_default
	.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
	xorl	%eax, %eax
	callq	_dl_set_default_handlers
	xorl	%edi, %edi
	callq	_time
	movq	_now@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_getpid
	movq	_pid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_rpc_port@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movq	_PID@GOTPCREL(%rip), %rcx
	movw	%ax, (%rcx)
	movq	_dynamic_data_buffer_size@GOTPCREL(%rip), %rax
	movl	$67108864, (%rax)               ## imm = 0x4000000
	xorl	%eax, %eax
	callq	_init_dyn_data
	movq	_username@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_4
## %bb.1:
	movq	_maxconn@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_MAX_CONNECTIONS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_geteuid
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1000, (%r14)                   ## imm = 0x3E8
LBB0_4:
	movq	_maxconn@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addl	$16, %edi
	callq	_raise_file_rlimit
	testq	%rax, %rax
	js	LBB0_7
## %bb.5:
	xorl	%edi, %edi
	callq	_aes_load_pwd_file
	movq	(%r15), %rdi
	callq	_change_user
	testq	%rax, %rax
	js	LBB0_8
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%rbx), %edx
	addl	$16, %edx
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movl	$1, %edi
	callq	_exit
LBB0_8:
	movq	(%r15), %rax
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.1(%rip), %rsi
	movl	$-1, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_now,4,2                        ## @now
	.comm	_pid,4,2                        ## @pid
	.comm	_rpc_port,8,3                   ## @rpc_port
	.comm	_PID,2,1                        ## @PID
	.comm	_dynamic_data_buffer_size,4,2   ## @dynamic_data_buffer_size
	.comm	_username,8,3                   ## @username
	.comm	_maxconn,4,2                    ## @maxconn
	.comm	_MAX_CONNECTIONS,4,2            ## @MAX_CONNECTIONS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fatal: cannot raise open file limit to %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"fatal: cannot change user to %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"(none)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_default                   ; -- Begin function init_default
	.p2align	2
_init_default:                          ; @init_default
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	bl	_dl_set_default_handlers
	mov	x0, #0
	bl	_time
Lloh0:
	adrp	x8, _now@GOTPAGE
Lloh1:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	bl	_getpid
Lloh3:
	adrp	x8, _pid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pid@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
Lloh6:
	adrp	x8, _rpc_port@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rpc_port@GOTPAGEOFF]
Lloh8:
	adrp	x9, _PID@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PID@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	strh	w8, [x9]
Lloh12:
	adrp	x8, _dynamic_data_buffer_size@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dynamic_data_buffer_size@GOTPAGEOFF]
	mov	w9, #67108864
Lloh14:
	str	w9, [x8]
	bl	_init_dyn_data
Lloh15:
	adrp	x19, _username@GOTPAGE
Lloh16:
	ldr	x19, [x19, _username@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh17:
	adrp	x20, _maxconn@GOTPAGE
Lloh18:
	ldr	x20, [x20, _maxconn@GOTPAGEOFF]
	cbnz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x20]
Lloh19:
	adrp	x9, _MAX_CONNECTIONS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MAX_CONNECTIONS@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.2:
	bl	_geteuid
	cbz	x0, LBB0_4
; %bb.3:
	mov	w8, #1000
	str	w8, [x20]
LBB0_4:
	ldr	w8, [x20]
	add	w0, w8, #16
	bl	_raise_file_rlimit
	tbnz	x0, #63, LBB0_7
; %bb.5:
	mov	x0, #0
	bl	_aes_load_pwd_file
	ldr	x0, [x19]
	bl	_change_user
	tbnz	x0, #63, LBB0_8
; %bb.6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	ldr	w8, [x20]
	add	w8, w8, #16
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
	ldr	x8, [x19]
Lloh24:
	adrp	x9, l_.str.2@PAGE
Lloh25:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	mov	w0, #-1
	bl	_vkprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_now,4,2                        ; @now
	.comm	_pid,4,2                        ; @pid
	.comm	_rpc_port,8,3                   ; @rpc_port
	.comm	_PID,2,1                        ; @PID
	.comm	_dynamic_data_buffer_size,4,2   ; @dynamic_data_buffer_size
	.comm	_username,8,3                   ; @username
	.comm	_maxconn,4,2                    ; @maxconn
	.comm	_MAX_CONNECTIONS,4,2            ; @MAX_CONNECTIONS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fatal: cannot raise open file limit to %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"fatal: cannot change user to %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"(none)"

.subsections_via_symbols
