	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m920x_mt352_demod_init
_m920x_mt352_demod_init:                ## @m920x_mt352_demod_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
	subq	$112, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	$61, -28(%rbp)
	movq	_CLOCK_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	$48, -36(%rbp)
	movq	_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	$128, -44(%rbp)
	movq	_ADC_CTL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	$64, -52(%rbp)
	movq	_AGC_TARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movabsq	$137438953500, %rax             ## imm = 0x200000001C
	movq	%rax, -64(%rbp)
	movl	l___const.m920x_mt352_demod_init.sec_agc+32(%rip), %eax
	movl	%eax, -80(%rbp)
	movaps	l___const.m920x_mt352_demod_init.sec_agc+16(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	l___const.m920x_mt352_demod_init.sec_agc(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movabsq	$111669149843, %rax             ## imm = 0x1A00000093
	movq	%rax, -128(%rbp)
	movabsq	$523986010293, %rax             ## imm = 0x7A000000B5
	movq	%rax, -120(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_deb
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_mt352_write
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_mt352_write
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_mt352_write
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_mt352_write
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	leaq	-68(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_mt352_write
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_mt352_write
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_mt352_write
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	leaq	-120(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_mt352_write
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG,4,2                     ## @CONFIG
	.comm	_CLOCK_CTL,4,2                  ## @CLOCK_CTL
	.comm	_RESET,4,2                      ## @RESET
	.comm	_ADC_CTL_1,4,2                  ## @ADC_CTL_1
	.comm	_AGC_TARGET,4,2                 ## @AGC_TARGET
	.section	__TEXT,__const
	.p2align	4                               ## @__const.m920x_mt352_demod_init.sec_agc
l___const.m920x_mt352_demod_init.sec_agc:
	.long	105                             ## 0x69
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	64                              ## 0x40
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	64                              ## 0x40
	.long	64                              ## 0x40

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Demod init!\n"

	.no_dead_strip	_m920x_mt352_demod_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function m920x_mt352_demod_init
lCPI0_0:
	.long	28                              ; 0x1c
	.long	32                              ; 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_m920x_mt352_demod_init:                ; @m920x_mt352_demod_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, _CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG@GOTPAGEOFF]
Lloh2:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	stur	x9, [x29, #-24]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #61
Lloh6:
	adrp	x10, _CLOCK_CTL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CLOCK_CTL@GOTPAGEOFF]
	stp	w8, w9, [x29, #-32]
Lloh8:
	ldr	w8, [x10]
	mov	w9, #48
Lloh9:
	adrp	x10, _RESET@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RESET@GOTPAGEOFF]
	stp	w8, w9, [x29, #-40]
Lloh11:
	ldr	w8, [x10]
	mov	w9, #128
Lloh12:
	adrp	x10, _ADC_CTL_1@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ADC_CTL_1@GOTPAGEOFF]
	stp	w8, w9, [x29, #-48]
Lloh14:
	ldr	w8, [x10]
	mov	w9, #64
Lloh15:
	adrp	x10, _AGC_TARGET@GOTPAGE
Lloh16:
	ldr	x10, [x10, _AGC_TARGET@GOTPAGEOFF]
	stp	w8, w9, [x29, #-56]
Lloh17:
	ldr	w8, [x10]
	str	w8, [sp, #60]
Lloh18:
	adrp	x8, lCPI0_0@PAGE
Lloh19:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #64]
Lloh20:
	adrp	x8, l___const.m920x_mt352_demod_init.sec_agc@PAGE
Lloh21:
	add	x8, x8, l___const.m920x_mt352_demod_init.sec_agc@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	ldr	w8, [x8, #32]
	str	w8, [sp, #48]
	mov	x8, #147
	movk	x8, #26, lsl #32
	str	x8, [sp, #8]
	mov	x8, #181
	movk	x8, #122, lsl #32
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_deb
	sub	x0, x29, #32
	bl	_ARRAY_SIZE
	mov	x2, x0
	sub	x1, x29, #32
	mov	x0, x19
	bl	_mt352_write
	cbnz	w0, LBB0_8
; %bb.1:
	sub	x0, x29, #40
	bl	_ARRAY_SIZE
	mov	x2, x0
	sub	x1, x29, #40
	mov	x0, x19
	bl	_mt352_write
	cbnz	w0, LBB0_8
; %bb.2:
	sub	x0, x29, #48
	bl	_ARRAY_SIZE
	mov	x2, x0
	sub	x1, x29, #48
	mov	x0, x19
	bl	_mt352_write
	cbnz	w0, LBB0_8
; %bb.3:
	sub	x0, x29, #56
	bl	_ARRAY_SIZE
	mov	x2, x0
	sub	x1, x29, #56
	mov	x0, x19
	bl	_mt352_write
	cbnz	w0, LBB0_8
; %bb.4:
	add	x0, sp, #60
	bl	_ARRAY_SIZE
	mov	x2, x0
	add	x1, sp, #60
	mov	x0, x19
	bl	_mt352_write
	cbnz	w0, LBB0_8
; %bb.5:
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	mov	x2, x0
	add	x1, sp, #16
	mov	x0, x19
	bl	_mt352_write
	cbnz	w0, LBB0_8
; %bb.6:
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_mt352_write
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, sp
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x1, sp
	mov	x0, x19
	bl	_mt352_write
LBB0_8:
	ldur	x8, [x29, #-24]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdrp	Lloh18, Lloh20
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh5
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG,4,2                     ; @CONFIG
	.comm	_CLOCK_CTL,4,2                  ; @CLOCK_CTL
	.comm	_RESET,4,2                      ; @RESET
	.comm	_ADC_CTL_1,4,2                  ; @ADC_CTL_1
	.comm	_AGC_TARGET,4,2                 ; @AGC_TARGET
	.section	__TEXT,__const
	.p2align	2                               ; @__const.m920x_mt352_demod_init.sec_agc
l___const.m920x_mt352_demod_init.sec_agc:
	.long	105                             ; 0x69
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	64                              ; 0x40
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	64                              ; 0x40
	.long	64                              ; 0x40

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Demod init!\n"

	.no_dead_strip	_m920x_mt352_demod_init
.subsections_via_symbols
