	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_process_mimo
_ieee80211_process_mimo:                ## @ieee80211_process_mimo
	.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
	movl	(%rsi), %eax
	movq	_IEEE80211_R_C_CHAIN@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_R_C_NF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_IEEE80211_R_C_RSSI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	notl	%eax
	testl	%eax, %edx
	jne	LBB0_8
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	4(%rsi), %edi
	movq	_IEEE80211_MAX_CHAINS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_MIN
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movq	32(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_IEEE80211_RSSI_LPF
	movq	24(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movq	24(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_IEEE80211_RSSI_LPF
	incq	%rbx
	movl	4(%r12), %edi
	movl	(%r15), %esi
	callq	_MIN
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movl	4(%r12), %edi
	movl	(%r15), %esi
	callq	_MIN
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movl	(%rax,%rbx,4), %eax
	movq	16(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %eax
	movq	8(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movl	4(%r12), %edi
	movl	(%r15), %esi
	callq	_MIN
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movl	4(%r12), %eax
	movl	%eax, (%r14)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_R_C_CHAIN,4,2        ## @IEEE80211_R_C_CHAIN
	.comm	_IEEE80211_R_C_NF,4,2           ## @IEEE80211_R_C_NF
	.comm	_IEEE80211_R_C_RSSI,4,2         ## @IEEE80211_R_C_RSSI
	.comm	_IEEE80211_MAX_CHAINS,4,2       ## @IEEE80211_MAX_CHAINS
	.no_dead_strip	_ieee80211_process_mimo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_process_mimo
_ieee80211_process_mimo:                ; @ieee80211_process_mimo
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _IEEE80211_R_C_CHAIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_R_C_CHAIN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IEEE80211_R_C_NF@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_R_C_NF@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _IEEE80211_R_C_RSSI@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IEEE80211_R_C_RSSI@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bics	wzr, w9, w8
	b.ne	LBB0_8
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #4]
Lloh9:
	adrp	x21, _IEEE80211_MAX_CHAINS@GOTPAGE
Lloh10:
	ldr	x21, [x21, _IEEE80211_MAX_CHAINS@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_MIN
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	lsl	x23, x22, #2
	ldr	w0, [x8, x23]
	ldr	x8, [x20, #32]
	ldr	w1, [x8, x23]
	bl	_IEEE80211_RSSI_LPF
	ldr	x8, [x19, #24]
	ldr	w0, [x8, x23]
	ldr	x8, [x20, #24]
	ldr	w1, [x8, x23]
	bl	_IEEE80211_RSSI_LPF
	add	x22, x22, #1
	ldr	w0, [x20, #4]
	ldr	w1, [x21]
	bl	_MIN
	cmp	x22, w0, sxtw
	b.lt	LBB0_3
LBB0_4:
	ldr	w0, [x20, #4]
	ldr	w1, [x21]
	bl	_MIN
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x22, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x22, #2
	ldp	x10, x9, [x20, #8]
	ldr	w9, [x9, x8]
	ldp	x12, x11, [x19, #8]
	str	w9, [x11, x8]
	ldr	w9, [x10, x8]
	str	w9, [x12, x8]
	add	x22, x22, #1
	ldr	w0, [x20, #4]
	ldr	w1, [x21]
	bl	_MIN
	cmp	x22, w0, sxtw
	b.lt	LBB0_6
LBB0_7:
	ldr	w8, [x20, #4]
	str	w8, [x19]
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_R_C_CHAIN,4,2        ; @IEEE80211_R_C_CHAIN
	.comm	_IEEE80211_R_C_NF,4,2           ; @IEEE80211_R_C_NF
	.comm	_IEEE80211_R_C_RSSI,4,2         ; @IEEE80211_R_C_RSSI
	.comm	_IEEE80211_MAX_CHAINS,4,2       ; @IEEE80211_MAX_CHAINS
	.no_dead_strip	_ieee80211_process_mimo
.subsections_via_symbols
