	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt1_demod_block_init
_pt1_demod_block_init:                  ## @pt1_demod_block_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
	movabsq	$549755813889, %rax             ## imm = 0x8000000001
	movq	%rax, -48(%rbp)
	movq	_PT1_NR_ADAPS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.1:
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	_PT1_NR_ADAPS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r14
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%r14,8), %rax
	movq	(%rax), %r12
	movl	(%r12), %r13d
	movq	_TC90522_I2C_DEV_TER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	movl	$2, %edx
	callq	_i2c_master_send
	testl	%eax, %eax
	js	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$30000, %edi                    ## imm = 0x7530
	movl	$50000, %esi                    ## imm = 0xC350
	callq	_usleep_range
	jmp	LBB0_5
LBB0_6:
	testl	%eax, %eax
	jle	LBB0_12
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$30000, %edi                    ## imm = 0x7530
	movl	$50000, %esi                    ## imm = 0xC350
	callq	_usleep_range
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movq	_PT1_NR_ADAPS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %r12
	movl	(%r12), %r13d
	movq	_TC90522_I2C_DEV_SAT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_strlen
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	movl	$2, %edx
	callq	_i2c_master_send
	testl	%eax, %eax
	jns	LBB0_10
	jmp	LBB0_13
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PT1_NR_ADAPS,4,2               ## @PT1_NR_ADAPS
	.comm	_TC90522_I2C_DEV_TER,4,2        ## @TC90522_I2C_DEV_TER
	.comm	_TC90522_I2C_DEV_SAT,4,2        ## @TC90522_I2C_DEV_SAT
	.no_dead_strip	_pt1_demod_block_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt1_demod_block_init
_pt1_demod_block_init:                  ; @pt1_demod_block_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x8, #1
	movk	x8, #128, lsl #32
	str	x8, [sp, #8]
Lloh0:
	adrp	x23, _PT1_NR_ADAPS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PT1_NR_ADAPS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x19, x0
	mov	x24, #0
Lloh2:
	adrp	x25, _TC90522_I2C_DEV_TER@GOTPAGE
Lloh3:
	ldr	x25, [x25, _TC90522_I2C_DEV_TER@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x20, [x8]
	ldr	w21, [x20]
	ldr	w22, [x25]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncmp
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #2
	bl	_i2c_master_send
	tbnz	w0, #31, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #30000
	mov	w1, #50000
	bl	_usleep_range
	b	LBB0_2
LBB0_6:
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.7:
	mov	x24, #0
Lloh4:
	adrp	x25, _TC90522_I2C_DEV_SAT@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TC90522_I2C_DEV_SAT@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #30000
	mov	w1, #50000
	bl	_usleep_range
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.ge	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x20, [x8]
	ldr	w21, [x20]
	ldr	w22, [x25]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncmp
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #2
	bl	_i2c_master_send
	tbz	w0, #31, LBB0_8
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PT1_NR_ADAPS,4,2               ; @PT1_NR_ADAPS
	.comm	_TC90522_I2C_DEV_TER,4,2        ; @TC90522_I2C_DEV_TER
	.comm	_TC90522_I2C_DEV_SAT,4,2        ; @TC90522_I2C_DEV_SAT
	.no_dead_strip	_pt1_demod_block_init
.subsections_via_symbols
