	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_get_raw_user_comm_updates
_exec_get_raw_user_comm_updates:        ## @exec_get_raw_user_comm_updates
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$0, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -44(%rbp)
	xorl	%r13d, %r13d
	cmpb	$37, (%rsi)
	sete	%r13b
	leaq	(%rsi,%r13), %rbx
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	leaq	-56(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-44(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jg	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-60(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_16
LBB0_2:
	movl	-44(%rbp), %edi
	testl	%edi, %edi
	jle	LBB0_16
## %bb.3:
	addl	%r13d, %edi
	movl	%edi, -44(%rbp)
	movq	$0, -72(%rbp)
	addq	%r15, %rdi
	leaq	-72(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, -60(%rbp)
	movq	-72(%rbp), %rdi
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	addq	%r15, %rcx
	movl	$-1, %esi
	cmpq	%rcx, %rdi
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	jae	LBB0_6
## %bb.4:
	cmpb	$44, (%rdi)
	jne	LBB0_6
## %bb.5:
	incq	%rdi
	movq	%rdi, -72(%rbp)
	leaq	-72(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %esi
	movl	-60(%rbp), %eax
LBB0_6:
	movq	_Q@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	_MAX_QUERY@GOTPCREL(%rip), %r14
	movslq	(%r14), %rcx
	imulq	$1431655766, %rcx, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdi
	shrq	$63, %rdi
	shrq	$32, %rcx
	addl	%edi, %ecx
	movl	%eax, %edi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_get_bookmarks
	movq	_QL@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movq	_verbosity@GOTPCREL(%rip), %r15
	cmpl	$2, (%r15)
	jl	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_bookmarks_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %eax
LBB0_8:
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	negl	%r13d
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_clear_result_buffer
	movl	(%r12), %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, (%r12)
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	setle	%dil
	callq	_assert
	cmpl	$0, (%r12)
	jle	LBB0_15
## %bb.11:
	leaq	L_.str.3(%rip), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$3, %r13
	cmpl	%r13d, (%r12)
	jle	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movl	(%rax,%r13,4), %edi
	movl	4(%rax,%r13,4), %esi
	movl	8(%rax,%r13,4), %edx
	movl	-56(%rbp), %ecx
	movl	-52(%rbp), %r8d
	callq	_prepare_raw_comm_updates
	cmpl	$3, (%r15)
	jl	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rbx), %rsi
	movl	(%rsi,%r13,4), %edx
	movl	4(%rsi,%r13,4), %ecx
	movl	8(%rsi,%r13,4), %r8d
	movq	%r14, %rsi
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_14
LBB0_15:
	movslq	-76(%rbp), %rdx                 ## 4-byte Folded Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	subq	%rdx, %rsi
	addl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movq	_R@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_R_end@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	%r9, %rax
	movq	%rax, (%rsp)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$2147483647, %ecx               ## imm = 0x7FFFFFFF
	movq	-88(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_return_one_key_list
	movl	%eax, %r14d
	jmp	LBB0_16
LBB0_9:
	movl	$-2, %r14d
LBB0_16:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"raw_user_comm_updates[%d,%d]:%n"

L_.str.1:                               ## @.str.1
	.asciz	"raw_user_comm_updates%n%d"

	.comm	_Q,8,3                          ## @Q
	.comm	_MAX_QUERY,4,2                  ## @MAX_QUERY
	.comm	_QL,4,2                         ## @QL
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"QL = %d, bookmarks_size = %d\n"

	.comm	_bookmarks_size,4,2             ## @bookmarks_size
L_.str.3:                               ## @.str.3
	.asciz	"prepare_raw_comm_updates(%d_%d_%d) = %d\n"

	.comm	_R,8,3                          ## @R
	.comm	_R_end,8,3                      ## @R_end
	.no_dead_strip	_exec_get_raw_user_comm_updates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_get_raw_user_comm_updates
_exec_get_raw_user_comm_updates:        ; @exec_get_raw_user_comm_updates
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x28, x0
	str	wzr, [sp, #40]
	str	xzr, [sp, #32]
	mov	x8, x1
	ldrb	w9, [x8], #1
	cmp	w9, #37
	cset	w19, eq
	csetm	w20, eq
	csel	x24, x1, x8, ne
	add	x8, sp, #32
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #40
	add	x3, sp, #36
	mov	x0, x24
	bl	_sscanf
	cmp	w0, #1
	b.le	LBB0_5
; %bb.1:
	ldr	w8, [sp, #32]
	cmp	w8, #1
	b.lt	LBB0_6
LBB0_2:
	add	w8, w8, w19
	add	x0, x23, x8
	str	w8, [sp, #32]
	str	xzr, [sp, #24]
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtol
	str	w0, [sp, #44]
	ldr	x8, [sp, #24]
	add	x9, x23, w21, sxtw
	cmp	x8, x9
	b.hs	LBB0_7
; %bb.3:
	ldrb	w9, [x8]
	cmp	w9, #44
	b.ne	LBB0_7
; %bb.4:
	add	x0, x8, #1
	str	x0, [sp, #24]
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtol
	mov	x1, x0
	ldr	w0, [sp, #44]
	b	LBB0_8
LBB0_5:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #32
	add	x3, sp, #44
	mov	x0, x24
	bl	_sscanf
	ldr	w8, [sp, #32]
	cmp	w0, #1
	ccmp	w8, #0, #4, ge
	b.gt	LBB0_2
LBB0_6:
	mov	w0, #0
	b	LBB0_18
LBB0_7:
	mov	w1, #-1
LBB0_8:
Lloh4:
	adrp	x25, _Q@GOTPAGE
Lloh5:
	ldr	x25, [x25, _Q@GOTPAGEOFF]
	ldr	x2, [x25]
Lloh6:
	adrp	x24, _MAX_QUERY@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MAX_QUERY@GOTPAGEOFF]
	ldrsw	x8, [x24]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w3, w8, w9
	bl	_get_bookmarks
	mov	x2, x0
Lloh8:
	adrp	x26, _QL@GOTPAGE
Lloh9:
	ldr	x26, [x26, _QL@GOTPAGEOFF]
	str	w0, [x26]
Lloh10:
	adrp	x27, _verbosity@GOTPAGE
Lloh11:
	ldr	x27, [x27, _verbosity@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #2
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	mov	x20, x28
	b.lt	LBB0_10
; %bb.9:
Lloh12:
	adrp	x8, _stderr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _bookmarks_size@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bookmarks_size@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w2, [x26]
LBB0_10:
	tbnz	w2, #31, LBB0_17
; %bb.11:
	bl	_clear_result_buffer
	ldr	w8, [x26]
	add	w8, w8, w8, lsl #1
	str	w8, [x26]
	ldr	w9, [x24]
	cmp	w8, w9
	cset	w0, le
	bl	_assert
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.12:
	mov	x28, #0
Lloh20:
	adrp	x19, _stderr@GOTPAGE
Lloh21:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
Lloh22:
	adrp	x24, l_.str.3@PAGE
Lloh23:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x28, x28, #3
	ldr	w8, [x26]
	cmp	w8, w28
	b.le	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x8, x8, x28, lsl #2
	ldp	w0, w1, [x8]
	ldr	w2, [x8, #8]
	ldp	w4, w3, [sp, #36]
	bl	_prepare_raw_comm_updates
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x27]
	cmp	w8, #3
	b.lt	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x19]
	ldr	x9, [x25]
	add	x9, x9, x28, lsl #2
	ldp	w2, w3, [x9]
	ldr	w9, [x9, #8]
	stp	x9, x0, [sp]
	mov	x0, x8
	mov	x1, x24
	bl	_fprintf
	b	LBB0_13
LBB0_16:
	sub	x1, x23, w22, sxtw
Lloh24:
	adrp	x8, _R@GOTPAGE
Lloh25:
	ldr	x8, [x8, _R@GOTPAGEOFF]
	add	w2, w22, w21
Lloh26:
	ldr	x5, [x8]
Lloh27:
	adrp	x8, _R_end@GOTPAGE
Lloh28:
	ldr	x8, [x8, _R_end@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	sub	x6, x8, x5
	mov	x0, x20
	mov	w3, #2147483647
	ldr	w4, [sp, #20]                   ; 4-byte Folded Reload
	bl	_return_one_key_list
	b	LBB0_18
LBB0_17:
	mov	w0, #-2
LBB0_18:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"raw_user_comm_updates[%d,%d]:%n"

l_.str.1:                               ; @.str.1
	.asciz	"raw_user_comm_updates%n%d"

	.comm	_Q,8,3                          ; @Q
	.comm	_MAX_QUERY,4,2                  ; @MAX_QUERY
	.comm	_QL,4,2                         ; @QL
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"QL = %d, bookmarks_size = %d\n"

	.comm	_bookmarks_size,4,2             ; @bookmarks_size
l_.str.3:                               ; @.str.3
	.asciz	"prepare_raw_comm_updates(%d_%d_%d) = %d\n"

	.comm	_R,8,3                          ; @R
	.comm	_R_end,8,3                      ; @R_end
	.no_dead_strip	_exec_get_raw_user_comm_updates
.subsections_via_symbols
