	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_tdls_process_disable_link
_mwifiex_tdls_process_disable_link:     ## @mwifiex_tdls_process_disable_link
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mwifiex_get_sta_entry
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_mwifiex_11n_cleanup_reorder_tbl
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movq	%rbx, %rdi
	callq	_mwifiex_11n_delete_all_tx_ba_stream_tbl
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mwifiex_del_sta_entry
LBB0_4:
	movq	_TDLS_LINK_TEARDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mwifiex_restore_tdls_packets
	movq	_TDLS_NOT_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mwifiex_auto_tdls_update_peer_status
	leaq	-20(%rbp), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_memcpy
	movq	_MWIFIEX_TDLS_DISABLE_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_HostCmd_CMD_TDLS_OPER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_mwifiex_send_cmd
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TDLS_LINK_TEARDOWN,4,2         ## @TDLS_LINK_TEARDOWN
	.comm	_TDLS_NOT_SETUP,4,2             ## @TDLS_NOT_SETUP
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MWIFIEX_TDLS_DISABLE_LINK,4,2  ## @MWIFIEX_TDLS_DISABLE_LINK
	.comm	_HostCmd_CMD_TDLS_OPER,4,2      ## @HostCmd_CMD_TDLS_OPER
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
	.no_dead_strip	_mwifiex_tdls_process_disable_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_tdls_process_disable_link
_mwifiex_tdls_process_disable_link:     ; @mwifiex_tdls_process_disable_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	add	x21, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_get_sta_entry
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_mwifiex_11n_cleanup_reorder_tbl
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_mwifiex_11n_delete_all_tx_ba_stream_tbl
	mov	x0, x19
	bl	_spin_unlock_bh
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_del_sta_entry
LBB0_4:
Lloh0:
	adrp	x8, _TDLS_LINK_TEARDOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TDLS_LINK_TEARDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_restore_tdls_packets
Lloh3:
	adrp	x8, _TDLS_NOT_SETUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TDLS_NOT_SETUP@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_mwifiex_auto_tdls_update_peer_status
	orr	x0, x21, #0x4
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_memcpy
Lloh9:
	adrp	x8, _MWIFIEX_TDLS_DISABLE_LINK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MWIFIEX_TDLS_DISABLE_LINK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh12:
	adrp	x8, _HostCmd_CMD_TDLS_OPER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HostCmd_CMD_TDLS_OPER@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_mwifiex_send_cmd
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TDLS_LINK_TEARDOWN,4,2         ; @TDLS_LINK_TEARDOWN
	.comm	_TDLS_NOT_SETUP,4,2             ; @TDLS_NOT_SETUP
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MWIFIEX_TDLS_DISABLE_LINK,4,2  ; @MWIFIEX_TDLS_DISABLE_LINK
	.comm	_HostCmd_CMD_TDLS_OPER,4,2      ; @HostCmd_CMD_TDLS_OPER
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
	.no_dead_strip	_mwifiex_tdls_process_disable_link
.subsections_via_symbols
