	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_handle_radio_msmt_report
_hostapd_handle_radio_msmt_report:      ## @hostapd_handle_radio_msmt_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	(%rsi,%rdx,4), %r14
	movl	8(%rsi), %ebx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rdi
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$2, %rsi
	movq	_WLAN_EID_MEASURE_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_get_ie
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	leaq	8(%r13), %r8
	movl	4(%r13), %r9d
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	callq	_hostapd_handle_beacon_report
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	4(%r13), %rax
	leaq	8(,%rax,4), %rdi
	addq	%r13, %rdi
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$2, %rsi
	movq	_WLAN_EID_MEASURE_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_get_ie
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$2, 4(%r13)
	jle	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%r13), %r12d
	movl	16(%r13), %ecx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	16(%r13), %edx
	cmpl	$130, %edx
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %edx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %edx
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%r13), %rdx
	movl	4(%r13), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hostapd_handle_lci_report
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%r13), %rdx
	movl	4(%r13), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hostapd_handle_range_report
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_MEASURE_REPORT,4,2    ## @WLAN_EID_MEASURE_REPORT
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad Measurement Report element"

L_.str.1:                               ## @.str.1
	.asciz	"Measurement report mode 0x%x type %u"

L_.str.2:                               ## @.str.2
	.asciz	"Measurement report type %u is not supported"

	.no_dead_strip	_hostapd_handle_radio_msmt_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_handle_radio_msmt_report
_hostapd_handle_radio_msmt_report:      ; @hostapd_handle_radio_msmt_report
	.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
	mov	x19, x1
	mov	x20, x0
	add	x26, x1, x2, lsl #2
	ldr	w21, [x1, #8]
	ldr	x0, [x1, #16]
	sub	x8, x26, x0
	lsr	x1, x8, #2
Lloh0:
	adrp	x27, _WLAN_EID_MEASURE_REPORT@GOTPAGE
Lloh1:
	ldr	x27, [x27, _WLAN_EID_MEASURE_REPORT@GOTPAGEOFF]
	ldr	w2, [x27]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_get_ie
	cbz	x0, LBB0_11
; %bb.1:
	mov	x24, x0
Lloh2:
	adrp	x28, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x28, [x28, _MSG_DEBUG@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh6:
	adrp	x23, l_.str.2@PAGE
Lloh7:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x19]
	add	x4, x24, #8
	ldr	w5, [x24, #4]
	mov	x0, x20
	mov	x2, x21
	mov	x3, x25
	bl	_hostapd_handle_beacon_report
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x24, #4]
	add	x8, x24, x8, lsl #2
	add	x0, x8, #8
	sub	x8, x26, x0
	lsr	x1, x8, #2
	ldr	w2, [x27]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_get_ie
	mov	x24, x0
	cbz	x0, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24, #4]
	cmp	w8, #2
	b.le	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x28]
	ldp	w25, w8, [x24, #12]
	stp	x25, x8, [sp]
	mov	x1, x22
	bl	_wpa_printf
	ldr	w8, [x24, #16]
	cmp	w8, #130
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x2, x24, #8
	ldr	w3, [x24, #4]
	mov	x0, x20
	mov	x1, x21
	bl	_hostapd_handle_lci_report
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, x24, #8
	ldr	w3, [x24, #4]
	mov	x0, x20
	mov	x1, x21
	bl	_hostapd_handle_range_report
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x28]
	str	x8, [sp]
	mov	x1, x23
	bl	_wpa_printf
	b	LBB0_3
LBB0_11:
	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
LBB0_12:
	ldr	w0, [x28]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	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
	b	_wpa_printf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_MEASURE_REPORT,4,2    ; @WLAN_EID_MEASURE_REPORT
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad Measurement Report element"

l_.str.1:                               ; @.str.1
	.asciz	"Measurement report mode 0x%x type %u"

l_.str.2:                               ; @.str.2
	.asciz	"Measurement report type %u is not supported"

	.no_dead_strip	_hostapd_handle_radio_msmt_report
.subsections_via_symbols
