	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtt200u_streaming_ctrl
_dtt200u_streaming_ctrl:                ## @dtt200u_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_SET_STREAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	%esi, -28(%rbp)
	movq	_RESET_PID_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	(%rdi), %edi
	leaq	-32(%rbp), %rsi
	movl	$2, %edx
	callq	_dvb_usb_generic_write
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	-36(%rbp), %rsi
	movl	$1, %edx
	callq	_dvb_usb_generic_write
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SET_STREAMING,4,2              ## @SET_STREAMING
	.comm	_RESET_PID_FILTER,4,2           ## @RESET_PID_FILTER
	.no_dead_strip	_dtt200u_streaming_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtt200u_streaming_ctrl
_dtt200u_streaming_ctrl:                ; @dtt200u_streaming_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _SET_STREAMING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SET_STREAMING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w1, [sp, #16]
Lloh6:
	adrp	x8, _RESET_PID_FILTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RESET_PID_FILTER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w0, [x0]
	add	x1, sp, #16
	mov	w2, #2
	bl	_dvb_usb_generic_write
	cbnz	w20, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	add	x1, sp, #12
	mov	w2, #1
	bl	_dvb_usb_generic_write
LBB0_2:
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SET_STREAMING,4,2              ; @SET_STREAMING
	.comm	_RESET_PID_FILTER,4,2           ; @RESET_PID_FILTER
	.no_dead_strip	_dtt200u_streaming_ctrl
.subsections_via_symbols
