	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stop_ts_capture
_stop_ts_capture:                       ## @stop_ts_capture
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%rbx, %rdx
	callq	_dprintk
	movl	(%rbx), %r14d
	decl	%r14d
	movl	%r14d, (%rbx)
	jne	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	movq	_MC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASK_20@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_saa7146_write
	movl	4(%rbx), %edi
	movq	_MASK_10@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_SAA7146_IER_DISABLE
	movl	4(%rbx), %edi
	movl	(%r15), %esi
	callq	_SAA7146_ISR_CLEAR
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"budget: %p\n"

	.comm	_MC1,4,2                        ## @MC1
	.comm	_MASK_20,4,2                    ## @MASK_20
	.comm	_MASK_10,4,2                    ## @MASK_10
	.no_dead_strip	_stop_ts_capture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stop_ts_capture
_stop_ts_capture:                       ; @stop_ts_capture
	.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	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x19
	bl	_dprintk
	ldr	w8, [x19]
	subs	w20, w8, #1
	str	w20, [x19]
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x8, _MC1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MC1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _MASK_20@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MASK_20@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_saa7146_write
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x21, _MASK_10@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MASK_10@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_SAA7146_IER_DISABLE
	ldr	w0, [x19, #4]
	ldr	w1, [x21]
	bl	_SAA7146_ISR_CLEAR
LBB0_2:
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"budget: %p\n"

	.comm	_MC1,4,2                        ; @MC1
	.comm	_MASK_20,4,2                    ; @MASK_20
	.comm	_MASK_10,4,2                    ; @MASK_10
	.no_dead_strip	_stop_ts_capture
.subsections_via_symbols
