	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_header_name
_parse_header_name:                     ## @parse_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	_line_builder@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_SB_contents
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_SB_length
	cmpq	$2, %rax
	jb	LBB0_19
## %bb.2:
	cmpb	$91, (%r14)
	jne	LBB0_19
## %bb.3:
	movq	%rax, %rbx
	cmpb	$93, -1(%r14,%rax)
	jne	LBB0_19
## %bb.4:
	leaq	-1(%rbx), %r12
	movl	$1, %r15d
	cmpq	$2, %r12
	jb	LBB0_9
## %bb.5:
	movl	$2, %r13d
	subq	%rbx, %r13
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%r15), %edi
	callq	_is_ws
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r15,%r13), %rax
	incq	%rax
	incq	%r15
	cmpq	$1, %rax
	jne	LBB0_6
## %bb.8:
	movq	%r12, %r15
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r13
	decq	%rbx
	cmpq	%r15, %rbx
	jbe	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movsbl	-2(%r14,%r13), %edi
	callq	_is_ws
	testq	%rax, %rax
	jne	LBB0_9
## %bb.11:
	movq	%r15, %r12
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%r12), %edi
	callq	_is_name_char
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%r12
	cmpq	%r12, %rbx
	jne	LBB0_12
	jmp	LBB0_17
LBB0_16:
	movq	%r13, %rax
	subq	%r15, %rax
	cmpq	$1, %rax
	je	LBB0_19
LBB0_17:
	movq	%r13, %rdi
	subq	%r15, %rdi
	leaq	-1(%rdi), %r12
	callq	_xmalloc
	movq	%rax, %rbx
	addq	%r15, %r14
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	movq	%rbx, %rax
	subq	%r15, %rax
	movb	$0, -1(%rax,%r13)
	jmp	LBB0_20
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_line_builder,4,2               ## @line_builder
	.no_dead_strip	_parse_header_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_header_name
_parse_header_name:                     ; @parse_header_name
	.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
Lloh0:
	adrp	x20, _line_builder@GOTPAGE
Lloh1:
	ldr	x20, [x20, _line_builder@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_SB_contents
	mov	x19, x0
	ldr	w0, [x20]
	bl	_SB_length
	subs	x21, x0, #2
	b.lo	LBB0_17
; %bb.1:
	ldrb	w8, [x19]
	cmp	w8, #91
	b.ne	LBB0_17
; %bb.2:
	mov	x20, x0
	sub	x22, x0, #1
	ldrb	w8, [x19, x22]
	cmp	w8, #93
	b.ne	LBB0_17
; %bb.3:
	cmp	x22, #2
	b.lo	LBB0_7
; %bb.4:
	mov	x23, #0
	add	x24, x19, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x24, x23]
	bl	_is_ws
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	cmp	x21, x23
	b.ne	LBB0_5
	b	LBB0_9
LBB0_7:
	mov	w22, #1
	b	LBB0_9
LBB0_8:
	add	x22, x23, #1
LBB0_9:
	sub	x21, x19, #2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x23, x20
	sub	x20, x20, #1
	cmp	x20, x22
	b.ls	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrsb	w0, [x21, x23]
	bl	_is_ws
	cbnz	x0, LBB0_10
; %bb.12:
	mov	x21, x22
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, x21]
	bl	_is_name_char
	cbz	w0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x21, x21, #1
	cmp	x20, x21
	b.ne	LBB0_13
	b	LBB0_16
LBB0_15:
	sub	x8, x23, x22
	cmp	x8, #1
	b.eq	LBB0_17
LBB0_16:
	sub	x0, x23, x22
	sub	x21, x0, #1
	bl	_xmalloc
	mov	x20, x0
	add	x1, x19, x22
	mov	x2, x21
	bl	_memcpy
	sub	x8, x20, x22
	add	x8, x8, x23
	sturb	wzr, [x8, #-1]
	b	LBB0_18
LBB0_17:
	mov	x20, #0
LBB0_18:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_line_builder,4,2               ; @line_builder
	.no_dead_strip	_parse_header_name
.subsections_via_symbols
