	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x02u_multiple_mcu_reads
_mt76x02u_multiple_mcu_reads:           ## @mt76x02u_multiple_mcu_reads
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpq	$0, 24(%rdi)
	je	LBB0_4
## %bb.1:
	leal	3(%rdx), %eax
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	sarl	$2, %eax
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	setne	%dil
	callq	_WARN_ON_ONCE
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.2:
	movq	16(%r14), %rax
	movq	(%rax), %rax
	subq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %r13
	leaq	(%r15,%rbx), %rdi
	callq	_get_unaligned_le32
	movq	16(%r14), %rcx
	movq	%r13, (%rcx,%rbx)
	movq	%rax, 8(%rcx,%rbx)
	incq	%r12
	movslq	(%r14), %rax
	addq	$16, %rbx
	cmpq	%rax, %r12
	jl	LBB0_3
	jmp	LBB0_7
LBB0_4:
	leal	7(%rdx), %eax
	testl	%edx, %edx
	cmovnsl	%edx, %eax
	sarl	$3, %eax
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	setne	%dil
	callq	_WARN_ON_ONCE
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.5:
	movq	%r14, %r12
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_get_unaligned_le32
	movq	%rax, %rbx
	subq	8(%r12), %rbx
	leaq	16(%r15), %rdi
	callq	_get_unaligned_le32
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rax
	xorl	%edi, %edi
	cmpq	%rbx, (%rax,%r13)
	setne	%dil
	callq	_WARN_ON_ONCE
	movq	16(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax,%r13)
	incq	%r14
	movslq	(%r12), %rax
	addq	$32, %r15
	addq	$16, %r13
	cmpq	%rax, %r14
	jl	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt76x02u_multiple_mcu_reads
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x02u_multiple_mcu_reads
_mt76x02u_multiple_mcu_reads:           ; @mt76x02u_multiple_mcu_reads
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_4
; %bb.1:
	add	w8, w2, #3
	cmp	w2, #0
	csel	w8, w8, w2, lt
	ldr	w9, [x20]
	cmp	w9, w8, asr #2
	cset	w0, ne
	bl	_WARN_ON_ONCE
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, #0
	mov	x22, #0
	ldp	x9, x8, [x20, #8]
	ldr	x8, [x8]
	sub	x23, x8, x9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x23, x22
	add	x0, x19, x21
	bl	_get_unaligned_le32
	ldr	x8, [x20, #16]
	add	x8, x8, x21
	stp	x24, x0, [x8]
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #16
	cmp	x22, x8
	b.lt	LBB0_3
	b	LBB0_7
LBB0_4:
	add	w8, w2, #7
	cmp	w2, #0
	csel	w8, w8, w2, lt
	ldr	w9, [x20]
	cmp	w9, w8, asr #3
	cset	w0, ne
	bl	_WARN_ON_ONCE
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x22, #0
	mov	x23, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_get_unaligned_le32
	ldr	x8, [x20, #8]
	sub	x24, x0, x8
	add	x0, x19, #16
	bl	_get_unaligned_le32
	mov	x21, x0
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x22]
	cmp	x8, x24
	cset	w0, ne
	bl	_WARN_ON_ONCE
	ldr	x8, [x20, #16]
	add	x8, x8, x22
	str	x21, [x8, #8]
	add	x23, x23, #1
	ldrsw	x8, [x20]
	add	x19, x19, #32
	add	x22, x22, #16
	cmp	x23, x8
	b.lt	LBB0_6
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt76x02u_multiple_mcu_reads
.subsections_via_symbols
