	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_query_tx                       ## -- Begin function query_tx
	.p2align	4, 0x90
_query_tx:                              ## @query_tx
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, %r12d
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rcx, %rdi
	callq	_get_cluster_by_id
	movq	_CC@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	_RPC_FUN_QUERY_ON_ANSWER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rdx
	addq	%rax, %rdx
	movq	%rdx, -56(%rbp)
	movq	_RPC_FUN_QUERY_ON_ALARM@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx,%rdx,8), %rdx
	addq	%rax, %rdx
	movq	%rdx, -64(%rbp)
	movq	_RPC_FUN_QUERY_ON_FREE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	(%rcx,%rdx,8), %rax
	movq	%rax, -72(%rbp)
	movq	_tl_type_none@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %esi
	movq	-56(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-72(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	movq	%r13, %rdx
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_create_rpc_query
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_assert
	movl	$40, %edi
	callq	_zmalloc
	movq	%rax, %rbx
	movq	$0, 32(%rax)
	movl	%r12d, (%rax)
	movl	%r12d, %edi
	callq	_malloc
	movl	%eax, 28(%rbx)
	movl	(%rbx), %edx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_memcpy
	movl	(%r15), %eax
	movl	%eax, 24(%rbx)
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rbx)
	movl	$1, 16(%rbx)
	movq	%rbx, (%r13)
	movq	_secure_send_s0@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%eax, %eax
	callq	_log_cur_pos
	movl	%eax, %edi
	movl	$1, %esi
	callq	_insert_binlog_pos
	xorl	%eax, %eax
	callq	_log_cur_pos
	movl	%eax, 20(%rbx)
	addq	$56, %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_FUN_QUERY_ON_ANSWER,8,3    ## @RPC_FUN_QUERY_ON_ANSWER
	.comm	_RPC_FUN_QUERY_ON_ALARM,8,3     ## @RPC_FUN_QUERY_ON_ALARM
	.comm	_RPC_FUN_QUERY_ON_FREE,8,3      ## @RPC_FUN_QUERY_ON_FREE
	.comm	_tl_type_none,4,2               ## @tl_type_none
	.comm	_secure_send_s0,4,2             ## @secure_send_s0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_query_tx                       ; -- Begin function query_tx
	.p2align	2
_query_tx:                              ; @query_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x20, x5
	mov	x21, x4
	fmov	d8, d0
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x3
	bl	_get_cluster_by_id
Lloh0:
	adrp	x8, _CC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CC@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x8, _RPC_FUN_QUERY_ON_ANSWER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RPC_FUN_QUERY_ON_ANSWER@GOTPAGEOFF]
	ldp	x10, x9, [x0]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x10, x8, lsl #3]
Lloh6:
	adrp	x11, _RPC_FUN_QUERY_ON_ALARM@GOTPAGE
Lloh7:
	ldr	x11, [x11, _RPC_FUN_QUERY_ON_ALARM@GOTPAGEOFF]
	add	x8, x8, x9
Lloh8:
	ldr	x11, [x11]
	ldr	x11, [x10, x11, lsl #3]
Lloh9:
	adrp	x12, _RPC_FUN_QUERY_ON_FREE@GOTPAGE
Lloh10:
	ldr	x12, [x12, _RPC_FUN_QUERY_ON_FREE@GOTPAGEOFF]
	add	x11, x11, x9
Lloh11:
	ldr	x12, [x12]
	ldr	x10, [x10, x12, lsl #3]
Lloh12:
	adrp	x12, _tl_type_none@GOTPAGE
Lloh13:
	ldr	x12, [x12, _tl_type_none@GOTPAGEOFF]
	add	x9, x10, x9
Lloh14:
	ldr	w3, [x12]
	ldr	w1, [x19]
	stp	x9, x11, [sp, #8]
	str	x8, [sp, #24]
	add	x4, sp, #8
	mov	x0, x23
	mov	x2, x22
	fmov	d0, d8
	bl	_create_rpc_query
	mov	x22, x0
	bl	_assert
	mov	w0, #40
	bl	_zmalloc
	mov	x23, x0
	str	xzr, [x0, #32]
	str	w21, [x0]
	mov	x0, x21
	bl	_malloc
	str	w0, [x23, #28]
	ldr	w2, [x23]
	mov	x1, x20
	bl	_memcpy
	ldr	w8, [x19]
	str	w8, [x23, #24]
	str	d8, [x23, #8]
	mov	w8, #1
	str	w8, [x23, #16]
	str	x23, [x22]
Lloh15:
	adrp	x8, _secure_send_s0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _secure_send_s0@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_log_cur_pos
	mov	w1, #1
	bl	_insert_binlog_pos
	bl	_log_cur_pos
	str	w0, [x23, #20]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CC,8,3                         ; @CC
	.comm	_RPC_FUN_QUERY_ON_ANSWER,8,3    ; @RPC_FUN_QUERY_ON_ANSWER
	.comm	_RPC_FUN_QUERY_ON_ALARM,8,3     ; @RPC_FUN_QUERY_ON_ALARM
	.comm	_RPC_FUN_QUERY_ON_FREE,8,3      ; @RPC_FUN_QUERY_ON_FREE
	.comm	_tl_type_none,4,2               ; @tl_type_none
	.comm	_secure_send_s0,4,2             ; @secure_send_s0
.subsections_via_symbols
