	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28xx_start_streaming
_em28xx_start_streaming:                ## @em28xx_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	32(%rbx), %edi
	callq	_interface_to_usbdev
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.1:
	cmpl	$0, 28(%rbx)
	je	LBB0_4
## %bb.2:
	xorl	%r12d, %r12d
	movq	_EM28XX_DVB_BULK_PACKET_MULTIPLIER@GOTPCREL(%rip), %rcx
	movl	$512, %r14d                     ## imm = 0x200
	jmp	LBB0_7
LBB0_3:
	cmpl	$0, 24(%rbx)
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %r14d
	testl	%r14d, %r14d
	js	LBB0_11
## %bb.6:
	movl	4(%rbx), %r12d
	movq	_EM28XX_DVB_NUM_ISOC_PACKETS@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %r15d
	cmpl	$0, 20(%rbx)
	jne	LBB0_9
## %bb.8:
	movl	16(%rbx), %esi
	movq	%rax, %rdi
	movl	%r12d, %edx
	callq	_usb_set_interface
LBB0_9:
	movq	_EM28XX_DIGITAL_MODE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_em28xx_set_mode
	testl	%eax, %eax
	js	LBB0_10
## %bb.13:
	movq	_EM28XX_DVB_NUM_BUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	movl	%r12d, %r9d
	callq	_dprintk
	movl	(%r13), %esi
	movq	8(%rbx), %rdx
	movq	_EM28XX_DVB_NUM_BUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_em28xx_dvb_urb_data_copy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	movl	%r14d, %r8d
	movl	%r15d, %r9d
	callq	_em28xx_init_usb_xfer
	jmp	LBB0_12
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %r14d
LBB0_11:
	movl	%r14d, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EM28XX_DVB_BULK_PACKET_MULTIPLIER,4,2 ## @EM28XX_DVB_BULK_PACKET_MULTIPLIER
	.comm	_EM28XX_DVB_NUM_ISOC_PACKETS,4,2 ## @EM28XX_DVB_NUM_ISOC_PACKETS
	.comm	_EM28XX_DIGITAL_MODE,4,2        ## @EM28XX_DIGITAL_MODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Using %d buffers each with %d x %d bytes, alternate %d\n"

	.comm	_EM28XX_DVB_NUM_BUFS,4,2        ## @EM28XX_DVB_NUM_BUFS
	.comm	_em28xx_dvb_urb_data_copy,4,2   ## @em28xx_dvb_urb_data_copy
	.no_dead_strip	_em28xx_start_streaming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em28xx_start_streaming
_em28xx_start_streaming:                ; @em28xx_start_streaming
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	w0, [x19, #32]
	bl	_interface_to_usbdev
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_10
; %bb.2:
	mov	w21, #0
Lloh0:
	adrp	x8, _EM28XX_DVB_BULK_PACKET_MULTIPLIER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EM28XX_DVB_BULK_PACKET_MULTIPLIER@GOTPAGEOFF]
	mov	w20, #512
	b	LBB0_6
LBB0_3:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_10
; %bb.4:
	ldr	w20, [x19]
	tbnz	w20, #31, LBB0_12
; %bb.5:
	ldr	w21, [x19, #4]
Lloh2:
	adrp	x8, _EM28XX_DVB_NUM_ISOC_PACKETS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EM28XX_DVB_NUM_ISOC_PACKETS@GOTPAGEOFF]
LBB0_6:
	ldr	w22, [x8]
	ldr	w8, [x19, #20]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	w1, [x19, #16]
	mov	x2, x21
	bl	_usb_set_interface
LBB0_8:
Lloh4:
	adrp	x23, _EM28XX_DIGITAL_MODE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _EM28XX_DIGITAL_MODE@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_em28xx_set_mode
	tbnz	w0, #31, LBB0_11
; %bb.9:
Lloh6:
	adrp	x24, _EM28XX_DVB_NUM_BUFS@GOTPAGE
Lloh7:
	ldr	x24, [x24, _EM28XX_DVB_NUM_BUFS@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x3, x22
	mov	x4, x20
	mov	x5, x21
	bl	_dprintk
	ldr	w1, [x23]
	ldr	x2, [x19, #8]
	ldr	w3, [x24]
Lloh10:
	adrp	x8, _em28xx_dvb_urb_data_copy@GOTPAGE
Lloh11:
	ldr	x8, [x8, _em28xx_dvb_urb_data_copy@GOTPAGEOFF]
Lloh12:
	ldr	w6, [x8]
	mov	x0, x19
	mov	x4, x20
	mov	x5, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_em28xx_init_usb_xfer
LBB0_10:
Lloh13:
	adrp	x8, _ENODEV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_12
LBB0_11:
	mov	x20, x0
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EM28XX_DVB_BULK_PACKET_MULTIPLIER,4,2 ; @EM28XX_DVB_BULK_PACKET_MULTIPLIER
	.comm	_EM28XX_DVB_NUM_ISOC_PACKETS,4,2 ; @EM28XX_DVB_NUM_ISOC_PACKETS
	.comm	_EM28XX_DIGITAL_MODE,4,2        ; @EM28XX_DIGITAL_MODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Using %d buffers each with %d x %d bytes, alternate %d\n"

	.comm	_EM28XX_DVB_NUM_BUFS,4,2        ; @EM28XX_DVB_NUM_BUFS
	.comm	_em28xx_dvb_urb_data_copy,4,2   ; @em28xx_dvb_urb_data_copy
	.no_dead_strip	_em28xx_start_streaming
.subsections_via_symbols
