	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_parse_tlvs
_brcmf_parse_tlvs:                      ## @brcmf_parse_tlvs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TLV_HDR_LEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpl	%esi, %ecx
	jle	LBB0_1
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	%rdi, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rax,%rdi,4), %rax
	subl	%edi, %esi
	cmpl	%ecx, %esi
	jl	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rax), %rdi
	addq	%rcx, %rdi
	cmpq	%rdx, 8(%rax)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, %esi
	jl	LBB0_4
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLV_HDR_LEN,4,2                ## @TLV_HDR_LEN
	.no_dead_strip	_brcmf_parse_tlvs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_parse_tlvs
_brcmf_parse_tlvs:                      ; @brcmf_parse_tlvs
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TLV_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLV_HDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.gt	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x0]
	ldr	x10, [x0, #8]
	add	w9, w9, w8
	cmp	x10, x2
	ccmp	w1, w9, #8, eq
	b.ge	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x0, w9, sxtw #2
	sub	w1, w1, w9
	cmp	w1, w8
	b.ge	LBB0_1
LBB0_3:
	mov	x0, #0
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TLV_HDR_LEN,4,2                ; @TLV_HDR_LEN
	.no_dead_strip	_brcmf_parse_tlvs
.subsections_via_symbols
