	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_deauthenticate         ## -- Begin function mwifiex_deauthenticate
	.p2align	4, 0x90
_mwifiex_deauthenticate:                ## @mwifiex_deauthenticate
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rdi)
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_6
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_9
## %bb.3:
	cmpl	$131, %eax
	jne	LBB0_8
## %bb.4:
	movq	_HostCmd_CMD_802_11_AD_HOC_STOP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	movq	%rbx, %rdi
	callq	_mwifiex_deauthenticate_infra
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r15d
	movl	4(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_cfg80211_disconnected
	movl	%r15d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_HostCmd_CMD_UAP_BSS_STOP@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mwifiex_send_cmd               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_HostCmd_CMD_802_11_AD_HOC_STOP,4,2 ## @HostCmd_CMD_802_11_AD_HOC_STOP
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
	.comm	_HostCmd_CMD_UAP_BSS_STOP,4,2   ## @HostCmd_CMD_UAP_BSS_STOP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_deauthenticate         ; -- Begin function mwifiex_deauthenticate
	.p2align	2
_mwifiex_deauthenticate:                ; @mwifiex_deauthenticate
	.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
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_6
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #131
	b.ne	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _HostCmd_CMD_802_11_AD_HOC_STOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HostCmd_CMD_802_11_AD_HOC_STOP@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	mov	w20, #0
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_mwifiex_deauthenticate_infra
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w5, [x8]
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	mov	w4, #1
	bl	_cfg80211_disconnected
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh5:
	adrp	x8, _HostCmd_CMD_UAP_BSS_STOP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HostCmd_CMD_UAP_BSS_STOP@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	x4, #0
	mov	w5, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mwifiex_send_cmd
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_HostCmd_CMD_802_11_AD_HOC_STOP,4,2 ; @HostCmd_CMD_802_11_AD_HOC_STOP
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
	.comm	_HostCmd_CMD_UAP_BSS_STOP,4,2   ; @HostCmd_CMD_UAP_BSS_STOP
.subsections_via_symbols
