	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_rrm_refuse_request        ## -- Begin function wpas_rrm_refuse_request
	.p2align	4, 0x90
_wpas_rrm_refuse_request:               ## @wpas_rrm_refuse_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_is_multicast_ether_addr
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	movq	%rbx, %rdi
	callq	_wpas_clear_beacon_rep_data
	jmp	LBB0_4
LBB0_1:
	movq	$0, -16(%rbp)
	movl	(%rbx), %esi
	movq	_MEASUREMENT_REPORT_MODE_REJECT_REFUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MEASURE_TYPE_BEACON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-16(%rbp), %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_wpas_rrm_report_elem
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	-16(%rbp), %rdi
	callq	_wpabuf_free
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_wpas_rrm_send_msr_report
	movq	-16(%rbp), %rdi
	callq	_wpabuf_free
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_MEASUREMENT_REPORT_MODE_REJECT_REFUSED,4,2 ## @MEASUREMENT_REPORT_MODE_REJECT_REFUSED
	.comm	_MEASURE_TYPE_BEACON,4,2        ## @MEASURE_TYPE_BEACON
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RRM: Memory allocation failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_rrm_refuse_request        ; -- Begin function wpas_rrm_refuse_request
	.p2align	2
_wpas_rrm_refuse_request:               ; @wpas_rrm_refuse_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_is_multicast_ether_addr
	cbz	w0, LBB0_2
LBB0_1:
	mov	x0, x19
	bl	_wpas_clear_beacon_rep_data
	b	LBB0_4
LBB0_2:
	str	xzr, [sp, #8]
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _MEASUREMENT_REPORT_MODE_REJECT_REFUSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEASUREMENT_REPORT_MODE_REJECT_REFUSED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _MEASURE_TYPE_BEACON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MEASURE_TYPE_BEACON@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x4, #0
	mov	w5, #0
	bl	_wpas_rrm_report_elem
	cbz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [sp, #8]
	bl	_wpabuf_free
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_wpas_rrm_send_msr_report
	ldr	x0, [sp, #8]
	bl	_wpabuf_free
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MEASUREMENT_REPORT_MODE_REJECT_REFUSED,4,2 ; @MEASUREMENT_REPORT_MODE_REJECT_REFUSED
	.comm	_MEASURE_TYPE_BEACON,4,2        ; @MEASURE_TYPE_BEACON
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RRM: Memory allocation failed"

.subsections_via_symbols
