	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_recv_loop                   ## -- Begin function dl_recv_loop
	.p2align	4, 0x90
_dl_recv_loop:                          ## @dl_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	16(%rbx), %rax
	movq	(%rax), %r15
	movq	8(%rax), %r12
	cmpl	$0, (%rbx)
	sete	%cl
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%r12, %r13
	subq	%r15, %r13
	testb	$1, %cl
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$4, %r13
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r15, %rdi
	callq	_dl_sscanf_uint32
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
	xorl	%ecx, %ecx
	testb	$1, %cl
	jne	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %cl
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rdx
	cmpq	%rdx, %r13
	jb	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dl_recv_packet
	addq	8(%rbx), %r15
	movl	$0, (%rbx)
	movq	$0, 8(%rbx)
	movb	$1, %cl
	testq	%rax, %rax
	je	LBB0_1
	jmp	LBB0_9
LBB0_8:
	movq	_DL_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_9:
	movq	16(%rbx), %rcx
	movq	%r15, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DL_SUCCESS,8,3                 ## @DL_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_recv_loop                   ; -- Begin function dl_recv_loop
	.p2align	2
_dl_recv_loop:                          ; @dl_recv_loop
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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]
	ldr	x8, [x21, #16]
	ldp	x19, x22, [x8]
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w8, eq
	mov	w23, #1
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	sub	x24, x22, x19
	tbz	w8, #0, LBB0_4
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x24, #4
	b.lo	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	x0, x19
	bl	_dl_sscanf_uint32
	mov	w8, #0
	str	x0, [x21, #8]
	str	w23, [x21]
	tbnz	w8, #0, LBB0_2
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	tbnz	w8, #0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x2, [x21, #8]
	cmp	x24, x2
	b.lo	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_dl_recv_packet
	ldr	x8, [x21, #8]
	add	x19, x19, x8
	str	wzr, [x21]
	str	xzr, [x21, #8]
	mov	w8, #1
	cbz	x0, LBB0_1
	b	LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _DL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DL_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
LBB0_8:
	ldr	x8, [x21, #16]
	str	x19, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DL_SUCCESS,8,3                 ; @DL_SUCCESS
.subsections_via_symbols
