	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reverse_search_command
_reverse_search_command:                ## @reverse_search_command
	.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
	movl	$4104, %eax                     ## imm = 0x1008
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_last_line_listed@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	callq	_re_comp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_error
LBB0_2:
	movq	_current_source_symtab@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	callq	_select_source_symtab
	movq	(%r12), %rdi
LBB0_4:
	callq	_open_source_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	movq	(%r12), %rax
	movl	4(%rax), %edi
	callq	_perror_with_name
LBB0_6:
	movq	(%r12), %rdi
	cmpq	$0, 8(%rdi)
	jne	LBB0_8
## %bb.7:
	movl	%ebx, %esi
	callq	_find_source_lines
LBB0_8:
	leal	-1(%r14), %r15d
	cmpl	$2, %r14d
	jl	LBB0_10
## %bb.9:
	movq	(%r12), %rax
	cmpl	(%rax), %r15d
	jle	LBB0_11
LBB0_10:
	movl	%ebx, %edi
	callq	_close
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	movq	(%r12), %rax
LBB0_11:
	movq	8(%rax), %rax
	movl	-8(%rax,%r14,4), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_lseek
	testq	%rax, %rax
	jns	LBB0_13
## %bb.12:
	movl	%ebx, %edi
	callq	_close
	movq	(%r12), %rax
	movl	4(%rax), %edi
	callq	_perror_with_name
LBB0_13:
	movq	_FDOPEN_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_fdopen
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_clearerr
	cmpl	$3, %r14d
	jl	LBB0_24
## %bb.14:
	movl	%r15d, %r14d
	movq	_EOF@GOTPCREL(%rip), %r13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	-1(%r14), %rax
	cmpq	$2, %r14
	movq	%rax, %r14
	jle	LBB0_24
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%rbx, %rdi
	callq	_getc
	cmpl	(%r13), %eax
	je	LBB0_24
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %r15
	leaq	-4143(%rbp), %rcx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %r12
	movb	%al, -1(%rcx)
	cmpl	$10, %eax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	%rbx, %rdi
	callq	_getc
	leaq	1(%r12), %rcx
	testl	%eax, %eax
	jns	LBB0_17
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	movb	$0, (%r12)
	leaq	-4144(%rbp), %rdi
	callq	_re_exec
	testq	%rax, %rax
	jg	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %r12
	movq	(%r15), %rax
	movq	8(%rax), %rax
	leal	-2(%r14), %ecx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_fseek
	testq	%rax, %rax
	jns	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rdi
	callq	_fclose
	movq	(%r12), %rax
	movl	4(%rax), %edi
	callq	_perror_with_name
	jmp	LBB0_23
LBB0_24:
	leaq	L_.str.3(%rip), %rdi
	callq	_printf_filtered
	movq	%rbx, %rdi
	callq	_fclose
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	addq	$4104, %rsp                     ## imm = 0x1008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	%rbx, %rdi
	callq	_fclose
	movq	(%r15), %rdi
	leal	1(%r14), %edx
	movl	%r14d, %esi
	xorl	%ecx, %ecx
	callq	_print_source_lines
	leaq	L_.str.2(%rip), %rdi
	callq	_lookup_internalvar
	movl	%eax, %ebx
	movq	_builtin_type_int@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_value_from_longest
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_set_internalvar
	movq	_lines_to_list@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	subl	%ecx, %r14d
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_max
	movq	_current_source_line@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_25
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_last_line_listed,4,2           ## @last_line_listed
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_current_source_symtab,8,3      ## @current_source_symtab
L_.str.1:                               ## @.str.1
	.asciz	"Expression not found"

	.comm	_FDOPEN_MODE,4,2                ## @FDOPEN_MODE
	.comm	_EOF,4,2                        ## @EOF
L_.str.2:                               ## @.str.2
	.asciz	"_"

	.comm	_builtin_type_int,4,2           ## @builtin_type_int
	.comm	_lines_to_list,4,2              ## @lines_to_list
	.comm	_current_source_line,4,2        ## @current_source_line
L_.str.3:                               ## @.str.3
	.asciz	"Expression not found\n"

	.no_dead_strip	_reverse_search_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reverse_search_command
_reverse_search_command:                ; @reverse_search_command
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh5:
	adrp	x8, _last_line_listed@GOTPAGE
Lloh6:
	ldr	x8, [x8, _last_line_listed@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	bl	_re_comp
	cbz	x0, LBB0_2
; %bb.1:
	str	x0, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh10:
	adrp	x21, _current_source_symtab@GOTPAGE
Lloh11:
	ldr	x21, [x21, _current_source_symtab@GOTPAGEOFF]
	ldr	x0, [x21]
	cbnz	x0, LBB0_4
; %bb.3:
	bl	_select_source_symtab
	ldr	x0, [x21]
LBB0_4:
	bl	_open_source_file
	mov	x20, x0
	tbz	w0, #31, LBB0_6
; %bb.5:
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	bl	_perror_with_name
LBB0_6:
	ldr	x0, [x21]
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_8
; %bb.7:
	mov	x1, x20
	bl	_find_source_lines
LBB0_8:
	sub	w19, w22, #1
	subs	w23, w22, #2
	b.lt	LBB0_10
; %bb.9:
	ldr	x8, [x21]
	ldr	w9, [x8]
	cmp	w19, w9
	b.le	LBB0_11
LBB0_10:
	mov	x0, x20
	bl	_close
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	ldr	x8, [x21]
LBB0_11:
	ldr	x8, [x8, #8]
	ldr	w1, [x8, w23, sxtw #2]
	mov	x0, x20
	mov	w2, #0
	bl	_lseek
	tbz	x0, #63, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_close
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	bl	_perror_with_name
LBB0_13:
Lloh14:
	adrp	x8, _FDOPEN_MODE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FDOPEN_MODE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_fdopen
	mov	x20, x0
	bl	_clearerr
	cmp	w22, #3
	b.lt	LBB0_23
; %bb.14:
	add	x8, sp, #8
	add	x22, x8, #1
Lloh17:
	adrp	x23, _EOF@GOTPAGE
Lloh18:
	ldr	x23, [x23, _EOF@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	cmp	x19, #2
	mov	x19, x24
	b.le	LBB0_23
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	mov	x0, x20
	bl	_getc
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x8, x22
LBB0_18:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x8
	sturb	w0, [x8, #-1]
	cmp	w0, #10
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	mov	x0, x20
	bl	_getc
	add	x8, x24, #1
	tbz	w0, #31, LBB0_18
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	strb	wzr, [x24]
	add	x0, sp, #8
	bl	_re_exec
	cmp	x0, #1
	b.ge	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	x24, x19, #1
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	sub	w9, w19, #2
	ldr	w1, [x8, w9, uxtw #2]
	mov	x0, x20
	mov	w2, #0
	bl	_fseek
	tbz	x0, #63, LBB0_15
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x20
	bl	_fclose
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	bl	_perror_with_name
	b	LBB0_15
LBB0_23:
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf_filtered
	mov	x0, x20
	bl	_fclose
LBB0_24:
	ldur	x8, [x29, #-72]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.25:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_26:
	mov	x0, x20
	bl	_fclose
	ldr	x0, [x21]
	add	w2, w19, #1
	mov	x1, x19
	mov	w3, #0
	bl	_print_source_lines
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_lookup_internalvar
	mov	x20, x0
Lloh26:
	adrp	x8, _builtin_type_int@GOTPAGE
Lloh27:
	ldr	x8, [x8, _builtin_type_int@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_value_from_longest
	mov	x1, x0
	mov	x0, x20
	bl	_set_internalvar
Lloh29:
	adrp	x8, _lines_to_list@GOTPAGE
Lloh30:
	ldr	x8, [x8, _lines_to_list@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	sub	w0, w19, w8, asr #1
	mov	w1, #1
	bl	_max
Lloh32:
	adrp	x8, _current_source_line@GOTPAGE
Lloh33:
	ldr	x8, [x8, _current_source_line@GOTPAGEOFF]
Lloh34:
	str	w0, [x8]
	b	LBB0_24
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_last_line_listed,4,2           ; @last_line_listed
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_current_source_symtab,8,3      ; @current_source_symtab
l_.str.1:                               ; @.str.1
	.asciz	"Expression not found"

	.comm	_FDOPEN_MODE,4,2                ; @FDOPEN_MODE
	.comm	_EOF,4,2                        ; @EOF
l_.str.2:                               ; @.str.2
	.asciz	"_"

	.comm	_builtin_type_int,4,2           ; @builtin_type_int
	.comm	_lines_to_list,4,2              ; @lines_to_list
	.comm	_current_source_line,4,2        ; @current_source_line
l_.str.3:                               ; @.str.3
	.asciz	"Expression not found\n"

	.no_dead_strip	_reverse_search_command
.subsections_via_symbols
