	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au0828_start_analog_streaming  ## -- Begin function au0828_start_analog_streaming
	.p2align	4, 0x90
_au0828_start_analog_streaming:         ## @au0828_start_analog_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_vb2_get_drv_priv
	movq	%rax, %rbx
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_dprintk
	movq	(%r15), %rax
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %r12
	xorl	%ecx, %ecx
	cmpq	(%r12), %rax
	sete	%cl
	movq	$0, 32(%rbx,%rcx,8)
	xorl	%r14d, %r14d
	cmpq	$0, (%rbx)
	jne	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	callq	_au0828_i2s_init
	movq	_AU0828_ISO_PACKETS_PER_URB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AU0828_MAX_ISO_BUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	28(%rbx), %ecx
	movq	_au0828_isoc_copy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	callq	_au0828_init_isoc
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	leaq	24(%rbx), %rdi
	movq	_video@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_s_stream@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	movl	$1, %r8d
	callq	_v4l2_device_call_all
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.4:
	movl	$1, 8(%rbx)
	movq	%rbx, %rdi
	addq	$20, %rdi
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_info
	jmp	LBB0_9
LBB0_5:
	movq	_V4L2_BUF_TYPE_VBI_CAPTURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movl	$1, 12(%rbx)
	movq	%rbx, %rdi
	addq	$16, %rdi
LBB0_7:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
LBB0_8:
	incq	(%rbx)
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"au0828_start_analog_streaming called %d\n"

	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_AU0828_ISO_PACKETS_PER_URB,4,2 ## @AU0828_ISO_PACKETS_PER_URB
	.comm	_AU0828_MAX_ISO_BUFS,4,2        ## @AU0828_MAX_ISO_BUFS
	.comm	_au0828_isoc_copy,4,2           ## @au0828_isoc_copy
L_.str.1:                               ## @.str.1
	.asciz	"au0828_init_isoc failed\n"

	.comm	_video,4,2                      ## @video
	.comm	_s_stream,4,2                   ## @s_stream
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_V4L2_BUF_TYPE_VBI_CAPTURE,8,3  ## @V4L2_BUF_TYPE_VBI_CAPTURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au0828_start_analog_streaming  ; -- Begin function au0828_start_analog_streaming
	.p2align	2
_au0828_start_analog_streaming:         ; @au0828_start_analog_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
	mov	x21, x0
	bl	_vb2_get_drv_priv
	mov	x19, x0
	ldr	x2, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
	ldr	x9, [x22]
	mov	w10, #32
	mov	w11, #40
	cmp	x8, x9
	csel	x8, x11, x10, eq
	str	xzr, [x19, x8]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_9
LBB0_2:
	mov	x0, x19
	bl	_au0828_i2s_init
Lloh4:
	adrp	x8, _AU0828_ISO_PACKETS_PER_URB@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AU0828_ISO_PACKETS_PER_URB@GOTPAGEOFF]
Lloh6:
	adrp	x9, _AU0828_MAX_ISO_BUFS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AU0828_MAX_ISO_BUFS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	ldr	w2, [x9]
	ldr	w3, [x19, #28]
Lloh10:
	adrp	x8, _au0828_isoc_copy@GOTPAGE
Lloh11:
	ldr	x8, [x8, _au0828_isoc_copy@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_au0828_init_isoc
	mov	x20, x0
	tbnz	w0, #31, LBB0_5
; %bb.3:
	add	x0, x19, #24
Lloh13:
	adrp	x8, _video@GOTPAGE
Lloh14:
	ldr	x8, [x8, _video@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _s_stream@GOTPAGE
Lloh17:
	ldr	x8, [x8, _s_stream@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	w23, #1
	mov	w1, #0
	mov	w4, #1
	bl	_v4l2_device_call_all
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	str	w23, [x19, #8]
	add	x0, x19, #20
	b	LBB0_8
LBB0_5:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_info
	b	LBB0_10
LBB0_6:
Lloh21:
	adrp	x9, _V4L2_BUF_TYPE_VBI_CAPTURE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _V4L2_BUF_TYPE_VBI_CAPTURE@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #12]
	add	x0, x19, #16
LBB0_8:
Lloh24:
	adrp	x8, _jiffies@GOTPAGE
Lloh25:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _HZ@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh29:
	ldrsw	x9, [x9]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	add	x1, x8, w9, sxtw
	bl	_mod_timer
LBB0_9:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
LBB0_10:
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"au0828_start_analog_streaming called %d\n"

	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_AU0828_ISO_PACKETS_PER_URB,4,2 ; @AU0828_ISO_PACKETS_PER_URB
	.comm	_AU0828_MAX_ISO_BUFS,4,2        ; @AU0828_MAX_ISO_BUFS
	.comm	_au0828_isoc_copy,4,2           ; @au0828_isoc_copy
l_.str.1:                               ; @.str.1
	.asciz	"au0828_init_isoc failed\n"

	.comm	_video,4,2                      ; @video
	.comm	_s_stream,4,2                   ; @s_stream
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_V4L2_BUF_TYPE_VBI_CAPTURE,8,3  ; @V4L2_BUF_TYPE_VBI_CAPTURE
.subsections_via_symbols
