	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tifm_ms_req_tasklet
_tifm_ms_req_tasklet:                   ## @tifm_ms_req_tasklet
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_memstick_priv
	movq	%rax, %rbx
	movq	16(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, (%rbx)
	je	LBB0_1
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_1:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_memstick_next_req
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	_ETIME@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	subl	(%r12), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_memstick_next_req
	testl	%eax, %eax
	je	LBB0_4
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_memstick_next_req
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_tifm_ms_issue_cmd
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ETIME,4,2                      ## @ETIME
	.no_dead_strip	_tifm_ms_req_tasklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tifm_ms_req_tasklet
_tifm_ms_req_tasklet:                   ; @tifm_ms_req_tasklet
	.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
	bl	_memstick_priv
	mov	x21, x0
	ldr	x20, [x0, #16]
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	cbz	x8, LBB0_2
LBB0_1:
	mov	x0, x20
	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
	b	_spin_unlock_irqrestore
LBB0_2:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_memstick_next_req
	cbnz	w0, LBB0_1
; %bb.4:
Lloh0:
	adrp	x22, _ETIME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ETIME@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	neg	w8, w8
	ldr	x9, [x21]
	str	w8, [x9]
	mov	x0, x19
	mov	x1, x21
	bl	_memstick_next_req
	cbz	w0, LBB0_5
	b	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_memstick_next_req
	cbnz	w0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_tifm_ms_issue_cmd
	cbnz	x0, LBB0_6
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETIME,4,2                      ; @ETIME
	.no_dead_strip	_tifm_ms_req_tasklet
.subsections_via_symbols
