	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_qam_channel
_set_qam_channel:                       ## @set_qam_channel
	.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	_DRX_NOT_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	(%rsi), %eax
	leal	-128(%rax), %ecx
	cmpl	$5, %ecx
	ja	LBB0_41
## %bb.1:
	movl	%edx, %r14d
	movl	$26, %edx
	btl	%ecx, %edx
	jb	LBB0_41
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %r13
	movl	$5, %edx
	btl	%ecx, %edx
	jae	LBB0_14
## %bb.3:
	movl	16(%r13), %ecx
	movq	_DRX_STANDARD_ITU_B@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_41
## %bb.4:
	movl	%eax, (%r13)
	movq	8(%r12), %rax
	movq	_DRX_MIRROR_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_DRX_MIRROR_NO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, 8(%r13)
	movq	_QAM_SET_OP_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_set_qam
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_14:
	movl	16(%r13), %eax
	movq	_DRX_STANDARD_ITU_B@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_30
## %bb.15:
	movl	$0, -52(%rbp)
	movl	$130, (%r12)
	movl	$130, (%r13)
	movq	8(%r12), %rax
	movq	_DRX_MIRROR_AUTO@GOTPCREL(%rip), %rdx
	movq	_DRX_MIRROR_NO@GOTPCREL(%rip), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_17
## %bb.16:
	movq	(%rcx), %rax
LBB0_17:
	movq	%rax, 8(%r13)
	movq	_QAM_SET_OP_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_set_qam
	testl	%eax, %eax
	jne	LBB0_18
## %bb.19:
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_qam256auto
	testl	%eax, %eax
	je	LBB0_20
LBB0_18:
	movl	%eax, %ebx
	jmp	LBB0_39
LBB0_30:
	movq	_DRX_STANDARD_ITU_C@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_41
## %bb.31:
	movl	$0, -48(%rbp)
	movl	$128, (%r12)
	movl	$128, (%r13)
	movq	8(%r12), %rax
	movq	_DRX_MIRROR_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.32:
	movq	_DRX_MIRROR_NO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_33:
	movq	%rax, 8(%r13)
	movl	(%r15), %edi
	movq	_SCU_RAM_QAM_CTL_ENA__A@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_drxj_dap_read_reg16
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_39
## %bb.34:
	movl	(%r15), %edi
	movl	(%r13), %esi
	movq	_SCU_RAM_QAM_CTL_ENA_ACQ__M@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-48(%rbp), %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_39
## %bb.35:
	movl	(%r15), %edi
	movq	_SCU_RAM_QAM_FSM_STATE_TGT__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_39
## %bb.36:
	movq	_QAM_SET_OP_CONSTELLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_set_qam
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_39
## %bb.37:
	movl	(%r15), %edi
	movl	(%r13), %esi
	movl	-48(%rbp), %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_39
## %bb.38:
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_qam64auto
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_29
LBB0_39:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_err
	movl	$133, (%r12)
	jmp	LBB0_40
LBB0_41:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_40:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpl	$128, (%r12)
	jne	LBB0_11
## %bb.10:
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_qam64auto
	jmp	LBB0_12
LBB0_11:
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_qam256auto
LBB0_12:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_13
LBB0_8:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_err
	jmp	LBB0_40
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_40
LBB0_20:
	movl	-44(%rbp), %eax
	movq	_DRX_LOCKED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_29
## %bb.21:
	movl	$128, (%r12)
	movl	$128, (%r13)
	movq	8(%r12), %rax
	movq	_DRX_MIRROR_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.22:
	movq	_DRX_MIRROR_NO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_23:
	movq	%rax, 8(%r13)
	movl	(%r15), %edi
	movq	_SCU_RAM_QAM_CTL_ENA__A@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-52(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_drxj_dap_read_reg16
	testl	%eax, %eax
	jne	LBB0_18
## %bb.24:
	movl	(%r15), %edi
	movl	(%r13), %esi
	movq	_SCU_RAM_QAM_CTL_ENA_ACQ__M@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-52(%rbp), %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	testl	%eax, %eax
	jne	LBB0_18
## %bb.25:
	movl	(%r15), %edi
	movq	_SCU_RAM_QAM_FSM_STATE_TGT__A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	testl	%eax, %eax
	jne	LBB0_18
## %bb.26:
	movq	_QAM_SET_OP_CONSTELLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_set_qam
	testl	%eax, %eax
	jne	LBB0_18
## %bb.27:
	movl	(%r15), %edi
	movl	(%r13), %esi
	movl	-52(%rbp), %edx
	xorl	%ecx, %ecx
	callq	_drxj_dap_write_reg16
	testl	%eax, %eax
	jne	LBB0_18
## %bb.28:
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_qam64auto
	testl	%eax, %eax
	jne	LBB0_18
LBB0_29:
	movl	$133, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_40
	.cfi_endproc
                                        ## -- End function
	.comm	_DRX_NOT_LOCKED,4,2             ## @DRX_NOT_LOCKED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DRX_STANDARD_ITU_B,4,2         ## @DRX_STANDARD_ITU_B
	.comm	_DRX_MIRROR_AUTO,8,3            ## @DRX_MIRROR_AUTO
	.comm	_DRX_MIRROR_NO,8,3              ## @DRX_MIRROR_NO
	.comm	_QAM_SET_OP_ALL,4,2             ## @QAM_SET_OP_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error %d\n"

	.comm	_DRX_LOCKED,4,2                 ## @DRX_LOCKED
	.comm	_SCU_RAM_QAM_CTL_ENA__A,4,2     ## @SCU_RAM_QAM_CTL_ENA__A
	.comm	_SCU_RAM_QAM_CTL_ENA_ACQ__M,4,2 ## @SCU_RAM_QAM_CTL_ENA_ACQ__M
	.comm	_SCU_RAM_QAM_FSM_STATE_TGT__A,4,2 ## @SCU_RAM_QAM_FSM_STATE_TGT__A
	.comm	_QAM_SET_OP_CONSTELLATION,4,2   ## @QAM_SET_OP_CONSTELLATION
	.comm	_DRX_STANDARD_ITU_C,4,2         ## @DRX_STANDARD_ITU_C
	.no_dead_strip	_set_qam_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_qam_channel
_set_qam_channel:                       ; @set_qam_channel
	.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
Lloh0:
	adrp	x8, _DRX_NOT_LOCKED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRX_NOT_LOCKED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w8, [x1]
	sub	w9, w8, #128
	cmp	w9, #5
	b.hi	LBB0_19
; %bb.1:
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #26
	tst	w9, w10
	b.ne	LBB0_19
; %bb.2:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x23, [x0, #8]
	mov	w11, #5
Lloh3:
	adrp	x10, _DRX_STANDARD_ITU_B@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DRX_STANDARD_ITU_B@GOTPAGEOFF]
	tst	w9, w11
	b.eq	LBB0_6
; %bb.3:
	ldr	w9, [x23, #16]
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_19
; %bb.4:
	str	w8, [x23]
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _DRX_MIRROR_AUTO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DRX_MIRROR_AUTO@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _DRX_MIRROR_NO@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DRX_MIRROR_NO@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x8, x10, x8, eq
	str	x8, [x23, #8]
Lloh11:
	adrp	x8, _QAM_SET_OP_ALL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QAM_SET_OP_ALL@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_set_qam
	cbz	w0, LBB0_21
; %bb.5:
	mov	x22, x0
	b	LBB0_25
LBB0_6:
	ldr	w8, [x23, #16]
	ldr	w9, [x10]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.7:
	str	wzr, [sp, #8]
	mov	w8, #130
	str	w8, [x19]
	str	w8, [x23]
	ldr	x8, [x19, #8]
Lloh14:
	adrp	x24, _DRX_MIRROR_AUTO@GOTPAGE
Lloh15:
	ldr	x24, [x24, _DRX_MIRROR_AUTO@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh16:
	adrp	x25, _DRX_MIRROR_NO@GOTPAGE
Lloh17:
	ldr	x25, [x25, _DRX_MIRROR_NO@GOTPAGEOFF]
	ldr	x10, [x25]
	cmp	x8, x9
	csel	x8, x10, x8, eq
	str	x8, [x23, #8]
Lloh18:
	adrp	x8, _QAM_SET_OP_ALL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QAM_SET_OP_ALL@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_set_qam
	cbnz	w0, LBB0_9
; %bb.8:
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_qam256auto
	cbz	w0, LBB0_26
LBB0_9:
	mov	x22, x0
	b	LBB0_17
LBB0_10:
Lloh21:
	adrp	x9, _DRX_STANDARD_ITU_C@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DRX_STANDARD_ITU_C@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.11:
	str	wzr, [sp, #4]
	mov	w8, #128
	str	w8, [x19]
	str	w8, [x23]
Lloh24:
	adrp	x8, _DRX_MIRROR_AUTO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DRX_MIRROR_AUTO@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x10, _DRX_MIRROR_NO@GOTPAGE
Lloh28:
	ldr	x10, [x10, _DRX_MIRROR_NO@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	cmp	x9, x8
	csel	x8, x10, x9, eq
	str	x8, [x23, #8]
	ldr	w0, [x21]
Lloh30:
	adrp	x23, _SCU_RAM_QAM_CTL_ENA__A@GOTPAGE
Lloh31:
	ldr	x23, [x23, _SCU_RAM_QAM_CTL_ENA__A@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #4
	mov	w3, #0
	bl	_drxj_dap_read_reg16
	mov	x22, x0
	cbnz	w0, LBB0_17
; %bb.12:
	ldr	w0, [x21]
	ldr	w1, [x23]
	ldr	w8, [sp, #4]
Lloh32:
	adrp	x9, _SCU_RAM_QAM_CTL_ENA_ACQ__M@GOTPAGE
Lloh33:
	ldr	x9, [x9, _SCU_RAM_QAM_CTL_ENA_ACQ__M@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	bic	w2, w8, w9
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x22, x0
	cbnz	w0, LBB0_17
; %bb.13:
	ldr	w0, [x21]
Lloh35:
	adrp	x8, _SCU_RAM_QAM_FSM_STATE_TGT__A@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SCU_RAM_QAM_FSM_STATE_TGT__A@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	w2, #2
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x22, x0
	cbnz	w0, LBB0_17
; %bb.14:
Lloh38:
	adrp	x8, _QAM_SET_OP_CONSTELLATION@GOTPAGE
Lloh39:
	ldr	x8, [x8, _QAM_SET_OP_CONSTELLATION@GOTPAGEOFF]
Lloh40:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_set_qam
	mov	x22, x0
	cbnz	w0, LBB0_17
; %bb.15:
	ldr	w0, [x21]
	ldr	w1, [x23]
	ldr	w2, [sp, #4]
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	mov	x22, x0
	cbnz	w0, LBB0_17
; %bb.16:
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_qam64auto
	mov	x22, x0
	cbz	w0, LBB0_18
LBB0_17:
Lloh41:
	adrp	x0, l_.str@PAGE
Lloh42:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_pr_err
LBB0_18:
	mov	w8, #133
	str	w8, [x19]
	b	LBB0_20
LBB0_19:
Lloh43:
	adrp	x8, _EINVAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_20:
	mov	x0, x22
	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
LBB0_21:
	ldr	w8, [x19]
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	cmp	w8, #128
	b.ne	LBB0_23
; %bb.22:
	bl	_qam64auto
	b	LBB0_24
LBB0_23:
	bl	_qam256auto
LBB0_24:
	mov	x22, x0
	cbz	w0, LBB0_20
LBB0_25:
Lloh46:
	adrp	x0, l_.str@PAGE
Lloh47:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_pr_err
	b	LBB0_20
LBB0_26:
	ldr	w8, [sp, #12]
Lloh48:
	adrp	x9, _DRX_LOCKED@GOTPAGE
Lloh49:
	ldr	x9, [x9, _DRX_LOCKED@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_33
; %bb.27:
	mov	w8, #128
	str	w8, [x19]
	str	w8, [x23]
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	ldr	x10, [x25]
	cmp	x8, x9
	csel	x8, x10, x8, eq
	str	x8, [x23, #8]
	ldr	w0, [x21]
Lloh51:
	adrp	x23, _SCU_RAM_QAM_CTL_ENA__A@GOTPAGE
Lloh52:
	ldr	x23, [x23, _SCU_RAM_QAM_CTL_ENA__A@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #8
	mov	w3, #0
	bl	_drxj_dap_read_reg16
	cbnz	w0, LBB0_9
; %bb.28:
	ldr	w0, [x21]
	ldr	w1, [x23]
	ldr	w8, [sp, #8]
Lloh53:
	adrp	x9, _SCU_RAM_QAM_CTL_ENA_ACQ__M@GOTPAGE
Lloh54:
	ldr	x9, [x9, _SCU_RAM_QAM_CTL_ENA_ACQ__M@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	bic	w2, w8, w9
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	cbnz	w0, LBB0_9
; %bb.29:
	ldr	w0, [x21]
Lloh56:
	adrp	x8, _SCU_RAM_QAM_FSM_STATE_TGT__A@GOTPAGE
Lloh57:
	ldr	x8, [x8, _SCU_RAM_QAM_FSM_STATE_TGT__A@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	mov	w2, #2
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	cbnz	w0, LBB0_9
; %bb.30:
Lloh59:
	adrp	x8, _QAM_SET_OP_CONSTELLATION@GOTPAGE
Lloh60:
	ldr	x8, [x8, _QAM_SET_OP_CONSTELLATION@GOTPAGEOFF]
Lloh61:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_set_qam
	cbnz	w0, LBB0_9
; %bb.31:
	ldr	w0, [x21]
	ldr	w1, [x23]
	ldr	w2, [sp, #8]
	mov	w3, #0
	bl	_drxj_dap_write_reg16
	cbnz	w0, LBB0_9
; %bb.32:
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_qam64auto
	cbnz	w0, LBB0_9
LBB0_33:
	mov	w22, #0
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_DRX_NOT_LOCKED,4,2             ; @DRX_NOT_LOCKED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DRX_STANDARD_ITU_B,4,2         ; @DRX_STANDARD_ITU_B
	.comm	_DRX_MIRROR_AUTO,8,3            ; @DRX_MIRROR_AUTO
	.comm	_DRX_MIRROR_NO,8,3              ; @DRX_MIRROR_NO
	.comm	_QAM_SET_OP_ALL,4,2             ; @QAM_SET_OP_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error %d\n"

	.comm	_DRX_LOCKED,4,2                 ; @DRX_LOCKED
	.comm	_SCU_RAM_QAM_CTL_ENA__A,4,2     ; @SCU_RAM_QAM_CTL_ENA__A
	.comm	_SCU_RAM_QAM_CTL_ENA_ACQ__M,4,2 ; @SCU_RAM_QAM_CTL_ENA_ACQ__M
	.comm	_SCU_RAM_QAM_FSM_STATE_TGT__A,4,2 ; @SCU_RAM_QAM_FSM_STATE_TGT__A
	.comm	_QAM_SET_OP_CONSTELLATION,4,2   ; @QAM_SET_OP_CONSTELLATION
	.comm	_DRX_STANDARD_ITU_C,4,2         ; @DRX_STANDARD_ITU_C
	.no_dead_strip	_set_qam_channel
.subsections_via_symbols
