	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx22702_get_tps
_cx22702_get_tps:                       ## @cx22702_get_tps
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$10, %esi
	callq	_cx22702_readreg
	testb	$32, %al
	jne	LBB0_2
## %bb.1:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_cx22702_readreg
	movl	%eax, %ecx
	shrl	$3, %ecx
	andl	$3, %ecx
	cmpl	$3, %ecx
	je	LBB0_4
## %bb.3:
	movl	%ecx, %ecx
	leaq	l_switch.table.cx22702_get_tps(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%r14)
LBB0_4:
	andl	$7, %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.5:
	movl	%eax, %eax
	leaq	l_switch.table.cx22702_get_tps.1(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
LBB0_6:
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_cx22702_readreg
	movl	%eax, %ecx
	shrl	$3, %ecx
	andl	$7, %ecx
	cmpl	$4, %ecx
	ja	LBB0_8
## %bb.7:
	movl	%ecx, %ecx
	leaq	l_switch.table.cx22702_get_tps.3(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%r14)
LBB0_8:
	andl	$7, %eax
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.9:
	movl	%eax, %eax
	leaq	l_switch.table.cx22702_get_tps.3(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_10:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_cx22702_readreg
	movl	%eax, %ecx
	shrl	$2, %eax
	andl	$3, %eax
	leaq	l_switch.table.cx22702_get_tps.4(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	andl	$3, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	je	LBB0_13
## %bb.11:
	testl	%ecx, %ecx
	jne	LBB0_15
## %bb.12:
	movq	_TRANSMISSION_MODE_2K@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_13:
	movq	_TRANSMISSION_MODE_8K@GOTPCREL(%rip), %rcx
LBB0_14:
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_QPSK,4,2                       ## @QPSK
	.comm	_QAM_16,4,2                     ## @QAM_16
	.comm	_QAM_64,4,2                     ## @QAM_64
	.comm	_HIERARCHY_NONE,4,2             ## @HIERARCHY_NONE
	.comm	_HIERARCHY_1,4,2                ## @HIERARCHY_1
	.comm	_HIERARCHY_2,4,2                ## @HIERARCHY_2
	.comm	_HIERARCHY_4,4,2                ## @HIERARCHY_4
	.comm	_FEC_1_2,8,3                    ## @FEC_1_2
	.comm	_FEC_2_3,8,3                    ## @FEC_2_3
	.comm	_FEC_3_4,8,3                    ## @FEC_3_4
	.comm	_FEC_5_6,8,3                    ## @FEC_5_6
	.comm	_FEC_7_8,8,3                    ## @FEC_7_8
	.comm	_GUARD_INTERVAL_1_32,4,2        ## @GUARD_INTERVAL_1_32
	.comm	_GUARD_INTERVAL_1_16,4,2        ## @GUARD_INTERVAL_1_16
	.comm	_GUARD_INTERVAL_1_8,4,2         ## @GUARD_INTERVAL_1_8
	.comm	_GUARD_INTERVAL_1_4,4,2         ## @GUARD_INTERVAL_1_4
	.comm	_TRANSMISSION_MODE_2K,4,2       ## @TRANSMISSION_MODE_2K
	.comm	_TRANSMISSION_MODE_8K,4,2       ## @TRANSMISSION_MODE_8K
	.no_dead_strip	_cx22702_get_tps
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.cx22702_get_tps
l_switch.table.cx22702_get_tps:
	.quad	_QPSK
	.quad	_QAM_16
	.quad	_QAM_64

	.p2align	3                               ## @switch.table.cx22702_get_tps.1
l_switch.table.cx22702_get_tps.1:
	.quad	_HIERARCHY_NONE
	.quad	_HIERARCHY_1
	.quad	_HIERARCHY_2
	.quad	_HIERARCHY_4

	.p2align	3                               ## @switch.table.cx22702_get_tps.3
l_switch.table.cx22702_get_tps.3:
	.quad	_FEC_1_2
	.quad	_FEC_2_3
	.quad	_FEC_3_4
	.quad	_FEC_5_6
	.quad	_FEC_7_8

	.p2align	3                               ## @switch.table.cx22702_get_tps.4
l_switch.table.cx22702_get_tps.4:
	.quad	_GUARD_INTERVAL_1_32
	.quad	_GUARD_INTERVAL_1_16
	.quad	_GUARD_INTERVAL_1_8
	.quad	_GUARD_INTERVAL_1_4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx22702_get_tps
_cx22702_get_tps:                       ; @cx22702_get_tps
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	w1, #10
	bl	_cx22702_readreg
	tbnz	w0, #5, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_2:
	mov	x0, x20
	mov	w1, #1
	bl	_cx22702_readreg
	ubfx	w8, w0, #3, #2
	cmp	w8, #3
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x9, l_switch.table.cx22702_get_tps@PAGE
Lloh4:
	add	x9, x9, l_switch.table.cx22702_get_tps@PAGEOFF
	ldr	x8, [x9, w8, uxtw #3]
	ldr	w8, [x8]
	str	w8, [x19, #28]
LBB0_4:
	and	w8, w0, #0x7
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.5:
Lloh5:
	adrp	x9, l_switch.table.cx22702_get_tps.1@PAGE
Lloh6:
	add	x9, x9, l_switch.table.cx22702_get_tps.1@PAGEOFF
	ldr	x8, [x9, w8, uxtw #3]
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_6:
	mov	x0, x20
	mov	w1, #2
	bl	_cx22702_readreg
	ubfx	w8, w0, #3, #3
	cmp	w8, #4
	b.hi	LBB0_8
; %bb.7:
Lloh7:
	adrp	x9, l_switch.table.cx22702_get_tps.3@PAGE
Lloh8:
	add	x9, x9, l_switch.table.cx22702_get_tps.3@PAGEOFF
	ldr	x8, [x9, w8, uxtw #3]
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_8:
	and	w8, w0, #0x7
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.9:
Lloh9:
	adrp	x9, l_switch.table.cx22702_get_tps.3@PAGE
Lloh10:
	add	x9, x9, l_switch.table.cx22702_get_tps.3@PAGEOFF
	ldr	x8, [x9, w8, uxtw #3]
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_10:
	mov	x0, x20
	mov	w1, #3
	bl	_cx22702_readreg
	ubfx	w8, w0, #2, #2
Lloh11:
	adrp	x9, l_switch.table.cx22702_get_tps.4@PAGE
Lloh12:
	add	x9, x9, l_switch.table.cx22702_get_tps.4@PAGEOFF
	ldr	x8, [x9, w8, uxtw #3]
	ldr	w8, [x8]
	str	w8, [x19, #4]
	and	w8, w0, #0x3
	cmp	w8, #1
	b.eq	LBB0_13
; %bb.11:
	mov	w0, #0
	cbnz	w8, LBB0_15
; %bb.12:
Lloh13:
	adrp	x8, _TRANSMISSION_MODE_2K@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRANSMISSION_MODE_2K@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
	mov	w0, #0
Lloh15:
	adrp	x8, _TRANSMISSION_MODE_8K@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRANSMISSION_MODE_8K@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_QPSK,4,2                       ; @QPSK
	.comm	_QAM_16,4,2                     ; @QAM_16
	.comm	_QAM_64,4,2                     ; @QAM_64
	.comm	_HIERARCHY_NONE,4,2             ; @HIERARCHY_NONE
	.comm	_HIERARCHY_1,4,2                ; @HIERARCHY_1
	.comm	_HIERARCHY_2,4,2                ; @HIERARCHY_2
	.comm	_HIERARCHY_4,4,2                ; @HIERARCHY_4
	.comm	_FEC_1_2,8,3                    ; @FEC_1_2
	.comm	_FEC_2_3,8,3                    ; @FEC_2_3
	.comm	_FEC_3_4,8,3                    ; @FEC_3_4
	.comm	_FEC_5_6,8,3                    ; @FEC_5_6
	.comm	_FEC_7_8,8,3                    ; @FEC_7_8
	.comm	_GUARD_INTERVAL_1_32,4,2        ; @GUARD_INTERVAL_1_32
	.comm	_GUARD_INTERVAL_1_16,4,2        ; @GUARD_INTERVAL_1_16
	.comm	_GUARD_INTERVAL_1_8,4,2         ; @GUARD_INTERVAL_1_8
	.comm	_GUARD_INTERVAL_1_4,4,2         ; @GUARD_INTERVAL_1_4
	.comm	_TRANSMISSION_MODE_2K,4,2       ; @TRANSMISSION_MODE_2K
	.comm	_TRANSMISSION_MODE_8K,4,2       ; @TRANSMISSION_MODE_8K
	.no_dead_strip	_cx22702_get_tps
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cx22702_get_tps
l_switch.table.cx22702_get_tps:
	.quad	_QPSK
	.quad	_QAM_16
	.quad	_QAM_64

	.p2align	3                               ; @switch.table.cx22702_get_tps.1
l_switch.table.cx22702_get_tps.1:
	.quad	_HIERARCHY_NONE
	.quad	_HIERARCHY_1
	.quad	_HIERARCHY_2
	.quad	_HIERARCHY_4

	.p2align	3                               ; @switch.table.cx22702_get_tps.3
l_switch.table.cx22702_get_tps.3:
	.quad	_FEC_1_2
	.quad	_FEC_2_3
	.quad	_FEC_3_4
	.quad	_FEC_5_6
	.quad	_FEC_7_8

	.p2align	3                               ; @switch.table.cx22702_get_tps.4
l_switch.table.cx22702_get_tps.4:
	.quad	_GUARD_INTERVAL_1_32
	.quad	_GUARD_INTERVAL_1_16
	.quad	_GUARD_INTERVAL_1_8
	.quad	_GUARD_INTERVAL_1_4

.subsections_via_symbols
