	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_parse_wpa_ie               ## -- Begin function wpa_parse_wpa_ie
	.p2align	4, 0x90
_wpa_parse_wpa_ie:                      ## @wpa_parse_wpa_ie
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movl	(%r15), %eax
	movq	_WLAN_EID_RSN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_parse_wpa_ie_rsn           ## TAILCALL
LBB0_2:
	cmpq	$6, %rbx
	jb	LBB0_6
## %bb.3:
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.4:
	cmpl	$4, 4(%r15)
	jl	LBB0_6
## %bb.5:
	leaq	8(%r15), %rdi
	callq	_WPA_GET_BE32
	movq	_OSEN_IE_VENDOR_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_parse_wpa_ie_wpa           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_RSN,4,2               ## @WLAN_EID_RSN
	.comm	_WLAN_EID_VENDOR_SPECIFIC,4,2   ## @WLAN_EID_VENDOR_SPECIFIC
	.comm	_OSEN_IE_VENDOR_TYPE,8,3        ## @OSEN_IE_VENDOR_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_parse_wpa_ie               ; -- Begin function wpa_parse_wpa_ie
	.p2align	2
_wpa_parse_wpa_ie:                      ; @wpa_parse_wpa_ie
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	cbz	x1, LBB0_7
; %bb.1:
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _WLAN_EID_RSN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WLAN_EID_RSN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_wpa_parse_wpa_ie_rsn
LBB0_3:
	cmp	x20, #6
	b.lo	LBB0_7
; %bb.4:
Lloh3:
	adrp	x9, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x21, #4]
	cmp	w8, #4
	b.lt	LBB0_7
; %bb.6:
	add	x0, x21, #8
	bl	_WPA_GET_BE32
Lloh6:
	adrp	x8, _OSEN_IE_VENDOR_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSEN_IE_VENDOR_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
LBB0_7:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_wpa_parse_wpa_ie_wpa
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_RSN,4,2               ; @WLAN_EID_RSN
	.comm	_WLAN_EID_VENDOR_SPECIFIC,4,2   ; @WLAN_EID_VENDOR_SPECIFIC
	.comm	_OSEN_IE_VENDOR_TYPE,8,3        ; @OSEN_IE_VENDOR_TYPE
.subsections_via_symbols
