	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msb_switch_to_parallel
_msb_switch_to_parallel:                ## @msb_switch_to_parallel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_h_msb_parallel_switch@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_msb_run_state_machine
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_MEMSTICK_SYS_PAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_msb_reset
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_MEMSTICK_CAP_AUTO_GET_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h_msb_parallel_switch,4,2      ## @h_msb_parallel_switch
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Switch to parallel failed"

	.comm	_MEMSTICK_SYS_PAM,4,2           ## @MEMSTICK_SYS_PAM
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_MEMSTICK_CAP_AUTO_GET_INT,4,2  ## @MEMSTICK_CAP_AUTO_GET_INT
	.no_dead_strip	_msb_switch_to_parallel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msb_switch_to_parallel
_msb_switch_to_parallel:                ; @msb_switch_to_parallel
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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, _h_msb_parallel_switch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _h_msb_parallel_switch@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_msb_run_state_machine
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh5:
	adrp	x8, _MEMSTICK_SYS_PAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MEMSTICK_SYS_PAM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x19
	mov	w1, #1
	bl	_msb_reset
Lloh8:
	adrp	x8, _EFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _MEMSTICK_CAP_AUTO_GET_INT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MEMSTICK_CAP_AUTO_GET_INT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_h_msb_parallel_switch,4,2      ; @h_msb_parallel_switch
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Switch to parallel failed"

	.comm	_MEMSTICK_SYS_PAM,4,2           ; @MEMSTICK_SYS_PAM
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_MEMSTICK_CAP_AUTO_GET_INT,4,2  ; @MEMSTICK_CAP_AUTO_GET_INT
	.no_dead_strip	_msb_switch_to_parallel
.subsections_via_symbols
