	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_cfg80211_disconnect
_brcmf_cfg80211_disconnect:             ## @brcmf_cfg80211_disconnect
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r13
	callq	_wiphy_to_cfg
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %r12
	movq	(%rbx), %rbx
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	(%r14), %rdi
	callq	_check_vif_up
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_BRCMF_VIF_STATUS_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	callq	_clear_bit
	movq	_BRCMF_VIF_STATUS_CONNECTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	callq	_clear_bit
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_cfg80211_disconnected
	leaq	-44(%rbp), %rdi
	addq	$4, %r12
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_memcpy
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, -48(%rbp)
	movq	_BRCMF_C_DISASSOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movl	$8, %ecx
	callq	_brcmf_fil_cmd_data_set
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_bphy_err
LBB0_4:
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
	jmp	LBB0_5
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
LBB0_5:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRACE,4,2                      ## @TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter. Reason code = %d\n"

	.comm	_EIO,8,3                        ## @EIO
	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ## @BRCMF_VIF_STATUS_CONNECTED
	.comm	_BRCMF_VIF_STATUS_CONNECTING,4,2 ## @BRCMF_VIF_STATUS_CONNECTING
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_BRCMF_C_DISASSOC,4,2           ## @BRCMF_C_DISASSOC
L_.str.1:                               ## @.str.1
	.asciz	"error (%d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_cfg80211_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_cfg80211_disconnect
_brcmf_cfg80211_disconnect:             ; @brcmf_cfg80211_disconnect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x22, x1
	bl	_wiphy_to_cfg
	mov	x19, x0
	mov	x0, x22
	bl	_netdev_priv
	mov	x21, x0
	ldr	x24, [x0]
	ldr	x19, [x19]
Lloh0:
	adrp	x23, _TRACE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TRACE@GOTPAGEOFF]
	ldr	w0, [x23]
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	x0, [x21]
	bl	_check_vif_up
	cbz	w0, LBB0_4
; %bb.1:
Lloh4:
	adrp	x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x1, [x21]
	bl	_clear_bit
Lloh7:
	adrp	x8, _BRCMF_VIF_STATUS_CONNECTING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_CONNECTING@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x1, [x21]
	bl	_clear_bit
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
	mov	x0, x22
	mov	x1, x20
	mov	x2, #0
	mov	w3, #0
	mov	w4, #1
	bl	_cfg80211_disconnected
	add	x8, sp, #8
	orr	x0, x8, #0x4
	add	x1, x24, #4
Lloh13:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x20
	bl	_cpu_to_le32
	str	w0, [sp, #8]
Lloh16:
	adrp	x8, _BRCMF_C_DISASSOC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BRCMF_C_DISASSOC@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x21
	mov	w3, #8
	bl	_brcmf_fil_cmd_data_set
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.2:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_bphy_err
LBB0_3:
	ldr	w0, [x23]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_brcmf_dbg
	b	LBB0_5
LBB0_4:
Lloh23:
	adrp	x8, _EIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	neg	x20, x8
LBB0_5:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter. Reason code = %d\n"

	.comm	_EIO,8,3                        ; @EIO
	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ; @BRCMF_VIF_STATUS_CONNECTED
	.comm	_BRCMF_VIF_STATUS_CONNECTING,4,2 ; @BRCMF_VIF_STATUS_CONNECTING
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_BRCMF_C_DISASSOC,4,2           ; @BRCMF_C_DISASSOC
l_.str.1:                               ; @.str.1
	.asciz	"error (%d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_cfg80211_disconnect
.subsections_via_symbols
