	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_is_linkup
_brcmf_is_linkup:                       ## @brcmf_is_linkup
	.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, %r13
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movq	8(%rsi), %r12
	movq	8(%rdi), %rax
	movq	_BRCMF_PROFILE_FWSUP_PSK@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_4
## %bb.1:
	movq	_BRCMF_E_PSK_SUP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_4
## %bb.2:
	movq	_BRCMF_E_STATUS_FWSUP_COMPLETED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_4
## %bb.3:
	movq	_BRCMF_VIF_STATUS_EAP_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
LBB0_4:
	movq	_BRCMF_E_SET_SSID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_8
## %bb.5:
	movq	_BRCMF_E_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_8
## %bb.6:
	movq	_CONN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movl	16(%r14), %edi
	movl	16(%r13), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	8(%r14), %rax
	movl	$1, %ebx
	cmpq	(%r15), %rax
	jne	LBB0_11
## %bb.7:
	movq	_BRCMF_VIF_STATUS_ASSOC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
LBB0_8:
	movq	_BRCMF_VIF_STATUS_EAP_SUCCESS@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_BRCMF_VIF_STATUS_ASSOC_SUCCESS@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	movl	$1, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_PROFILE_FWSUP_PSK,8,3    ## @BRCMF_PROFILE_FWSUP_PSK
	.comm	_BRCMF_E_PSK_SUP,8,3            ## @BRCMF_E_PSK_SUP
	.comm	_BRCMF_E_STATUS_FWSUP_COMPLETED,8,3 ## @BRCMF_E_STATUS_FWSUP_COMPLETED
	.comm	_BRCMF_VIF_STATUS_EAP_SUCCESS,4,2 ## @BRCMF_VIF_STATUS_EAP_SUCCESS
	.comm	_BRCMF_E_SET_SSID,8,3           ## @BRCMF_E_SET_SSID
	.comm	_BRCMF_E_STATUS_SUCCESS,8,3     ## @BRCMF_E_STATUS_SUCCESS
	.comm	_CONN,4,2                       ## @CONN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Processing set ssid\n"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_BRCMF_VIF_STATUS_ASSOC_SUCCESS,4,2 ## @BRCMF_VIF_STATUS_ASSOC_SUCCESS
	.no_dead_strip	_brcmf_is_linkup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_is_linkup
_brcmf_is_linkup:                       ; @brcmf_is_linkup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldp	x23, x24, [x1]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x22, _BRCMF_PROFILE_FWSUP_PSK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BRCMF_PROFILE_FWSUP_PSK@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh2:
	adrp	x10, _BRCMF_E_PSK_SUP@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BRCMF_E_PSK_SUP@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
Lloh5:
	adrp	x11, _BRCMF_E_STATUS_FWSUP_COMPLETED@GOTPAGE
Lloh6:
	ldr	x11, [x11, _BRCMF_E_STATUS_FWSUP_COMPLETED@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x23, x10, #0, eq
	ccmp	x24, x11, #0, eq
Lloh8:
	adrp	x21, _BRCMF_VIF_STATUS_EAP_SUCCESS@GOTPAGE
Lloh9:
	ldr	x21, [x21, _BRCMF_VIF_STATUS_EAP_SUCCESS@GOTPAGEOFF]
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x21]
	mov	x1, x19
	bl	_set_bit
LBB0_2:
Lloh10:
	adrp	x8, _BRCMF_E_SET_SSID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BRCMF_E_SET_SSID@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _BRCMF_E_STATUS_SUCCESS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _BRCMF_E_STATUS_SUCCESS@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x23, x8
	ccmp	x24, x9, #0, eq
	b.ne	LBB0_5
; %bb.3:
Lloh16:
	adrp	x8, _CONN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CONN@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	w0, [x19, #16]
	ldr	w1, [x20, #16]
Lloh21:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
Lloh24:
	adrp	x8, _BRCMF_VIF_STATUS_ASSOC_SUCCESS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BRCMF_VIF_STATUS_ASSOC_SUCCESS@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
LBB0_5:
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.6:
Lloh27:
	adrp	x20, _BRCMF_VIF_STATUS_ASSOC_SUCCESS@GOTPAGE
Lloh28:
	ldr	x20, [x20, _BRCMF_VIF_STATUS_ASSOC_SUCCESS@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w0, [x21]
	mov	x1, x19
	bl	_clear_bit
	ldr	w0, [x20]
	mov	x1, x19
	bl	_clear_bit
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_PROFILE_FWSUP_PSK,8,3    ; @BRCMF_PROFILE_FWSUP_PSK
	.comm	_BRCMF_E_PSK_SUP,8,3            ; @BRCMF_E_PSK_SUP
	.comm	_BRCMF_E_STATUS_FWSUP_COMPLETED,8,3 ; @BRCMF_E_STATUS_FWSUP_COMPLETED
	.comm	_BRCMF_VIF_STATUS_EAP_SUCCESS,4,2 ; @BRCMF_VIF_STATUS_EAP_SUCCESS
	.comm	_BRCMF_E_SET_SSID,8,3           ; @BRCMF_E_SET_SSID
	.comm	_BRCMF_E_STATUS_SUCCESS,8,3     ; @BRCMF_E_STATUS_SUCCESS
	.comm	_CONN,4,2                       ; @CONN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Processing set ssid\n"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_BRCMF_VIF_STATUS_ASSOC_SUCCESS,4,2 ; @BRCMF_VIF_STATUS_ASSOC_SUCCESS
	.no_dead_strip	_brcmf_is_linkup
.subsections_via_symbols
