	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atbm8830_init
_atbm8830_init:                         ## @atbm8830_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	movq	(%r14), %rbx
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_set_osc_freq
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_set_if_freq
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_set_agc_config
	movq	%r14, %rdi
	callq	_set_static_channel_mode
	movq	%r14, %rdi
	callq	_set_ts_config
	movq	%r14, %rdi
	movl	$10, %esi
	xorl	%edx, %edx
	callq	_atbm8830_write_reg
	movq	%r14, %rdi
	movl	$524, %esi                      ## imm = 0x20C
	movl	$11, %edx
	callq	_atbm8830_write_reg
	movq	_REG_DEMOD_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_atbm8830_write_reg
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_DEMOD_RUN,4,2              ## @REG_DEMOD_RUN
	.no_dead_strip	_atbm8830_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atbm8830_init
_atbm8830_init:                         ; @atbm8830_init
	.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
	ldr	x19, [x0]
	ldr	x20, [x19]
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_set_osc_freq
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_set_if_freq
	ldp	w2, w1, [x20, #4]
	ldr	w3, [x20]
	mov	x0, x19
	bl	_set_agc_config
	mov	x0, x19
	bl	_set_static_channel_mode
	mov	x0, x19
	bl	_set_ts_config
	mov	x0, x19
	mov	w1, #10
	mov	w2, #0
	bl	_atbm8830_write_reg
	mov	x0, x19
	mov	w1, #524
	mov	w2, #11
	bl	_atbm8830_write_reg
Lloh0:
	adrp	x8, _REG_DEMOD_RUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_DEMOD_RUN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_atbm8830_write_reg
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_DEMOD_RUN,4,2              ; @REG_DEMOD_RUN
	.no_dead_strip	_atbm8830_init
.subsections_via_symbols
