	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_work_resend_request            ## -- Begin function work_resend_request
	.p2align	4, 0x90
_work_resend_request:                   ## @work_resend_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	4(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_vkprintf
	cmpl	$12, 4(%rbx)
	jne	LBB0_3
## %bb.1:
	leaq	4(%rbx), %rdi
	leaq	-28(%rbp), %rsi
	movl	$12, %edx
	callq	_rwm_fetch_data
	xorl	%edi, %edi
	cmpl	$12, %eax
	sete	%dil
	callq	_assert
	movl	-28(%rbp), %eax
	movq	_TL_UDP_RESEND_REQUEST@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movl	-24(%rbp), %esi
	movl	-20(%rbp), %edx
	cmpl	%edx, %esi
	jg	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	movl	$1, %ecx
	callq	_resend_range
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"work_resend_request: len = %d\n"

	.comm	_TL_UDP_RESEND_REQUEST,4,2      ## @TL_UDP_RESEND_REQUEST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_work_resend_request            ; -- Begin function work_resend_request
	.p2align	2
_work_resend_request:                   ; @work_resend_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x20, x0
	ldr	w2, [x20, #4]!
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	ldr	w8, [x20]
	cmp	w8, #12
	b.ne	LBB0_3
; %bb.1:
	add	x1, sp, #12
	mov	x0, x20
	mov	w2, #12
	bl	_rwm_fetch_data
	cmp	w0, #12
	cset	w0, eq
	bl	_assert
	ldr	w8, [sp, #12]
Lloh5:
	adrp	x9, _TL_UDP_RESEND_REQUEST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TL_UDP_RESEND_REQUEST@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldp	w1, w2, [sp, #16]
	cmp	w1, w2
	b.gt	LBB0_3
; %bb.2:
	ldr	w0, [x19]
	mov	w3, #1
	bl	_resend_range
LBB0_3:
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"work_resend_request: len = %d\n"

	.comm	_TL_UDP_RESEND_REQUEST,4,2      ; @TL_UDP_RESEND_REQUEST
.subsections_via_symbols
