	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lg216x_get_frontend
_lg216x_get_frontend:                   ## @lg216x_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_lg_dbg
	movq	_VSB_8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r15)
	movl	24(%r14), %eax
	movl	%eax, 76(%r15)
	movq	_SYS_ATSCMH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r15)
	leaq	68(%r15), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_lg216x_get_fic_version
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movl	(%rbx), %eax
	cmpl	%eax, 20(%r14)
	je	LBB0_11
## %bb.2:
	movl	%eax, 20(%r14)
	leaq	60(%r15), %rsi
	movq	%r14, %rdi
	callq	_lg216x_get_nog
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_11
## %bb.3:
	leaq	56(%r15), %rsi
	movq	%r14, %rdi
	callq	_lg216x_get_tnog
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	leaq	52(%r15), %rsi
	movq	%r14, %rdi
	callq	_lg216x_get_sgn
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:
	leaq	48(%r15), %rsi
	movq	%r14, %rdi
	callq	_lg216x_get_prc
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	leaq	44(%r15), %rsi
	movq	%r14, %rdi
	callq	_lg216x_get_rs_frame_mode
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:
	leaq	40(%r15), %rsi
	movq	%r14, %rdi
	callq	_lg216x_get_rs_frame_ensemble
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	leaq	36(%r15), %rsi
	leaq	32(%r15), %rdx
	movq	%r14, %rdi
	callq	_lg216x_get_rs_code_mode
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	leaq	28(%r15), %rsi
	movq	%r14, %rdi
	callq	_lg216x_get_sccc_block_mode
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	leaq	24(%r15), %rsi
	leaq	20(%r15), %rdx
	leaq	16(%r15), %rcx
	addq	$12, %r15
	movq	%r14, %rdi
	movq	%r15, %r8
	callq	_lg216x_get_sccc_code_mode
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_lg_fail
LBB0_11:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_VSB_8,4,2                      ## @VSB_8
	.comm	_SYS_ATSCMH,4,2                 ## @SYS_ATSCMH
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_lg216x_get_frontend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lg216x_get_frontend
_lg216x_get_frontend:                   ; @lg216x_get_frontend
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_lg_dbg
Lloh2:
	adrp	x8, _VSB_8@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VSB_8@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #80]
	ldr	w8, [x20, #24]
Lloh5:
	adrp	x9, _SYS_ATSCMH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SYS_ATSCMH@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #72]
	add	x22, x19, #68
	mov	x0, x20
	mov	x1, x22
	bl	_lg216x_get_fic_version
	mov	x21, x0
	bl	_lg_fail
	cbnz	x0, LBB0_11
; %bb.1:
	ldr	w9, [x20, #20]
	ldr	w8, [x22]
	cmp	w9, w8
	b.eq	LBB0_11
; %bb.2:
	str	w8, [x20, #20]
	add	x1, x19, #60
	mov	x0, x20
	bl	_lg216x_get_nog
	mov	x21, x0
	bl	_lg_fail
	cbnz	x0, LBB0_11
; %bb.3:
	add	x1, x19, #56
	mov	x0, x20
	bl	_lg216x_get_tnog
	mov	x21, x0
	bl	_lg_fail
	cbnz	x0, LBB0_11
; %bb.4:
	add	x1, x19, #52
	mov	x0, x20
	bl	_lg216x_get_sgn
	mov	x21, x0
	bl	_lg_fail
	cbnz	x0, LBB0_11
; %bb.5:
	add	x1, x19, #48
	mov	x0, x20
	bl	_lg216x_get_prc
	mov	x21, x0
	bl	_lg_fail
	cbnz	x0, LBB0_11
; %bb.6:
	add	x1, x19, #44
	mov	x0, x20
	bl	_lg216x_get_rs_frame_mode
	mov	x21, x0
	bl	_lg_fail
	cbnz	x0, LBB0_11
; %bb.7:
	add	x1, x19, #40
	mov	x0, x20
	bl	_lg216x_get_rs_frame_ensemble
	mov	x21, x0
	bl	_lg_fail
	cbnz	x0, LBB0_11
; %bb.8:
	add	x1, x19, #36
	add	x2, x19, #32
	mov	x0, x20
	bl	_lg216x_get_rs_code_mode
	mov	x21, x0
	bl	_lg_fail
	cbnz	x0, LBB0_11
; %bb.9:
	add	x1, x19, #28
	mov	x0, x20
	bl	_lg216x_get_sccc_block_mode
	mov	x21, x0
	bl	_lg_fail
	cbnz	x0, LBB0_11
; %bb.10:
	add	x1, x19, #24
	add	x2, x19, #20
	add	x3, x19, #16
	add	x4, x19, #12
	mov	x0, x20
	bl	_lg216x_get_sccc_code_mode
	mov	x21, x0
	bl	_lg_fail
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_VSB_8,4,2                      ; @VSB_8
	.comm	_SYS_ATSCMH,4,2                 ; @SYS_ATSCMH
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_lg216x_get_frontend
.subsections_via_symbols
