	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_tdls_add_ext_capab
_mwifiex_tdls_add_ext_capab:            ## @mwifiex_tdls_add_ext_capab
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	$16, %esi
	callq	_skb_put
	movq	%rax, %rbx
	movq	_WLAN_EID_EXT_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$8, 8(%rbx)
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_WLAN_EXT_CAPA5_TDLS_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%rbx), %rax
	orl	%ecx, 16(%rax)
	movq	_WLAN_EXT_CAPA4_TDLS_CHAN_SWITCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%rax)
	movq	(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 28(%rax)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_EXT_CAPABILITY,4,2    ## @WLAN_EID_EXT_CAPABILITY
	.comm	_WLAN_EXT_CAPA5_TDLS_ENABLED,4,2 ## @WLAN_EXT_CAPA5_TDLS_ENABLED
	.comm	_WLAN_EXT_CAPA4_TDLS_CHAN_SWITCH,4,2 ## @WLAN_EXT_CAPA4_TDLS_CHAN_SWITCH
	.comm	_WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED,4,2 ## @WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED
	.no_dead_strip	_mwifiex_tdls_add_ext_capab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_tdls_add_ext_capab
_mwifiex_tdls_add_ext_capab:            ; @mwifiex_tdls_add_ext_capab
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	mov	w1, #16
	bl	_skb_put
	mov	x20, x0
Lloh0:
	adrp	x8, _WLAN_EID_EXT_CAPABILITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_EXT_CAPABILITY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #8
	stp	w9, w8, [x0, #8]
	ldr	x0, [x0]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh3:
	adrp	x8, _WLAN_EXT_CAPA5_TDLS_ENABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_EXT_CAPA5_TDLS_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	ldr	x8, [x20]
	ldp	w11, w10, [x8, #12]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _WLAN_EXT_CAPA4_TDLS_CHAN_SWITCH@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WLAN_EXT_CAPA4_TDLS_CHAN_SWITCH@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w10, w11, w10
	stp	w10, w9, [x8, #12]
	ldr	x9, [x19]
	ldr	x9, [x9]
	cbz	x9, LBB0_2
; %bb.1:
Lloh9:
	adrp	x9, _WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w10, [x8, #28]
	orr	w9, w10, w9
	str	w9, [x8, #28]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_EXT_CAPABILITY,4,2    ; @WLAN_EID_EXT_CAPABILITY
	.comm	_WLAN_EXT_CAPA5_TDLS_ENABLED,4,2 ; @WLAN_EXT_CAPA5_TDLS_ENABLED
	.comm	_WLAN_EXT_CAPA4_TDLS_CHAN_SWITCH,4,2 ; @WLAN_EXT_CAPA4_TDLS_CHAN_SWITCH
	.comm	_WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED,4,2 ; @WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED
	.no_dead_strip	_mwifiex_tdls_add_ext_capab
.subsections_via_symbols
