	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dst_check_mb86a15
_dst_check_mb86a15:                     ## @dst_check_mb86a15
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movaps	l___const.dst_check_mb86a15.check_mb86a15+16(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	l___const.dst_check_mb86a15.check_mb86a15(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movl	$7, %esi
	callq	_dst_check_sum
	movl	%eax, -36(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_dst_command
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_debug_dst_buffer
	leaq	4(%rbx), %rsi
	leaq	-64(%rbp), %rdi
	movl	$8, %edx
	callq	_memcmp
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	movq	_TUNER_TYPE_MB86A15@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	$-1, %eax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.dst_check_mb86a15.check_mb86a15
l___const.dst_check_mb86a15.check_mb86a15:
	.long	0                               ## 0x0
	.long	16                              ## 0x10
	.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	"Cmd=[0x10], failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"Found a MB86A15 NIM\n"

	.comm	_TUNER_TYPE_MB86A15,4,2         ## @TUNER_TYPE_MB86A15
	.no_dead_strip	_dst_check_mb86a15
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dst_check_mb86a15
_dst_check_mb86a15:                     ; @dst_check_mb86a15
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.dst_check_mb86a15.check_mb86a15@PAGE
Lloh4:
	add	x8, x8, l___const.dst_check_mb86a15.check_mb86a15@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	mov	x0, sp
	mov	w1, #7
	bl	_dst_check_sum
	str	w0, [sp, #28]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #8
	bl	_dst_command
	tbnz	x0, #63, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_debug_dst_buffer
	add	x1, x19, #4
	mov	x0, sp
	mov	w2, #8
	bl	_memcmp
	tbz	x0, #63, LBB0_4
; %bb.2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	mov	w0, #0
Lloh7:
	adrp	x8, _TUNER_TYPE_MB86A15@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TUNER_TYPE_MB86A15@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_5
LBB0_3:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldur	x8, [x29, #-24]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.dst_check_mb86a15.check_mb86a15
l___const.dst_check_mb86a15.check_mb86a15:
	.long	0                               ; 0x0
	.long	16                              ; 0x10
	.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	"Cmd=[0x10], failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"Found a MB86A15 NIM\n"

	.comm	_TUNER_TYPE_MB86A15,4,2         ; @TUNER_TYPE_MB86A15
	.no_dead_strip	_dst_check_mb86a15
.subsections_via_symbols
