	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvswitch_read_status
_mvswitch_read_status:                  ## @mvswitch_read_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movl	$1, (%rdi)
	movq	_ATU_OP@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_MV_SWITCHREG
	movq	_MV_ATUOP_INPROGRESS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_mvswitch_wait_mask
	movl	(%r14), %edi
	callq	_MV_SWITCHREG
	movq	_MV_ATUOP_FLUSH_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_w16
	movl	(%r14), %edi
	callq	_MV_SWITCHREG
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_mvswitch_wait_mask
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_ATU_OP,4,2                     ## @ATU_OP
	.comm	_MV_ATUOP_INPROGRESS,4,2        ## @MV_ATUOP_INPROGRESS
	.comm	_MV_ATUOP_FLUSH_ALL,4,2         ## @MV_ATUOP_FLUSH_ALL
	.no_dead_strip	_mvswitch_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvswitch_read_status
_mvswitch_read_status:                  ; @mvswitch_read_status
	.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, x0
Lloh0:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #8]
Lloh3:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [x0]
Lloh6:
	adrp	x20, _ATU_OP@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ATU_OP@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_MV_SWITCHREG
	mov	x1, x0
Lloh8:
	adrp	x21, _MV_ATUOP_INPROGRESS@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MV_ATUOP_INPROGRESS@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w3, #0
	bl	_mvswitch_wait_mask
	ldr	w0, [x20]
	bl	_MV_SWITCHREG
	mov	x1, x0
	ldr	w8, [x21]
Lloh10:
	adrp	x9, _MV_ATUOP_FLUSH_ALL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MV_ATUOP_FLUSH_ALL@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_w16
	ldr	w0, [x20]
	bl	_MV_SWITCHREG
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, x19
	mov	w3, #0
	bl	_mvswitch_wait_mask
	mov	w0, #0
	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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_ATU_OP,4,2                     ; @ATU_OP
	.comm	_MV_ATUOP_INPROGRESS,4,2        ; @MV_ATUOP_INPROGRESS
	.comm	_MV_ATUOP_FLUSH_ALL,4,2         ; @MV_ATUOP_FLUSH_ALL
	.no_dead_strip	_mvswitch_read_status
.subsections_via_symbols
