	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsd_set_param                  ## -- Begin function rsd_set_param
	.p2align	4, 0x90
_rsd_set_param:                         ## @rsd_set_param
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_retro_assert
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_retro_assert
	movl	$-1, %r12d
	addl	$-128, %ebx
	cmpl	$7, %ebx
	ja	LBB0_19
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_19
## %bb.3:
	movl	%eax, (%r14)
	jmp	LBB0_18
LBB0_9:
	movq	40(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_free
LBB0_11:
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, 40(%r14)
	jmp	LBB0_18
LBB0_14:
	movl	(%r15), %eax
	movl	%eax, 12(%r14)
	jmp	LBB0_18
LBB0_17:
	movq	24(%r14), %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_strlcpy
	movq	24(%r14), %rax
	movb	$0, 7(%rax)
	jmp	LBB0_18
LBB0_6:
	movq	48(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_free
LBB0_8:
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, 48(%r14)
	jmp	LBB0_18
LBB0_15:
	movslq	(%r15), %rdi
	movq	%rdi, 32(%r14)
	callq	_rsnd_format_to_samplesize
	movl	%eax, 16(%r14)
	xorl	%r12d, %r12d
	cmpl	$-1, %eax
	jne	LBB0_19
## %bb.16:
	movq	_RSD_S16_LE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	%rdi, 32(%r14)
	callq	_rsnd_format_to_samplesize
	movl	%eax, 16(%r14)
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	jmp	LBB0_19
LBB0_4:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_19
## %bb.5:
	movl	%eax, 4(%r14)
	jmp	LBB0_18
LBB0_12:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_19
## %bb.13:
	movl	%eax, 8(%r14)
LBB0_18:
	xorl	%r12d, %r12d
LBB0_19:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_14
	.long	L0_0_set_17
	.long	L0_0_set_6
	.long	L0_0_set_15
	.long	L0_0_set_4
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_RSD_S16_LE,8,3                 ## @RSD_S16_LE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsd_set_param                  ; -- Begin function rsd_set_param
	.p2align	2
_rsd_set_param:                         ; @rsd_set_param
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_retro_assert
	cmp	x20, #0
	cset	w0, ne
	bl	_retro_assert
	sub	w8, w21, #128
	cmp	w8, #7
	b.hi	LBB0_18
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.3:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_19
LBB0_4:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_free
LBB0_6:
	mov	x0, x20
	bl	_strdup
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #40]
	b	LBB0_19
LBB0_7:
	mov	w0, #0
	ldr	w8, [x20]
	str	w8, [x19, #12]
	b	LBB0_19
LBB0_8:
	ldr	x0, [x19, #24]
	mov	x1, x20
	mov	w2, #8
	bl	_strlcpy
	mov	w0, #0
	ldr	x8, [x19, #24]
	strb	wzr, [x8, #7]
	b	LBB0_19
LBB0_9:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_free
LBB0_11:
	mov	x0, x20
	bl	_strdup
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #48]
	b	LBB0_19
LBB0_12:
	ldrsw	x0, [x20]
	str	x0, [x19, #32]
	bl	_rsnd_format_to_samplesize
	str	w0, [x19, #16]
	cmn	w0, #1
	b.eq	LBB0_20
; %bb.13:
	mov	w0, #0
	b	LBB0_19
LBB0_14:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.15:
	mov	w0, #0
	str	w8, [x19, #4]
	b	LBB0_19
LBB0_16:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.17:
	mov	w0, #0
	str	w8, [x19, #8]
	b	LBB0_19
LBB0_18:
	mov	w0, #-1
LBB0_19:
	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
LBB0_20:
Lloh2:
	adrp	x21, _RSD_S16_LE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _RSD_S16_LE@GOTPAGEOFF]
	ldr	x0, [x21]
	str	x0, [x19, #32]
	bl	_rsnd_format_to_samplesize
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #16]
	ldr	x8, [x21]
	str	w8, [x20]
	b	LBB0_19
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
                                        ; -- End function
	.comm	_RSD_S16_LE,8,3                 ; @RSD_S16_LE
.subsections_via_symbols
