	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_wowl_nd_results
_brcmf_wowl_nd_results:                 ## @brcmf_wowl_nd_results
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	(%rdi), %r12
	movq	(%r12), %r14
	movq	_SCAN@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	cmpl	$27, (%rbx)
	ja	LBB0_3
## %bb.1:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_brcmf_dbg
	jmp	LBB0_13
LBB0_3:
	movq	8(%rbx), %rax
	movq	_BRCMF_E_PFN_NET_LOST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_brcmf_dbg
	jmp	LBB0_13
LBB0_5:
	movl	(%r15), %edi
	callq	_le32_to_cpu
	testl	%eax, %eax
	jle	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	callq	_brcmf_get_netinfo_array
	movq	%rax, %rbx
	movq	(%rax), %rdx
	movq	_IEEE80211_MAX_SSID_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jle	LBB0_9
## %bb.8:
	movq	%rax, (%rbx)
	movq	%rax, %rdx
LBB0_9:
	movq	8(%r14), %rax
	movl	24(%rax), %edi
	movl	16(%rbx), %esi
	callq	_memcpy
	movq	(%rbx), %rax
	movq	8(%r14), %rcx
	movq	%rax, 16(%rcx)
	movl	$1, (%rcx)
	movq	8(%rbx), %rdi
	movq	_CH_MAX_2G_CHANNEL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jle	LBB0_10
## %bb.11:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_6:
	movl	(%r15), %edi
	callq	_le32_to_cpu
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_bphy_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_10:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %esi
	callq	_ieee80211_channel_to_frequency
	movq	8(%r14), %rcx
	movq	8(%rcx), %rdx
	movl	%eax, (%rdx)
	movq	16(%r14), %rax
	movl	$1, (%rax)
	movq	8(%rax), %rax
	movq	%rcx, (%rax)
	movl	$1, (%r14)
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_wake_up
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCAN,4,2                       ## @SCAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter\n"

L_.str.1:                               ## @.str.1
	.asciz	"Event data to small. Ignore\n"

	.comm	_BRCMF_E_PFN_NET_LOST,8,3       ## @BRCMF_E_PFN_NET_LOST
L_.str.2:                               ## @.str.2
	.asciz	"PFN NET LOST event. Ignore\n"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid result count, expected 1 (%d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IEEE80211_MAX_SSID_LEN,8,3     ## @IEEE80211_MAX_SSID_LEN
	.comm	_CH_MAX_2G_CHANNEL,8,3          ## @CH_MAX_2G_CHANNEL
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,4,2          ## @NL80211_BAND_5GHZ
	.no_dead_strip	_brcmf_wowl_nd_results
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_wowl_nd_results
_brcmf_wowl_nd_results:                 ; @brcmf_wowl_nd_results
	.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, x2
	mov	x21, x1
	ldr	x19, [x0]
	ldr	x22, [x19]
Lloh0:
	adrp	x23, _SCAN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SCAN@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	w8, [x21]
	cmp	w8, #27
	b.hi	LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_brcmf_dbg
	b	LBB0_8
LBB0_2:
	ldr	x8, [x21, #8]
Lloh6:
	adrp	x9, _BRCMF_E_PFN_NET_LOST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BRCMF_E_PFN_NET_LOST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x23]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_brcmf_dbg
	b	LBB0_8
LBB0_4:
	ldr	w0, [x20]
	bl	_le32_to_cpu
	cmp	w0, #0
	b.le	LBB0_10
; %bb.5:
	mov	x0, x20
	bl	_brcmf_get_netinfo_array
	mov	x19, x0
	ldr	x2, [x0]
Lloh11:
	adrp	x8, _IEEE80211_MAX_SSID_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IEEE80211_MAX_SSID_LEN@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x2, x8
	b.le	LBB0_7
; %bb.6:
	str	x8, [x19]
	mov	x2, x8
LBB0_7:
	ldr	x8, [x22, #8]
	ldr	w0, [x8, #24]
	ldr	w1, [x19, #16]
	bl	_memcpy
	ldr	x8, [x22, #8]
	ldp	x9, x0, [x19]
	str	x9, [x8, #16]
	mov	w19, #1
	str	w19, [x8]
Lloh14:
	adrp	x8, _CH_MAX_2G_CHANNEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CH_MAX_2G_CHANNEL@GOTPAGEOFF]
Lloh16:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	adrp	x10, _NL80211_BAND_5GHZ@GOTPAGE
Lloh20:
	ldr	x10, [x10, _NL80211_BAND_5GHZ@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x10, x9, gt
	ldr	w1, [x8]
	bl	_ieee80211_channel_to_frequency
	ldp	x8, x9, [x22, #8]
	ldr	x10, [x8, #8]
	str	w0, [x10]
	str	w19, [x9]
	ldr	x9, [x9, #8]
	str	x8, [x9]
	str	w19, [x22]
	add	x0, x22, #4
	bl	_wake_up
LBB0_8:
	mov	w0, #0
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
LBB0_10:
	ldr	w0, [x20]
	bl	_le32_to_cpu
	mov	x2, x0
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_bphy_err
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SCAN,4,2                       ; @SCAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

l_.str.1:                               ; @.str.1
	.asciz	"Event data to small. Ignore\n"

	.comm	_BRCMF_E_PFN_NET_LOST,8,3       ; @BRCMF_E_PFN_NET_LOST
l_.str.2:                               ; @.str.2
	.asciz	"PFN NET LOST event. Ignore\n"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid result count, expected 1 (%d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IEEE80211_MAX_SSID_LEN,8,3     ; @IEEE80211_MAX_SSID_LEN
	.comm	_CH_MAX_2G_CHANNEL,8,3          ; @CH_MAX_2G_CHANNEL
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,4,2          ; @NL80211_BAND_5GHZ
	.no_dead_strip	_brcmf_wowl_nd_results
.subsections_via_symbols
