	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_check_ibss_peer_capabilities
_mwifiex_check_ibss_peer_capabilities:  ## @mwifiex_check_ibss_peer_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rdx, %rdi
	callq	_skb_pull
	movl	(%rbx), %r13d
	movq	8(%rbx), %r12
	movl	(%r15), %edi
	movq	_EVT_D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rcx
	movl	%r13d, %r8d
	callq	_mwifiex_dbg_dump
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_skb_push
	cmpl	$8, %r13d
	jb	LBB0_14
## %bb.1:
	movl	4(%r12), %edi
	callq	_le16_to_cpu
	movq	_TLV_TYPE_UAP_MGMT_FRAME@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.2:
	movl	(%r12), %edi
	callq	_le16_to_cpu
	cmpl	$8, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jb	LBB0_13
## %bb.3:
	movl	%eax, %ebx
	addq	$80, %r12
	jmp	LBB0_4
LBB0_14:
	movl	(%r15), %edi
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, 4(%r14)
	movl	16(%r12), %edi
	callq	_le32_to_cpu
	movl	(%r15), %edi
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rcx
	leaq	L_.str.3(%rip), %rdx
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%r12,%r13,4), %r12
	subl	%r13d, %ebx
	cmpl	$7, %ebx
	jbe	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	movslq	(%r12), %r13
	addq	$8, %r13
	cmpq	%rax, %r13
	ja	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r12), %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %eax
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, (%r14)
	movl	16(%r12), %edi
	callq	_le16_to_cpu
	movq	_MWIFIEX_TX_DATA_BUF_SIZE_8K@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_HT_CAP_MAX_AMSDU@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_MWIFIEX_TX_DATA_BUF_SIZE_4K@GOTPCREL(%rip), %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rcx), %rcx
	movq	%rcx, 8(%r14)
	movl	(%r15), %edi
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE,4,2 ## @MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE
	.comm	_EVT_D,4,2                      ## @EVT_D
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ibss peer capabilities:"

	.comm	_TLV_TYPE_UAP_MGMT_FRAME,4,2    ## @TLV_TYPE_UAP_MGMT_FRAME
	.comm	_MSG,4,2                        ## @MSG
L_.str.1:                               ## @.str.1
	.asciz	"management frame tlv not found!\n"

	.comm	_IEEE80211_HT_CAP_MAX_AMSDU,4,2 ## @IEEE80211_HT_CAP_MAX_AMSDU
	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_8K,8,3 ## @MWIFIEX_TX_DATA_BUF_SIZE_8K
	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_4K,8,3 ## @MWIFIEX_TX_DATA_BUF_SIZE_4K
	.comm	_INFO,4,2                       ## @INFO
L_.str.2:                               ## @.str.2
	.asciz	"11n enabled!, max_amsdu : %d\n"

	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_12K,8,3 ## @MWIFIEX_TX_DATA_BUF_SIZE_12K
L_.str.3:                               ## @.str.3
	.asciz	"11ac enabled!, max_amsdu : %d\n"

	.no_dead_strip	_mwifiex_check_ibss_peer_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_ibss_peer_capabilities
_mwifiex_check_ibss_peer_capabilities:  ; @mwifiex_check_ibss_peer_capabilities
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x2
	bl	_skb_pull
	ldr	w23, [x21]
	ldr	x22, [x21, #8]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _EVT_D@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EVT_D@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x22
	mov	x4, x23
	bl	_mwifiex_dbg_dump
	ldr	w1, [x24]
	mov	x0, x21
	bl	_skb_push
	cmp	w23, #8
	b.lo	LBB0_4
; %bb.1:
	ldr	w0, [x22, #4]
	bl	_le16_to_cpu
Lloh7:
	adrp	x8, _TLV_TYPE_UAP_MGMT_FRAME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TLV_TYPE_UAP_MGMT_FRAME@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x22]
	bl	_le16_to_cpu
	cmp	w0, #8
	b.lo	LBB0_5
; %bb.3:
	mov	x21, x0
	add	x24, x22, #80
	mov	w25, #1
Lloh10:
	adrp	x26, _INFO@GOTPAGE
Lloh11:
	ldr	x26, [x26, _INFO@GOTPAGEOFF]
Lloh12:
	adrp	x28, _MWIFIEX_TX_DATA_BUF_SIZE_8K@GOTPAGE
Lloh13:
	ldr	x28, [x28, _MWIFIEX_TX_DATA_BUF_SIZE_8K@GOTPAGEOFF]
Lloh14:
	adrp	x27, _MWIFIEX_TX_DATA_BUF_SIZE_4K@GOTPAGE
Lloh15:
	ldr	x27, [x27, _MWIFIEX_TX_DATA_BUF_SIZE_4K@GOTPAGEOFF]
Lloh16:
	adrp	x23, l_.str.2@PAGE
Lloh17:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_4:
	ldr	w0, [x19]
Lloh18:
	adrp	x8, _MSG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_mwifiex_dbg
LBB0_5:
	mov	w0, #0
	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
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	str	w25, [x20, #4]
	ldr	w0, [x24, #16]
	bl	_le32_to_cpu
	ldr	w0, [x19]
	ldr	w1, [x26]
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh23:
	adrp	x2, l_.str.3@PAGE
Lloh24:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_mwifiex_dbg
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x24, x24, x22, lsl #2
	sub	w21, w21, w22
	cmp	w21, #7
	b.ls	LBB0_5
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x24]
	add	x22, x8, #8
	cmp	x22, w21, sxtw
	b.hi	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x24, #4]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #129
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	str	w25, [x20]
	ldr	w0, [x24, #16]
	bl	_le16_to_cpu
Lloh25:
	adrp	x8, _IEEE80211_HT_CAP_MAX_AMSDU@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IEEE80211_HT_CAP_MAX_AMSDU@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w0
	csel	x8, x27, x28, eq
	ldr	x8, [x8]
	str	x8, [x20, #8]
	ldr	w0, [x19]
	ldr	w1, [x26]
	str	x8, [sp]
	mov	x2, x23
	b	LBB0_7
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE,4,2 ; @MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE
	.comm	_EVT_D,4,2                      ; @EVT_D
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ibss peer capabilities:"

	.comm	_TLV_TYPE_UAP_MGMT_FRAME,4,2    ; @TLV_TYPE_UAP_MGMT_FRAME
	.comm	_MSG,4,2                        ; @MSG
l_.str.1:                               ; @.str.1
	.asciz	"management frame tlv not found!\n"

	.comm	_IEEE80211_HT_CAP_MAX_AMSDU,4,2 ; @IEEE80211_HT_CAP_MAX_AMSDU
	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_8K,8,3 ; @MWIFIEX_TX_DATA_BUF_SIZE_8K
	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_4K,8,3 ; @MWIFIEX_TX_DATA_BUF_SIZE_4K
	.comm	_INFO,4,2                       ; @INFO
l_.str.2:                               ; @.str.2
	.asciz	"11n enabled!, max_amsdu : %d\n"

	.comm	_MWIFIEX_TX_DATA_BUF_SIZE_12K,8,3 ; @MWIFIEX_TX_DATA_BUF_SIZE_12K
l_.str.3:                               ; @.str.3
	.asciz	"11ac enabled!, max_amsdu : %d\n"

	.no_dead_strip	_mwifiex_check_ibss_peer_capabilities
.subsections_via_symbols
