	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_issue_cmd
_fst_issue_cmd:                         ## @fst_issue_cmd
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	32(%rdi), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	_portMailbox@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_FST_RDW
	movl	%eax, %r13d
	movq	_NAK@GOTPCREL(%rip), %r15
	movzwl	(%r15), %eax
	cmpw	%ax, %r13w
	jbe	LBB0_6
## %bb.1:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	$1, %ebx
	movl	$1, %edi
	callq	_schedule_timeout_uninterruptible
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_portMailbox@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_FST_RDW
	movl	%eax, %r13d
	cmpw	(%r15), %ax
	jbe	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	$1, %edi
	callq	_schedule_timeout_uninterruptible
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	incl	%ebx
	cmpl	$2001, %ebx                     ## imm = 0x7D1
	jne	LBB0_2
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	$2001, %ebx                     ## imm = 0x7D1
LBB0_5:
	movq	_DBG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dbg
	movzwl	(%r15), %eax
LBB0_6:
	cmpw	%ax, %r13w
	jne	LBB0_8
## %bb.7:
	movq	_DBG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dbg
LBB0_8:
	movq	_portMailbox@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movzwl	%r15w, %ebx
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_FST_WRW
	movq	_ABORTTX@GOTPCREL(%rip), %rax
	cmpw	%bx, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_STARTPORT@GOTPCREL(%rip), %rax
	cmpw	%r15w, (%rax)
	jne	LBB0_11
LBB0_10:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	movq	$0, 24(%r14)
LBB0_11:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_portMailbox,8,3                ## @portMailbox
	.comm	_NAK,2,1                        ## @NAK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Mailbox safety timeout\n"

	.comm	_DBG_CMD,4,2                    ## @DBG_CMD
L_.str.1:                               ## @.str.1
	.asciz	"Mailbox clear after %d jiffies\n"

L_.str.2:                               ## @.str.2
	.asciz	"issue_cmd: previous command was NAK'd\n"

	.comm	_ABORTTX,2,1                    ## @ABORTTX
	.comm	_STARTPORT,2,1                  ## @STARTPORT
	.no_dead_strip	_fst_issue_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_issue_cmd
_fst_issue_cmd:                         ; @fst_issue_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #32]
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x23, _portMailbox@GOTPAGE
Lloh1:
	ldr	x23, [x23, _portMailbox@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_FST_RDW
Lloh2:
	adrp	x25, _NAK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _NAK@GOTPAGEOFF]
	ldrh	w8, [x25]
Lloh4:
	adrp	x24, _DBG_CMD@GOTPAGE
Lloh5:
	ldr	x24, [x24, _DBG_CMD@GOTPAGEOFF]
	cmp	w0, w8
	b.ls	LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w26, #1
	mov	w0, #1
	bl	_schedule_timeout_uninterruptible
	mov	x0, x19
	bl	_spin_lock_irqsave
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_FST_RDW
	mov	x22, x0
	ldrh	w8, [x25]
	cmp	w0, w8
	b.ls	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #1
	bl	_schedule_timeout_uninterruptible
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	w26, w26, #1
	cmp	w26, #2001
	b.ne	LBB0_2
; %bb.4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w26, #2001
LBB0_5:
	ldr	w0, [x24]
	str	x26, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dbg
	ldrh	w8, [x25]
	cmp	w22, w8
	b.eq	LBB0_7
	b	LBB0_8
LBB0_6:
	mov	x22, x0
	cmp	w22, w8
	b.ne	LBB0_8
LBB0_7:
	ldr	w0, [x24]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dbg
LBB0_8:
	ldr	x8, [x23]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_FST_WRW
Lloh12:
	adrp	x8, _ABORTTX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ABORTTX@GOTPAGEOFF]
	ldrh	w8, [x8]
Lloh14:
	adrp	x9, _STARTPORT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _STARTPORT@GOTPAGEOFF]
	ldrh	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w21, #4, ne
	b.ne	LBB0_10
; %bb.9:
	stp	xzr, xzr, [x20, #8]
	str	xzr, [x20, #24]
LBB0_10:
	mov	x0, x19
	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
	add	sp, sp, #96
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_portMailbox,8,3                ; @portMailbox
	.comm	_NAK,2,1                        ; @NAK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Mailbox safety timeout\n"

	.comm	_DBG_CMD,4,2                    ; @DBG_CMD
l_.str.1:                               ; @.str.1
	.asciz	"Mailbox clear after %d jiffies\n"

l_.str.2:                               ; @.str.2
	.asciz	"issue_cmd: previous command was NAK'd\n"

	.comm	_ABORTTX,2,1                    ; @ABORTTX
	.comm	_STARTPORT,2,1                  ; @STARTPORT
	.no_dead_strip	_fst_issue_cmd
.subsections_via_symbols
