	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_wait_dep
_add_wait_dep:                          ## @add_wait_dep
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	%rsi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.3:
	testq	%r14, %r14
	je	LBB0_8
## %bb.4:
	movq	_MAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_debug_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	movq	8(%rbx), %rcx
	movq	(%r14), %r8
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
LBB0_6:
	movl	24(%r14), %edi
	movq	%rbx, %rsi
	callq	_Lst_AtEnd
	incl	20(%r14)
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	callq	_Lst_AtEnd
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movl	$1, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_printf
	movl	$4, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad wait dep %p %p\n"

	.comm	_MAKE,4,2                       ## @MAKE
	.comm	_debug_file,4,2                 ## @debug_file
L_.str.1:                               ## @.str.1
	.asciz	".WAIT: add dependency %s%s -> %s\n"

	.no_dead_strip	_add_wait_dep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_wait_dep
_add_wait_dep:                          ; @add_wait_dep
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	x0, x1
	b.eq	LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.2:
	cbz	x19, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _MAKE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAKE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DEBUG
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _debug_file@GOTPAGE
Lloh4:
	ldr	x8, [x8, _debug_file@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x2, x3, [x20]
	ldr	x4, [x19]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_5:
	ldr	w0, [x19, #24]
	mov	x1, x20
	bl	_Lst_AtEnd
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
	ldr	w0, [x20, #16]
	mov	x1, x19
	bl	_Lst_AtEnd
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_printf
	mov	w0, #4
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad wait dep %p %p\n"

	.comm	_MAKE,4,2                       ; @MAKE
	.comm	_debug_file,4,2                 ; @debug_file
l_.str.1:                               ; @.str.1
	.asciz	".WAIT: add dependency %s%s -> %s\n"

	.no_dead_strip	_add_wait_dep
.subsections_via_symbols
