	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_update_bss_info
_brcmf_update_bss_info:                 ## @brcmf_update_bss_info
	.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, %r15
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movl	(%r15), %edi
	callq	_brcmf_is_ibssmode
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_2:
	movq	_WL_EXTRA_BUF_MAX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cpu_to_le32
	movq	(%r12), %rdx
	movl	%eax, (%rdx)
	movq	_BRCMF_C_GET_BSS_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movq	%r15, %rdi
	callq	_brcmf_fil_cmd_data_get
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_bphy_err
	jmp	LBB0_10
LBB0_4:
	movq	(%r12), %r13
	addq	$4, %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_brcmf_inform_single_bss
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movl	4(%r13), %edi
	callq	_le16_to_cpu
	cltq
	leaq	(,%rax,4), %rbx
	addq	%r13, %rbx
	movl	(%r13), %edi
	callq	_le32_to_cpu
	movq	_WLAN_EID_TIM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_brcmf_parse_tlvs
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	xorl	%ebx, %ebx
LBB0_10:
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_brcmf_dbg
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_brcmf_fil_iovar_int_get
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_TRACE,4,2                      ## @TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter\n"

	.comm	_WL_EXTRA_BUF_MAX,4,2           ## @WL_EXTRA_BUF_MAX
	.comm	_BRCMF_C_GET_BSS_INFO,4,2       ## @BRCMF_C_GET_BSS_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Could not get bss info %d\n"

	.comm	_WLAN_EID_TIM,4,2               ## @WLAN_EID_TIM
L_.str.2:                               ## @.str.2
	.asciz	"dtim_assoc"

L_.str.3:                               ## @.str.3
	.asciz	"wl dtim_assoc failed (%d)\n"

L_.str.4:                               ## @.str.4
	.asciz	"Exit"

	.no_dead_strip	_brcmf_update_bss_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_update_bss_info
_brcmf_update_bss_info:                 ; @brcmf_update_bss_info
	.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, x1
	mov	x22, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x24, _TRACE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TRACE@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	w0, [x20]
	bl	_brcmf_is_ibssmode
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, #0
	b	LBB0_9
LBB0_2:
Lloh4:
	adrp	x21, _WL_EXTRA_BUF_MAX@GOTPAGE
Lloh5:
	ldr	x21, [x21, _WL_EXTRA_BUF_MAX@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_cpu_to_le32
	ldr	x2, [x22]
	str	w0, [x2]
Lloh6:
	adrp	x8, _BRCMF_C_GET_BSS_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BRCMF_C_GET_BSS_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w3, [x21]
	mov	x0, x20
	bl	_brcmf_fil_cmd_data_get
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	mov	x2, x21
	bl	_bphy_err
	b	LBB0_8
LBB0_5:
	ldr	x8, [x22]
	add	x23, x8, #4
	mov	x0, x22
	mov	x1, x23
	bl	_brcmf_inform_single_bss
	mov	x21, x0
	cbnz	x0, LBB0_8
; %bb.6:
	ldr	w0, [x23, #4]
	bl	_le16_to_cpu
	add	x21, x23, w0, sxtw #2
	ldr	w0, [x23]
	bl	_le32_to_cpu
	mov	x1, x0
Lloh11:
	adrp	x8, _WLAN_EID_TIM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WLAN_EID_TIM@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_brcmf_parse_tlvs
	cbz	x0, LBB0_10
; %bb.7:
	mov	x21, #0
LBB0_8:
	ldr	w0, [x24]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_brcmf_dbg
LBB0_9:
	mov	x0, x21
	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
LBB0_10:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_brcmf_fil_iovar_int_get
	mov	x21, x0
	cbz	x0, LBB0_8
; %bb.11:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

	.comm	_WL_EXTRA_BUF_MAX,4,2           ; @WL_EXTRA_BUF_MAX
	.comm	_BRCMF_C_GET_BSS_INFO,4,2       ; @BRCMF_C_GET_BSS_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Could not get bss info %d\n"

	.comm	_WLAN_EID_TIM,4,2               ; @WLAN_EID_TIM
l_.str.2:                               ; @.str.2
	.asciz	"dtim_assoc"

l_.str.3:                               ; @.str.3
	.asciz	"wl dtim_assoc failed (%d)\n"

l_.str.4:                               ; @.str.4
	.asciz	"Exit"

	.no_dead_strip	_brcmf_update_bss_info
.subsections_via_symbols
