	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delta_decoder_stop_cmd
_delta_decoder_stop_cmd:                ## @delta_decoder_stop_cmd
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r13
	movq	24(%rdi), %r14
	movl	(%r13), %edi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%rbx), %rax
	movq	_DELTA_STATE_READY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movq	_drain@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_call_dec_op
	movq	$0, -48(%rbp)
	movq	_get_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_call_dec_op
	movq	_ENODATA@GOTPCREL(%rip), %r12
	addl	(%r12), %eax
	jne	LBB0_2
LBB0_6:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_delta_get_free_frame
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	_DELTA_STATE_WF_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	(%r13), %edi
	movl	8(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_9
LBB0_2:
	leaq	-48(%rbp), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, -48(%rbp)
	movq	_get_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_call_dec_op
	addl	(%r12), %eax
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %edi
	movl	8(%rbx), %edx
	movl	4(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_delta_pop_dts
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_delta_frame_done
	jmp	LBB0_5
LBB0_7:
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_delta_complete_eos
	movq	_DELTA_STATE_EOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s EOS received\n"

	.comm	_DELTA_STATE_READY,8,3          ## @DELTA_STATE_READY
	.comm	_drain,4,2                      ## @drain
	.comm	_get_frame,4,2                  ## @get_frame
	.comm	_ENODATA,4,2                    ## @ENODATA
L_.str.1:                               ## @.str.1
	.asciz	"%s drain frame[%d]\n"

	.comm	_DELTA_STATE_EOS,8,3            ## @DELTA_STATE_EOS
	.comm	_DELTA_STATE_WF_EOS,8,3         ## @DELTA_STATE_WF_EOS
L_.str.2:                               ## @.str.2
	.asciz	"%s EOS delayed\n"

	.no_dead_strip	_delta_decoder_stop_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delta_decoder_stop_cmd
_delta_decoder_stop_cmd:                ; @delta_decoder_stop_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldp	x22, x20, [x0, #16]
	ldr	w0, [x22]
	ldr	w2, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _DELTA_STATE_READY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DELTA_STATE_READY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
Lloh5:
	adrp	x8, _drain@GOTPAGE
Lloh6:
	ldr	x8, [x8, _drain@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_call_dec_op
	str	xzr, [sp, #8]
Lloh8:
	adrp	x23, _get_frame@GOTPAGE
Lloh9:
	ldr	x23, [x23, _get_frame@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x24, sp, #8
	str	x24, [sp]
	mov	x0, x20
	mov	x2, x19
	bl	_call_dec_op
Lloh10:
	adrp	x25, _ENODATA@GOTPAGE
Lloh11:
	ldr	x25, [x25, _ENODATA@GOTPAGEOFF]
	ldr	w8, [x25]
	cmn	w0, w8
	b.ne	LBB0_4
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_delta_get_free_frame
	cbz	w0, LBB0_8
; %bb.3:
Lloh12:
	adrp	x8, _DELTA_STATE_WF_EOS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DELTA_STATE_WF_EOS@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	w0, [x22]
	ldr	w2, [x19, #8]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	b	LBB0_9
LBB0_4:
Lloh17:
	adrp	x21, l_.str.1@PAGE
Lloh18:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x23]
	stp	x24, xzr, [sp]
	mov	x0, x20
	mov	x2, x19
	bl	_call_dec_op
	ldr	w8, [x25]
	cmn	w0, w8
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x22]
	ldr	w2, [x19, #8]
	ldr	w8, [x8, #4]
	str	x8, [sp]
	mov	x1, x21
	bl	_dev_dbg
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_delta_pop_dts
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	w2, #0
	bl	_delta_frame_done
	b	LBB0_5
LBB0_8:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_delta_complete_eos
Lloh19:
	adrp	x8, _DELTA_STATE_EOS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DELTA_STATE_EOS@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s EOS received\n"

	.comm	_DELTA_STATE_READY,8,3          ; @DELTA_STATE_READY
	.comm	_drain,4,2                      ; @drain
	.comm	_get_frame,4,2                  ; @get_frame
	.comm	_ENODATA,4,2                    ; @ENODATA
l_.str.1:                               ; @.str.1
	.asciz	"%s drain frame[%d]\n"

	.comm	_DELTA_STATE_EOS,8,3            ; @DELTA_STATE_EOS
	.comm	_DELTA_STATE_WF_EOS,8,3         ; @DELTA_STATE_WF_EOS
l_.str.2:                               ; @.str.2
	.asciz	"%s EOS delayed\n"

	.no_dead_strip	_delta_decoder_stop_cmd
.subsections_via_symbols
