	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_listing_title                  ## -- Begin function listing_title
	.p2align	4, 0x90
_listing_title:                         ## @listing_title
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_SKIP_WHITESPACE
	movq	_input_line_pointer@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movb	(%rbx), %r14b
	cmpb	$34, %r14b
	jne	LBB0_1
## %bb.2:
	leaq	1(%rbx), %rcx
	movq	%rcx, (%r13)
	movb	1(%rbx), %al
	movq	%rcx, %rbx
	testb	%al, %al
	jne	LBB0_4
	jmp	LBB0_9
LBB0_1:
	movl	%r14d, %eax
	testb	%al, %al
	je	LBB0_9
LBB0_4:
	movq	_is_end_of_line@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, %edi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rbx,%rdi), %rax
	movq	%rax, (%r13)
	movzbl	(%rbx,%rdi), %eax
	incq	%rdi
	testb	%al, %al
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$34, %r14b
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$10, %al
	je	LBB0_19
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$34, %al
	jne	LBB0_8
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%al, %edx
	cmpl	$0, (%rcx,%rdx,4)
	jne	LBB0_11
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$10, %al
	jne	LBB0_8
LBB0_19:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_as_bad
	jmp	LBB0_20
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_listing@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.12:
	leaq	-1(%rdi), %r12
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_xmalloc
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movl	%r12d, %eax
	movb	$0, (%r15,%rax)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.14:
	movq	_EDICT_TITLE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	_EDICT_SBTTL@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	movq	_listing_tail@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 8(%rcx)
	movq	%r15, (%rcx)
LBB0_16:
	cmpb	$34, %r14b
	jne	LBB0_20
## %bb.17:
	incq	(%r13)
LBB0_20:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_demand_empty_rest_of_line      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_input_line_pointer,8,3         ## @input_line_pointer
	.comm	_is_end_of_line,8,3             ## @is_end_of_line
	.comm	_listing,8,3                    ## @listing
	.comm	_EDICT_SBTTL,4,2                ## @EDICT_SBTTL
	.comm	_EDICT_TITLE,4,2                ## @EDICT_TITLE
	.comm	_listing_tail,8,3               ## @listing_tail
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"new line in title"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_listing_title                  ; -- Begin function listing_title
	.p2align	2
_listing_title:                         ; @listing_title
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_SKIP_WHITESPACE
Lloh0:
	adrp	x23, _input_line_pointer@GOTPAGE
Lloh1:
	ldr	x23, [x23, _input_line_pointer@GOTPAGEOFF]
	ldr	x20, [x23]
	ldrb	w24, [x20]
	cmp	w24, #34
	b.ne	LBB0_2
; %bb.1:
	add	x9, x20, #1
	str	x9, [x23]
	ldrb	w8, [x20, #1]
	mov	x20, x9
	cbnz	w8, LBB0_3
	b	LBB0_11
LBB0_2:
	mov	x8, x24
	cbz	w8, LBB0_11
LBB0_3:
Lloh2:
	adrp	x9, _is_end_of_line@GOTPAGE
Lloh3:
	ldr	x9, [x9, _is_end_of_line@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	mov	w0, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x20, x0
	str	x8, [x23]
	ldrb	w8, [x20, x0]
	add	x0, x0, #1
	cbz	w8, LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w24, #34
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #10
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #34
	b.ne	LBB0_4
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	and	x10, x8, #0xff
	ldr	w10, [x9, x10, lsl #2]
	cbnz	w10, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #10
	b.ne	LBB0_4
LBB0_10:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_as_bad
	b	LBB0_16
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh7:
	adrp	x8, _listing@GOTPAGE
Lloh8:
	ldr	x8, [x8, _listing@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.13:
	sub	x21, x0, #1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_xmalloc
	mov	x22, x0
	mov	x1, x20
	mov	x2, x21
	bl	_memcpy
	strb	wzr, [x22, w21, uxtw]
Lloh10:
	adrp	x8, _EDICT_SBTTL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EDICT_SBTTL@GOTPAGEOFF]
Lloh12:
	adrp	x9, _EDICT_TITLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EDICT_TITLE@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _listing_tail@GOTPAGE
Lloh15:
	ldr	x9, [x9, _listing_tail@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	str	w8, [x9, #8]
	str	x22, [x9]
LBB0_14:
	cmp	w24, #34
	b.ne	LBB0_16
; %bb.15:
	ldr	x8, [x23]
	add	x8, x8, #1
	str	x8, [x23]
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_demand_empty_rest_of_line
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_input_line_pointer,8,3         ; @input_line_pointer
	.comm	_is_end_of_line,8,3             ; @is_end_of_line
	.comm	_listing,8,3                    ; @listing
	.comm	_EDICT_SBTTL,4,2                ; @EDICT_SBTTL
	.comm	_EDICT_TITLE,4,2                ; @EDICT_TITLE
	.comm	_listing_tail,8,3               ; @listing_tail
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"new line in title"

.subsections_via_symbols
