	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_rm_handle_beacon_req_subelem
_wpas_rm_handle_beacon_req_subelem:     ## @wpas_rm_handle_beacon_req_subelem
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movl	$1, %r14d
	leal	-128(%rdx), %eax
	cmpl	$5, %eax
	ja	LBB0_5
## %bb.1:
	movq	%r8, %r15
	movl	%ecx, %ebx
	movq	%rsi, %r12
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_28
## %bb.3:
	movq	_SSID_MAX_LEN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jge	LBB0_29
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_24
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_16
LBB0_6:
	movl	4(%r12), %edx
	movq	_BEACON_REPORT_DETAIL_REQUESTED_ONLY@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_20
## %bb.7:
	testl	%ebx, %ebx
	je	LBB0_30
## %bb.8:
	cmpl	$0, 12(%r12)
	je	LBB0_31
## %bb.9:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
LBB0_10:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_26
LBB0_11:
	cmpl	$1, %ebx
	jne	LBB0_21
## %bb.12:
	movl	(%r15), %eax
	movl	%eax, 8(%r12)
	jmp	LBB0_27
LBB0_13:
	cmpl	$2, %ebx
	jne	LBB0_22
## %bb.14:
	movl	(%r15), %edx
	testl	%edx, %edx
	je	LBB0_27
## %bb.15:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r14d, %r14d
LBB0_16:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_27
LBB0_17:
	cmpl	$1, %ebx
	jne	LBB0_23
## %bb.18:
	movl	(%r15), %eax
	movl	%eax, 4(%r12)
	movq	_BEACON_REPORT_DETAIL_ALL_FIELDS_AND_ELEMENTS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_27
## %bb.19:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_25
LBB0_20:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_25
LBB0_21:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_24
LBB0_22:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_24
LBB0_23:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_24:
	movl	%ebx, %edx
LBB0_25:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_26:
	movl	$-1, %r14d
LBB0_27:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_27
LBB0_29:
	movl	%ebx, (%r12)
	movl	16(%r12), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_os_memcpy
	jmp	LBB0_27
LBB0_30:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%edx, %edx
	jmp	LBB0_25
LBB0_31:
	movl	$255, %edi
	callq	_bitfield_alloc
	movl	%eax, 12(%r12)
	testl	%eax, %eax
	je	LBB0_36
## %bb.32:
	testl	%ebx, %ebx
	jle	LBB0_27
## %bb.33:
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	_bitfield_set
	cmpl	$1, %ebx
	je	LBB0_27
## %bb.34:
	movl	%ebx, %r13d
	movl	$1, %ebx
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movl	12(%r12), %edi
	movl	(%r15,%rbx,4), %esi
	callq	_bitfield_set
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_35
	jmp	LBB0_27
LBB0_36:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_27
	.end_data_region
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSID subelement with zero length - wildcard SSID"

	.comm	_SSID_MAX_LEN,4,2               ## @SSID_MAX_LEN
L_.str.1:                               ## @.str.1
	.asciz	"Invalid SSID subelement length: %u"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid reporting information subelement length: %u"

L_.str.3:                               ## @.str.3
	.asciz	"reporting information=%u is not supported"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid reporting detail subelement length: %u"

	.comm	_BEACON_REPORT_DETAIL_ALL_FIELDS_AND_ELEMENTS,4,2 ## @BEACON_REPORT_DETAIL_ALL_FIELDS_AND_ELEMENTS
L_.str.5:                               ## @.str.5
	.asciz	"Invalid reporting detail: %u"

	.comm	_BEACON_REPORT_DETAIL_REQUESTED_ONLY,4,2 ## @BEACON_REPORT_DETAIL_REQUESTED_ONLY
L_.str.6:                               ## @.str.6
	.asciz	"Beacon request: request subelement is present but report detail is %u"

L_.str.7:                               ## @.str.7
	.asciz	"Invalid request subelement length: %u"

L_.str.8:                               ## @.str.8
	.asciz	"Beacon Request: Request subelement appears more than once"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to allocate EIDs bitmap"

L_.str.10:                              ## @.str.10
	.asciz	"Beacon request: Invalid last indication request subelement length: %u"

L_.str.11:                              ## @.str.11
	.asciz	"Beacon request: Unknown subelement id %u"

	.no_dead_strip	_wpas_rm_handle_beacon_req_subelem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_rm_handle_beacon_req_subelem
_wpas_rm_handle_beacon_req_subelem:     ; @wpas_rm_handle_beacon_req_subelem
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	sub	w8, w2, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x19, x1
	mov	w0, #1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	cbz	w21, LBB0_22
; %bb.3:
Lloh2:
	adrp	x8, _SSID_MAX_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSID_MAX_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ge	LBB0_25
; %bb.4:
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_27
LBB0_5:
Lloh10:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	x2, [sp]
Lloh13:
	adrp	x1, l_.str.11@PAGE
Lloh14:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_23
LBB0_6:
	ldr	w8, [x19, #4]
Lloh15:
	adrp	x9, _BEACON_REPORT_DETAIL_REQUESTED_ONLY@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BEACON_REPORT_DETAIL_REQUESTED_ONLY@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.7:
	cbz	w21, LBB0_26
; %bb.8:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_29
; %bb.9:
Lloh18:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.8@PAGE
Lloh22:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_27
LBB0_10:
	cmp	w21, #1
	b.ne	LBB0_19
; %bb.11:
	ldr	w8, [x20]
	str	w8, [x19, #8]
	b	LBB0_24
LBB0_12:
	cmp	w21, #2
	b.ne	LBB0_20
; %bb.13:
	ldr	w8, [x20]
	cbz	w8, LBB0_24
; %bb.14:
Lloh23:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	mov	w0, #0
	b	LBB0_28
LBB0_15:
	cmp	w21, #1
	b.ne	LBB0_21
; %bb.16:
	ldr	w8, [x20]
	str	w8, [x19, #4]
Lloh28:
	adrp	x9, _BEACON_REPORT_DETAIL_ALL_FIELDS_AND_ELEMENTS@GOTPAGE
Lloh29:
	ldr	x9, [x9, _BEACON_REPORT_DETAIL_ALL_FIELDS_AND_ELEMENTS@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_24
; %bb.17:
Lloh31:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_27
LBB0_18:
Lloh36:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_27
LBB0_19:
Lloh41:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh44:
	adrp	x1, l_.str.10@PAGE
Lloh45:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_27
LBB0_20:
Lloh46:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh49:
	adrp	x1, l_.str.2@PAGE
Lloh50:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_27
LBB0_21:
Lloh51:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh54:
	adrp	x1, l_.str.4@PAGE
Lloh55:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_27
LBB0_22:
Lloh56:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
Lloh59:
	adrp	x1, l_.str@PAGE
Lloh60:
	add	x1, x1, l_.str@PAGEOFF
LBB0_23:
	bl	_wpa_printf
LBB0_24:
	mov	w0, #1
	b	LBB0_28
LBB0_25:
	str	w21, [x19]
	ldr	w0, [x19, #16]
	mov	x1, x20
	mov	x2, x21
	bl	_os_memcpy
	b	LBB0_24
LBB0_26:
Lloh61:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
	str	xzr, [sp]
Lloh64:
	adrp	x1, l_.str.7@PAGE
Lloh65:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_27:
	bl	_wpa_printf
	mov	w0, #-1
LBB0_28:
	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
LBB0_29:
	mov	w0, #255
	bl	_bitfield_alloc
	str	w0, [x19, #12]
	cbz	w0, LBB0_34
; %bb.30:
	cmp	w21, #1
	b.lt	LBB0_24
; %bb.31:
	ldr	w1, [x20]
	bl	_bitfield_set
	cmp	w21, #1
	b.eq	LBB0_24
; %bb.32:
	mov	w8, w21
	sub	x21, x8, #1
	add	x20, x20, #4
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #12]
	ldr	w1, [x20], #4
	bl	_bitfield_set
	mov	w0, #1
	subs	x21, x21, #1
	b.ne	LBB0_33
	b	LBB0_28
LBB0_34:
Lloh66:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh67:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
Lloh69:
	adrp	x1, l_.str.9@PAGE
Lloh70:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_27
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_28-LBB0_2)>>2
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSID subelement with zero length - wildcard SSID"

	.comm	_SSID_MAX_LEN,4,2               ; @SSID_MAX_LEN
l_.str.1:                               ; @.str.1
	.asciz	"Invalid SSID subelement length: %u"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid reporting information subelement length: %u"

l_.str.3:                               ; @.str.3
	.asciz	"reporting information=%u is not supported"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid reporting detail subelement length: %u"

	.comm	_BEACON_REPORT_DETAIL_ALL_FIELDS_AND_ELEMENTS,4,2 ; @BEACON_REPORT_DETAIL_ALL_FIELDS_AND_ELEMENTS
l_.str.5:                               ; @.str.5
	.asciz	"Invalid reporting detail: %u"

	.comm	_BEACON_REPORT_DETAIL_REQUESTED_ONLY,4,2 ; @BEACON_REPORT_DETAIL_REQUESTED_ONLY
l_.str.6:                               ; @.str.6
	.asciz	"Beacon request: request subelement is present but report detail is %u"

l_.str.7:                               ; @.str.7
	.asciz	"Invalid request subelement length: %u"

l_.str.8:                               ; @.str.8
	.asciz	"Beacon Request: Request subelement appears more than once"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to allocate EIDs bitmap"

l_.str.10:                              ; @.str.10
	.asciz	"Beacon request: Invalid last indication request subelement length: %u"

l_.str.11:                              ; @.str.11
	.asciz	"Beacon request: Unknown subelement id %u"

	.no_dead_strip	_wpas_rm_handle_beacon_req_subelem
.subsections_via_symbols
