	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__secure_receive_on_alarm       ## -- Begin function _secure_receive_on_alarm
	.p2align	4, 0x90
__secure_receive_on_alarm:              ## @_secure_receive_on_alarm
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	(%rsi), %rbx
	movl	$48, %edi
	callq	_zmalloc
	movq	%rax, %r12
	movq	$0, 40(%rax)
	movl	12(%rbx), %eax
	movl	%eax, 28(%r12)
	movl	8(%rbx), %eax
	movl	%eax, 24(%r12)
	movq	_RPC_REQ_ERROR_WRAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_precise_now@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	subq	(%rbx), %rdx
	leaq	__secure_receive_on_alarm.buf+1(%rip), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	leaq	__secure_receive_on_alarm.buf(%rip), %r15
	movq	_TL_ERROR_QUERY_TIMEOUT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_tl_fetch_set_error
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %r14d
	leal	4(%rax), %ebx
	andl	$-4, %ebx
	movl	%ebx, %edx
	subl	%r14d, %edx
	cltq
	leaq	(%rax,%r15), %rdi
	incq	%rdi
	xorl	%esi, %esi
	callq	_memset
	movb	%r14b, __secure_receive_on_alarm.buf(%rip)
	movl	$1, %edi
	callq	_assert
	leal	4(%rbx), %edi
	movl	%edi, (%r12)
	callq	_malloc
	movq	%rax, 8(%r12)
	movl	$0, 16(%r12)
	movl	(%r13), %ecx
	movl	%ecx, (%rax)
	leaq	4(%rax), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	_secure_receive_answer_tree@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	xorl	%eax, %eax
	callq	_lrand48
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_tree_insert_secure_receive_answer
	movl	%eax, (%r14)
	movq	_secure_answer_allocated@GOTPCREL(%rip), %rax
	incl	(%rax)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_log_last_pos
	movl	%eax, 32(%r12)
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_insert_binlog_pos
	movq	_LEV_ANSWER_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	addl	$32, %esi
	xorl	%edx, %edx
	callq	_alloc_log_event
	movl	28(%r12), %ecx
	movl	%ecx, 24(%rax)
	movl	24(%r12), %ecx
	movl	%ecx, 20(%rax)
	movl	20(%r12), %ecx
	movl	%ecx, 16(%rax)
	movl	(%r12), %edx
	movl	%edx, (%rax)
	movq	8(%rax), %rdi
	movq	8(%r12), %rsi
	callq	_memcpy
	movl	$1, 16(%r12)
	movq	_binlog_mode_on@GOTPCREL(%rip), %rax
	testb	$2, (%rax)
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	callq	_flush_cbinlog
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_REQ_ERROR_WRAPPED,4,2      ## @RPC_REQ_ERROR_WRAPPED
.zerofill __DATA,__bss,__secure_receive_on_alarm.buf,1000,4 ## @_secure_receive_on_alarm.buf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Query timeout: working_time = %lf"

	.comm	_precise_now,8,3                ## @precise_now
	.comm	_TL_ERROR_QUERY_TIMEOUT,4,2     ## @TL_ERROR_QUERY_TIMEOUT
	.comm	_secure_receive_answer_tree,4,2 ## @secure_receive_answer_tree
	.comm	_secure_answer_allocated,4,2    ## @secure_answer_allocated
	.comm	_LEV_ANSWER_TX,4,2              ## @LEV_ANSWER_TX
	.comm	_binlog_mode_on,4,2             ## @binlog_mode_on
	.comm	_RPC_FUN_NEXT,4,2               ## @RPC_FUN_NEXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__secure_receive_on_alarm       ; -- Begin function _secure_receive_on_alarm
	.p2align	2
__secure_receive_on_alarm:              ; @_secure_receive_on_alarm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	ldr	x21, [x1]
	mov	w0, #48
	bl	_zmalloc
	mov	x19, x0
	str	xzr, [x0, #40]
	ldr	d0, [x21, #8]
	str	d0, [x0, #24]
Lloh0:
	adrp	x8, _RPC_REQ_ERROR_WRAPPED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPC_REQ_ERROR_WRAPPED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #20]
Lloh3:
	adrp	x8, _precise_now@GOTPAGE
Lloh4:
	ldr	x8, [x8, _precise_now@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x21]
	sub	x2, x8, x9
Lloh6:
	adrp	x21, __secure_receive_on_alarm.buf@PAGE
Lloh7:
	add	x21, x21, __secure_receive_on_alarm.buf@PAGEOFF
	add	x22, x21, #1
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_sprintf
Lloh10:
	adrp	x24, _TL_ERROR_QUERY_TIMEOUT@GOTPAGE
Lloh11:
	ldr	x24, [x24, _TL_ERROR_QUERY_TIMEOUT@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x22
	bl	_tl_fetch_set_error
	mov	x0, x22
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x23, x8, #1
	add	w8, w0, #4
	and	w22, w8, #0xfffffffc
	sub	w2, w22, w23
	add	x0, x21, x23
	mov	w1, #0
	bl	_memset
	strb	w23, [x21]
	mov	w23, #1
	mov	w0, #1
	bl	_assert
	add	w0, w22, #4
	str	w0, [x19]
	bl	_malloc
	str	x0, [x19, #8]
	str	wzr, [x19, #16]
	ldr	w8, [x24]
	str	w8, [x0], #4
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
Lloh12:
	adrp	x22, _secure_receive_answer_tree@GOTPAGE
Lloh13:
	ldr	x22, [x22, _secure_receive_answer_tree@GOTPAGEOFF]
	ldr	w21, [x22]
	bl	_lrand48
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	_tree_insert_secure_receive_answer
	str	w0, [x22]
Lloh14:
	adrp	x8, _secure_answer_allocated@GOTPAGE
Lloh15:
	ldr	x8, [x8, _secure_answer_allocated@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	cbz	w20, LBB0_3
; %bb.1:
	bl	_log_last_pos
	str	w0, [x19, #32]
	mov	w1, #0
	bl	_insert_binlog_pos
Lloh16:
	adrp	x8, _LEV_ANSWER_TX@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LEV_ANSWER_TX@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	w8, [x19]
	add	w1, w8, #32
	mov	w2, #0
	bl	_alloc_log_event
	ldr	w8, [x19, #28]
	str	w8, [x0, #24]
	ldur	d0, [x19, #20]
	str	d0, [x0, #16]
	ldr	w2, [x19]
	str	w2, [x0]
	ldr	x0, [x0, #8]
	ldr	x1, [x19, #8]
	bl	_memcpy
	str	w23, [x19, #16]
Lloh19:
	adrp	x8, _binlog_mode_on@GOTPAGE
Lloh20:
	ldr	x8, [x8, _binlog_mode_on@GOTPAGEOFF]
	ldrb	w8, [x8]
	tbz	w8, #1, LBB0_3
; %bb.2:
	mov	w0, #0
	bl	_flush_cbinlog
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_REQ_ERROR_WRAPPED,4,2      ; @RPC_REQ_ERROR_WRAPPED
.zerofill __DATA,__bss,__secure_receive_on_alarm.buf,1000,0 ; @_secure_receive_on_alarm.buf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Query timeout: working_time = %lf"

	.comm	_precise_now,8,3                ; @precise_now
	.comm	_TL_ERROR_QUERY_TIMEOUT,4,2     ; @TL_ERROR_QUERY_TIMEOUT
	.comm	_secure_receive_answer_tree,4,2 ; @secure_receive_answer_tree
	.comm	_secure_answer_allocated,4,2    ; @secure_answer_allocated
	.comm	_LEV_ANSWER_TX,4,2              ; @LEV_ANSWER_TX
	.comm	_binlog_mode_on,4,2             ; @binlog_mode_on
	.comm	_RPC_FUN_NEXT,4,2               ; @RPC_FUN_NEXT
.subsections_via_symbols
