	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dst_card_type
_dst_card_type:                         ## @dst_card_type
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.dst_card_type.get_type+16(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.dst_card_type.get_type(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_dst_check_sum
	movl	%eax, -52(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_dst_command
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	leaq	8(%r14), %r15
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	16(%r14), %rsi
	movq	%r15, %rdi
	movl	$7, %edx
	callq	_memcpy
	movl	8(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	movq	_tuner_list@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	addq	$8, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	addq	$12, %rbx
	cmpl	%eax, %r12d
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movl	(%rbx), %esi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-8(%rbx), %edx
	movl	%edx, (%r14)
	movl	-4(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_6
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_dprintk
	movl	$-1, %r12d
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.dst_card_type.get_type
l___const.dst_card_type.get_type:
	.long	0                               ## 0x0
	.long	17                              ## 0x11
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported Command\n"

L_.str.1:                               ## @.str.1
	.asciz	"Device Model=[%s]\n"

	.comm	_tuner_list,8,3                 ## @tuner_list
L_.str.2:                               ## @.str.2
	.asciz	"DST has [%s] tuner, tuner type=[%d]\n"

	.no_dead_strip	_dst_card_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dst_card_type
_dst_card_type:                         ; @dst_card_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, l___const.dst_card_type.get_type@PAGE
Lloh4:
	add	x8, x8, l___const.dst_card_type.get_type@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #16]
	add	x0, sp, #16
	mov	w1, #7
	bl	_dst_check_sum
	str	w0, [sp, #44]
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #8
	bl	_dst_command
	tbnz	x0, #63, LBB0_7
; %bb.1:
	add	x20, x19, #8
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x1, x19, #16
	mov	x0, x20
	mov	w2, #7
	bl	_memcpy
	ldr	w1, [x19, #8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh7:
	adrp	x22, _tuner_list@GOTPAGE
Lloh8:
	ldr	x22, [x22, _tuner_list@GOTPAGEOFF]
	ldr	x21, [x22]
	mov	x0, x21
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w23, #0
	add	x24, x21, #8
Lloh9:
	adrp	x21, l_.str.2@PAGE
Lloh10:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	add	x24, x24, #12
	cmp	w23, w0
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	ldr	w1, [x24]
	bl	_strcmp
	cbnz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x24, #-8]
	str	w8, [x19]
	ldur	w1, [x24, #-4]
	str	x8, [sp]
	mov	x0, x21
	bl	_pr_err
	b	LBB0_3
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_dprintk
	mov	w0, #-1
LBB0_8:
	ldr	x8, [sp, #56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.dst_card_type.get_type
l___const.dst_card_type.get_type:
	.long	0                               ; 0x0
	.long	17                              ; 0x11
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported Command\n"

l_.str.1:                               ; @.str.1
	.asciz	"Device Model=[%s]\n"

	.comm	_tuner_list,8,3                 ; @tuner_list
l_.str.2:                               ; @.str.2
	.asciz	"DST has [%s] tuner, tuner type=[%d]\n"

	.no_dead_strip	_dst_card_type
.subsections_via_symbols
