	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxusb_d680_dmb_streaming_ctrl
_cxusb_d680_dmb_streaming_ctrl:         ## @cxusb_d680_dmb_streaming_ctrl
	.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
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	$3, -16(%rbp)
	movl	(%rbx), %edi
	callq	_cxusb_d680_dmb_drain_video
	movl	(%rbx), %edi
	movq	_CMD_STREAMING_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	movl	$8, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_cxusb_ctrl_msg
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %edi
	movq	_CMD_STREAMING_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cxusb_ctrl_msg                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_STREAMING_ON,4,2           ## @CMD_STREAMING_ON
	.comm	_CMD_STREAMING_OFF,4,2          ## @CMD_STREAMING_OFF
	.no_dead_strip	_cxusb_d680_dmb_streaming_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxusb_d680_dmb_streaming_ctrl
_cxusb_d680_dmb_streaming_ctrl:         ; @cxusb_d680_dmb_streaming_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	cbz	w1, LBB0_2
; %bb.1:
	mov	w8, #3
	str	x8, [sp, #8]
	ldr	w0, [x19]
	bl	_cxusb_d680_dmb_drain_video
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _CMD_STREAMING_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_STREAMING_ON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	w3, #8
	mov	x4, #0
	mov	w5, #0
	bl	_cxusb_ctrl_msg
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _CMD_STREAMING_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_STREAMING_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, #0
	mov	w3, #0
	mov	x4, #0
	mov	w5, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_cxusb_ctrl_msg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_STREAMING_ON,4,2           ; @CMD_STREAMING_ON
	.comm	_CMD_STREAMING_OFF,4,2          ; @CMD_STREAMING_OFF
	.no_dead_strip	_cxusb_d680_dmb_streaming_ctrl
.subsections_via_symbols
