	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wi_recv_loop                   ## -- Begin function wi_recv_loop
	.p2align	4, 0x90
_wi_recv_loop:                          ## @wi_recv_loop
	.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, %r14
	movq	8(%rdi), %rbx
	movq	16(%rbx), %rax
	movq	(%rax), %r12
	movq	8(%rax), %r13
	leaq	-56(%rbp), %r15
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	subq	%r12, %r13
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpq	$4, %r13
	jb	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_wi_parse_length
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	-56(%rbp), %rax
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rdx
	addq	$4, %rdx
	cmpq	%rdx, %r13
	jb	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*(%r14)
	movq	8(%rbx), %rcx
	addq	%rcx, %r12
	addq	$4, %r12
	movl	$0, (%rbx)
	movq	$0, 8(%rbx)
	testq	%rax, %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_1
	jmp	LBB0_11
LBB0_6:
	addq	$4, %r12
LBB0_11:
	movq	16(%rbx), %rcx
	movq	%r12, (%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_WI_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_WI_SUCCESS,8,3                 ## @WI_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wi_recv_loop                   ; -- Begin function wi_recv_loop
	.p2align	2
_wi_recv_loop:                          ; @wi_recv_loop
	.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
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldr	x8, [x21, #16]
	ldp	x19, x22, [x8]
	mov	w23, #1
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	sub	x24, x22, x19
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21]
	cmp	w8, #0
	ccmp	x24, #4, #0, eq
	b.lo	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_wi_parse_length
	cbnz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=2
	ldr	x8, [sp, #8]
	str	x8, [x21, #8]
	str	w23, [x21]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbz	w8, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x21, #8]
	add	x2, x8, #4
	cmp	x24, x2
	b.lo	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
	ldr	x8, [x21, #8]
	add	x8, x8, x19
	add	x19, x8, #4
	str	wzr, [x21]
	str	xzr, [x21, #8]
	cbz	x0, LBB0_1
	b	LBB0_9
LBB0_8:
	add	x19, x19, #4
LBB0_9:
	ldr	x8, [x21, #16]
	str	x19, [x8]
	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
LBB0_10:
Lloh0:
	adrp	x8, _WI_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WI_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WI_SUCCESS,8,3                 ; @WI_SUCCESS
.subsections_via_symbols
