	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9033_get_frontend
_af9033_get_frontend:                   ## @af9033_get_frontend
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	(%rdi), %rbx
	movq	8(%rbx), %r12
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	(%rbx), %edi
	leaq	-80(%rbp), %rdx
	movl	$8452352, %esi                  ## imm = 0x80F900
	movl	$8, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_1
## %bb.23:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_24
LBB0_1:
	movl	-80(%rbp), %eax
	andl	$3, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.4:
	movq	_TRANSMISSION_MODE_8K@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_TRANSMISSION_MODE_2K@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
LBB0_6:
	movl	-76(%rbp), %eax
	andl	$3, %eax
	leaq	l_switch.table.af9033_get_frontend(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movl	-72(%rbp), %eax
	andl	$7, %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.7:
	leaq	l_switch.table.af9033_get_frontend.4(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
LBB0_8:
	movl	-68(%rbp), %eax
	andl	$3, %eax
	cmpl	$3, %eax
	je	LBB0_10
## %bb.9:
	leaq	l_switch.table.af9033_get_frontend.2(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
LBB0_10:
	movl	-64(%rbp), %eax
	andl	$3, %eax
	cmpl	$3, %eax
	je	LBB0_12
## %bb.11:
	imull	$1000000, %eax, %eax            ## imm = 0xF4240
	addl	$6000000, %eax                  ## imm = 0x5B8D80
	movl	%eax, (%r14)
LBB0_12:
	movl	-56(%rbp), %eax
	andl	$7, %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.13:
	leaq	l_switch.table.af9033_get_frontend.3(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
LBB0_14:
	movl	-52(%rbp), %eax
	andl	$7, %eax
	cmpl	$5, %eax
	ja	LBB0_24
## %bb.15:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	movq	_FEC_1_2@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_18:
	movq	_FEC_2_3@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_19:
	movq	_FEC_3_4@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_20:
	movq	_FEC_5_6@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_21:
	movq	_FEC_7_8@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_22:
	movq	_FEC_NONE@GOTPCREL(%rip), %rax
LBB0_17:
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%r15d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_TRANSMISSION_MODE_2K,4,2       ## @TRANSMISSION_MODE_2K
	.comm	_TRANSMISSION_MODE_8K,4,2       ## @TRANSMISSION_MODE_8K
	.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	_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	_QPSK,4,2                       ## @QPSK
	.comm	_QAM_16,4,2                     ## @QAM_16
	.comm	_QAM_64,4,2                     ## @QAM_64
	.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	_FEC_NONE,8,3                   ## @FEC_NONE
L_.str.1:                               ## @.str.1
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9033_get_frontend
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.af9033_get_frontend
l_switch.table.af9033_get_frontend:
	.quad	_GUARD_INTERVAL_1_32
	.quad	_GUARD_INTERVAL_1_16
	.quad	_GUARD_INTERVAL_1_8
	.quad	_GUARD_INTERVAL_1_4

	.p2align	3                               ## @switch.table.af9033_get_frontend.2
l_switch.table.af9033_get_frontend.2:
	.quad	_QPSK
	.quad	_QAM_16
	.quad	_QAM_64

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

	.p2align	3                               ## @switch.table.af9033_get_frontend.4
l_switch.table.af9033_get_frontend.4:
	.quad	_HIERARCHY_NONE
	.quad	_HIERARCHY_1
	.quad	_HIERARCHY_2
	.quad	_HIERARCHY_4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9033_get_frontend
_af9033_get_frontend:                   ; @af9033_get_frontend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x19, [x0]
	ldr	x21, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	ldr	w0, [x19]
	add	x2, sp, #8
	mov	w1, #63744
	movk	w1, #128, lsl #16
	mov	w3, #8
	bl	_regmap_bulk_read
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
	str	x19, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	b	LBB0_24
LBB0_2:
	ldr	w8, [sp, #8]
	ands	w8, w8, #0x3
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.4:
Lloh7:
	adrp	x8, _TRANSMISSION_MODE_8K@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRANSMISSION_MODE_8K@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _TRANSMISSION_MODE_2K@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRANSMISSION_MODE_2K@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x20, #36]
LBB0_7:
	ldp	w8, w9, [sp, #12]
	and	x8, x8, #0x3
Lloh11:
	adrp	x10, l_switch.table.af9033_get_frontend@PAGE
Lloh12:
	add	x10, x10, l_switch.table.af9033_get_frontend@PAGEOFF
	ldr	x8, [x10, x8, lsl #3]
	ldr	w8, [x8]
	str	w8, [x20, #32]
	and	x8, x9, #0x7
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.8:
Lloh13:
	adrp	x9, l_switch.table.af9033_get_frontend.4@PAGE
Lloh14:
	add	x9, x9, l_switch.table.af9033_get_frontend.4@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	ldr	w8, [x8]
	str	w8, [x20, #28]
LBB0_9:
	ldr	w8, [sp, #20]
	and	x8, x8, #0x3
	cmp	w8, #3
	b.eq	LBB0_11
; %bb.10:
Lloh15:
	adrp	x9, l_switch.table.af9033_get_frontend.2@PAGE
Lloh16:
	add	x9, x9, l_switch.table.af9033_get_frontend.2@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	ldr	w8, [x8]
	str	w8, [x20, #24]
LBB0_11:
	ldr	w8, [sp, #24]
	and	w8, w8, #0x3
	cmp	w8, #3
	b.eq	LBB0_13
; %bb.12:
	mov	w9, #16960
	movk	w9, #15, lsl #16
	mov	w10, #36224
	movk	w10, #91, lsl #16
	madd	w8, w8, w9, w10
	str	w8, [x20]
LBB0_13:
	ldr	w8, [sp, #32]
	and	x8, x8, #0x7
	cmp	w8, #5
	b.hi	LBB0_15
; %bb.14:
Lloh17:
	adrp	x9, l_switch.table.af9033_get_frontend.3@PAGE
Lloh18:
	add	x9, x9, l_switch.table.af9033_get_frontend.3@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	ldr	x8, [x8]
	str	x8, [x20, #16]
LBB0_15:
	ldr	w8, [sp, #36]
	and	x8, x8, #0x7
	cmp	w8, #5
	b.hi	LBB0_24
; %bb.16:
Lloh19:
	adrp	x9, lJTI0_0@PAGE
Lloh20:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_17
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:
Lloh21:
	adrp	x8, _FEC_1_2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FEC_1_2@GOTPAGEOFF]
	b	LBB0_23
LBB0_18:
Lloh23:
	adrp	x8, _FEC_2_3@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FEC_2_3@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
Lloh25:
	adrp	x8, _FEC_3_4@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FEC_3_4@GOTPAGEOFF]
	b	LBB0_23
LBB0_20:
Lloh27:
	adrp	x8, _FEC_5_6@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FEC_5_6@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
Lloh29:
	adrp	x8, _FEC_7_8@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FEC_7_8@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh31:
	adrp	x8, _FEC_NONE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FEC_NONE@GOTPAGEOFF]
LBB0_23:
	ldr	x8, [x8]
	str	x8, [x20, #8]
LBB0_24:
	ldr	x8, [sp, #40]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_18-LBB0_17)>>2
	.byte	(LBB0_19-LBB0_17)>>2
	.byte	(LBB0_20-LBB0_17)>>2
	.byte	(LBB0_21-LBB0_17)>>2
	.byte	(LBB0_22-LBB0_17)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_TRANSMISSION_MODE_2K,4,2       ; @TRANSMISSION_MODE_2K
	.comm	_TRANSMISSION_MODE_8K,4,2       ; @TRANSMISSION_MODE_8K
	.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	_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	_QPSK,4,2                       ; @QPSK
	.comm	_QAM_16,4,2                     ; @QAM_16
	.comm	_QAM_64,4,2                     ; @QAM_64
	.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	_FEC_NONE,8,3                   ; @FEC_NONE
l_.str.1:                               ; @.str.1
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9033_get_frontend
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.af9033_get_frontend
l_switch.table.af9033_get_frontend:
	.quad	_GUARD_INTERVAL_1_32
	.quad	_GUARD_INTERVAL_1_16
	.quad	_GUARD_INTERVAL_1_8
	.quad	_GUARD_INTERVAL_1_4

	.p2align	3                               ; @switch.table.af9033_get_frontend.2
l_switch.table.af9033_get_frontend.2:
	.quad	_QPSK
	.quad	_QAM_16
	.quad	_QAM_64

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

	.p2align	3                               ; @switch.table.af9033_get_frontend.4
l_switch.table.af9033_get_frontend.4:
	.quad	_HIERARCHY_NONE
	.quad	_HIERARCHY_1
	.quad	_HIERARCHY_2
	.quad	_HIERARCHY_4

.subsections_via_symbols
