	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_rrm_process_msr_req_elems
_wpas_rrm_process_msr_req_elems:        ## @wpas_rrm_process_msr_req_elems
	.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, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movq	_WLAN_EID_MEASURE_REQUEST@GOTPCREL(%rip), %r13
	leaq	-48(%rbp), %r12
	testq	%r14, %r14
	je	LBB0_14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, %r14
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdx
	cmpq	(%r13), %rdx
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %eax
	cmpl	$2, %eax
	jle	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-2(%r14), %rcx
	cmpq	%rax, %rcx
	jb	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_wpas_rrm_handle_msr_req_element
	testl	%eax, %eax
	js	LBB0_7
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	8(%rbx), %rax
	leaq	(%rbx,%rax,4), %rbx
	addq	$8, %rbx
	addq	$2, %rax
	subq	%rax, %r14
	testq	%r14, %r14
	jne	LBB0_2
LBB0_14:
	movq	-48(%rbp), %rax
	jmp	LBB0_15
LBB0_3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_4:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_7:
	movq	-48(%rbp), %rdi
	callq	_wpabuf_free
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %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	"RRM: Truncated element"

	.comm	_WLAN_EID_MEASURE_REQUEST,8,3   ## @WLAN_EID_MEASURE_REQUEST
L_.str.1:                               ## @.str.1
	.asciz	"RRM: Expected Measurement Request element, but EID is %u"

L_.str.2:                               ## @.str.2
	.asciz	"RRM: Element length too short"

L_.str.3:                               ## @.str.3
	.asciz	"RRM: Element length too long"

	.no_dead_strip	_wpas_rrm_process_msr_req_elems
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_rrm_process_msr_req_elems
_wpas_rrm_process_msr_req_elems:        ; @wpas_rrm_process_msr_req_elems
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x22, _WLAN_EID_MEASURE_REQUEST@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WLAN_EID_MEASURE_REQUEST@GOTPAGEOFF]
	cbz	x19, LBB0_7
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x19, #1
	b.eq	LBB0_8
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x20, #8]
	cmp	w8, #2
	b.le	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x9, x19, #2
	cmp	x9, x8
	b.lo	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_wpas_rrm_handle_msr_req_element
	tbnz	w0, #31, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrsw	x8, [x20, #8]
	add	x8, x8, #2
	add	x20, x20, x8, lsl #2
	sub	x19, x19, x8
	cbnz	x19, LBB0_1
LBB0_7:
	ldr	x0, [sp, #8]
	b	LBB0_14
LBB0_8:
Lloh2:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_9:
Lloh7:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh17:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_12:
	bl	_wpa_printf
LBB0_13:
	ldr	x0, [sp, #8]
	bl	_wpabuf_free
	mov	x0, #0
LBB0_14:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RRM: Truncated element"

	.comm	_WLAN_EID_MEASURE_REQUEST,8,3   ; @WLAN_EID_MEASURE_REQUEST
l_.str.1:                               ; @.str.1
	.asciz	"RRM: Expected Measurement Request element, but EID is %u"

l_.str.2:                               ; @.str.2
	.asciz	"RRM: Element length too short"

l_.str.3:                               ; @.str.3
	.asciz	"RRM: Element length too long"

	.no_dead_strip	_wpas_rrm_process_msr_req_elems
.subsections_via_symbols
