	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_ts_stop                ## -- Begin function saa7134_ts_stop
	.p2align	4, 0x90
_saa7134_ts_stop:                       ## @saa7134_ts_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_ts_dbg
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.1:
	movq	_saa7134_boards@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %eax
	cmpl	$129, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.4:
	movl	$64, %esi
	movq	_SAA7134_TS_SERIAL0@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movl	$108, %esi
	movq	_SAA7134_TS_PARALLEL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_saa_writeb
	movq	$0, 8(%rbx)
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TS stop\n"

	.comm	_saa7134_boards,8,3             ## @saa7134_boards
	.comm	_SAA7134_TS_PARALLEL,4,2        ## @SAA7134_TS_PARALLEL
	.comm	_SAA7134_TS_SERIAL0,4,2         ## @SAA7134_TS_SERIAL0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_ts_stop                ; -- Begin function saa7134_ts_stop
	.p2align	2
_saa7134_ts_stop:                       ; @saa7134_ts_stop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ts_dbg
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.1:
Lloh2:
	adrp	x8, _saa7134_boards@GOTPAGE
Lloh3:
	ldr	x8, [x8, _saa7134_boards@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.3:
	mov	w1, #64
Lloh5:
	adrp	x8, _SAA7134_TS_SERIAL0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SAA7134_TS_SERIAL0@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	w1, #108
Lloh7:
	adrp	x8, _SAA7134_TS_PARALLEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SAA7134_TS_PARALLEL@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	bl	_saa_writeb
	str	xzr, [x19, #8]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TS stop\n"

	.comm	_saa7134_boards,8,3             ; @saa7134_boards
	.comm	_SAA7134_TS_PARALLEL,4,2        ; @SAA7134_TS_PARALLEL
	.comm	_SAA7134_TS_SERIAL0,4,2         ; @SAA7134_TS_SERIAL0
.subsections_via_symbols
