	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_include
_add_include:                           ## @add_include
	.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
	subq	$152, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rcx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	cmpb	$60, (%rdi)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	-176(%rbp), %rdi
	movl	$132, %esi
	callq	_snprintf
	movq	_includes@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	leaq	-176(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rbx), %rax
	movq	(%r14), %rcx
	movq	8(%rcx,%rbx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$127, %rbx
	movq	%rax, %rbx
	jb	LBB0_3
LBB0_7:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	callq	_eprintf
	movl	$128, %eax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	movq	%rbx, %rax
LBB0_9:
	movl	%eax, %ebx
	movq	(%r14), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rdi
	leaq	-176(%rbp), %rsi
	callq	_printf
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
	leaq	-176(%rbp), %r15
	movq	%r15, %rsi
	callq	_printf
	movq	%r15, %rdi
	callq	_strdup
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rdi
	callq	_eprintf
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	addq	$152, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_includes,8,3                   ## @includes
L_.str.2:                               ## @.str.2
	.asciz	"add_include: includes overflowed\n"

L_.str.3:                               ## @.str.3
	.asciz	"already have: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"adding: %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"add_include: OOM\n"

	.no_dead_strip	_add_include
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_include
_add_include:                           ; @add_include
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x3, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldrb	w8, [x0]
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #60
	csel	x2, x10, x9, eq
	add	x0, sp, #4
	mov	w1, #132
	bl	_snprintf
Lloh7:
	adrp	x19, _includes@GOTPAGE
Lloh8:
	ldr	x19, [x19, _includes@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x1, [x8]
	cbz	x1, LBB0_7
; %bb.1:
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #4
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x20, #1
	ldr	x9, [x19]
	add	x9, x9, x20, lsl #3
	ldr	x1, [x9, #8]
	cbz	x1, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x20, #127
	mov	x20, x8
	b.lo	LBB0_2
LBB0_5:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.6:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_eprintf
	mov	w8, #128
	b	LBB0_9
LBB0_7:
	mov	x8, #0
	b	LBB0_9
LBB0_8:
	mov	x8, x20
LBB0_9:
	ldr	x9, [x19]
	ldr	x9, [x9, w8, uxtw #3]
	cbz	x9, LBB0_11
; %bb.10:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	add	x1, sp, #4
	bl	_printf
	mov	x0, #0
	b	LBB0_13
LBB0_11:
	and	x20, x8, #0xffffffff
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	add	x1, sp, #4
	bl	_printf
	add	x0, sp, #4
	bl	_strdup
	ldr	x8, [x19]
	lsl	x9, x20, #3
	str	x0, [x8, x9]
	ldr	x8, [x19]
	ldr	x0, [x8, x9]
	cbnz	x0, LBB0_13
; %bb.12:
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_eprintf
	ldr	x8, [x19]
	ldr	x0, [x8, x20, lsl #3]
LBB0_13:
	ldur	x8, [x29, #-24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_includes,8,3                   ; @includes
l_.str.2:                               ; @.str.2
	.asciz	"add_include: includes overflowed\n"

l_.str.3:                               ; @.str.3
	.asciz	"already have: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"adding: %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"add_include: OOM\n"

	.no_dead_strip	_add_include
.subsections_via_symbols
