	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wnm_parse_neighbor_report
_wnm_parse_neighbor_report:             ## @wnm_parse_neighbor_report
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$12, %edx
	jg	LBB0_1
## %bb.7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_1:
	movq	%rcx, %r15
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	20(%rcx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_os_memcpy
	movslq	(%r14), %rax
	leaq	(%r12,%rax,4), %rdi
	callq	_WPA_GET_LE32
	movl	%eax, 16(%r15)
	movl	40(%r12), %eax
	movl	%eax, (%r15)
	movl	44(%r12), %eax
	movl	%eax, 4(%r15)
	movl	48(%r12), %eax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 8(%r15)
	cmpl	$15, %ebx
	jb	LBB0_6
## %bb.2:
	addl	$-13, %ebx
	addq	$52, %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %r14d
	movl	4(%r12), %r13d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	addl	$-2, %ebx
	subl	%r13d, %ebx
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %r15
	leaq	8(%r12), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_wnm_parse_neighbor_report_elem
	leaq	(%r12,%r15,4), %r12
	addq	$8, %r12
	cmpl	$1, %ebx
	jg	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_6:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_wnm_nei_get_chan
	movl	%eax, 12(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WNM: Too short neighbor report"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.1:                               ## @.str.1
	.asciz	"WNM: Subelement id=%u len=%u"

L_.str.2:                               ## @.str.2
	.asciz	"WNM: Truncated neighbor report subelement"

	.no_dead_strip	_wnm_parse_neighbor_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wnm_parse_neighbor_report
_wnm_parse_neighbor_report:             ; @wnm_parse_neighbor_report
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w2, #12
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_wpa_printf
LBB0_2:
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x3, #20]
Lloh5:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_os_memcpy
	ldrsw	x8, [x23]
	add	x0, x21, x8, lsl #2
	bl	_WPA_GET_LE32
	str	w0, [x19, #16]
	ldr	w8, [x21, #40]
	str	w8, [x19]
	ldr	w8, [x21, #44]
	str	w8, [x19, #4]
	ldr	w8, [x21, #48]
	str	w8, [x19, #8]
	cmp	w22, #15
	b.lo	LBB0_7
; %bb.3:
	sub	w26, w22, #13
	add	x24, x21, #52
Lloh7:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
Lloh9:
	adrp	x21, l_.str.1@PAGE
Lloh10:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w23, w22, [x24]
                                        ; kill: def $w22 killed $w22 def $x22
	sxtw	x22, w22
	ldr	w0, [x25]
	stp	x23, x22, [sp]
	mov	x1, x21
	bl	_wpa_printf
	sub	w26, w26, #2
	cmp	w26, w22
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #8
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	bl	_wnm_parse_neighbor_report_elem
	sub	w26, w26, w22
	add	x24, x24, x22, lsl #2
	cmp	w26, #1
	b.gt	LBB0_4
	b	LBB0_7
LBB0_6:
	ldr	w0, [x25]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
LBB0_7:
	ldp	w1, w2, [x19]
	mov	x0, x20
	bl	_wnm_nei_get_chan
	str	w0, [x19, #12]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WNM: Too short neighbor report"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.1:                               ; @.str.1
	.asciz	"WNM: Subelement id=%u len=%u"

l_.str.2:                               ; @.str.2
	.asciz	"WNM: Truncated neighbor report subelement"

	.no_dead_strip	_wnm_parse_neighbor_report
.subsections_via_symbols
