	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_handle_nei_report_req
_hostapd_handle_nei_report_req:         ## @hostapd_handle_nei_report_req
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -64(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_WLAN_RRM_CAPS_NEIGHBOR_REPORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_16
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	(%rsi,%rdx,4), %r13
	movl	8(%rsi), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	16(%rsi), %r14
	movq	%r13, %rbx
	subq	%r14, %rbx
	sarq	$2, %rbx
	movq	_WLAN_EID_SSID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_get_ie
	testq	%rax, %rax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.2:
	movl	4(%rax), %edx
	testl	%edx, %edx
	je	LBB0_5
## %bb.3:
	movq	_SSID_MAX_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jg	LBB0_5
## %bb.4:
	movl	%edx, -64(%rbp)
	addq	$8, %rax
	xorl	%edi, %edi
	movq	%rax, %rsi
	jmp	LBB0_6
LBB0_5:
	movq	(%r15), %rax
	movl	8(%rax), %edx
	movl	%edx, -64(%rbp)
	movq	16(%rax), %rsi
	xorl	%edi, %edi
LBB0_6:
	callq	_os_memcpy
	movq	_WLAN_EID_MEASURE_REQUEST@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_get_ie
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r12
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %r14
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	8(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movslq	4(%r12), %rax
	leaq	(%r12,%rax,4), %rdi
	addq	$8, %rdi
	movq	%r13, %rsi
	subq	%rdi, %rsi
	sarq	$2, %rsi
	movl	(%r15), %edx
	callq	_get_ie
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_15
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$3, 4(%r12)
	jl	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%rbx), %edi
	movl	16(%r12), %edx
	movq	%r14, %rsi
	callq	_wpa_printf
	movl	16(%r12), %eax
	cmpl	$128, %eax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$129, %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	8(%r12), %rdi
	movl	4(%r12), %esi
	movl	8(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_hostapd_parse_location_lci_req_age
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_14
LBB0_7:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_15:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	leaq	-64(%rbp), %rcx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	callq	_hostapd_send_nei_report_resp
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_RRM_CAPS_NEIGHBOR_REPORT,4,2 ## @WLAN_RRM_CAPS_NEIGHBOR_REPORT
	.comm	_WLAN_EID_SSID,4,2              ## @WLAN_EID_SSID
	.comm	_SSID_MAX_LEN,4,2               ## @SSID_MAX_LEN
	.comm	_WLAN_EID_MEASURE_REQUEST,4,2   ## @WLAN_EID_MEASURE_REQUEST
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Neighbor report request, measure type %u"

	.no_dead_strip	_hostapd_handle_nei_report_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_handle_nei_report_req
_hostapd_handle_nei_report_req:         ; @hostapd_handle_nei_report_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	xzr, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _WLAN_RRM_CAPS_NEIGHBOR_REPORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WLAN_RRM_CAPS_NEIGHBOR_REPORT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x27, x1, x2, lsl #2
	ldr	w8, [x1, #8]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	ldr	x22, [x1, #16]
	sub	x8, x27, x22
	asr	x23, x8, #2
Lloh3:
	adrp	x8, _WLAN_EID_SSID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WLAN_EID_SSID@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x23
	bl	_get_ie
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w2, [x0, #4]
Lloh6:
	adrp	x8, _SSID_MAX_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSID_MAX_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w2, #0
	ccmp	w2, w8, #0, ne
	b.le	LBB0_4
LBB0_3:
	ldr	x8, [x19]
	ldr	w2, [x8, #8]
	str	w2, [sp, #8]
	ldr	x1, [x8, #16]
	b	LBB0_5
LBB0_4:
	str	w2, [sp, #8]
	add	x1, x0, #8
LBB0_5:
	mov	w0, #0
	bl	_os_memcpy
Lloh9:
	adrp	x28, _WLAN_EID_MEASURE_REQUEST@GOTPAGE
Lloh10:
	ldr	x28, [x28, _WLAN_EID_MEASURE_REQUEST@GOTPAGEOFF]
	ldr	w2, [x28]
	mov	x0, x22
	mov	x1, x23
	bl	_get_ie
	cbz	x0, LBB0_13
; %bb.6:
	mov	x26, x0
	mov	w24, #0
	mov	w22, #0
	mov	w23, #0
Lloh11:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh12:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
	adrp	x25, l_.str@PAGE
Lloh14:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w22, [x26, #8]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldrsw	x8, [x26, #4]
	add	x8, x26, x8, lsl #2
	add	x0, x8, #8
	sub	x8, x27, x0
	asr	x1, x8, #2
	ldr	w2, [x28]
	bl	_get_ie
	mov	x26, x0
	cbz	x0, LBB0_14
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x26, #4]
	cmp	w8, #3
	b.lt	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x21]
	ldr	w2, [x26, #16]
	mov	x1, x25
	bl	_wpa_printf
	ldr	w8, [x26, #16]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #129
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	ldr	w23, [x0, #8]!
	ldur	w1, [x0, #-4]
	bl	_hostapd_parse_location_lci_req_age
	mov	x24, x0
	b	LBB0_8
LBB0_13:
	mov	w23, #0
	mov	w22, #0
	mov	w24, #0
LBB0_14:
	ldr	w1, [x20]
	add	x3, sp, #8
	mov	x0, x19
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	mov	x4, x23
	mov	x5, x22
	mov	x6, x24
	bl	_hostapd_send_nei_report_resp
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_RRM_CAPS_NEIGHBOR_REPORT,4,2 ; @WLAN_RRM_CAPS_NEIGHBOR_REPORT
	.comm	_WLAN_EID_SSID,4,2              ; @WLAN_EID_SSID
	.comm	_SSID_MAX_LEN,4,2               ; @SSID_MAX_LEN
	.comm	_WLAN_EID_MEASURE_REQUEST,4,2   ; @WLAN_EID_MEASURE_REQUEST
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Neighbor report request, measure type %u"

	.no_dead_strip	_hostapd_handle_nei_report_req
.subsections_via_symbols
