	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function se401_set_size
_se401_set_size:                        ## @se401_set_size
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	cmpl	%esi, 4(%rdi)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	cmpl	%r14d, 8(%rbx)
	je	LBB0_11
LBB0_2:
	movl	$1, %eax
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.3:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.4:
	movl	%r14d, %edx
	orl	%r15d, %edx
	testb	$1, %dl
	jne	LBB0_11
## %bb.5:
	movq	16(%rbx), %rsi
	movslq	24(%rbx), %rdx
	cmpl	%r15d, -4(%rsi,%rdx,4)
	jl	LBB0_11
## %bb.6:
	movq	32(%rbx), %rsi
	cmpl	%r14d, -4(%rsi,%rdx,4)
	jl	LBB0_11
## %bb.7:
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_se401_stop_stream
	movl	%r15d, 4(%rbx)
	movl	%r14d, 8(%rbx)
	movq	%rbx, %rdi
	callq	_se401_start_stream
	jmp	LBB0_10
LBB0_9:
	movl	%r15d, 4(%rbx)
	movl	%r14d, 8(%rbx)
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_se401_set_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function se401_set_size
_se401_set_size:                        ; @se401_set_size
	.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
	ldp	w8, w9, [x0]
	cmp	w9, w1
	b.ne	LBB0_3
; %bb.1:
	ldr	w9, [x19, #8]
	cmp	w9, w20
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_9
LBB0_3:
	mov	w0, #1
	cbz	w21, LBB0_9
; %bb.4:
	cbz	w20, LBB0_9
; %bb.5:
	orr	w9, w20, w21
	tbnz	w9, #0, LBB0_8
; %bb.6:
	ldr	x10, [x19, #16]
	ldrsw	x9, [x19, #24]
	sub	x9, x9, #1
	ldr	w10, [x10, x9, lsl #2]
	cmp	w10, w21
	b.lt	LBB0_8
; %bb.7:
	ldr	x10, [x19, #32]
	ldr	w9, [x10, x9, lsl #2]
	cmp	w9, w20
	b.ge	LBB0_10
LBB0_8:
	mov	w0, #1
LBB0_9:
	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_10:
	cbz	w8, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_se401_stop_stream
	stp	w21, w20, [x19, #4]
	mov	x0, x19
	bl	_se401_start_stream
	mov	w0, #0
	b	LBB0_9
LBB0_12:
	mov	w0, #0
	stp	w21, w20, [x19, #4]
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_se401_set_size
.subsections_via_symbols
