	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resend_one                     ## -- Begin function resend_one
	.p2align	4, 0x90
_resend_one:                            ## @resend_one
	.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	56(%rdi), %rax
	movq	_CC@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	xorl	%r15d, %r15d
	cmpl	%esi, (%rax)
	jle	LBB0_5
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	8(%rdi), %edi
	callq	_get_free_rpc_qid
	movq	%rax, %r14
	movq	(%r13), %rax
	movslq	%ebx, %r13
	leaq	(,%r13,4), %rdi
	addq	8(%rax), %rdi
	movq	%r14, %rsi
	callq	_rpc_proxy_store_init
	testq	%rax, %rax
	jle	LBB0_5
## %bb.2:
	movq	48(%r12), %rdi
	movq	%r14, (%rdi)
	callq	_assert
	movq	48(%r12), %rdi
	callq	_tl_store_header
	movq	32(%r12), %rdi
	callq	_assert
	movq	40(%r12), %rbx
	movl	8(%rbx), %edi
	callq	_tl_store_int
	movl	4(%rbx), %edi
	callq	_tl_store_int
	movl	(%rbx), %edi
	callq	_tl_store_int
	movq	32(%r12), %rdi
	movl	24(%r12), %esi
	callq	_tl_store_raw_data
	movq	_RPC_INVOKE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tl_store_end_ext
	movq	16(%r12), %rax
	cmpl	$0, (%rax,%r13,8)
	jle	LBB0_4
## %bb.3:
	movl	4(%rax,%r13,8), %edi
	callq	_free
	movq	16(%r12), %rax
LBB0_4:
	movl	$-2, (%rax,%r13,8)
	movl	12(%r12), %esi
	movl	4(%r12), %ecx
	movl	8(%r12), %edx
	movq	_merge_query_type@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	xorl	%r9d, %r9d
	callq	_create_rpc_query
	movq	%rax, %rbx
	movl	$16, %edi
	callq	_malloc
	movq	%rax, (%rbx)
	movq	%r12, (%rax)
	movq	%r13, 8(%rax)
	incl	(%r12)
	movl	$1, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CC,8,3                         ## @CC
	.comm	_RPC_INVOKE_REQ,4,2             ## @RPC_INVOKE_REQ
	.comm	_merge_query_type,4,2           ## @merge_query_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resend_one                     ; -- Begin function resend_one
	.p2align	2
_resend_one:                            ; @resend_one
	.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
	ldr	x8, [x0, #56]
Lloh0:
	adrp	x22, _CC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CC@GOTPAGEOFF]
	str	x8, [x22]
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_get_free_rpc_qid
	mov	x20, x0
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	add	x0, x8, w21, sxtw #2
	mov	x1, x20
	bl	_rpc_proxy_store_init
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.2:
	sxtw	x21, w21
	ldr	x0, [x19, #48]
	str	x20, [x0]
	bl	_assert
	ldr	x0, [x19, #48]
	bl	_tl_store_header
	ldr	x0, [x19, #32]
	bl	_assert
	ldr	x22, [x19, #40]
	ldr	w0, [x22, #8]
	bl	_tl_store_int
	ldr	w0, [x22, #4]
	bl	_tl_store_int
	ldr	w0, [x22]
	bl	_tl_store_int
	ldr	x0, [x19, #32]
	ldr	w1, [x19, #24]
	bl	_tl_store_raw_data
Lloh2:
	adrp	x8, _RPC_INVOKE_REQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RPC_INVOKE_REQ@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_tl_store_end_ext
	ldr	x8, [x19, #16]
	lsl	x22, x21, #3
	ldr	w9, [x8, x22]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.3:
	add	x8, x8, x21, lsl #3
	ldr	w0, [x8, #4]
	bl	_free
	ldr	x8, [x19, #16]
LBB0_4:
	mov	w9, #-2
	str	w9, [x8, x22]
	ldp	w2, w1, [x19, #8]
	ldr	w3, [x19, #4]
Lloh5:
	adrp	x8, _merge_query_type@GOTPAGE
Lloh6:
	ldr	x8, [x8, _merge_query_type@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w5, #0
	bl	_create_rpc_query
	mov	x20, x0
	mov	w0, #16
	bl	_malloc
	str	x0, [x20]
	stp	x19, x21, [x0]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CC,8,3                         ; @CC
	.comm	_RPC_INVOKE_REQ,4,2             ; @RPC_INVOKE_REQ
	.comm	_merge_query_type,4,2           ; @merge_query_type
.subsections_via_symbols
