	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx23885_stop_streaming
_cx23885_stop_streaming:                ## @cx23885_stop_streaming
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	_CX2341X_ENC_STOP_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CX23885_END_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_CX23885_MPEG_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_CX23885_RAW_BITS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movl	$3, %edx
	xorl	%ecx, %ecx
	callq	_cx23885_api_cmd
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msleep
	movq	%rbx, %rdi
	callq	_cx23885_417_check_encoder
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cx23885_cancel_buffers         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CX2341X_ENC_STOP_CAPTURE,4,2   ## @CX2341X_ENC_STOP_CAPTURE
	.comm	_CX23885_END_NOW,4,2            ## @CX23885_END_NOW
	.comm	_CX23885_MPEG_CAPTURE,4,2       ## @CX23885_MPEG_CAPTURE
	.comm	_CX23885_RAW_BITS_NONE,4,2      ## @CX23885_RAW_BITS_NONE
	.no_dead_strip	_cx23885_stop_streaming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx23885_stop_streaming
_cx23885_stop_streaming:                ; @cx23885_stop_streaming
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _CX2341X_ENC_STOP_CAPTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CX2341X_ENC_STOP_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _CX23885_END_NOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX23885_END_NOW@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, _CX23885_MPEG_CAPTURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CX23885_MPEG_CAPTURE@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
Lloh9:
	adrp	x8, _CX23885_RAW_BITS_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CX23885_RAW_BITS_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #0
	bl	_cx23885_api_cmd
	mov	w0, #500
	bl	_msleep
	mov	x0, x19
	bl	_cx23885_417_check_encoder
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx23885_cancel_buffers
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CX2341X_ENC_STOP_CAPTURE,4,2   ; @CX2341X_ENC_STOP_CAPTURE
	.comm	_CX23885_END_NOW,4,2            ; @CX23885_END_NOW
	.comm	_CX23885_MPEG_CAPTURE,4,2       ; @CX23885_MPEG_CAPTURE
	.comm	_CX23885_RAW_BITS_NONE,4,2      ; @CX23885_RAW_BITS_NONE
	.no_dead_strip	_cx23885_stop_streaming
.subsections_via_symbols
