	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mspro_block_set_interface
_mspro_block_set_interface:             ## @mspro_block_set_interface
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	callq	_memstick_get_drvdata
	movb	%r14b, -40(%rbp)
	movq	$0, -36(%rbp)
	movl	$0, -28(%rbp)
	movq	_h_mspro_block_req_init@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movq	_h_mspro_block_default@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_MS_TPC_WRITE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$16, %ecx
	callq	_memstick_init_req
	movq	%r15, %rdi
	callq	_memstick_new_req
	leaq	4(%rbx), %rdi
	callq	_wait_for_completion
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h_mspro_block_req_init,4,2     ## @h_mspro_block_req_init
	.comm	_h_mspro_block_default,4,2      ## @h_mspro_block_default
	.comm	_MS_TPC_WRITE_REG,4,2           ## @MS_TPC_WRITE_REG
	.no_dead_strip	_mspro_block_set_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mspro_block_set_interface
_mspro_block_set_interface:             ; @mspro_block_set_interface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	ldr	x21, [x0, #16]
	bl	_memstick_get_drvdata
	strb	w19, [sp]
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
Lloh0:
	adrp	x8, _h_mspro_block_req_init@GOTPAGE
Lloh1:
	ldr	x8, [x8, _h_mspro_block_req_init@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _h_mspro_block_default@GOTPAGE
Lloh4:
	ldr	x9, [x9, _h_mspro_block_default@GOTPAGEOFF]
	str	w8, [x20, #8]
Lloh5:
	ldr	w8, [x9]
	str	w8, [x0]
Lloh6:
	adrp	x8, _MS_TPC_WRITE_REG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MS_TPC_WRITE_REG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x20
	mov	w3, #16
	bl	_memstick_init_req
	mov	x0, x21
	bl	_memstick_new_req
	add	x0, x20, #4
	bl	_wait_for_completion
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_h_mspro_block_req_init,4,2     ; @h_mspro_block_req_init
	.comm	_h_mspro_block_default,4,2      ; @h_mspro_block_default
	.comm	_MS_TPC_WRITE_REG,4,2           ; @MS_TPC_WRITE_REG
	.no_dead_strip	_mspro_block_set_interface
.subsections_via_symbols
