	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_work_resend_request_ext        ## -- Begin function work_resend_request_ext
	.p2align	4, 0x90
_work_resend_request_ext:               ## @work_resend_request_ext
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_vkprintf
	movl	4(%r14), %ebx
	cmpl	$408, %ebx                      ## imm = 0x198
	jg	LBB0_7
## %bb.1:
	leaq	4(%r14), %rdi
	leaq	_work_resend_request_ext.P(%rip), %r15
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_rwm_fetch_data
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	sete	%dil
	callq	_assert
	movl	_work_resend_request_ext.P+4(%rip), %eax
	leal	8(,%rax,8), %eax
	cmpl	%ebx, %eax
	jne	LBB0_7
## %bb.2:
	movl	_work_resend_request_ext.P(%rip), %eax
	movq	_TL_UDP_RESEND_REQUEST_EXT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movl	_work_resend_request_ext.P+4(%rip), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r15,%rbx,8), %esi
	movl	12(%r15,%rbx,8), %edx
	cmpl	%edx, %esi
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %edi
	movl	$1, %ecx
	callq	_resend_range
	movl	_work_resend_request_ext.P+4(%rip), %eax
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"work_resend_request: len = %d\n"

.zerofill __DATA,__bss,_work_resend_request_ext.P,408,4 ## @work_resend_request_ext.P
	.comm	_TL_UDP_RESEND_REQUEST_EXT,4,2  ## @TL_UDP_RESEND_REQUEST_EXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_work_resend_request_ext        ; -- Begin function work_resend_request_ext
	.p2align	2
_work_resend_request_ext:               ; @work_resend_request_ext
	.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
	mov	x19, x0
	mov	x22, x0
	ldr	w2, [x22, #4]!
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	ldr	w21, [x22]
	cmp	w21, #408
	b.gt	LBB0_7
; %bb.1:
Lloh2:
	adrp	x20, _work_resend_request_ext.P@PAGE
Lloh3:
	add	x20, x20, _work_resend_request_ext.P@PAGEOFF
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_rwm_fetch_data
	cmp	w0, w21
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20, #4]
	lsl	w8, w8, #3
	add	w8, w8, #8
	cmp	w8, w21
	b.ne	LBB0_7
; %bb.2:
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _TL_UDP_RESEND_REQUEST_EXT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TL_UDP_RESEND_REQUEST_EXT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x20, #0
Lloh7:
	adrp	x21, _work_resend_request_ext.P@PAGE+12
Lloh8:
	add	x21, x21, _work_resend_request_ext.P@PAGEOFF+12
	adrp	x22, _work_resend_request_ext.P@PAGE+4
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	add	x21, x21, #8
	cmp	x20, w8, sxtw
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w2, [x21, #-4]
	cmp	w1, w2
	b.gt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	mov	w3, #1
	bl	_resend_range
	ldr	w8, [x22, _work_resend_request_ext.P@PAGEOFF+4]
	b	LBB0_4
LBB0_7:
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"work_resend_request: len = %d\n"

.zerofill __DATA,__bss,_work_resend_request_ext.P,408,2 ; @work_resend_request_ext.P
	.comm	_TL_UDP_RESEND_REQUEST_EXT,4,2  ; @TL_UDP_RESEND_REQUEST_EXT
.subsections_via_symbols
