	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_find_wpaie
_brcmf_find_wpaie:                      ## @brcmf_find_wpaie
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)
	movl	%esi, -44(%rbp)
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_brcmf_parse_tlvs
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	_TLV_OUI_LEN@GOTPCREL(%rip), %r13
	movq	_WPA_OUI_TYPE@GOTPCREL(%rip), %r14
	leaq	-56(%rbp), %r15
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_WPA_OUI@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	movl	(%r14), %r9d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_brcmf_tlv_has_ie
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	movl	-44(%rbp), %esi
	movq	_WLAN_EID_VENDOR_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_brcmf_parse_tlvs
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movq	%rbx, %rax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_VENDOR_SPECIFIC,4,2   ## @WLAN_EID_VENDOR_SPECIFIC
	.comm	_WPA_OUI,4,2                    ## @WPA_OUI
	.comm	_TLV_OUI_LEN,4,2                ## @TLV_OUI_LEN
	.comm	_WPA_OUI_TYPE,4,2               ## @WPA_OUI_TYPE
	.no_dead_strip	_brcmf_find_wpaie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_find_wpaie
_brcmf_find_wpaie:                      ; @brcmf_find_wpaie
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	str	x0, [sp, #8]
	str	w1, [sp, #4]
Lloh0:
	adrp	x20, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _WLAN_EID_VENDOR_SPECIFIC@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_brcmf_parse_tlvs
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x21, _WPA_OUI@GOTPAGE
Lloh3:
	ldr	x21, [x21, _WPA_OUI@GOTPAGEOFF]
Lloh4:
	adrp	x22, _TLV_OUI_LEN@GOTPAGE
Lloh5:
	ldr	x22, [x22, _TLV_OUI_LEN@GOTPAGEOFF]
Lloh6:
	adrp	x23, _WPA_OUI_TYPE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _WPA_OUI_TYPE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x21]
	ldr	w4, [x22]
	ldr	w5, [x23]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x19
	bl	_brcmf_tlv_has_ie
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #8]
	ldr	w1, [sp, #4]
	ldr	w2, [x20]
	bl	_brcmf_parse_tlvs
	mov	x19, x0
	cbnz	x0, LBB0_2
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_VENDOR_SPECIFIC,4,2   ; @WLAN_EID_VENDOR_SPECIFIC
	.comm	_WPA_OUI,4,2                    ; @WPA_OUI
	.comm	_TLV_OUI_LEN,4,2                ; @TLV_OUI_LEN
	.comm	_WPA_OUI_TYPE,4,2               ; @WPA_OUI_TYPE
	.no_dead_strip	_brcmf_find_wpaie
.subsections_via_symbols
