	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stfsm_read_status
_stfsm_read_status:                     ## @stfsm_read_status
	.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	%ecx, %r15d
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_dev_dbg
	leal	-3(%r15), %eax
	xorl	%edi, %edi
	cmpl	$-2, %eax
	setb	%dil
	callq	_BUG_ON
	movq	_SEQ_OPC_PADS_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$8, %edi
	callq	_SEQ_OPC_CYCLES
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_SEQ_OPC_OPCODE
	orl	%r13d, %eax
	orl	%r14d, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_stfsm_seq_read_status_fifo@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_stfsm_load_seq
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_stfsm_read_fifo
	testl	%r15d, %r15d
	jle	LBB0_12
## %bb.1:
	movl	-44(%rbp), %eax
	movl	%r15d, %ecx
	cmpl	$8, %r15d
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_3:
	movl	%ecx, %edx
	andl	$-8, %edx
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rdx), %rsi
	movq	%rsi, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$7, %r8d
	cmpq	$56, %rsi
	jae	LBB0_5
## %bb.4:
	xorl	%esi, %esi
	jmp	LBB0_7
LBB0_5:
	andq	$-8, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rbx,%rsi,4)
	movdqu	%xmm0, 16(%rbx,%rsi,4)
	movdqu	%xmm0, 32(%rbx,%rsi,4)
	movdqu	%xmm0, 48(%rbx,%rsi,4)
	movdqu	%xmm0, 64(%rbx,%rsi,4)
	movdqu	%xmm0, 80(%rbx,%rsi,4)
	movdqu	%xmm0, 96(%rbx,%rsi,4)
	movdqu	%xmm0, 112(%rbx,%rsi,4)
	movdqu	%xmm0, 128(%rbx,%rsi,4)
	movdqu	%xmm0, 144(%rbx,%rsi,4)
	movdqu	%xmm0, 160(%rbx,%rsi,4)
	movdqu	%xmm0, 176(%rbx,%rsi,4)
	movdqu	%xmm0, 192(%rbx,%rsi,4)
	movdqu	%xmm0, 208(%rbx,%rsi,4)
	movdqu	%xmm0, 224(%rbx,%rsi,4)
	movdqu	%xmm0, 240(%rbx,%rsi,4)
	addq	$64, %rsi
	addq	$-8, %rdi
	jne	LBB0_6
LBB0_7:
	testq	%r8, %r8
	je	LBB0_10
## %bb.8:
	leaq	(%rbx,%rsi,4), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rsi,%rdi)
	movdqu	%xmm0, (%rsi,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_9
LBB0_10:
	cmpq	%rcx, %rdx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rbx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_11
LBB0_12:
	movq	%r14, %rdi
	callq	_stfsm_wait_seq
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stfsm_seq_read_status_fifo,8,3 ## @stfsm_seq_read_status_fifo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read 'status' register [0x%02x], %d byte(s)\n"

	.comm	_SEQ_OPC_PADS_1,4,2             ## @SEQ_OPC_PADS_1
	.no_dead_strip	_stfsm_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stfsm_read_status
_stfsm_read_status:                     ; @stfsm_read_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_dev_dbg
	sub	w8, w21, #3
	cmn	w8, #2
	cset	w0, lo
	bl	_BUG_ON
Lloh2:
	adrp	x8, _SEQ_OPC_PADS_1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEQ_OPC_PADS_1@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
	mov	w0, #8
	bl	_SEQ_OPC_CYCLES
	orr	w23, w0, w23
	mov	x0, x22
	bl	_SEQ_OPC_OPCODE
	orr	w8, w23, w0
Lloh5:
	adrp	x1, _stfsm_seq_read_status_fifo@GOTPAGE
Lloh6:
	ldr	x1, [x1, _stfsm_seq_read_status_fifo@GOTPAGEOFF]
	ldr	x9, [x1]
	str	w8, [x9]
	mov	x0, x19
	bl	_stfsm_load_seq
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #4
	bl	_stfsm_read_fifo
	cmp	w21, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	w8, [sp, #12]
	mov	w9, w21
	cmp	w21, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	and	x10, x9, #0xfffffff0
	dup.4s	v0, w8
	add	x11, x20, #32
	mov	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x9
	b.eq	LBB0_8
LBB0_6:
	add	x11, x20, x10, lsl #2
	sub	x9, x9, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x11], #4
	subs	x9, x9, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x19
	bl	_stfsm_wait_seq
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_stfsm_seq_read_status_fifo,8,3 ; @stfsm_seq_read_status_fifo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read 'status' register [0x%02x], %d byte(s)\n"

	.comm	_SEQ_OPC_PADS_1,4,2             ; @SEQ_OPC_PADS_1
	.no_dead_strip	_stfsm_read_status
.subsections_via_symbols
