	.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_bookmarks
_exec_get_raw_user_comm_bookmarks:      ## @exec_get_raw_user_comm_bookmarks
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$0, -44(%rbp)
	movb	(%rsi), %bl
	xorl	%r13d, %r13d
	cmpb	$37, %bl
	sete	%r13b
	leaq	(%rsi,%r13), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	_sscanf
	xorl	%ecx, %ecx
	testq	%rax, %rax
	js	LBB0_10
## %bb.1:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.2:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpb	$37, %bl
	sete	%dil
	addq	%rax, %rdi
	movl	%edi, -44(%rbp)
	movq	$0, -56(%rbp)
	addq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %r12d
	movq	-56(%rbp), %rdi
	movslq	%r15d, %rax
	addq	%r14, %rax
	movl	$-1, %esi
	cmpq	%rax, %rdi
	jae	LBB0_5
## %bb.3:
	cmpb	$44, (%rdi)
	jne	LBB0_5
## %bb.4:
	incq	%rdi
	movq	%rdi, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %esi
LBB0_5:
	movq	_Q@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_MAX_QUERY@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1431655766, %rax, %rcx         ## imm = 0x55555556
	movq	%rcx, %rax
	shrq	$63, %rax
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%r12d, %edi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_get_bookmarks
                                        ## kill: def $eax killed $eax def $rax
	movq	_QL@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movq	_verbosity@GOTPCREL(%rip), %rcx
	cmpl	$2, (%rcx)
	jl	LBB0_7
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_bookmarks_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_fprintf
	movl	(%r12), %eax
LBB0_7:
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	negl	%r13d
	leal	(%rax,%rax,2), %eax
	xorl	%edi, %edi
	movq	_MAX_QUERY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	setle	%dil
	callq	_assert
	movslq	-60(%rbp), %rdx                 ## 4-byte Folded Reload
	subq	%rdx, %r14
	addl	%r15d, %edx
	movl	(%rbx), %r9d
	movl	(%r12), %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, (%rsp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	$2147483647, %ecx               ## imm = 0x7FFFFFFF
	movl	%r13d, %r8d
	callq	_return_one_key_list
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_8:
	movl	$-2, %ecx
LBB0_10:
	movl	%ecx, %eax
	addq	$40, %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_bookmarks%n"

	.comm	_Q,4,2                          ## @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.1:                               ## @.str.1
	.asciz	"QL = %d, bookmarks_size = %d\n"

	.comm	_bookmarks_size,4,2             ## @bookmarks_size
	.no_dead_strip	_exec_get_raw_user_comm_bookmarks
.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_bookmarks
_exec_get_raw_user_comm_bookmarks:      ; @exec_get_raw_user_comm_bookmarks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	str	wzr, [sp, #12]
	mov	x8, x1
	ldrb	w24, [x8], #1
	cmp	w24, #37
	csetm	w20, eq
	csel	x0, x1, x8, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	mov	x8, x0
	mov	w0, #0
	tbnz	x8, #63, LBB0_11
; %bb.1:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
	cmp	w24, #37
	cinc	x8, x8, eq
	str	w8, [sp, #12]
	str	xzr, [sp]
	add	x0, x23, x8
	mov	x1, sp
	mov	w2, #10
	bl	_strtol
	mov	x24, x0
	ldr	x8, [sp]
	add	x9, x23, w22, sxtw
	cmp	x8, x9
	b.hs	LBB0_5
; %bb.3:
	ldrb	w9, [x8]
	cmp	w9, #44
	b.ne	LBB0_5
; %bb.4:
	add	x0, x8, #1
	str	x0, [sp]
	mov	x1, sp
	mov	w2, #10
	bl	_strtol
	mov	x1, x0
	b	LBB0_6
LBB0_5:
	mov	w1, #-1
LBB0_6:
Lloh2:
	adrp	x25, _Q@GOTPAGE
Lloh3:
	ldr	x25, [x25, _Q@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh4:
	adrp	x26, _MAX_QUERY@GOTPAGE
Lloh5:
	ldr	x26, [x26, _MAX_QUERY@GOTPAGEOFF]
	ldrsw	x8, [x26]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w3, w8, w9
	mov	x0, x24
	bl	_get_bookmarks
	mov	x2, x0
Lloh6:
	adrp	x24, _QL@GOTPAGE
Lloh7:
	ldr	x24, [x24, _QL@GOTPAGEOFF]
	str	w0, [x24]
Lloh8:
	adrp	x8, _verbosity@GOTPAGE
Lloh9:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _bookmarks_size@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bookmarks_size@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w2, [x24]
LBB0_8:
	tbnz	w2, #31, LBB0_10
; %bb.9:
	add	w8, w2, w2, lsl #1
	ldr	w9, [x26]
	cmp	w8, w9
	cset	w0, le
	bl	_assert
	sub	x1, x23, w21, sxtw
	add	w2, w21, w22
	ldr	w5, [x25]
	ldr	w8, [x24]
	add	w6, w8, w8, lsl #1
	mov	x0, x19
	mov	w3, #2147483647
	mov	x4, x20
	bl	_return_one_key_list
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	mov	w0, #-2
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"raw_user_comm_bookmarks%n"

	.comm	_Q,4,2                          ; @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.1:                               ; @.str.1
	.asciz	"QL = %d, bookmarks_size = %d\n"

	.comm	_bookmarks_size,4,2             ; @bookmarks_size
	.no_dead_strip	_exec_get_raw_user_comm_bookmarks
.subsections_via_symbols
