	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dst_fw_ver
_dst_fw_ver:                            ## @dst_fw_ver
	.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_fw_ver.get_ver+16(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	l___const.dst_fw_ver.get_ver(%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:
	leaq	8(%rbx), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	movl	%edx, %esi
	sarl	$4, %esi
	andl	$15, %edx
	movl	20(%rax), %r8d
	movl	24(%rax), %r9d
	movl	16(%rax), %r10d
	movl	12(%rax), %ebx
	movl	8(%rax), %eax
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdi
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_pr_err
	addq	$32, %rsp
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_dprintk
	movl	$-1, %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.dst_fw_ver.get_ver
l___const.dst_fw_ver.get_ver:
	.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	"Unsupported Command\n"

L_.str.1:                               ## @.str.1
	.asciz	"Firmware Ver = %x.%x Build = %02x, on %x:%x, %x-%x-20%02x\n"

	.no_dead_strip	_dst_fw_ver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dst_fw_ver
_dst_fw_ver:                            ; @dst_fw_ver
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	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_fw_ver.get_ver@PAGE
Lloh4:
	add	x8, x8, l___const.dst_fw_ver.get_ver@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_2
; %bb.1:
	add	x1, x19, #8
	mov	x0, x19
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x19]
	ldp	w9, w3, [x8]
	asr	w1, w9, #4
	and	w2, w9, #0xf
	ldp	w4, w5, [x8, #20]
	ldp	w7, w6, [x8, #12]
	ldr	w8, [x8, #8]
	str	w8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_dprintk
	mov	w0, #-1
LBB0_3:
	ldur	x8, [x29, #-24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.dst_fw_ver.get_ver
l___const.dst_fw_ver.get_ver:
	.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	"Unsupported Command\n"

l_.str.1:                               ; @.str.1
	.asciz	"Firmware Ver = %x.%x Build = %02x, on %x:%x, %x-%x-20%02x\n"

	.no_dead_strip	_dst_fw_ver
.subsections_via_symbols
