	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function stream_toggle_pause_l
LCPI0_0:
	.quad	0x412e848000000000              ## double 1.0E+6
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stream_toggle_pause_l:                 ## @stream_toggle_pause_l
	.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
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	testl	%esi, %esi
	jne	LBB0_3
## %bb.1:
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_av_gettime_relative
	divsd	LCPI0_0(%rip), %xmm0
	leaq	32(%rbx), %r15
	subsd	32(%rbx), %xmm0
	cvtsi2sdl	88(%rbx), %xmm1
	addsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	movl	%eax, 88(%rbx)
	movq	%r15, %rdi
	callq	_get_clock
	movl	44(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_set_clock
	leaq	48(%rbx), %r15
	movq	%r15, %rdi
	callq	_get_clock
	movl	60(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_set_clock
LBB0_3:
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_get_clock
	movl	28(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_set_clock
	cmpq	$0, 80(%rbx)
	je	LBB0_7
## %bb.4:
	cmpq	$0, 72(%rbx)
	jne	LBB0_6
## %bb.5:
	cmpq	$0, 64(%rbx)
	je	LBB0_7
LBB0_6:
	movl	%r12d, 24(%rbx)
	movl	%r12d, 40(%rbx)
	movl	%r12d, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%r12d, 24(%rbx)
	movl	%r12d, 40(%rbx)
	movl	%r12d, 56(%rbx)
	movl	%r12d, (%rbx)
	movl	(%r14), %edi
	movl	%r12d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SDL_AoutPauseAudio             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.no_dead_strip	_stream_toggle_pause_l
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_toggle_pause_l
_stream_toggle_pause_l:                 ; @stream_toggle_pause_l
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #8]
	cbnz	w1, LBB0_3
; %bb.1:
	ldr	w8, [x23]
	cbz	w8, LBB0_3
; %bb.2:
	bl	_av_gettime_relative
	mov	x8, #145685290680320
	movk	x8, #16686, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	mov	x21, x23
	ldr	d1, [x21, #32]!
	fsub	d0, d0, d1
	ldr	s1, [x21, #56]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fadd	d0, d0, d1
	fcvtzs	w8, d0
	str	w8, [x21, #56]
	mov	x0, x21
	bl	_get_clock
	mov	x1, x0
	ldr	w2, [x21, #12]
	mov	x0, x21
	bl	_set_clock
	add	x22, x21, #16
	mov	x0, x22
	bl	_get_clock
	mov	x1, x0
	ldr	w2, [x21, #28]
	mov	x0, x22
	bl	_set_clock
LBB0_3:
	add	x21, x23, #16
	mov	x0, x21
	bl	_get_clock
	mov	x1, x0
	ldr	w2, [x23, #28]
	mov	x0, x21
	bl	_set_clock
	ldr	x8, [x23, #80]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x23, #72]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x23, #64]
	cbz	x8, LBB0_7
LBB0_6:
	str	w19, [x23, #24]
	str	w19, [x23, #40]
	str	w19, [x23]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	str	w19, [x23, #24]
	str	w19, [x23, #40]
	str	w19, [x23, #56]
	str	w19, [x23]
	ldr	w0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_SDL_AoutPauseAudio
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_stream_toggle_pause_l
.subsections_via_symbols
