	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsd_init                       ## -- Begin function rsd_init
	.p2align	4, 0x90
_rsd_init:                              ## @rsd_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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$1, %edi
	movl	$40, %esi
	callq	_calloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$1, %edi
	callq	_retro_assert
	movq	(%rbx), %rax
	movq	$-1, 32(%rax)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_slock_new
	movq	(%rbx), %rcx
	movq	%rax, 16(%rcx)
	xorl	%eax, %eax
	callq	_slock_new
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	xorl	%eax, %eax
	callq	_slock_new
	movq	(%rbx), %rcx
	movq	%rax, 24(%rcx)
	xorl	%eax, %eax
	callq	_scond_new
	movq	(%rbx), %rdi
	movl	%eax, (%rdi)
	movq	_RSD_S16_LE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_RSD_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_rsd_set_param
	movq	(%rbx), %rdi
	movq	_RSD_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RSD_DEFAULT_HOST@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	callq	_rsd_set_param
	movq	(%rbx), %rdi
	movq	_RSD_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RSD_DEFAULT_PORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	callq	_rsd_set_param
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSD_S16_LE,4,2                 ## @RSD_S16_LE
	.comm	_RSD_FORMAT,4,2                 ## @RSD_FORMAT
	.comm	_RSD_HOST,4,2                   ## @RSD_HOST
	.comm	_RSD_DEFAULT_HOST,8,3           ## @RSD_DEFAULT_HOST
	.comm	_RSD_PORT,4,2                   ## @RSD_PORT
	.comm	_RSD_DEFAULT_PORT,8,3           ## @RSD_DEFAULT_PORT
	.comm	_CELL_SYSMODULE_NET,4,2         ## @CELL_SYSMODULE_NET
	.comm	_init_count,8,3                 ## @init_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsd_init                       ; -- Begin function rsd_init
	.p2align	2
_rsd_init:                              ; @rsd_init
	.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
	mov	x19, x0
	mov	w0, #1
	mov	w1, #40
	bl	_calloc
	str	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_retro_assert
	ldr	x8, [x19]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x8, #32]
	bl	_slock_new
	ldr	x8, [x19]
	str	x0, [x8, #16]
	bl	_slock_new
	ldr	x8, [x19]
	str	x0, [x8, #8]
	bl	_slock_new
	ldr	x8, [x19]
	str	x0, [x8, #24]
	bl	_scond_new
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _RSD_S16_LE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RSD_S16_LE@GOTPAGEOFF]
	str	w0, [x8]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #12]
Lloh3:
	adrp	x9, _RSD_FORMAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RSD_FORMAT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x8
	bl	_rsd_set_param
	ldr	x0, [x19]
Lloh6:
	adrp	x8, _RSD_HOST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSD_HOST@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _RSD_DEFAULT_HOST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RSD_DEFAULT_HOST@GOTPAGEOFF]
Lloh11:
	ldr	x2, [x8]
	bl	_rsd_set_param
	ldr	x0, [x19]
Lloh12:
	adrp	x8, _RSD_PORT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSD_PORT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _RSD_DEFAULT_PORT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RSD_DEFAULT_PORT@GOTPAGEOFF]
Lloh17:
	ldr	x2, [x8]
	bl	_rsd_set_param
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RSD_S16_LE,4,2                 ; @RSD_S16_LE
	.comm	_RSD_FORMAT,4,2                 ; @RSD_FORMAT
	.comm	_RSD_HOST,4,2                   ; @RSD_HOST
	.comm	_RSD_DEFAULT_HOST,8,3           ; @RSD_DEFAULT_HOST
	.comm	_RSD_PORT,4,2                   ; @RSD_PORT
	.comm	_RSD_DEFAULT_PORT,8,3           ; @RSD_DEFAULT_PORT
	.comm	_CELL_SYSMODULE_NET,4,2         ; @CELL_SYSMODULE_NET
	.comm	_init_count,8,3                 ; @init_count
.subsections_via_symbols
