	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_misc_status               ## -- Begin function read_misc_status
	.p2align	4, 0x90
_read_misc_status:                      ## @read_misc_status
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_MISC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GENERAL_CONFIG@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-44(%rbp), %r12
	movq	%r12, %rcx
	callq	_read_8051_config
	movl	-44(%rbp), %eax
	movq	_STS_FM_VERSION_MAJOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	sarl	%cl, %edx
	movq	_STS_FM_VERSION_MAJOR_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movl	%edx, (%r13)
	movq	_STS_FM_VERSION_MINOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_STS_FM_VERSION_MINOR_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%r15)
	movq	_VERSION_PATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	callq	_read_8051_config
	movl	-44(%rbp), %eax
	movq	_STS_FM_VERSION_PATCH_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_STS_FM_VERSION_PATCH_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MISC_STATUS,4,2                ## @MISC_STATUS
	.comm	_GENERAL_CONFIG,4,2             ## @GENERAL_CONFIG
	.comm	_STS_FM_VERSION_MAJOR_SHIFT,4,2 ## @STS_FM_VERSION_MAJOR_SHIFT
	.comm	_STS_FM_VERSION_MAJOR_MASK,4,2  ## @STS_FM_VERSION_MAJOR_MASK
	.comm	_STS_FM_VERSION_MINOR_SHIFT,4,2 ## @STS_FM_VERSION_MINOR_SHIFT
	.comm	_STS_FM_VERSION_MINOR_MASK,4,2  ## @STS_FM_VERSION_MINOR_MASK
	.comm	_VERSION_PATCH,4,2              ## @VERSION_PATCH
	.comm	_STS_FM_VERSION_PATCH_SHIFT,4,2 ## @STS_FM_VERSION_PATCH_SHIFT
	.comm	_STS_FM_VERSION_PATCH_MASK,4,2  ## @STS_FM_VERSION_PATCH_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_misc_status               ; -- Begin function read_misc_status
	.p2align	2
_read_misc_status:                      ; @read_misc_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MISC_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MISC_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x23, _GENERAL_CONFIG@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GENERAL_CONFIG@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x3, sp, #12
	bl	_read_8051_config
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _STS_FM_VERSION_MAJOR_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _STS_FM_VERSION_MAJOR_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	asr	w9, w8, w9
Lloh8:
	adrp	x10, _STS_FM_VERSION_MAJOR_MASK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _STS_FM_VERSION_MAJOR_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	and	w9, w9, w10
Lloh11:
	adrp	x10, _STS_FM_VERSION_MINOR_SHIFT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _STS_FM_VERSION_MINOR_SHIFT@GOTPAGEOFF]
	str	w9, [x21]
Lloh13:
	ldr	w9, [x10]
	asr	w8, w8, w9
Lloh14:
	adrp	x9, _STS_FM_VERSION_MINOR_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _STS_FM_VERSION_MINOR_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w8, w9
	str	w8, [x20]
Lloh17:
	adrp	x8, _VERSION_PATCH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VERSION_PATCH@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x23]
	add	x3, sp, #12
	mov	x0, x22
	bl	_read_8051_config
	ldr	w8, [sp, #12]
Lloh20:
	adrp	x9, _STS_FM_VERSION_PATCH_SHIFT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _STS_FM_VERSION_PATCH_SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh23:
	adrp	x9, _STS_FM_VERSION_PATCH_MASK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _STS_FM_VERSION_PATCH_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	and	w8, w8, w9
	str	w8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MISC_STATUS,4,2                ; @MISC_STATUS
	.comm	_GENERAL_CONFIG,4,2             ; @GENERAL_CONFIG
	.comm	_STS_FM_VERSION_MAJOR_SHIFT,4,2 ; @STS_FM_VERSION_MAJOR_SHIFT
	.comm	_STS_FM_VERSION_MAJOR_MASK,4,2  ; @STS_FM_VERSION_MAJOR_MASK
	.comm	_STS_FM_VERSION_MINOR_SHIFT,4,2 ; @STS_FM_VERSION_MINOR_SHIFT
	.comm	_STS_FM_VERSION_MINOR_MASK,4,2  ; @STS_FM_VERSION_MINOR_MASK
	.comm	_VERSION_PATCH,4,2              ; @VERSION_PATCH
	.comm	_STS_FM_VERSION_PATCH_SHIFT,4,2 ; @STS_FM_VERSION_PATCH_SHIFT
	.comm	_STS_FM_VERSION_PATCH_MASK,4,2  ; @STS_FM_VERSION_PATCH_MASK
.subsections_via_symbols
