	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsd_simple_start               ## -- Begin function rsd_simple_start
	.p2align	4, 0x90
_rsd_simple_start:                      ## @rsd_simple_start
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	%r8d, -44(%rbp)
	movl	%r9d, -40(%rbp)
	callq	_rsd_init
	testq	%rax, %rax
	js	LBB0_12
## %bb.1:
	movl	16(%rbp), %eax
	movl	%eax, -36(%rbp)
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	(%r12), %rdi
	movq	_RSD_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_rsd_set_param
LBB0_3:
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	(%r12), %rdi
	movq	_RSD_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_rsd_set_param
LBB0_5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	(%r12), %rdi
	movq	_RSD_IDENTITY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_rsd_set_param
LBB0_7:
	movq	(%r12), %rdi
	movq	_RSD_SAMPLERATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_rsd_set_param
	testq	%rax, %rax
	js	LBB0_11
## %bb.8:
	movq	(%r12), %rdi
	movq	_RSD_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	callq	_rsd_set_param
	testq	%rax, %rax
	js	LBB0_11
## %bb.9:
	movq	(%r12), %rdi
	movq	_RSD_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	callq	_rsd_set_param
	testq	%rax, %rax
	js	LBB0_11
## %bb.10:
	movq	(%r12), %rdi
	callq	_rsd_start
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jns	LBB0_13
LBB0_11:
	movq	(%r12), %rdi
	callq	_rsd_free
LBB0_12:
	movl	$-1, %eax
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSD_HOST,4,2                   ## @RSD_HOST
	.comm	_RSD_PORT,4,2                   ## @RSD_PORT
	.comm	_RSD_IDENTITY,4,2               ## @RSD_IDENTITY
	.comm	_RSD_SAMPLERATE,4,2             ## @RSD_SAMPLERATE
	.comm	_RSD_CHANNELS,4,2               ## @RSD_CHANNELS
	.comm	_RSD_FORMAT,4,2                 ## @RSD_FORMAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsd_simple_start               ; -- Begin function rsd_simple_start
	.p2align	2
_rsd_simple_start:                      ; @rsd_simple_start
	.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	x23, x6
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	stp	w5, w4, [sp, #8]
	bl	_rsd_init
	tbnz	x0, #63, LBB0_13
; %bb.1:
	str	w23, [sp, #4]
	cbz	x22, LBB0_3
; %bb.2:
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _RSD_HOST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSD_HOST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_rsd_set_param
LBB0_3:
	cbz	x21, LBB0_5
; %bb.4:
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _RSD_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSD_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_rsd_set_param
LBB0_5:
	cbz	x20, LBB0_7
; %bb.6:
	ldr	x0, [x19]
Lloh6:
	adrp	x8, _RSD_IDENTITY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSD_IDENTITY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_rsd_set_param
LBB0_7:
	ldr	x0, [x19]
Lloh9:
	adrp	x8, _RSD_SAMPLERATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RSD_SAMPLERATE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_rsd_set_param
	tbnz	x0, #63, LBB0_12
; %bb.8:
	ldr	x0, [x19]
Lloh12:
	adrp	x8, _RSD_CHANNELS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSD_CHANNELS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_rsd_set_param
	tbnz	x0, #63, LBB0_12
; %bb.9:
	ldr	x0, [x19]
Lloh15:
	adrp	x8, _RSD_FORMAT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RSD_FORMAT@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x2, sp, #4
	bl	_rsd_set_param
	tbnz	x0, #63, LBB0_12
; %bb.10:
	ldr	x0, [x19]
	bl	_rsd_start
	tbnz	x0, #63, LBB0_12
; %bb.11:
	mov	w0, #0
	b	LBB0_14
LBB0_12:
	ldr	x0, [x19]
	bl	_rsd_free
LBB0_13:
	mov	w0, #-1
LBB0_14:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RSD_HOST,4,2                   ; @RSD_HOST
	.comm	_RSD_PORT,4,2                   ; @RSD_PORT
	.comm	_RSD_IDENTITY,4,2               ; @RSD_IDENTITY
	.comm	_RSD_SAMPLERATE,4,2             ; @RSD_SAMPLERATE
	.comm	_RSD_CHANNELS,4,2               ; @RSD_CHANNELS
	.comm	_RSD_FORMAT,4,2                 ; @RSD_FORMAT
.subsections_via_symbols
