	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rl_insert_text                 ## -- Begin function rl_insert_text
	.p2align	4, 0x90
_rl_insert_text:                        ## @rl_insert_text
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_7
## %bb.2:
	movq	_h@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_e@GOTPCREL(%rip), %r15
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_rl_initialize
	movq	(%r15), %rdi
LBB0_5:
	movq	%rbx, %rsi
	callq	_el_insertstr
	testq	%rax, %rax
	js	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r14
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h,8,3                          ## @h
	.comm	_e,8,3                          ## @e
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rl_insert_text                 ; -- Begin function rl_insert_text
	.p2align	2
_rl_insert_text:                        ; @rl_insert_text
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _h@GOTPAGE
Lloh1:
	ldr	x8, [x8, _h@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _e@GOTPAGE
Lloh4:
	ldr	x20, [x20, _e@GOTPAGEOFF]
	ldr	x0, [x20]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
	bl	_rl_initialize
	ldr	x0, [x20]
LBB0_4:
	mov	x1, x19
	bl	_el_insertstr
	tbnz	x0, #63, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_strlen
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_h,8,3                          ; @h
	.comm	_e,8,3                          ; @e
.subsections_via_symbols
