	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_inform_ibss
_brcmf_inform_ibss:                     ## @brcmf_inform_ibss
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_cfg_to_wiphy
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	_WL_BSS_INFO_MAX@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%r15), %edi
	callq	_cpu_to_le32
	movl	%eax, (%r12)
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	_BRCMF_C_GET_BSS_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r15), %ecx
	movl	%eax, %edi
	movq	%r12, %rdx
	callq	_brcmf_fil_cmd_data_get
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_bphy_err
	jmp	LBB0_11
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	movl	36(%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, -128(%rbp)
	leaq	-128(%rbp), %rdi
	callq	*8(%r13)
	movq	-120(%rbp), %rcx
	movq	_BRCMU_CHAN_BAND_2G@GOTPCREL(%rip), %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rcx
LBB0_7:
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	-112(%rbp), %edi
	movl	(%rax), %esi
	callq	_ieee80211_channel_to_frequency
	movl	%eax, %r15d
	movl	%eax, (%r13)
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ieee80211_get_channel
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	32(%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	28(%r12), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	24(%r12), %edi
	callq	_le16_to_cpu
	cltq
	leaq	(%r12,%rax,4), %rax
	addq	$16, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	20(%r12), %edi
	callq	_le32_to_cpu
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	16(%r12), %edi
	callq	_le16_to_cpu
	imull	$100, %eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_CONN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	-112(%rbp), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movl	(%r13), %edi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movq	_CFG80211_BSS_FTYPE_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	xorl	%r8d, %r8d
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%rbx
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%r15
	callq	_cfg80211_inform_bss
	addq	$48, %rsp
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_cfg80211_put_bss
	jmp	LBB0_11
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
LBB0_10:
	subl	(%rax), %r14d
LBB0_11:
	movq	_TRACE@GOTPCREL(%rip), %rbx
	movq	%r12, %rdi
	callq	_kfree
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movl	%r14d, %eax
	addq	$88, %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\n"

	.comm	_WL_BSS_INFO_MAX,4,2            ## @WL_BSS_INFO_MAX
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_BRCMF_C_GET_BSS_INFO,4,2       ## @BRCMF_C_GET_BSS_INFO
L_.str.1:                               ## @.str.1
	.asciz	"WLC_GET_BSS_INFO failed: %d\n"

	.comm	_BRCMU_CHAN_BAND_2G,8,3         ## @BRCMU_CHAN_BAND_2G
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ## @NL80211_BAND_5GHZ
	.comm	_CONN,4,2                       ## @CONN
L_.str.2:                               ## @.str.2
	.asciz	"channel: %d(%d)\n"

L_.str.3:                               ## @.str.3
	.asciz	"capability: %X\n"

L_.str.4:                               ## @.str.4
	.asciz	"beacon interval: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"signal: %d\n"

	.comm	_CFG80211_BSS_FTYPE_UNKNOWN,4,2 ## @CFG80211_BSS_FTYPE_UNKNOWN
L_.str.6:                               ## @.str.6
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_inform_ibss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_inform_ibss
_brcmf_inform_ibss:                     ; @brcmf_inform_ibss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x24, x1
	mov	x22, x0
	bl	_cfg_to_wiphy
	mov	x20, x0
	ldr	x23, [x22, #16]
Lloh0:
	adrp	x28, _TRACE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _TRACE@GOTPAGEOFF]
	ldr	w0, [x28]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
Lloh4:
	adrp	x25, _WL_BSS_INFO_MAX@GOTPAGE
Lloh5:
	ldr	x25, [x25, _WL_BSS_INFO_MAX@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh6:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x26]
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w0, [x25]
	bl	_cpu_to_le32
	str	w0, [x19]
	mov	x0, x24
	bl	_netdev_priv
Lloh8:
	adrp	x8, _BRCMF_C_GET_BSS_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BRCMF_C_GET_BSS_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w3, [x25]
	mov	x2, x19
	bl	_brcmf_fil_cmd_data_get
	cbz	w0, LBB0_3
; %bb.2:
	mov	x24, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x24
	bl	_bphy_err
	b	LBB0_6
LBB0_3:
	ldr	w0, [x19, #36]
	bl	_le16_to_cpu
	str	w0, [sp, #40]
	ldr	x8, [x22, #8]
	add	x0, sp, #40
	blr	x8
	ldr	x8, [sp, #48]
Lloh13:
	adrp	x9, _BRCMU_CHAN_BAND_2G@GOTPAGE
Lloh14:
	ldr	x9, [x9, _BRCMU_CHAN_BAND_2G@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	x10, [x20]
Lloh16:
	adrp	x11, _NL80211_BAND_2GHZ@GOTPAGE
Lloh17:
	ldr	x11, [x11, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh18:
	adrp	x12, _NL80211_BAND_5GHZ@GOTPAGE
Lloh19:
	ldr	x12, [x12, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x12, eq
	ldr	x8, [x8]
	ldr	x8, [x10, x8, lsl #3]
	ldr	w0, [sp, #56]
	ldr	w1, [x8]
	bl	_ieee80211_channel_to_frequency
	mov	x27, x0
	str	w0, [x22]
	mov	x0, x20
	mov	x1, x27
	bl	_ieee80211_get_channel
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w0, [x19, #32]
	bl	_le16_to_cpu
	mov	x23, x0
	ldr	w0, [x19, #28]
	bl	_le16_to_cpu
	mov	x24, x0
	ldr	w0, [x19, #24]
	bl	_le16_to_cpu
	mov	x25, x0
	ldr	w0, [x19, #20]
	bl	_le32_to_cpu
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	mov	x8, x19
	ldr	w0, [x8, #16]!
	add	x8, x8, w25, sxtw #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	bl	_le16_to_cpu
	mov	w8, #100
	mul	w25, w0, w8
Lloh20:
	adrp	x22, _CONN@GOTPAGE
Lloh21:
	ldr	x22, [x22, _CONN@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w8, [sp, #56]
	stp	x8, x27, [sp]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_brcmf_dbg
	ldr	w0, [x22]
	str	x23, [sp]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_brcmf_dbg
	ldr	w0, [x22]
	str	x24, [sp]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_brcmf_dbg
	ldr	w0, [x22]
	str	x25, [sp]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_brcmf_dbg
Lloh30:
	adrp	x8, _CFG80211_BSS_FTYPE_UNKNOWN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CFG80211_BSS_FTYPE_UNKNOWN@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	ldr	w8, [x26]
	stp	w25, w8, [sp, #8]
	ldp	x8, x7, [sp, #16]               ; 16-byte Folded Reload
	str	x8, [sp]
	mov	x0, x20
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
	mov	x3, x21
	mov	w4, #0
	mov	x5, x23
	mov	x6, x24
	bl	_cfg80211_inform_bss
	cbz	x0, LBB0_5
; %bb.4:
	mov	x1, x0
	mov	x0, x20
	bl	_cfg80211_put_bss
	mov	w24, #0
	b	LBB0_6
LBB0_5:
Lloh33:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_6:
	mov	x0, x19
	bl	_kfree
	ldr	w0, [x28]
Lloh36:
	adrp	x1, l_.str.6@PAGE
Lloh37:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_brcmf_dbg
	mov	x0, x24
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

	.comm	_WL_BSS_INFO_MAX,4,2            ; @WL_BSS_INFO_MAX
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_BRCMF_C_GET_BSS_INFO,4,2       ; @BRCMF_C_GET_BSS_INFO
l_.str.1:                               ; @.str.1
	.asciz	"WLC_GET_BSS_INFO failed: %d\n"

	.comm	_BRCMU_CHAN_BAND_2G,8,3         ; @BRCMU_CHAN_BAND_2G
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,8,3          ; @NL80211_BAND_5GHZ
	.comm	_CONN,4,2                       ; @CONN
l_.str.2:                               ; @.str.2
	.asciz	"channel: %d(%d)\n"

l_.str.3:                               ; @.str.3
	.asciz	"capability: %X\n"

l_.str.4:                               ; @.str.4
	.asciz	"beacon interval: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"signal: %d\n"

	.comm	_CFG80211_BSS_FTYPE_UNKNOWN,4,2 ; @CFG80211_BSS_FTYPE_UNKNOWN
l_.str.6:                               ; @.str.6
	.asciz	"Exit\n"

	.no_dead_strip	_brcmf_inform_ibss
.subsections_via_symbols
