	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stli_cmdwait
_stli_cmdwait:                          ## @stli_cmdwait
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	12(%rsi), %r13d
	movq	_ST_CMDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rsi), %r15
	movq	%r15, %rsi
	callq	_test_bit
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movl	%r13d, %edi
	callq	_wait_event_interruptible
	movq	_current@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_signal_pending
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_stli_sendcmd
	movl	12(%rbx), %r14d
	movq	_ST_CMDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	movl	%r14d, %edi
	callq	_wait_event_interruptible
	movl	(%r13), %edi
	callq	_signal_pending
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_CMDING,4,2                  ## @ST_CMDING
	.comm	_current,4,2                    ## @current
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_stli_cmdwait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stli_cmdwait
_stli_cmdwait:                          ; @stli_cmdwait
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x25, x0
	ldr	w26, [x1, #12]
Lloh0:
	adrp	x27, _ST_CMDING@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ST_CMDING@GOTPAGEOFF]
	ldr	w0, [x27]
	add	x22, x1, #8
	mov	x1, x22
	bl	_test_bit
	cmp	w0, #0
	cset	w1, eq
	mov	x0, x26
	bl	_wait_event_interruptible
Lloh2:
	adrp	x26, _current@GOTPAGE
Lloh3:
	ldr	x26, [x26, _current@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_signal_pending
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x25
	mov	x1, x19
	mov	x2, x24
	mov	x3, x23
	mov	x4, x21
	mov	x5, x20
	bl	_stli_sendcmd
	ldr	w20, [x19, #12]
	ldr	w0, [x27]
	mov	x1, x22
	bl	_test_bit
	cmp	w0, #0
	cset	w1, eq
	mov	x0, x20
	bl	_wait_event_interruptible
	ldr	w0, [x26]
	bl	_signal_pending
	cbz	x0, LBB0_5
LBB0_2:
Lloh4:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_CMDING,4,2                  ; @ST_CMDING
	.comm	_current,4,2                    ; @current
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_stli_cmdwait
.subsections_via_symbols
