	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au0828_v4l2_resume             ## -- Begin function au0828_v4l2_resume
	.p2align	4, 0x90
_au0828_v4l2_resume:                    ## @au0828_v4l2_resume
	.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, %r14
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	(%r14), %rax
	movq	_STREAM_ON@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_au0828_stream_interrupt
	movq	%r14, %rdi
	callq	_au0828_init_tuner
LBB0_2:
	cmpq	$0, 48(%r14)
	je	LBB0_4
## %bb.3:
	leaq	40(%r14), %rdi
	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_4:
	cmpq	$0, 32(%r14)
	je	LBB0_6
## %bb.5:
	leaq	24(%r14), %rdi
	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_6:
	movq	%r14, %rdi
	callq	_au0828_i2s_init
	movq	%r14, %rdi
	callq	_au0828_analog_stream_enable
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	je	LBB0_12
## %bb.7:
	movq	%r14, %rdi
	callq	_au0828_analog_stream_reset
	cmpl	$0, 8(%r14)
	jle	LBB0_12
## %bb.8:
	xorl	%ebx, %ebx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	8(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r12), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_au0828_isocdbg
	movq	%r14, %rdi
	callq	_au0828_uninit_isoc
	jmp	LBB0_11
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"restarting V4L2\n"

	.comm	_STREAM_ON,8,3                  ## @STREAM_ON
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.1:                               ## @.str.1
	.asciz	"submit of urb %i failed (error=%i)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_au0828_v4l2_resume             ; -- Begin function au0828_v4l2_resume
	.p2align	2
_au0828_v4l2_resume:                    ; @au0828_v4l2_resume
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	ldr	x8, [x19]
Lloh2:
	adrp	x20, _STREAM_ON@GOTPAGE
Lloh3:
	ldr	x20, [x20, _STREAM_ON@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_au0828_stream_interrupt
	mov	x0, x19
	bl	_au0828_init_tuner
LBB0_2:
	ldr	x8, [x19, #48]
Lloh4:
	adrp	x21, _jiffies@GOTPAGE
Lloh5:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
Lloh6:
	adrp	x22, _HZ@GOTPAGE
Lloh7:
	ldr	x22, [x22, _HZ@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.3:
	add	x0, x19, #40
	ldr	x8, [x21]
	ldrsw	x9, [x22]
	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_4:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_6
; %bb.5:
	add	x0, x19, #24
	ldr	x8, [x21]
	ldrsw	x9, [x22]
	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_6:
	mov	x0, x19
	bl	_au0828_i2s_init
	mov	x0, x19
	bl	_au0828_analog_stream_enable
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.7:
	mov	x0, x19
	bl	_au0828_analog_stream_reset
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.8:
	mov	x20, #0
Lloh8:
	adrp	x22, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x22, [x22, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str.1@PAGE
Lloh11:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #8]
	cmp	x20, x8
	b.ge	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x20, lsl #2]
	ldr	w1, [x22]
	bl	_usb_submit_urb
	cbz	w0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_au0828_isocdbg
	mov	x0, x19
	bl	_au0828_uninit_isoc
	b	LBB0_9
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"restarting V4L2\n"

	.comm	_STREAM_ON,8,3                  ; @STREAM_ON
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.1:                               ; @.str.1
	.asciz	"submit of urb %i failed (error=%i)\n"

.subsections_via_symbols
