	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda9874a_initialize
_tda9874a_initialize:                   ## @tda9874a_initialize
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_tda9874a_SIF@GOTPCREL(%rip), %r12
	cmpl	$3, (%r12)
	jl	LBB0_2
## %bb.1:
	movl	$1, (%r12)
LBB0_2:
	movq	_tda9874a_STD@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	_tda9874a_modelist@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jl	LBB0_4
## %bb.3:
	movl	$0, (%r15)
LBB0_4:
	movq	_tda9874a_AMSEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.5:
	movl	$0, (%rcx)
	xorl	%eax, %eax
LBB0_6:
	xorl	%ecx, %ecx
	cmpl	$1, (%r12)
	sete	%cl
	xorl	$193, %ecx
	movq	_tda9874a_GCONR@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	(%r15), %ecx
	movq	_tda9874a_ESP@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	xorl	%edx, %edx
	cmpl	$5, %ecx
	setge	%dl
	movq	_tda9874a_mode@GOTPCREL(%rip), %rcx
	movl	%edx, (%rcx)
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	leal	1(,%rcx,4), %eax
	movq	_tda9874a_NCONR@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_tda9874a_setup
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tda9874a_SIF,4,2               ## @tda9874a_SIF
	.comm	_tda9874a_STD,4,2               ## @tda9874a_STD
	.comm	_tda9874a_modelist,4,2          ## @tda9874a_modelist
	.comm	_tda9874a_AMSEL,4,2             ## @tda9874a_AMSEL
	.comm	_tda9874a_GCONR,4,2             ## @tda9874a_GCONR
	.comm	_tda9874a_ESP,4,2               ## @tda9874a_ESP
	.comm	_tda9874a_mode,4,2              ## @tda9874a_mode
	.comm	_tda9874a_NCONR,4,2             ## @tda9874a_NCONR
	.no_dead_strip	_tda9874a_initialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda9874a_initialize
_tda9874a_initialize:                   ; @tda9874a_initialize
	.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	x20, _tda9874a_SIF@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tda9874a_SIF@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x20]
LBB0_2:
Lloh2:
	adrp	x21, _tda9874a_STD@GOTPAGE
Lloh3:
	ldr	x21, [x21, _tda9874a_STD@GOTPAGEOFF]
	ldr	w22, [x21]
Lloh4:
	adrp	x8, _tda9874a_modelist@GOTPAGE
Lloh5:
	ldr	x8, [x8, _tda9874a_modelist@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	cmp	w22, w0
	b.lt	LBB0_4
; %bb.3:
	str	wzr, [x21]
LBB0_4:
Lloh7:
	adrp	x9, _tda9874a_AMSEL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _tda9874a_AMSEL@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.5:
	mov	w8, #0
	str	wzr, [x9]
LBB0_6:
	ldr	w9, [x20]
	cmp	w9, #1
	mov	w9, #192
	cinc	w9, w9, ne
Lloh9:
	adrp	x10, _tda9874a_GCONR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _tda9874a_GCONR@GOTPAGEOFF]
Lloh11:
	str	w9, [x10]
	ldr	w9, [x21]
Lloh12:
	adrp	x10, _tda9874a_ESP@GOTPAGE
Lloh13:
	ldr	x10, [x10, _tda9874a_ESP@GOTPAGEOFF]
Lloh14:
	str	w9, [x10]
	cmp	w9, #4
	cset	w9, gt
Lloh15:
	adrp	x10, _tda9874a_mode@GOTPAGE
Lloh16:
	ldr	x10, [x10, _tda9874a_mode@GOTPAGEOFF]
Lloh17:
	str	w9, [x10]
	cmp	w8, #0
	mov	w8, #5
	csinc	w8, w8, wzr, ne
Lloh18:
	adrp	x9, _tda9874a_NCONR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _tda9874a_NCONR@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
	mov	x0, x19
	bl	_tda9874a_setup
	mov	w0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_tda9874a_SIF,4,2               ; @tda9874a_SIF
	.comm	_tda9874a_STD,4,2               ; @tda9874a_STD
	.comm	_tda9874a_modelist,4,2          ; @tda9874a_modelist
	.comm	_tda9874a_AMSEL,4,2             ; @tda9874a_AMSEL
	.comm	_tda9874a_GCONR,4,2             ; @tda9874a_GCONR
	.comm	_tda9874a_ESP,4,2               ; @tda9874a_ESP
	.comm	_tda9874a_mode,4,2              ; @tda9874a_mode
	.comm	_tda9874a_NCONR,4,2             ; @tda9874a_NCONR
	.no_dead_strip	_tda9874a_initialize
.subsections_via_symbols
