	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	leaq	L_str.9(%rip), %rdi
	callq	_puts
	movq	_ERROR_NOTENOUGHPARAMS@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_2:
	movq	%rsi, %r12
	movq	8(%rsi), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_fseek
	movq	%rbx, %rdi
	callq	_ftell
	movl	%eax, %r13d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rewind
	movl	%r13d, %edi
	callq	_malloc
	movq	%rax, %r15
	leal	(%r13,%r13,2), %r14d
	movl	%r14d, %edi
	callq	_malloc
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.11:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%r13d, %edx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_fread
	movq	%r14, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_12
## %bb.30:
	leaq	L_str.8(%rip), %rdi
	callq	_puts
	movq	%r15, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_fclose
	movq	_ERROR_READERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_3:
	movq	8(%r12), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_ERROR_DEPENDFILENOTFOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_6:
	leaq	L_str(%rip), %rdi
	callq	_puts
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_free
LBB0_8:
	testq	%rbx, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_free
LBB0_10:
	movq	%r14, %rdi
	callq	_fclose
	movq	_ERROR_OUTOFMEMORY@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movabsq	$8589934592, %r13               ## imm = 0x200000000
	xorl	%r14d, %r14d
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%r14), %ecx
	testb	%cl, %cl
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpb	$58, %cl
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movb	%cl, (%rbx,%r14)
	incq	%r14
	addq	%rax, %r13
	jmp	LBB0_13
LBB0_17:
	xorl	%r13d, %r13d
	jmp	LBB0_18
LBB0_15:
	movl	%r14d, %eax
	leaq	(%r15,%rax), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movb	$32, (%rbx,%rax)
	leal	1(%r14), %eax
	movq	%rbx, %rdi
	addq	%rax, %rdi
	movq	8(%r12), %rsi
	callq	_strcat
	movq	8(%r12), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%r14d, %eax
	incl	%eax
	cltq
	movb	$32, (%rbx,%rax)
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcat
	sarq	$32, %r13
LBB0_18:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcat
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	%r15, %rcx
	addq	%r13, %rcx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	testb	%dl, %dl
	je	LBB0_22
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	movslq	%eax, %rsi
	movb	%dl, (%rbx,%rsi)
LBB0_27:                                ##   in Loop: Header=BB0_19 Depth=1
	incl	%eax
	incq	%rcx
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %edx
	cmpb	$10, %dl
	je	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpb	$92, %dl
	jne	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	decl	%eax
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	cltq
	movb	$58, (%rbx,%rax)
	incl	%eax
	movzbl	(%rcx), %edx
	jmp	LBB0_26
LBB0_22:
	movq	%r14, %rdi
	callq	_rewind
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_fwrite
	movq	%r14, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_28
## %bb.23:
	leaq	L_str.7(%rip), %rdi
	callq	_puts
	movq	%r14, %rdi
	callq	_fclose
	movq	%r15, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	_ERROR_WRITEERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_28:
	movq	%r14, %rdi
	callq	_fclose
	movq	%r15, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_NOTENOUGHPARAMS,4,2      ## @ERROR_NOTENOUGHPARAMS
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"r+t"

L_.str.2:                               ## @.str.2
	.asciz	"deptool: No such dependency file: %s\n"

	.comm	_ERROR_DEPENDFILENOTFOUND,4,2   ## @ERROR_DEPENDFILENOTFOUND
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_ERROR_OUTOFMEMORY,4,2          ## @ERROR_OUTOFMEMORY
	.comm	_ERROR_READERROR,4,2            ## @ERROR_READERROR
L_.str.5:                               ## @.str.5
	.asciz	"\n\n"

	.comm	_ERROR_WRITEERROR,4,2           ## @ERROR_WRITEERROR
	.comm	_ERROR_SUCCESS,4,2              ## @ERROR_SUCCESS
L_str:                                  ## @str
	.asciz	"deptool: Out of memory!"

L_str.7:                                ## @str.7
	.asciz	"deptool: Dependency file write error."

L_str.8:                                ## @str.8
	.asciz	"deptool: Dependency file read error."

L_str.9:                                ## @str.9
	.asciz	"Usage: deptool srcfile.d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_str.9@PAGE
Lloh1:
	add	x0, x0, l_str.9@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x8, _ERROR_NOTENOUGHPARAMS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR_NOTENOUGHPARAMS@GOTPAGEOFF]
	b	LBB0_28
LBB0_2:
	mov	x22, x1
	ldr	x0, [x1, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_9
; %bb.3:
	mov	x19, x0
Lloh6:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_fseek
	mov	x0, x19
	bl	_ftell
	mov	x23, x0
	mov	x0, x19
	bl	_rewind
	mov	x0, x23
	bl	_malloc
	mov	x21, x0
	add	w24, w23, w23, lsl #1
	mov	x0, x24
	bl	_malloc
	mov	x20, x0
	cmp	x21, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_10
; %bb.4:
Lloh9:
	adrp	x0, l_str@PAGE
Lloh10:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	cbz	x21, LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_free
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_free
LBB0_8:
	mov	x0, x19
	bl	_fclose
Lloh11:
	adrp	x8, _ERROR_OUTOFMEMORY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_28
LBB0_9:
	ldr	x8, [x22, #8]
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
Lloh15:
	adrp	x8, _ERROR_DEPENDFILENOTFOUND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR_DEPENDFILENOTFOUND@GOTPAGEOFF]
	b	LBB0_28
LBB0_10:
	mov	x0, x21
	mov	w1, #0
	mov	x2, x23
	bl	_memset
	mov	x0, x20
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	mov	x0, x21
	mov	w1, #1
	mov	x2, x23
	mov	x3, x19
	bl	_fread
	mov	x0, x19
	bl	_ferror
	cbz	x0, LBB0_12
; %bb.11:
Lloh17:
	adrp	x0, l_str.8@PAGE
Lloh18:
	add	x0, x0, l_str.8@PAGEOFF
	bl	_puts
	mov	x0, x21
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_fclose
Lloh19:
	adrp	x8, _ERROR_READERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERROR_READERROR@GOTPAGEOFF]
	b	LBB0_28
LBB0_12:
	mov	x25, #0
	mov	x24, #8589934592
	mov	x8, #4294967296
	ldrb	w9, [x21, x25]
	cbz	w9, LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	cmp	w9, #58
	b.eq	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	strb	w9, [x20, x25]
	add	x25, x25, #1
	add	x24, x24, x8
	ldrb	w9, [x21, x25]
	cbnz	w9, LBB0_13
LBB0_15:
	mov	x22, #0
	b	LBB0_17
LBB0_16:
	and	x8, x25, #0xffffffff
	add	x23, x21, x8
	mov	w26, #32
	strb	w26, [x20, x8]
	add	w8, w25, #1
	add	x0, x20, x8
	ldr	x1, [x22, #8]
	bl	_strcat
	ldr	x0, [x22, #8]
	bl	_strlen
	add	w8, w0, w25
	add	w8, w8, #1
	strb	w26, [x20, w8, sxtw]
	mov	x0, x20
	mov	x1, x23
	bl	_strcat
	asr	x22, x24, #32
LBB0_17:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcat
	mov	x0, x20
	bl	_strlen
	mov	w8, #58
	b	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_21 Depth=1
	cbz	w9, LBB0_25
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	strb	w9, [x20, w0, sxtw]
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x22, x22, #1
	add	w0, w0, #1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21, x22]
	cmp	w9, #10
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	cmp	w9, #92
	b.ne	LBB0_18
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	sub	w0, w0, #1
	b	LBB0_20
LBB0_24:                                ;   in Loop: Header=BB0_21 Depth=1
	strb	w8, [x20, w0, sxtw]
	add	w0, w0, #1
	ldrb	w9, [x21, x22]
	b	LBB0_19
LBB0_25:
	mov	x0, x19
	bl	_rewind
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	w1, #1
	mov	x3, x19
	bl	_fwrite
	mov	x0, x19
	bl	_ferror
	cbz	x0, LBB0_27
; %bb.26:
Lloh23:
	adrp	x0, l_str.7@PAGE
Lloh24:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
	mov	x0, x19
	bl	_fclose
	mov	x0, x21
	bl	_free
	mov	x0, x20
	bl	_free
Lloh25:
	adrp	x8, _ERROR_WRITEERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR_WRITEERROR@GOTPAGEOFF]
	b	LBB0_28
LBB0_27:
	mov	x0, x19
	bl	_fclose
	mov	x0, x21
	bl	_free
	mov	x0, x20
	bl	_free
Lloh27:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
LBB0_28:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_NOTENOUGHPARAMS,4,2      ; @ERROR_NOTENOUGHPARAMS
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"r+t"

l_.str.2:                               ; @.str.2
	.asciz	"deptool: No such dependency file: %s\n"

	.comm	_ERROR_DEPENDFILENOTFOUND,4,2   ; @ERROR_DEPENDFILENOTFOUND
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_ERROR_OUTOFMEMORY,4,2          ; @ERROR_OUTOFMEMORY
	.comm	_ERROR_READERROR,4,2            ; @ERROR_READERROR
l_.str.5:                               ; @.str.5
	.asciz	"\n\n"

	.comm	_ERROR_WRITEERROR,4,2           ; @ERROR_WRITEERROR
	.comm	_ERROR_SUCCESS,4,2              ; @ERROR_SUCCESS
l_str:                                  ; @str
	.asciz	"deptool: Out of memory!"

l_str.7:                                ; @str.7
	.asciz	"deptool: Dependency file write error."

l_str.8:                                ; @str.8
	.asciz	"deptool: Dependency file read error."

l_str.9:                                ; @str.9
	.asciz	"Usage: deptool srcfile.d"

.subsections_via_symbols
