	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_check_uap_capabilities
_mwifiex_check_uap_capabilities:        ## @mwifiex_check_uap_capabilities
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_IEEE80211_WMM_IE_AP_QOSINFO_PARAM_SET_CNT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$0, (%rdi)
	movq	_MWIFIEX_BSS_START_EVT_FIX_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_skb_pull
	movl	(%r14), %r15d
	movq	8(%r14), %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	12(%rbx), %edi
	movq	_EVT_D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rcx
	movl	%r15d, %r8d
	callq	_mwifiex_dbg_dump
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_skb_push
	cmpl	$8, %r15d
	jae	LBB0_1
LBB0_9:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	8(%r13), %r14
	movl	%ebx, 16(%r13)
	movl	$129, 12(%r13)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	12(%rbx), %edi
	movq	_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r13), %ecx
	andl	-52(%rbp), %ecx                 ## 4-byte Folded Reload
	leaq	L_.str.1(%rip), %rdx
	callq	_mwifiex_dbg
	movq	%rbx, %rdi
	callq	_mwifiex_wmm_setup_ac_downgrade
	movl	$1, (%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mwifiex_wmm_setup_queue_priorities
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%r13,%r12,4), %r13
	subl	%r12d, %r15d
	cmpl	$7, %r15d
	jbe	LBB0_9
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %r14
	movl	4(%r13), %edi
	callq	_le16_to_cpu
	movslq	%eax, %r12
	addq	$8, %r12
	cmpq	%r14, %r12
	ja	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_le16_to_cpu
	cmpl	$128, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$129, %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$130, %eax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 4(%rax)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 8(%rax)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_WMM_IE_AP_QOSINFO_PARAM_SET_CNT_MASK,4,2 ## @IEEE80211_WMM_IE_AP_QOSINFO_PARAM_SET_CNT_MASK
	.comm	_MWIFIEX_BSS_START_EVT_FIX_SIZE,4,2 ## @MWIFIEX_BSS_START_EVT_FIX_SIZE
	.comm	_EVT_D,4,2                      ## @EVT_D
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uap capabilities:"

	.comm	_EVENT,4,2                      ## @EVENT
L_.str.1:                               ## @.str.1
	.asciz	"info: check uap capabilities:\twmm parameter set count: %d\n"

	.no_dead_strip	_mwifiex_check_uap_capabilities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_check_uap_capabilities
_mwifiex_check_uap_capabilities:        ; @mwifiex_check_uap_capabilities
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IEEE80211_WMM_IE_AP_QOSINFO_PARAM_SET_CNT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_WMM_IE_AP_QOSINFO_PARAM_SET_CNT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	str	wzr, [x0]
Lloh3:
	adrp	x23, _MWIFIEX_BSS_START_EVT_FIX_SIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MWIFIEX_BSS_START_EVT_FIX_SIZE@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_skb_pull
	ldr	w20, [x22]
	ldr	x21, [x22, #8]
	ldr	w0, [x19, #12]
Lloh5:
	adrp	x8, _EVT_D@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVT_D@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x21
	mov	x4, x20
	bl	_mwifiex_dbg_dump
	ldr	w1, [x23]
	mov	x0, x22
	bl	_skb_push
	cmp	w20, #8
	b.lo	LBB0_10
; %bb.1:
	mov	w26, #1
Lloh10:
	adrp	x28, _EVENT@GOTPAGE
Lloh11:
	ldr	x28, [x28, _EVENT@GOTPAGEOFF]
Lloh12:
	adrp	x22, l_.str.1@PAGE
Lloh13:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x21
	ldr	w8, [x24, #8]!
	mov	w9, #129
	stp	w9, w23, [x24, #4]
	ldr	w0, [x19, #12]
	ldr	w1, [x28]
	and	w3, w8, w25
	mov	x2, x22
	bl	_mwifiex_dbg
	mov	x0, x19
	bl	_mwifiex_wmm_setup_ac_downgrade
	str	w26, [x19]
	mov	x0, x19
	mov	x1, x24
	bl	_mwifiex_wmm_setup_queue_priorities
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, x27, lsl #2
	sub	w20, w20, w27
	cmp	w20, #7
	b.ls	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #4]
	bl	_le16_to_cpu
	mov	x23, x0
	sxtw	x8, w23
	add	x27, x8, #8
	cmp	x27, w20, sxtw
	b.hi	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	bl	_le16_to_cpu
	cmp	w0, #128
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #129
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #130
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w26, [x19, #4]
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w26, [x19, #8]
	b	LBB0_3
LBB0_10:
	mov	w0, #0
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_WMM_IE_AP_QOSINFO_PARAM_SET_CNT_MASK,4,2 ; @IEEE80211_WMM_IE_AP_QOSINFO_PARAM_SET_CNT_MASK
	.comm	_MWIFIEX_BSS_START_EVT_FIX_SIZE,4,2 ; @MWIFIEX_BSS_START_EVT_FIX_SIZE
	.comm	_EVT_D,4,2                      ; @EVT_D
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uap capabilities:"

	.comm	_EVENT,4,2                      ; @EVENT
l_.str.1:                               ; @.str.1
	.asciz	"info: check uap capabilities:\twmm parameter set count: %d\n"

	.no_dead_strip	_mwifiex_check_uap_capabilities
.subsections_via_symbols
