	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gdb_rl_operate_and_get_next
_gdb_rl_operate_and_get_next:           ## @gdb_rl_operate_and_get_next
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	_event_loop_p@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_gdb_rl_operate_and_get_next_completion@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	je	LBB0_2
## %bb.1:
	movq	_after_char_processing_hook@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_rl_pre_input_hook@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_where_history
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_history_is_stifled
	testq	%rax, %rax
	sete	%al
	movq	_history_length@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_max_input_history@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	setl	%dl
	orb	%al, %dl
	decl	%ecx
	cmpl	%ecx, %ebx
	setl	%al
	andb	%dl, %al
	movzbl	%al, %eax
	addl	%ebx, %eax
	movq	_operate_saved_history@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rl_newline                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_event_loop_p,8,3               ## @event_loop_p
	.comm	_gdb_rl_operate_and_get_next_completion,8,3 ## @gdb_rl_operate_and_get_next_completion
	.comm	_after_char_processing_hook,8,3 ## @after_char_processing_hook
	.comm	_rl_pre_input_hook,8,3          ## @rl_pre_input_hook
	.comm	_history_length,4,2             ## @history_length
	.comm	_max_input_history,4,2          ## @max_input_history
	.comm	_operate_saved_history,4,2      ## @operate_saved_history
	.no_dead_strip	_gdb_rl_operate_and_get_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gdb_rl_operate_and_get_next
_gdb_rl_operate_and_get_next:           ; @gdb_rl_operate_and_get_next
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _event_loop_p@GOTPAGE
Lloh1:
	ldr	x8, [x8, _event_loop_p@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _gdb_rl_operate_and_get_next_completion@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gdb_rl_operate_and_get_next_completion@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x9, LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _after_char_processing_hook@GOTPAGE
Lloh7:
	ldr	x9, [x9, _after_char_processing_hook@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x9, _rl_pre_input_hook@GOTPAGE
Lloh9:
	ldr	x9, [x9, _rl_pre_input_hook@GOTPAGEOFF]
LBB0_3:
	str	x8, [x9]
	bl	_where_history
	mov	x20, x0
	bl	_history_is_stifled
Lloh10:
	adrp	x8, _history_length@GOTPAGE
Lloh11:
	ldr	x8, [x8, _history_length@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	sub	w9, w8, #1
	cmp	x0, #0
Lloh13:
	adrp	x10, _max_input_history@GOTPAGE
Lloh14:
	ldr	x10, [x10, _max_input_history@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	ccmp	w8, w10, #8, ne
	ccmp	w20, w9, #0, lt
	cinc	w8, w20, lt
Lloh16:
	adrp	x9, _operate_saved_history@GOTPAGE
Lloh17:
	ldr	x9, [x9, _operate_saved_history@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
	mov	w0, #1
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rl_newline
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_event_loop_p,8,3               ; @event_loop_p
	.comm	_gdb_rl_operate_and_get_next_completion,8,3 ; @gdb_rl_operate_and_get_next_completion
	.comm	_after_char_processing_hook,8,3 ; @after_char_processing_hook
	.comm	_rl_pre_input_hook,8,3          ; @rl_pre_input_hook
	.comm	_history_length,4,2             ; @history_length
	.comm	_max_input_history,4,2          ; @max_input_history
	.comm	_operate_saved_history,4,2      ; @operate_saved_history
	.no_dead_strip	_gdb_rl_operate_and_get_next
.subsections_via_symbols
