	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saa7164_thread_function
_saa7164_thread_function:               ## @saa7164_thread_function
	.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, %r12
	movq	_DBGLVL_THR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dprintk
	xorl	%eax, %eax
	callq	_set_freezable
	movl	$100, %edi
	callq	_msleep_interruptible
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	_DBGLVL_THR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dprintk
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str.1(%rip), %r14
	movq	_jiffies@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$100, %edi
	callq	_msleep_interruptible
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	jne	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_try_to_freeze
	movq	_DBGLVL_THR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_dprintk
	movq	%r12, %rdi
	callq	_saa7164_api_collect_debug
	leaq	1000(%rbx), %r13
	movl	(%r15), %edi
	callq	_jiffies_to_msecs
	cmpq	%rax, %r13
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	callq	_saa7164_api_get_load_info
	movl	(%r15), %edi
	callq	_jiffies_to_msecs
	movq	%rax, %rbx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_DBGLVL_THR,4,2                 ## @DBGLVL_THR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"thread started\n"

L_.str.1:                               ## @.str.1
	.asciz	"thread running\n"

	.comm	_jiffies,4,2                    ## @jiffies
L_.str.2:                               ## @.str.2
	.asciz	"thread exiting\n"

	.no_dead_strip	_saa7164_thread_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saa7164_thread_function
_saa7164_thread_function:               ; @saa7164_thread_function
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
Lloh0:
	adrp	x22, _DBGLVL_THR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DBGLVL_THR@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dprintk
	bl	_set_freezable
	mov	w0, #100
	bl	_msleep_interruptible
	bl	_kthread_should_stop
	cbz	x0, LBB0_2
LBB0_1:
	ldr	w0, [x22]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dprintk
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	mov	x21, #0
Lloh6:
	adrp	x20, l_.str.1@PAGE
Lloh7:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh8:
	adrp	x23, _jiffies@GOTPAGE
Lloh9:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #100
	bl	_msleep_interruptible
	bl	_kthread_should_stop
	cbnz	x0, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_try_to_freeze
	ldr	w0, [x22]
	mov	x1, x20
	bl	_dprintk
	mov	x0, x19
	bl	_saa7164_api_collect_debug
	add	x24, x21, #1000
	ldr	w0, [x23]
	bl	_jiffies_to_msecs
	cmp	x24, x0
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_saa7164_api_get_load_info
	ldr	w0, [x23]
	bl	_jiffies_to_msecs
	mov	x21, x0
	b	LBB0_3
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DBGLVL_THR,4,2                 ; @DBGLVL_THR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"thread started\n"

l_.str.1:                               ; @.str.1
	.asciz	"thread running\n"

	.comm	_jiffies,4,2                    ; @jiffies
l_.str.2:                               ; @.str.2
	.asciz	"thread exiting\n"

	.no_dead_strip	_saa7164_thread_function
.subsections_via_symbols
