	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_process_multi_chan_event ## -- Begin function mwifiex_process_multi_chan_event
	.p2align	4, 0x90
_mwifiex_process_multi_chan_event:      ## @mwifiex_process_multi_chan_event
	.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
	movq	8(%rdi), %r14
	movl	(%rsi), %ebx
	movq	8(%rsi), %r15
	movl	16(%r15), %edi
	callq	_le16_to_cpu
	movq	_TLV_TYPE_MULTI_CHAN_INFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.1:
	leal	-4(%rbx), %eax
	cmpl	$15, %eax
	jbe	LBB0_20
## %bb.2:
	movl	12(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 16(%r14)
	movq	_EVENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	addl	$-20, %ebx
	cmpl	$8, %ebx
	jl	LBB0_18
## %bb.3:
	movq	4(%r15), %r13
	movq	_BSS_NUM_MASK@GOTPCREL(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	subl	-64(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	64(%r13,%rax,8), %r13
	cmpl	$7, %ebx
	jle	LBB0_18
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movl	4(%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, %r12
	movl	(%r13), %edi
	callq	_le16_to_cpu
	movslq	%eax, %rdx
	leaq	8(%rdx), %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %ecx
	movq	%rdi, %rsi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %rdi
	ja	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TLV_TYPE_MC_GROUP_INFO@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	(%r13), %r12d
	testl	%r12d, %r12d
	jle	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=2
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_17
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movl	%esi, %edx
	sarl	$4, %edx
	andl	(%r15), %esi
	movq	%r14, %rdi
	callq	_mwifiex_get_priv_by_id
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r14), %rcx
	movq	_MWIFIEX_USB@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	16(%r13), %rcx
	movq	_MWIFIEX_USB_EP_DATA@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	_MWIFIEX_USB_EP_DATA_CH2@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	%rcx, (%rax)
	jmp	LBB0_16
LBB0_20:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_dbg                    ## TAILCALL
LBB0_5:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	jmp	LBB0_18
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_18:
	movq	(%r14), %rax
	movq	_MWIFIEX_USB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.21:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_multi_chan_resync      ## TAILCALL
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLV_TYPE_MULTI_CHAN_INFO,8,3   ## @TLV_TYPE_MULTI_CHAN_INFO
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown TLV in chan_info event\n"

	.comm	_EVENT,4,2                      ## @EVENT
L_.str.1:                               ## @.str.1
	.asciz	"multi chan operation %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"started"

L_.str.3:                               ## @.str.3
	.asciz	"over"

L_.str.4:                               ## @.str.4
	.asciz	"wrong tlv: tlvLen=%d,\ttlvBufLeft=%d\n"

	.comm	_TLV_TYPE_MC_GROUP_INFO,4,2     ## @TLV_TYPE_MC_GROUP_INFO
L_.str.5:                               ## @.str.5
	.asciz	"wrong tlv type: 0x%x\n"

	.comm	_BSS_NUM_MASK,4,2               ## @BSS_NUM_MASK
L_.str.6:                               ## @.str.6
	.asciz	"Invalid bss_type bss_num\tin multi channel event\n"

	.comm	_MWIFIEX_USB,8,3                ## @MWIFIEX_USB
	.comm	_MWIFIEX_USB_EP_DATA,8,3        ## @MWIFIEX_USB_EP_DATA
	.comm	_MWIFIEX_USB_EP_DATA_CH2,8,3    ## @MWIFIEX_USB_EP_DATA_CH2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_process_multi_chan_event ; -- Begin function mwifiex_process_multi_chan_event
	.p2align	2
_mwifiex_process_multi_chan_event:      ; @mwifiex_process_multi_chan_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x19, [x0, #8]
	ldr	w21, [x1]
	sub	w22, w21, #4
	ldr	x20, [x1, #8]
	ldr	w0, [x20, #16]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _TLV_TYPE_MULTI_CHAN_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLV_TYPE_MULTI_CHAN_INFO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	ccmp	w22, #15, #0, eq
	b.hi	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_mwifiex_dbg
LBB0_2:
	ldr	w0, [x20, #12]
	bl	_le16_to_cpu
	str	x0, [x19, #16]
Lloh8:
	adrp	x8, _EVENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EVENT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, l_.str.2@PAGE
Lloh12:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh13:
	adrp	x9, l_.str.3@PAGE
Lloh14:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mwifiex_dbg
	sub	w23, w21, #20
Lloh17:
	adrp	x22, _MWIFIEX_USB@GOTPAGE
Lloh18:
	ldr	x22, [x22, _MWIFIEX_USB@GOTPAGEOFF]
	cmp	w23, #8
	b.lt	LBB0_18
; %bb.3:
	ldur	x25, [x20, #4]
Lloh19:
	adrp	x27, _BSS_NUM_MASK@GOTPAGE
Lloh20:
	ldr	x27, [x27, _BSS_NUM_MASK@GOTPAGEOFF]
Lloh21:
	adrp	x20, l_.str.6@PAGE
Lloh22:
	add	x20, x20, l_.str.6@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w23, w23, w26
	add	x8, x25, x28, lsl #3
	add	x25, x8, #64
	cmp	w23, #7
	b.le	LBB0_18
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	w0, [x25, #4]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	w0, [x25]
	bl	_le16_to_cpu
	sxtw	x28, w0
	add	x26, x28, #8
	cmp	x26, w23, uxtw
	b.hi	LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh23:
	adrp	x8, _TLV_TYPE_MC_GROUP_INFO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TLV_TYPE_MC_GROUP_INFO@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, #0
	lsl	x24, x8, #2
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
Lloh26:
	adrp	x8, _ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_mwifiex_dbg
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x21, x21, #4
	cmp	x24, x21
	b.eq	LBB0_4
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25, #8]
	ldr	w8, [x8, x21]
	asr	w2, w8, #4
	ldr	w9, [x27]
	and	w1, w9, w8
	mov	x0, x19
	bl	_mwifiex_get_priv_by_id
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x25, #16]
Lloh29:
	adrp	x9, _MWIFIEX_USB_EP_DATA@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MWIFIEX_USB_EP_DATA@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
Lloh32:
	adrp	x10, _MWIFIEX_USB_EP_DATA_CH2@GOTPAGE
Lloh33:
	ldr	x10, [x10, _MWIFIEX_USB_EP_DATA_CH2@GOTPAGEOFF]
Lloh34:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	str	x8, [x0]
	b	LBB0_10
LBB0_15:
Lloh35:
	adrp	x8, _ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	stp	x0, x23, [sp]
Lloh38:
	adrp	x2, l_.str.4@PAGE
Lloh39:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh40:
	adrp	x8, _ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	str	x21, [sp]
Lloh43:
	adrp	x2, l_.str.5@PAGE
Lloh44:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_17:
	mov	x0, x19
	bl	_mwifiex_dbg
LBB0_18:
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:
	movi.2s	v0, #1
	str	d0, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_mwifiex_multi_chan_resync
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_TLV_TYPE_MULTI_CHAN_INFO,8,3   ; @TLV_TYPE_MULTI_CHAN_INFO
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown TLV in chan_info event\n"

	.comm	_EVENT,4,2                      ; @EVENT
l_.str.1:                               ; @.str.1
	.asciz	"multi chan operation %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"started"

l_.str.3:                               ; @.str.3
	.asciz	"over"

l_.str.4:                               ; @.str.4
	.asciz	"wrong tlv: tlvLen=%d,\ttlvBufLeft=%d\n"

	.comm	_TLV_TYPE_MC_GROUP_INFO,4,2     ; @TLV_TYPE_MC_GROUP_INFO
l_.str.5:                               ; @.str.5
	.asciz	"wrong tlv type: 0x%x\n"

	.comm	_BSS_NUM_MASK,4,2               ; @BSS_NUM_MASK
l_.str.6:                               ; @.str.6
	.asciz	"Invalid bss_type bss_num\tin multi channel event\n"

	.comm	_MWIFIEX_USB,8,3                ; @MWIFIEX_USB
	.comm	_MWIFIEX_USB_EP_DATA,8,3        ; @MWIFIEX_USB_EP_DATA
	.comm	_MWIFIEX_USB_EP_DATA_CH2,8,3    ; @MWIFIEX_USB_EP_DATA_CH2
.subsections_via_symbols
