	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_parse_vendor_specific
_wpa_parse_vendor_specific:             ## @wpa_parse_vendor_specific
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	4(%rdi), %edx
	cmpl	$3, %edx
	jg	LBB0_2
## %bb.1:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$1, %r12d
	jmp	LBB0_10
LBB0_2:
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_WPA_GET_BE24
	movq	_OUI_MICROSOFT@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.3:
	movl	20(%rbx), %eax
	movq	_WMM_OUI_TYPE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.4:
	movl	4(%rbx), %ecx
	cmpl	$5, %ecx
	jl	LBB0_10
## %bb.5:
	movl	24(%rbx), %eax
	movq	_WMM_OUI_SUBTYPE_INFORMATION_ELEMENT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_7
## %bb.6:
	movq	%r14, (%r15)
	movl	%ecx, 8(%r15)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	movq	_WMM_OUI_SUBTYPE_PARAMETER_ELEMENT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_10
## %bb.8:
	movq	%r14, (%r15)
	movl	%ecx, 8(%r15)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	%r14, %rdx
	callq	_wpa_hexdump
LBB0_10:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Too short vendor specific IE ignored (len=%u)"

	.comm	_OUI_MICROSOFT,4,2              ## @OUI_MICROSOFT
	.comm	_WMM_OUI_TYPE,4,2               ## @WMM_OUI_TYPE
	.comm	_WMM_OUI_SUBTYPE_INFORMATION_ELEMENT,4,2 ## @WMM_OUI_SUBTYPE_INFORMATION_ELEMENT
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"WPA: WMM IE"

	.comm	_WMM_OUI_SUBTYPE_PARAMETER_ELEMENT,4,2 ## @WMM_OUI_SUBTYPE_PARAMETER_ELEMENT
L_.str.2:                               ## @.str.2
	.asciz	"WPA: WMM Parameter Element"

	.no_dead_strip	_wpa_parse_vendor_specific
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_parse_vendor_specific
_wpa_parse_vendor_specific:             ; @wpa_parse_vendor_specific
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	ldr	w2, [x0, #4]
	cmp	w2, #3
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #1
	b	LBB0_11
LBB0_2:
	mov	x21, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_WPA_GET_BE24
Lloh5:
	adrp	x8, _OUI_MICROSOFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OUI_MICROSOFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.3:
	ldr	w8, [x21, #20]
Lloh8:
	adrp	x9, _WMM_OUI_TYPE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WMM_OUI_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.4:
	ldr	w3, [x21, #4]
	cmp	w3, #5
	b.lt	LBB0_10
; %bb.5:
	ldr	w8, [x21, #24]
Lloh11:
	adrp	x9, _WMM_OUI_SUBTYPE_INFORMATION_ELEMENT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _WMM_OUI_SUBTYPE_INFORMATION_ELEMENT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.6:
	str	x19, [x20]
	str	w3, [x20, #8]
Lloh14:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh19:
	adrp	x9, _WMM_OUI_SUBTYPE_PARAMETER_ELEMENT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _WMM_OUI_SUBTYPE_PARAMETER_ELEMENT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.8:
	str	x19, [x20]
	str	w3, [x20, #8]
Lloh22:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_9:
	mov	x2, x19
	bl	_wpa_hexdump
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Too short vendor specific IE ignored (len=%u)"

	.comm	_OUI_MICROSOFT,4,2              ; @OUI_MICROSOFT
	.comm	_WMM_OUI_TYPE,4,2               ; @WMM_OUI_TYPE
	.comm	_WMM_OUI_SUBTYPE_INFORMATION_ELEMENT,4,2 ; @WMM_OUI_SUBTYPE_INFORMATION_ELEMENT
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"WPA: WMM IE"

	.comm	_WMM_OUI_SUBTYPE_PARAMETER_ELEMENT,4,2 ; @WMM_OUI_SUBTYPE_PARAMETER_ELEMENT
l_.str.2:                               ; @.str.2
	.asciz	"WPA: WMM Parameter Element"

	.no_dead_strip	_wpa_parse_vendor_specific
.subsections_via_symbols
