	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mgd_disassoc         ## -- Begin function ieee80211_mgd_disassoc
	.p2align	4, 0x90
_ieee80211_mgd_disassoc:                ## @ieee80211_mgd_disassoc
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_IEEE80211_DEAUTH_FRAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	16(%r12), %rax
	cmpq	8(%r14), %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	_ENOLINK@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movl	(%rax), %edx
	movl	4(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_sdata_info
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_memcpy
	movq	_IEEE80211_STYPE_DISASSOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	xorl	%ecx, %ecx
	cmpl	$0, (%r14)
	sete	%cl
	movq	%r12, %rdi
	movq	%r15, %r8
	callq	_ieee80211_set_disassoc
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	(%r12), %edi
	movq	_IEEE80211_DEAUTH_FRAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	___cfg80211_send_disassoc
	xorl	%eax, %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IEEE80211_DEAUTH_FRAME_LEN,4,2 ## @IEEE80211_DEAUTH_FRAME_LEN
	.comm	_ENOLINK,4,2                    ## @ENOLINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disassociating from %pM by local choice (reason=%d)\n"

	.comm	_IEEE80211_STYPE_DISASSOC,4,2   ## @IEEE80211_STYPE_DISASSOC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mgd_disassoc         ; -- Begin function ieee80211_mgd_disassoc
	.p2align	2
_ieee80211_mgd_disassoc:                ; @ieee80211_mgd_disassoc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh7:
	adrp	x24, _IEEE80211_DEAUTH_FRAME_LEN@GOTPAGE
Lloh8:
	ldr	x24, [x24, _IEEE80211_DEAUTH_FRAME_LEN@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	add	x22, x0, #8
	mov	x0, x22
	bl	_mutex_lock
	ldr	x8, [x19, #16]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_mutex_unlock
Lloh11:
	adrp	x8, _ENOLINK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOLINK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	w2, [x8]
	ldr	w3, [x20, #4]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sdata_info
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	ldr	w2, [x25]
	mov	x0, x23
	bl	_memcpy
Lloh16:
	adrp	x8, _IEEE80211_STYPE_DISASSOC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IEEE80211_STYPE_DISASSOC@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldp	w8, w2, [x20]
	cmp	w8, #0
	cset	w3, eq
	mov	x0, x19
	mov	x4, x21
	bl	_ieee80211_set_disassoc
	mov	x0, x22
	bl	_mutex_unlock
	ldr	w0, [x19]
	ldr	w2, [x24]
	mov	x1, x21
	bl	___cfg80211_send_disassoc
	mov	w0, #0
LBB0_3:
	ldur	x8, [x29, #-72]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IEEE80211_DEAUTH_FRAME_LEN,4,2 ; @IEEE80211_DEAUTH_FRAME_LEN
	.comm	_ENOLINK,4,2                    ; @ENOLINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disassociating from %pM by local choice (reason=%d)\n"

	.comm	_IEEE80211_STYPE_DISASSOC,4,2   ; @IEEE80211_STYPE_DISASSOC
.subsections_via_symbols
