	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_streaming
_start_streaming:                       ## @start_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
	cmpq	$0, 16(%rbx)
	movl	8(%rbx), %edi
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_INDEX_TS1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_cx231xx_set_alt_setting
	movq	_CX231XX_DIGITAL_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cx231xx_set_mode
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movl	$1, (%rbx)
	movq	_CX231XX_DVB_MAX_PACKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CX231XX_DVB_NUM_BUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rbx), %ecx
	movq	_dvb_isoc_copy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cx231xx_init_isoc              ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	movq	_INDEX_TS1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_cx231xx_set_alt_setting
	movq	_CX231XX_DIGITAL_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cx231xx_set_mode
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	$1, (%rbx)
	movq	_CX231XX_DVB_MAX_PACKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CX231XX_DVB_NUM_BUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rbx), %ecx
	movq	_dvb_bulk_copy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cx231xx_init_bulk              ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DVB transfer mode is ISO.\n"

	.comm	_INDEX_TS1,4,2                  ## @INDEX_TS1
	.comm	_CX231XX_DIGITAL_MODE,4,2       ## @CX231XX_DIGITAL_MODE
	.comm	_CX231XX_DVB_MAX_PACKETS,4,2    ## @CX231XX_DVB_MAX_PACKETS
	.comm	_CX231XX_DVB_NUM_BUFS,4,2       ## @CX231XX_DVB_NUM_BUFS
	.comm	_dvb_isoc_copy,4,2              ## @dvb_isoc_copy
L_.str.1:                               ## @.str.1
	.asciz	"DVB transfer mode is BULK.\n"

	.comm	_dvb_bulk_copy,4,2              ## @dvb_bulk_copy
	.no_dead_strip	_start_streaming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_streaming
_start_streaming:                       ; @start_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]
	ldr	x8, [x19, #16]
	ldr	w0, [x19, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _INDEX_TS1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INDEX_TS1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #5
	bl	_cx231xx_set_alt_setting
Lloh5:
	adrp	x8, _CX231XX_DIGITAL_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CX231XX_DIGITAL_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cx231xx_set_mode
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	w8, #1
	str	w8, [x19]
Lloh8:
	adrp	x8, _CX231XX_DVB_MAX_PACKETS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CX231XX_DVB_MAX_PACKETS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _CX231XX_DVB_NUM_BUFS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CX231XX_DVB_NUM_BUFS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w3, [x19, #4]
Lloh14:
	adrp	x8, _dvb_isoc_copy@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dvb_isoc_copy@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx231xx_init_isoc
LBB0_3:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
Lloh19:
	adrp	x8, _INDEX_TS1@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INDEX_TS1@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_cx231xx_set_alt_setting
Lloh22:
	adrp	x8, _CX231XX_DIGITAL_MODE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CX231XX_DIGITAL_MODE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cx231xx_set_mode
	tbnz	w0, #31, LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x19]
Lloh25:
	adrp	x8, _CX231XX_DVB_MAX_PACKETS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CX231XX_DVB_MAX_PACKETS@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _CX231XX_DVB_NUM_BUFS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CX231XX_DVB_NUM_BUFS@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	ldr	w3, [x19, #4]
Lloh31:
	adrp	x8, _dvb_bulk_copy@GOTPAGE
Lloh32:
	ldr	x8, [x8, _dvb_bulk_copy@GOTPAGEOFF]
Lloh33:
	ldr	w4, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx231xx_init_bulk
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DVB transfer mode is ISO.\n"

	.comm	_INDEX_TS1,4,2                  ; @INDEX_TS1
	.comm	_CX231XX_DIGITAL_MODE,4,2       ; @CX231XX_DIGITAL_MODE
	.comm	_CX231XX_DVB_MAX_PACKETS,4,2    ; @CX231XX_DVB_MAX_PACKETS
	.comm	_CX231XX_DVB_NUM_BUFS,4,2       ; @CX231XX_DVB_NUM_BUFS
	.comm	_dvb_isoc_copy,4,2              ; @dvb_isoc_copy
l_.str.1:                               ; @.str.1
	.asciz	"DVB transfer mode is BULK.\n"

	.comm	_dvb_bulk_copy,4,2              ; @dvb_bulk_copy
	.no_dead_strip	_start_streaming
.subsections_via_symbols
