	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_cpp_header_name
_read_cpp_header_name:                  ## @read_cpp_header_name
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_read_header_file_name
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	callq	_read_expand_newline
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_TNEWLINE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_errort
	movq	(%r15), %rax
LBB0_3:
	movq	_TSTRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	$0, (%rbx)
	movq	8(%r15), %rax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$60, %esi
	callq	_is_keyword
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_tok2s
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_errort
LBB0_8:
	xorl	%eax, %eax
	callq	_make_vector
	movq	%rax, %r13
	leaq	L_.str.2(%rip), %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_read_expand_newline
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_errort
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	movl	$62, %esi
	callq	_is_keyword
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_vec_push
	jmp	LBB0_9
LBB0_13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_join_paths                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TNEWLINE,8,3                   ## @TNEWLINE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expected filename, but got newline"

	.comm	_TSTRING,8,3                    ## @TSTRING
L_.str.1:                               ## @.str.1
	.asciz	"< expected, but got %s"

L_.str.2:                               ## @.str.2
	.asciz	"premature end of header name"

	.no_dead_strip	_read_cpp_header_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_cpp_header_name
_read_cpp_header_name:                  ; @read_cpp_header_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_read_header_file_name
	cbnz	x0, LBB0_5
; %bb.1:
	bl	_read_expand_newline
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x24, _TNEWLINE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TNEWLINE@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_errort
	ldr	x8, [x21]
LBB0_3:
Lloh4:
	adrp	x9, _TSTRING@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TSTRING@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	str	wzr, [x19]
	ldr	x0, [x21, #8]
LBB0_5:
	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
	add	sp, sp, #80
	ret
LBB0_6:
	mov	x0, x21
	mov	w1, #60
	bl	_is_keyword
	cbnz	x0, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_tok2s
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_errort
LBB0_8:
	bl	_make_vector
	mov	x21, x0
Lloh9:
	adrp	x22, l_.str.2@PAGE
Lloh10:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	bl	_read_expand_newline
	mov	x23, x0
	ldr	x8, [x0]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_errort
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	mov	w1, #62
	bl	_is_keyword
	cbnz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_vec_push
	b	LBB0_9
LBB0_13:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x21
	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
	add	sp, sp, #80
	b	_join_paths
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TNEWLINE,8,3                   ; @TNEWLINE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expected filename, but got newline"

	.comm	_TSTRING,8,3                    ; @TSTRING
l_.str.1:                               ; @.str.1
	.asciz	"< expected, but got %s"

l_.str.2:                               ; @.str.2
	.asciz	"premature end of header name"

	.no_dead_strip	_read_cpp_header_name
.subsections_via_symbols
