	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_tdls_add_ht_oper
_mwifiex_tdls_add_ht_oper:              ## @mwifiex_tdls_add_ht_oper
	.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
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rdi, %rbx
	callq	_mwifiex_get_sta_entry
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	movl	$-1, %eax
	jmp	LBB0_12
LBB0_2:
	movl	4(%r14), %edi
	callq	_le16_to_cpu
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	movl	$10, %esi
	callq	_skb_put
	movq	_WLAN_EID_HT_OPERATION@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rcx, (%rax)
	leaq	16(%rax), %r12
	movq	$8, 8(%rax)
	movl	8(%rbx), %ecx
	movl	%ecx, 20(%rax)
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_ISSUPP_CHANWIDTH40
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.6:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_ISALLOWED_CHANWIDTH40
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_8:
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:
	movl	8(%rbx), %edi
	callq	_mwifiex_get_sec_chan_offset
	movl	%eax, (%r12)
	movl	$2, %edi
	callq	_BIT
	orl	%eax, (%r12)
LBB0_10:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_11
LBB0_3:
	movq	(%rbx), %rdi
	movq	_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_mwifiex_dbg
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TDLS peer station not found in list\n"

	.comm	_WARN,4,2                       ## @WARN
L_.str.1:                               ## @.str.1
	.asciz	"TDLS peer doesn't support ht capabilities\n"

	.comm	_WLAN_EID_HT_OPERATION,4,2      ## @WLAN_EID_HT_OPERATION
	.no_dead_strip	_mwifiex_tdls_add_ht_oper
.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_ht_oper
_mwifiex_tdls_add_ht_oper:              ; @mwifiex_tdls_add_ht_oper
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x20, x0
	bl	_mwifiex_get_sta_entry
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x20]
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
	mov	w0, #-1
	b	LBB0_12
LBB0_2:
	ldr	w0, [x19, #4]
	bl	_le16_to_cpu
	cbz	w0, LBB0_10
; %bb.3:
	mov	x0, x22
	mov	w1, #10
	bl	_skb_put
Lloh5:
	adrp	x8, _WLAN_EID_HT_OPERATION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WLAN_EID_HT_OPERATION@GOTPAGEOFF]
Lloh7:
	ldrsw	x8, [x8]
	add	x22, x0, #16
	mov	w9, #8
	stp	x8, x9, [x0]
	ldr	w8, [x20, #8]
	str	w8, [x0, #20]
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_ISSUPP_CHANWIDTH40
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	bl	_ISALLOWED_CHANWIDTH40
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	str	w8, [x22]
LBB0_7:
	cbz	x21, LBB0_9
; %bb.8:
	ldr	w0, [x20, #8]
	bl	_mwifiex_get_sec_chan_offset
	str	w0, [x22]
	mov	w0, #2
	bl	_BIT
	ldr	w8, [x22]
	orr	w8, w8, w0
	str	w8, [x22]
LBB0_9:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #8
	bl	_memcpy
	b	LBB0_11
LBB0_10:
	ldr	x0, [x20]
Lloh8:
	adrp	x8, _WARN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WARN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_mwifiex_dbg
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TDLS peer station not found in list\n"

	.comm	_WARN,4,2                       ; @WARN
l_.str.1:                               ; @.str.1
	.asciz	"TDLS peer doesn't support ht capabilities\n"

	.comm	_WLAN_EID_HT_OPERATION,4,2      ; @WLAN_EID_HT_OPERATION
	.no_dead_strip	_mwifiex_tdls_add_ht_oper
.subsections_via_symbols
