	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function digitv_mt352_demod_init
_digitv_mt352_demod_init:               ## @digitv_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	%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, %r15
	leaq	_digitv_mt352_demod_init.reset_buf(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_mt352_write
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	addq	$8, %rbx
	addl	$2, %r12d
	cmpl	%r12d, %eax
	jg	LBB0_2
LBB0_3:
	movl	$1, %edi
	callq	_msleep
	leaq	_digitv_mt352_demod_init.init_buf(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	xorl	%r12d, %r12d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_mt352_write
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	addq	$8, %rbx
	addl	$2, %r12d
	cmpl	%r12d, %eax
	jg	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @digitv_mt352_demod_init.reset_buf
_digitv_mt352_demod_init.reset_buf:
	.long	137                             ## 0x89
	.long	56                              ## 0x38
	.long	138                             ## 0x8a
	.long	45                              ## 0x2d
	.long	80                              ## 0x50
	.long	128                             ## 0x80

	.p2align	4                               ## @digitv_mt352_demod_init.init_buf
_digitv_mt352_demod_init.init_buf:
	.long	104                             ## 0x68
	.long	160                             ## 0xa0
	.long	142                             ## 0x8e
	.long	64                              ## 0x40
	.long	83                              ## 0x53
	.long	80                              ## 0x50
	.long	103                             ## 0x67
	.long	32                              ## 0x20
	.long	125                             ## 0x7d
	.long	1                               ## 0x1
	.long	124                             ## 0x7c
	.long	0                               ## 0x0
	.long	122                             ## 0x7a
	.long	0                               ## 0x0
	.long	121                             ## 0x79
	.long	32                              ## 0x20
	.long	87                              ## 0x57
	.long	5                               ## 0x5
	.long	86                              ## 0x56
	.long	49                              ## 0x31
	.long	136                             ## 0x88
	.long	15                              ## 0xf
	.long	117                             ## 0x75
	.long	50                              ## 0x32

	.no_dead_strip	_digitv_mt352_demod_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function digitv_mt352_demod_init
_digitv_mt352_demod_init:               ; @digitv_mt352_demod_init
	.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	x0, _digitv_mt352_demod_init.reset_buf@PAGE
Lloh1:
	add	x0, x0, _digitv_mt352_demod_init.reset_buf@PAGEOFF
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w22, #0
Lloh2:
	adrp	x20, _digitv_mt352_demod_init.reset_buf@PAGE
Lloh3:
	add	x20, x20, _digitv_mt352_demod_init.reset_buf@PAGEOFF
	mov	x21, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #2
	bl	_mt352_write
	mov	x0, x20
	bl	_ARRAY_SIZE
	add	x21, x21, #8
	add	w22, w22, #2
	cmp	w0, w22
	b.gt	LBB0_2
LBB0_3:
	mov	w0, #1
	bl	_msleep
Lloh4:
	adrp	x0, _digitv_mt352_demod_init.init_buf@PAGE
Lloh5:
	add	x0, x0, _digitv_mt352_demod_init.init_buf@PAGEOFF
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w22, #0
Lloh6:
	adrp	x20, _digitv_mt352_demod_init.init_buf@PAGE
Lloh7:
	add	x20, x20, _digitv_mt352_demod_init.init_buf@PAGEOFF
	mov	x21, x20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #2
	bl	_mt352_write
	mov	x0, x20
	bl	_ARRAY_SIZE
	add	x21, x21, #8
	add	w22, w22, #2
	cmp	w0, w22
	b.gt	LBB0_5
LBB0_6:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @digitv_mt352_demod_init.reset_buf
_digitv_mt352_demod_init.reset_buf:
	.long	137                             ; 0x89
	.long	56                              ; 0x38
	.long	138                             ; 0x8a
	.long	45                              ; 0x2d
	.long	80                              ; 0x50
	.long	128                             ; 0x80

	.p2align	2                               ; @digitv_mt352_demod_init.init_buf
_digitv_mt352_demod_init.init_buf:
	.long	104                             ; 0x68
	.long	160                             ; 0xa0
	.long	142                             ; 0x8e
	.long	64                              ; 0x40
	.long	83                              ; 0x53
	.long	80                              ; 0x50
	.long	103                             ; 0x67
	.long	32                              ; 0x20
	.long	125                             ; 0x7d
	.long	1                               ; 0x1
	.long	124                             ; 0x7c
	.long	0                               ; 0x0
	.long	122                             ; 0x7a
	.long	0                               ; 0x0
	.long	121                             ; 0x79
	.long	32                              ; 0x20
	.long	87                              ; 0x57
	.long	5                               ; 0x5
	.long	86                              ; 0x56
	.long	49                              ; 0x31
	.long	136                             ; 0x88
	.long	15                              ; 0xf
	.long	117                             ; 0x75
	.long	50                              ; 0x32

	.no_dead_strip	_digitv_mt352_demod_init
.subsections_via_symbols
