	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function serverinfo_find_extension
_serverinfo_find_extension:             ## @serverinfo_find_extension
	.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	$0, (%rcx)
	movq	$0, (%r8)
	movl	$-1, %ebx
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movl	%edx, %r12d
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.2:
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdi, %rsi
	leaq	-48(%rbp), %rdi
	callq	_PACKET_buf_init
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	movl	$0, -44(%rbp)
	movq	$0, -64(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	leaq	-48(%rbp), %r13
	movl	$-1, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	leaq	-64(%rbp), %rsi
	callq	_PACKET_get_net_4
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	leaq	-44(%rbp), %rsi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	leaq	-52(%rbp), %rsi
	callq	_PACKET_get_length_prefixed_2
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r12d, -44(%rbp)
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, -44(%rbp)
	movq	$0, -64(%rbp)
	movq	%r13, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	jne	LBB0_5
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_9:
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_PACKET_data
	movq	%rax, (%r15)
	movq	%rbx, %rdi
	callq	_PACKET_remaining
	movq	%rax, (%r14)
	movl	$1, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_serverinfo_find_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function serverinfo_find_extension
_serverinfo_find_extension:             ; @serverinfo_find_extension
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x2
	mov	x2, x1
	mov	x1, x0
	str	xzr, [x3]
	str	xzr, [x4]
	mov	w0, #-1
	cbz	x1, LBB0_10
; %bb.1:
	cbz	x2, LBB0_10
; %bb.2:
	mov	x19, x4
	mov	x20, x3
	add	x0, sp, #28
	bl	_PACKET_buf_init
	cbz	w0, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [sp, #20]
	str	xzr, [sp, #8]
	add	x0, sp, #28
	bl	_PACKET_remaining
	cbz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #28
	add	x1, sp, #8
	bl	_PACKET_get_net_4
	cbz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #28
	add	x1, sp, #20
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #28
	add	x1, sp, #24
	bl	_PACKET_get_length_prefixed_2
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #20]
	cmp	w8, w21
	b.ne	LBB0_3
; %bb.8:
	add	x0, sp, #24
	bl	_PACKET_data
	str	x0, [x20]
	add	x0, sp, #24
	bl	_PACKET_remaining
	str	x0, [x19]
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_serverinfo_find_extension
.subsections_via_symbols
