	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qam_flip_spec
_qam_flip_spec:                         ## @qam_flip_spec
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	8(%rdi), %r14
	movl	$0, -48(%rbp)
	movl	$0, -60(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -44(%rbp)
	movl	$0, -56(%rbp)
	movq	_SCU_RAM_QAM_CTL_ENA__A@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	leaq	-52(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_read_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.1:
	movq	_SCU_RAM_QAM_CTL_ENA_ACQ__M@GOTPCREL(%rip), %rax
	movq	_SCU_RAM_QAM_CTL_ENA_EQU__M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_SCU_RAM_QAM_CTL_ENA_LC__M@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	(%r15), %rsi
	notl	%edx
	andl	-52(%rbp), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.2:
	movq	_QAM_LC_CF__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.3:
	movq	_QAM_LC_CF1__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.4:
	movq	_IQM_FS_RATE_OFS_LO__A@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_atomic_read_reg32
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.5:
	movq	_IQM_FS_RATE_LO__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_atomic_read_reg32
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.6:
	movl	-48(%rbp), %eax
	movl	%eax, %ecx
	subl	-60(%rbp), %ecx
	addl	%ecx, %ecx
	subl	%eax, %ecx
	movl	%ecx, -48(%rbp)
	movq	_QAM_DQ_MODE__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_read_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.7:
	movl	$65529, %edx                    ## imm = 0xFFF9
	andl	-44(%rbp), %edx
	movl	%edx, -44(%rbp)
	movq	_QAM_DQ_MODE__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.8:
	movq	_QAM_FQ_MODE__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.9:
	movq	_QAM_LC_CI__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.10:
	movq	_QAM_LC_EP__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.11:
	movq	_QAM_FQ_LA_FACTOR__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.12:
	movl	(%r12), %esi
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxdap_fasi_write_reg32
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.13:
	movl	-48(%rbp), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	sete	%al
	movl	%eax, 4(%rbx)
	movq	_QAM_DQ_MODE__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_read_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:
	movl	-44(%rbp), %edx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	andl	$65529, %edx                    ## imm = 0xFFF9
	movl	%edx, -44(%rbp)
	movq	_QAM_DQ_MODE__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movq	_QAM_FQ_MODE__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-44(%rbp), %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.18:
	movq	_QAM_DQ_TAP_IM_EL0__A@GOTPCREL(%rip), %r12
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	leaq	-44(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_drxj_dap_read_reg16
	testl	%eax, %eax
	jne	LBB0_33
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	xorl	%edx, %edx
	subl	-44(%rbp), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	testl	%eax, %eax
	jne	LBB0_33
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	addq	$2, %rbx
	cmpq	$56, %rbx
	jne	LBB0_19
## %bb.22:
	xorl	%ebx, %ebx
	movq	_QAM_FQ_TAP_IM_EL0__A@GOTPCREL(%rip), %r12
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	leaq	-44(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_drxj_dap_read_reg16
	testl	%eax, %eax
	jne	LBB0_33
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	(%r12), %rsi
	addq	%rbx, %rsi
	xorl	%edx, %edx
	subl	-44(%rbp), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	testl	%eax, %eax
	jne	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	addq	$2, %rbx
	cmpq	$48, %rbx
	jne	LBB0_23
## %bb.26:
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, -44(%rbp)
	movq	_QAM_DQ_MODE__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.27:
	movq	_QAM_FQ_MODE__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.28:
	movq	_SCU_RAM_QAM_FSM_STATE_TGT__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.29:
	leaq	-56(%rbp), %r12
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$4, -56(%rbp)
	je	LBB0_37
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	cmpl	$99, %ebx
	ja	LBB0_37
## %bb.32:                              ##   in Loop: Header=BB0_30 Depth=1
	incl	%ebx
	movq	_SCU_RAM_QAM_FSM_STATE__A@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_drxj_dap_read_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_30
	jmp	LBB0_16
LBB0_33:
	movl	%eax, %r13d
LBB0_16:
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_pr_err
	movl	%r13d, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	movq	(%r15), %rsi
	movl	-52(%rbp), %edx
	orl	$22, %edx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_SCU_RAM_QAM_CTL_ENA__A,8,3     ## @SCU_RAM_QAM_CTL_ENA__A
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error %d\n"

	.comm	_SCU_RAM_QAM_CTL_ENA_ACQ__M,4,2 ## @SCU_RAM_QAM_CTL_ENA_ACQ__M
	.comm	_SCU_RAM_QAM_CTL_ENA_EQU__M,4,2 ## @SCU_RAM_QAM_CTL_ENA_EQU__M
	.comm	_SCU_RAM_QAM_CTL_ENA_LC__M,4,2  ## @SCU_RAM_QAM_CTL_ENA_LC__M
	.comm	_QAM_LC_CF__A,8,3               ## @QAM_LC_CF__A
	.comm	_QAM_LC_CF1__A,8,3              ## @QAM_LC_CF1__A
	.comm	_IQM_FS_RATE_OFS_LO__A,4,2      ## @IQM_FS_RATE_OFS_LO__A
	.comm	_IQM_FS_RATE_LO__A,4,2          ## @IQM_FS_RATE_LO__A
	.comm	_QAM_DQ_MODE__A,8,3             ## @QAM_DQ_MODE__A
	.comm	_QAM_FQ_MODE__A,8,3             ## @QAM_FQ_MODE__A
	.comm	_QAM_LC_CI__A,8,3               ## @QAM_LC_CI__A
	.comm	_QAM_LC_EP__A,8,3               ## @QAM_LC_EP__A
	.comm	_QAM_FQ_LA_FACTOR__A,8,3        ## @QAM_FQ_LA_FACTOR__A
	.comm	_QAM_DQ_TAP_IM_EL0__A,8,3       ## @QAM_DQ_TAP_IM_EL0__A
	.comm	_QAM_FQ_TAP_IM_EL0__A,8,3       ## @QAM_FQ_TAP_IM_EL0__A
	.comm	_SCU_RAM_QAM_FSM_STATE_TGT__A,8,3 ## @SCU_RAM_QAM_FSM_STATE_TGT__A
	.comm	_SCU_RAM_QAM_FSM_STATE__A,8,3   ## @SCU_RAM_QAM_FSM_STATE__A
	.no_dead_strip	_qam_flip_spec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qam_flip_spec
_qam_flip_spec:                         ; @qam_flip_spec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldp	x21, x19, [x0]
	stp	xzr, xzr, [sp, #16]
	str	wzr, [sp, #12]
Lloh0:
	adrp	x22, _SCU_RAM_QAM_CTL_ENA__A@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SCU_RAM_QAM_CTL_ENA__A@GOTPAGEOFF]
	ldr	x1, [x22]
	add	x2, sp, #20
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_read_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.1:
	ldr	x1, [x22]
	ldr	w8, [sp, #20]
Lloh2:
	adrp	x9, _SCU_RAM_QAM_CTL_ENA_ACQ__M@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SCU_RAM_QAM_CTL_ENA_ACQ__M@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _SCU_RAM_QAM_CTL_ENA_EQU__M@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SCU_RAM_QAM_CTL_ENA_EQU__M@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh8:
	adrp	x10, _SCU_RAM_QAM_CTL_ENA_LC__M@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SCU_RAM_QAM_CTL_ENA_LC__M@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w2, w8, w9
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.2:
Lloh11:
	adrp	x8, _QAM_LC_CF__A@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QAM_LC_CF__A@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.3:
Lloh14:
	adrp	x8, _QAM_LC_CF1__A@GOTPAGE
Lloh15:
	ldr	x8, [x8, _QAM_LC_CF1__A@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.4:
Lloh17:
	adrp	x25, _IQM_FS_RATE_OFS_LO__A@GOTPAGE
Lloh18:
	ldr	x25, [x25, _IQM_FS_RATE_OFS_LO__A@GOTPAGEOFF]
	ldr	w1, [x25]
	add	x2, sp, #28
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_atomic_read_reg32
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.5:
Lloh19:
	adrp	x8, _IQM_FS_RATE_LO__A@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IQM_FS_RATE_LO__A@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_atomic_read_reg32
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.6:
	ldp	w8, w9, [sp, #24]
	sub	w8, w9, w8
	lsl	w8, w8, #1
	sub	w8, w8, w9
	str	w8, [sp, #28]
Lloh22:
	adrp	x23, _QAM_DQ_MODE__A@GOTPAGE
Lloh23:
	ldr	x23, [x23, _QAM_DQ_MODE__A@GOTPAGEOFF]
	ldr	x1, [x23]
	add	x2, sp, #16
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_read_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.7:
	ldr	w8, [sp, #16]
	mov	w9, #65529
	and	w2, w8, w9
	str	w2, [sp, #16]
	ldr	x1, [x23]
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.8:
Lloh24:
	adrp	x24, _QAM_FQ_MODE__A@GOTPAGE
Lloh25:
	ldr	x24, [x24, _QAM_FQ_MODE__A@GOTPAGEOFF]
	ldr	x1, [x24]
	ldr	w2, [sp, #16]
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.9:
Lloh26:
	adrp	x8, _QAM_LC_CI__A@GOTPAGE
Lloh27:
	ldr	x8, [x8, _QAM_LC_CI__A@GOTPAGEOFF]
Lloh28:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.10:
Lloh29:
	adrp	x8, _QAM_LC_EP__A@GOTPAGE
Lloh30:
	ldr	x8, [x8, _QAM_LC_EP__A@GOTPAGEOFF]
Lloh31:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.11:
Lloh32:
	adrp	x8, _QAM_FQ_LA_FACTOR__A@GOTPAGE
Lloh33:
	ldr	x8, [x8, _QAM_FQ_LA_FACTOR__A@GOTPAGEOFF]
Lloh34:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.12:
	ldr	w1, [x25]
	ldr	w2, [sp, #28]
	mov	x0, x19
	mov	w3, #0
	bl	_drxdap_fasi_write_reg32
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.13:
	ldr	w8, [sp, #28]
	ldr	w9, [x21, #4]
	cmp	w9, #0
	cset	w9, eq
	stp	w8, w9, [x21]
	ldr	x1, [x23]
	add	x2, sp, #16
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_read_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.14:
	ldr	w21, [sp, #16]
	mov	w8, #65529
	and	w2, w21, w8
	str	w2, [sp, #16]
	ldr	x1, [x23]
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.15:
	ldr	x1, [x24]
	ldr	w2, [sp, #16]
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.16:
	mov	x25, #0
Lloh35:
	adrp	x26, _QAM_DQ_TAP_IM_EL0__A@GOTPAGE
Lloh36:
	ldr	x26, [x26, _QAM_DQ_TAP_IM_EL0__A@GOTPAGEOFF]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	add	x1, x25, x8
	add	x2, sp, #16
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_read_reg16
	cbnz	w0, LBB0_31
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x26]
	add	x1, x25, x8
	ldr	w8, [sp, #16]
	neg	w2, w8
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	cbnz	w0, LBB0_31
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x25, x25, #2
	cmp	x25, #56
	b.ne	LBB0_17
; %bb.20:
	mov	x25, #0
Lloh37:
	adrp	x26, _QAM_FQ_TAP_IM_EL0__A@GOTPAGE
Lloh38:
	ldr	x26, [x26, _QAM_FQ_TAP_IM_EL0__A@GOTPAGEOFF]
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	add	x1, x25, x8
	add	x2, sp, #16
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_read_reg16
	cbnz	w0, LBB0_31
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x26]
	add	x1, x25, x8
	ldr	w8, [sp, #16]
	neg	w2, w8
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	cbnz	w0, LBB0_31
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x25, x25, #2
	cmp	x25, #48
	b.ne	LBB0_21
; %bb.24:
	str	w21, [sp, #16]
	ldr	x1, [x23]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.25:
	ldr	x1, [x24]
	ldr	w2, [sp, #16]
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.26:
Lloh39:
	adrp	x8, _SCU_RAM_QAM_FSM_STATE_TGT__A@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SCU_RAM_QAM_FSM_STATE_TGT__A@GOTPAGEOFF]
Lloh41:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #4
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
; %bb.27:
	mov	w21, #0
Lloh42:
	adrp	x23, _SCU_RAM_QAM_FSM_STATE__A@GOTPAGE
Lloh43:
	ldr	x23, [x23, _SCU_RAM_QAM_FSM_STATE__A@GOTPAGEOFF]
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #12]
	cmp	w8, #4
	b.eq	LBB0_34
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	cmp	w21, #99
	b.hi	LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	add	w21, w21, #1
	ldr	x1, [x23]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_read_reg16
	mov	x20, x0
	cbz	w0, LBB0_28
	b	LBB0_32
LBB0_31:
	mov	x20, x0
LBB0_32:
Lloh44:
	adrp	x0, l_.str@PAGE
Lloh45:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pr_err
LBB0_33:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_34:
	ldr	x1, [x22]
	ldr	w8, [sp, #20]
	mov	w9, #22
	orr	w2, w8, w9
	mov	x0, x19
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x20, x0
	cbnz	w0, LBB0_32
	b	LBB0_33
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_SCU_RAM_QAM_CTL_ENA__A,8,3     ; @SCU_RAM_QAM_CTL_ENA__A
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error %d\n"

	.comm	_SCU_RAM_QAM_CTL_ENA_ACQ__M,4,2 ; @SCU_RAM_QAM_CTL_ENA_ACQ__M
	.comm	_SCU_RAM_QAM_CTL_ENA_EQU__M,4,2 ; @SCU_RAM_QAM_CTL_ENA_EQU__M
	.comm	_SCU_RAM_QAM_CTL_ENA_LC__M,4,2  ; @SCU_RAM_QAM_CTL_ENA_LC__M
	.comm	_QAM_LC_CF__A,8,3               ; @QAM_LC_CF__A
	.comm	_QAM_LC_CF1__A,8,3              ; @QAM_LC_CF1__A
	.comm	_IQM_FS_RATE_OFS_LO__A,4,2      ; @IQM_FS_RATE_OFS_LO__A
	.comm	_IQM_FS_RATE_LO__A,4,2          ; @IQM_FS_RATE_LO__A
	.comm	_QAM_DQ_MODE__A,8,3             ; @QAM_DQ_MODE__A
	.comm	_QAM_FQ_MODE__A,8,3             ; @QAM_FQ_MODE__A
	.comm	_QAM_LC_CI__A,8,3               ; @QAM_LC_CI__A
	.comm	_QAM_LC_EP__A,8,3               ; @QAM_LC_EP__A
	.comm	_QAM_FQ_LA_FACTOR__A,8,3        ; @QAM_FQ_LA_FACTOR__A
	.comm	_QAM_DQ_TAP_IM_EL0__A,8,3       ; @QAM_DQ_TAP_IM_EL0__A
	.comm	_QAM_FQ_TAP_IM_EL0__A,8,3       ; @QAM_FQ_TAP_IM_EL0__A
	.comm	_SCU_RAM_QAM_FSM_STATE_TGT__A,8,3 ; @SCU_RAM_QAM_FSM_STATE_TGT__A
	.comm	_SCU_RAM_QAM_FSM_STATE__A,8,3   ; @SCU_RAM_QAM_FSM_STATE__A
	.no_dead_strip	_qam_flip_spec
.subsections_via_symbols
