	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_parse_vendor_ext_wfa
_wps_parse_vendor_ext_wfa:              ## @wps_parse_vendor_ext_wfa
	.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
	xorl	%r14d, %r14d
	cmpl	$2, %edx
	jl	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	movslq	%edx, %rax
	leaq	(%rsi,%rax,4), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	8(%rsi), %r12
	movslq	4(%rsi), %rbx
	movq	%r13, %rax
	subq	%r12, %rax
	sarq	$2, %rax
	cmpq	%rbx, %rax
	jl	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rsi), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movq	%r12, %rcx
	callq	_wps_set_vendor_ext_wfa_subelem
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%rbx,4), %rsi
	movq	%r13, %rax
	subq	%rsi, %rax
	cmpq	$4, %rax
	jg	LBB0_2
	jmp	LBB0_6
LBB0_4:
	movl	$-1, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wps_parse_vendor_ext_wfa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_parse_vendor_ext_wfa
_wps_parse_vendor_ext_wfa:              ; @wps_parse_vendor_ext_wfa
	.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
	cmp	w2, #2
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x0
	add	x22, x1, w2, sxtw #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x1, #8
	ldrsw	x21, [x1, #4]
	sub	x8, x22, x20
	cmp	x21, x8, asr #2
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x1]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_wps_set_vendor_ext_wfa_subelem
	tbnz	x0, #63, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x20, x21, lsl #2
	sub	x8, x22, x1
	cmp	x8, #4
	b.gt	LBB0_2
LBB0_5:
	mov	w0, #0
LBB0_6:
	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
LBB0_7:
	mov	w0, #-1
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wps_parse_vendor_ext_wfa
.subsections_via_symbols
