	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_include_chains
_merge_include_chains:                  ## @merge_include_chains
	.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	_heads@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movq	_SYSTEM@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	$0, (%rdx,%rax,8)
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_AFTER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rdx,%rcx,8), %rcx
	je	LBB0_1
## %bb.2:
	movq	_tails@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%rax,8), %rdx
	jmp	LBB0_3
LBB0_1:
	leaq	(%rdx,%rax,8), %rdx
LBB0_3:
	movq	%rcx, (%rdx)
	movq	(%r12), %rcx
	movq	(%rcx,%rax,8), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	callq	_remove_duplicates
	movq	(%r12), %rcx
	movq	(%r14), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%r12), %rax
	movq	_BRACKET@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	(%rax,%rdx,8), %rcx
	movq	%r15, %rdi
	movq	%rcx, %rdx
	movl	%ebx, %r8d
	callq	_remove_duplicates
	movq	(%r12), %rcx
	movq	(%r14), %rdi
	movq	%rax, (%rcx,%rdi,8)
	movq	(%r12), %rax
	movq	_QUOTE@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	_SYSTEM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	(%rax,%rdi,8), %rcx
	movq	%r15, %rdi
	movl	%ebx, %r8d
	callq	_remove_duplicates
	movq	(%r12), %rcx
	movq	(%r13), %rdx
	movq	%rax, (%rcx,%rdx,8)
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	movq	%r12, %r14
	movq	(%r12), %rax
	movq	(%r13), %rcx
	leaq	(%rax,%rcx,8), %r13
	leaq	L_.str.3(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r13
	movq	_BRACKET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rax,%rcx,8), %r13
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %ebx
	testq	%r13, %r13
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rdx
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_fprintf
	addq	$8, %r13
	movq	(%r14), %rax
	jmp	LBB0_5
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_heads,8,3                      ## @heads
	.comm	_SYSTEM,8,3                     ## @SYSTEM
	.comm	_AFTER,8,3                      ## @AFTER
	.comm	_tails,8,3                      ## @tails
	.comm	_BRACKET,8,3                    ## @BRACKET
	.comm	_QUOTE,8,3                      ## @QUOTE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"#include \"...\" search starts here:\n"

L_.str.2:                               ## @.str.2
	.asciz	"#include <...> search starts here:\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"End of search list.\n"

	.no_dead_strip	_merge_include_chains
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_include_chains
_merge_include_chains:                  ; @merge_include_chains
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _heads@GOTPAGE
Lloh1:
	ldr	x23, [x23, _heads@GOTPAGEOFF]
	ldr	x10, [x23]
Lloh2:
	adrp	x21, _SYSTEM@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SYSTEM@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x9, x10, x8, lsl #3
	ldr	x11, [x9]
Lloh4:
	adrp	x12, _AFTER@GOTPAGE
Lloh5:
	ldr	x12, [x12, _AFTER@GOTPAGEOFF]
Lloh6:
	ldr	x12, [x12]
	ldr	x10, [x10, x12, lsl #3]
	cbz	x11, LBB0_2
; %bb.1:
Lloh7:
	adrp	x9, _tails@GOTPAGE
Lloh8:
	ldr	x9, [x9, _tails@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	x9, [x9, x8, lsl #3]
LBB0_2:
	str	x10, [x9]
	ldr	x9, [x23]
	ldr	x1, [x9, x8, lsl #3]
	mov	x0, x20
	mov	x2, #0
	mov	x3, #0
	mov	x4, x19
	bl	_remove_duplicates
	ldr	x8, [x23]
	ldr	x9, [x21]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
Lloh10:
	adrp	x24, _BRACKET@GOTPAGE
Lloh11:
	ldr	x24, [x24, _BRACKET@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x10, [x24]
	ldr	x1, [x8, x10, lsl #3]
	ldr	x2, [x8, x9]
	mov	x0, x20
	mov	x3, x2
	mov	x4, x19
	bl	_remove_duplicates
	ldr	x8, [x23]
	ldr	x9, [x24]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x23]
Lloh12:
	adrp	x22, _QUOTE@GOTPAGE
Lloh13:
	ldr	x22, [x22, _QUOTE@GOTPAGEOFF]
	ldr	x10, [x22]
	ldr	x1, [x8, x10, lsl #3]
	ldr	x10, [x21]
	ldr	x2, [x8, x10, lsl #3]
	ldr	x3, [x8, x9]
	mov	x0, x20
	mov	x4, x19
	bl	_remove_duplicates
	ldr	x8, [x23]
	ldr	x9, [x22]
	str	x0, [x8, x9, lsl #3]
	cbz	w19, LBB0_9
; %bb.3:
Lloh14:
	adrp	x25, _stderr@GOTPAGE
Lloh15:
	ldr	x25, [x25, _stderr@GOTPAGEOFF]
	ldr	w20, [x25]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
Lloh18:
	adrp	x19, l_.str@PAGE
Lloh19:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_fprintf
	ldr	x8, [x23]
	ldr	x9, [x22]
	add	x26, x8, x9, lsl #3
Lloh20:
	adrp	x20, l_.str.2@PAGE
Lloh21:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh22:
	adrp	x21, l_.str.3@PAGE
Lloh23:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x26]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x26, x8
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w22, [x25]
	mov	x0, x20
	bl	__
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	bl	_fprintf
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w22, [x25]
	cbz	x26, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x26], #8
	mov	x0, x22
	mov	x1, x21
	bl	_fprintf
	ldr	x8, [x23]
	b	LBB0_4
LBB0_8:
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_fprintf
LBB0_9:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_heads,8,3                      ; @heads
	.comm	_SYSTEM,8,3                     ; @SYSTEM
	.comm	_AFTER,8,3                      ; @AFTER
	.comm	_tails,8,3                      ; @tails
	.comm	_BRACKET,8,3                    ; @BRACKET
	.comm	_QUOTE,8,3                      ; @QUOTE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"#include \"...\" search starts here:\n"

l_.str.2:                               ; @.str.2
	.asciz	"#include <...> search starts here:\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"End of search list.\n"

	.no_dead_strip	_merge_include_chains
.subsections_via_symbols
