	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_notify_roaming_status
_brcmf_notify_roaming_status:           ## @brcmf_notify_roaming_status
	.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
	movq	(%rsi), %rax
	movq	_BRCMF_E_ROAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movq	_BRCMF_E_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	(%rax), %r15
	movq	_BRCMF_VIF_STATUS_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rsi
	callq	_test_bit
	movl	(%r14), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	_brcmf_bss_roaming_done
	jmp	LBB0_5
LBB0_4:
	movl	$1, %ecx
	callq	_brcmf_bss_connect_done
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_brcmf_net_setcarrier
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_E_ROAM,8,3               ## @BRCMF_E_ROAM
	.comm	_BRCMF_E_STATUS_SUCCESS,8,3     ## @BRCMF_E_STATUS_SUCCESS
	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ## @BRCMF_VIF_STATUS_CONNECTED
	.no_dead_strip	_brcmf_notify_roaming_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_notify_roaming_status
_brcmf_notify_roaming_status:           ; @brcmf_notify_roaming_status
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _BRCMF_E_ROAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRCMF_E_ROAM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1, #8]
Lloh3:
	adrp	x9, _BRCMF_E_STATUS_SUCCESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BRCMF_E_STATUS_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x20, x0
	ldp	x1, x8, [x0, #8]
	ldr	x21, [x8]
Lloh6:
	adrp	x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_CONNECTED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_test_bit
	ldr	w1, [x20]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x2, x19
	bl	_brcmf_bss_roaming_done
	b	LBB0_5
LBB0_4:
	mov	x0, x21
	mov	x2, x19
	mov	w3, #1
	bl	_brcmf_bss_connect_done
	mov	x0, x20
	mov	w1, #1
	bl	_brcmf_net_setcarrier
LBB0_5:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_E_ROAM,8,3               ; @BRCMF_E_ROAM
	.comm	_BRCMF_E_STATUS_SUCCESS,8,3     ; @BRCMF_E_STATUS_SUCCESS
	.comm	_BRCMF_VIF_STATUS_CONNECTED,4,2 ; @BRCMF_VIF_STATUS_CONNECTED
	.no_dead_strip	_brcmf_notify_roaming_status
.subsections_via_symbols
