	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvr2_encoder_stop              ## -- Begin function pvr2_encoder_stop
	.p2align	4, 0x90
_pvr2_encoder_stop:                     ## @pvr2_encoder_stop
	.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
	movl	$72, %esi
	movl	$-1, %edx
	callq	_pvr2_write_register
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movq	_CX2341X_ENC_STOP_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	movl	$20, %r9d
	jmp	LBB0_3
LBB0_4:
	movq	_CX2341X_ENC_STOP_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$19, %r9d
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pvr2_encoder_vcmd              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CX2341X_ENC_STOP_CAPTURE,4,2   ## @CX2341X_ENC_STOP_CAPTURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvr2_encoder_stop              ; -- Begin function pvr2_encoder_stop
	.p2align	2
_pvr2_encoder_stop:                     ; @pvr2_encoder_stop
	.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
	mov	x19, x0
	mov	w1, #72
	mov	w2, #-1
	bl	_pvr2_write_register
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _CX2341X_ENC_STOP_CAPTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CX2341X_ENC_STOP_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #1
	mov	w4, #1
	mov	w5, #20
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _CX2341X_ENC_STOP_CAPTURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX2341X_ENC_STOP_CAPTURE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #1
	mov	w4, #0
	mov	w5, #19
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pvr2_encoder_vcmd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CX2341X_ENC_STOP_CAPTURE,4,2   ; @CX2341X_ENC_STOP_CAPTURE
.subsections_via_symbols
