	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_ts_init_hw             ## -- Begin function saa7134_ts_init_hw
	.p2align	4, 0x90
_saa7134_ts_init_hw:                    ## @saa7134_ts_init_hw
	.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
	movq	_SAA7134_TS_SERIAL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_saa_writeb
	movq	_SAA7134_TS_PARALLEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$108, %esi
	callq	_saa_writeb
	movq	_SAA7134_TS_PARALLEL_SERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TS_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	decl	%esi
	callq	_saa_writeb
	movq	_SAA7134_TS_DMA0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %eax
	decl	%eax
	movzbl	%al, %esi
	callq	_saa_writeb
	movq	_SAA7134_TS_DMA1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %eax
	decl	%eax
	movzbl	%ah, %esi
	callq	_saa_writeb
	movq	_SAA7134_TS_DMA2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	decl	%esi
	shrl	$16, %esi
	andl	$63, %esi
	callq	_saa_writeb
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SAA7134_TS_SERIAL1,4,2         ## @SAA7134_TS_SERIAL1
	.comm	_SAA7134_TS_PARALLEL,4,2        ## @SAA7134_TS_PARALLEL
	.comm	_SAA7134_TS_PARALLEL_SERIAL,4,2 ## @SAA7134_TS_PARALLEL_SERIAL
	.comm	_TS_PACKET_SIZE,4,2             ## @TS_PACKET_SIZE
	.comm	_SAA7134_TS_DMA0,4,2            ## @SAA7134_TS_DMA0
	.comm	_SAA7134_TS_DMA1,4,2            ## @SAA7134_TS_DMA1
	.comm	_SAA7134_TS_DMA2,4,2            ## @SAA7134_TS_DMA2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_ts_init_hw             ; -- Begin function saa7134_ts_init_hw
	.p2align	2
_saa7134_ts_init_hw:                    ; @saa7134_ts_init_hw
	.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	x8, _SAA7134_TS_SERIAL1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SAA7134_TS_SERIAL1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_saa_writeb
Lloh3:
	adrp	x8, _SAA7134_TS_PARALLEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SAA7134_TS_PARALLEL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #108
	bl	_saa_writeb
Lloh6:
	adrp	x8, _SAA7134_TS_PARALLEL_SERIAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SAA7134_TS_PARALLEL_SERIAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _TS_PACKET_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TS_PACKET_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	sub	w1, w8, #1
	bl	_saa_writeb
Lloh12:
	adrp	x8, _SAA7134_TS_DMA0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SAA7134_TS_DMA0@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w8, [x19]
	sub	w8, w8, #1
	and	w1, w8, #0xff
	bl	_saa_writeb
Lloh15:
	adrp	x8, _SAA7134_TS_DMA1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SAA7134_TS_DMA1@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w8, [x19]
	sub	w8, w8, #1
	ubfx	w1, w8, #8, #8
	bl	_saa_writeb
Lloh18:
	adrp	x8, _SAA7134_TS_DMA2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SAA7134_TS_DMA2@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w8, [x19]
	sub	w8, w8, #1
	ubfx	w1, w8, #16, #6
	bl	_saa_writeb
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SAA7134_TS_SERIAL1,4,2         ; @SAA7134_TS_SERIAL1
	.comm	_SAA7134_TS_PARALLEL,4,2        ; @SAA7134_TS_PARALLEL
	.comm	_SAA7134_TS_PARALLEL_SERIAL,4,2 ; @SAA7134_TS_PARALLEL_SERIAL
	.comm	_TS_PACKET_SIZE,4,2             ; @TS_PACKET_SIZE
	.comm	_SAA7134_TS_DMA0,4,2            ; @SAA7134_TS_DMA0
	.comm	_SAA7134_TS_DMA1,4,2            ; @SAA7134_TS_DMA1
	.comm	_SAA7134_TS_DMA2,4,2            ; @SAA7134_TS_DMA2
.subsections_via_symbols
