	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msb_read_regs
_msb_read_regs:                         ## @msb_read_regs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movq	%rdi, %rax
	movq	16(%rdi), %rdi
	cmpl	%esi, 4(%rax)
	jne	LBB0_3
## %bb.1:
	cmpl	%ecx, 8(%rax)
	jne	LBB0_3
## %bb.2:
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_MS_TPC_READ_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_memstick_init_req
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_3:
	leaq	4(%rax), %rdx
	movl	%esi, 4(%rax)
	movl	%ecx, 8(%rax)
	movl	$1, (%rax)
	movq	_MS_TPC_SET_RW_REG_ADRS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %ecx
	callq	_memstick_init_req
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MS_TPC_SET_RW_REG_ADRS,4,2     ## @MS_TPC_SET_RW_REG_ADRS
	.comm	_MS_TPC_READ_REG,4,2            ## @MS_TPC_READ_REG
	.no_dead_strip	_msb_read_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msb_read_regs
_msb_read_regs:                         ; @msb_read_regs
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x3, x2
	mov	x8, x0
	mov	x2, x0
	ldr	w9, [x2, #4]!
	ldur	x0, [x2, #12]
	cmp	w9, w1
	b.ne	LBB0_4
; %bb.1:
	ldr	w9, [x8, #8]
	cmp	w9, w3
	b.ne	LBB0_4
; %bb.2:
	ldr	w9, [x8]
	cbz	w9, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _MS_TPC_READ_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MS_TPC_READ_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_memstick_init_req
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	stp	w1, w3, [x8, #4]
	mov	w9, #1
	str	w9, [x8]
Lloh3:
	adrp	x8, _MS_TPC_SET_RW_REG_ADRS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MS_TPC_SET_RW_REG_ADRS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w3, #8
	bl	_memstick_init_req
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MS_TPC_SET_RW_REG_ADRS,4,2     ; @MS_TPC_SET_RW_REG_ADRS
	.comm	_MS_TPC_READ_REG,4,2            ; @MS_TPC_READ_REG
	.no_dead_strip	_msb_read_regs
.subsections_via_symbols
