	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stb0899_init
_stb0899_init:                          ## @stb0899_init
	.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	8(%r12), %r14
	movl	(%r12), %edi
	movq	_FE_DEBUG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movl	(%r12), %edi
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	32(%r14), %rax
	movl	(%rax), %esi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rax,%rbx), %edx
	movq	%r12, %rdi
	callq	_stb0899_write_reg
	movq	32(%r14), %rax
	movl	8(%rax,%rbx), %esi
	addq	$8, %rbx
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	jne	LBB0_2
LBB0_3:
	movl	(%r12), %edi
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	24(%r14), %rax
	movl	(%rax), %ecx
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	je	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_STB0899_S2DEMOD@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movl	4(%rax,%rbx), %r8d
	movl	8(%rax,%rbx), %edx
	movq	%r12, %rdi
	callq	_stb0899_write_s2reg
	movq	24(%r14), %rax
	movl	12(%rax,%rbx), %ecx
	addq	$12, %rbx
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	jne	LBB0_5
LBB0_6:
	movl	(%r12), %edi
	movl	(%r15), %esi
	leaq	L_.str.3(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	16(%r14), %rax
	movl	(%rax), %esi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rax,%rbx), %edx
	movq	%r12, %rdi
	callq	_stb0899_write_reg
	movq	16(%r14), %rax
	movl	8(%rax,%rbx), %esi
	addq	$8, %rbx
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	jne	LBB0_8
LBB0_9:
	movl	(%r12), %edi
	movl	(%r15), %esi
	leaq	L_.str.4(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	je	LBB0_12
## %bb.10:
	xorl	%ebx, %ebx
	movq	_STB0899_S2FEC@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movl	4(%rax,%rbx), %r8d
	movl	8(%rax,%rbx), %edx
	movq	%r12, %rdi
	callq	_stb0899_write_s2reg
	movq	8(%r14), %rax
	movl	12(%rax,%rbx), %ecx
	addq	$12, %rbx
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	jne	LBB0_11
LBB0_12:
	movl	(%r12), %edi
	movl	(%r15), %esi
	leaq	L_.str.5(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	(%r14), %rax
	movl	(%rax), %esi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_15
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rax,%rbx), %edx
	movq	%r12, %rdi
	callq	_stb0899_write_reg
	movq	(%r14), %rax
	movl	8(%rax,%rbx), %esi
	addq	$8, %rbx
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	jne	LBB0_14
LBB0_15:
	movq	%r12, %rdi
	callq	_stb0899_init_calc
	movq	%r12, %rdi
	callq	_stb0899_diseqc_init
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_DEBUG,4,2                   ## @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initializing STB0899 ... "

L_.str.1:                               ## @.str.1
	.asciz	"init device"

L_.str.2:                               ## @.str.2
	.asciz	"init S2 demod"

	.comm	_STB0899_S2DEMOD,4,2            ## @STB0899_S2DEMOD
L_.str.3:                               ## @.str.3
	.asciz	"init S1 demod"

L_.str.4:                               ## @.str.4
	.asciz	"init S2 FEC"

	.comm	_STB0899_S2FEC,4,2              ## @STB0899_S2FEC
L_.str.5:                               ## @.str.5
	.asciz	"init TST"

	.no_dead_strip	_stb0899_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stb0899_init
_stb0899_init:                          ; @stb0899_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x19, [x0]
	ldr	x20, [x19, #8]
	ldr	w0, [x19]
Lloh0:
	adrp	x21, _FE_DEBUG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FE_DEBUG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh4:
	adrp	x3, l_.str.1@PAGE
Lloh5:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	ldr	x8, [x20, #32]
	ldr	w1, [x8]
	mov	w22, #65535
	cmp	w1, w22
	b.eq	LBB0_3
; %bb.1:
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x23
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_stb0899_write_reg
	ldr	x8, [x20, #32]
	add	x9, x8, x23
	ldr	w1, [x9, #8]
	add	x23, x23, #8
	cmp	w1, w22
	b.ne	LBB0_2
LBB0_3:
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh6:
	adrp	x3, l_.str.2@PAGE
Lloh7:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	ldr	x8, [x20, #24]
	ldr	w3, [x8]
	cmp	w3, w22
	b.eq	LBB0_6
; %bb.4:
	mov	x22, #0
Lloh8:
	adrp	x23, _STB0899_S2DEMOD@GOTPAGE
Lloh9:
	ldr	x23, [x23, _STB0899_S2DEMOD@GOTPAGEOFF]
	mov	w24, #65535
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	add	x8, x8, x22
	ldp	w4, w2, [x8, #4]
	mov	x0, x19
	bl	_stb0899_write_s2reg
	ldr	x8, [x20, #24]
	add	x9, x8, x22
	ldr	w3, [x9, #12]
	add	x22, x22, #12
	cmp	w3, w24
	b.ne	LBB0_5
LBB0_6:
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh10:
	adrp	x3, l_.str.3@PAGE
Lloh11:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	ldr	x8, [x20, #16]
	ldr	w1, [x8]
	mov	w22, #65535
	cmp	w1, w22
	b.eq	LBB0_9
; %bb.7:
	mov	x23, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x23
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_stb0899_write_reg
	ldr	x8, [x20, #16]
	add	x9, x8, x23
	ldr	w1, [x9, #8]
	add	x23, x23, #8
	cmp	w1, w22
	b.ne	LBB0_8
LBB0_9:
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh12:
	adrp	x3, l_.str.4@PAGE
Lloh13:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	ldr	x8, [x20, #8]
	ldr	w3, [x8]
	cmp	w3, w22
	b.eq	LBB0_12
; %bb.10:
	mov	x22, #0
Lloh14:
	adrp	x23, _STB0899_S2FEC@GOTPAGE
Lloh15:
	ldr	x23, [x23, _STB0899_S2FEC@GOTPAGEOFF]
	mov	w24, #65535
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	add	x8, x8, x22
	ldp	w4, w2, [x8, #4]
	mov	x0, x19
	bl	_stb0899_write_s2reg
	ldr	x8, [x20, #8]
	add	x9, x8, x22
	ldr	w3, [x9, #12]
	add	x22, x22, #12
	cmp	w3, w24
	b.ne	LBB0_11
LBB0_12:
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh16:
	adrp	x3, l_.str.5@PAGE
Lloh17:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	w2, #1
	bl	_dprintk
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	w21, #65535
	cmp	w1, w21
	b.eq	LBB0_15
; %bb.13:
	mov	x22, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x22
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_stb0899_write_reg
	ldr	x8, [x20]
	add	x9, x8, x22
	ldr	w1, [x9, #8]
	add	x22, x22, #8
	cmp	w1, w21
	b.ne	LBB0_14
LBB0_15:
	mov	x0, x19
	bl	_stb0899_init_calc
	mov	x0, x19
	bl	_stb0899_diseqc_init
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_DEBUG,4,2                   ; @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initializing STB0899 ... "

l_.str.1:                               ; @.str.1
	.asciz	"init device"

l_.str.2:                               ; @.str.2
	.asciz	"init S2 demod"

	.comm	_STB0899_S2DEMOD,4,2            ; @STB0899_S2DEMOD
l_.str.3:                               ; @.str.3
	.asciz	"init S1 demod"

l_.str.4:                               ; @.str.4
	.asciz	"init S2 FEC"

	.comm	_STB0899_S2FEC,4,2              ; @STB0899_S2FEC
l_.str.5:                               ; @.str.5
	.asciz	"init TST"

	.no_dead_strip	_stb0899_init
.subsections_via_symbols
