	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_spool_dirs
_check_spool_dirs:                      ## @check_spool_dirs
	.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	_dirlist@GOTPCREL(%rip), %rdi
	callq	_LIST_FIRST
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	movq	_link@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rax, %rdi
	callq	_LIST_NEXT
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_problems@GOTPCREL(%rip), %r14
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	(%r12), %r8d
	movl	4(%r12), %ecx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_LIST_NEXT
	testq	%rax, %rax
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_equal
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	(%r14)
	movl	4(%rbx), %edi
	movl	4(%r12), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %edx
	movl	(%rbx), %esi
	movl	4(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dirlist,4,2                    ## @dirlist
	.comm	_link,4,2                       ## @link
	.comm	_problems,4,2                   ## @problems
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s and %s share the same spool, %s"

L_.str.1:                               ## @.str.1
	.asciz	"%s (%s) and %s (%s) are the same directory"

	.no_dead_strip	_check_spool_dirs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_spool_dirs
_check_spool_dirs:                      ; @check_spool_dirs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
Lloh0:
	adrp	x0, _dirlist@GOTPAGE
Lloh1:
	ldr	x0, [x0, _dirlist@GOTPAGEOFF]
	bl	_LIST_FIRST
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x23, _link@GOTPAGE
Lloh3:
	ldr	x23, [x23, _link@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_LIST_NEXT
	cbz	x0, LBB0_9
; %bb.2:
Lloh4:
	adrp	x24, _problems@GOTPAGE
Lloh5:
	ldr	x24, [x24, _problems@GOTPAGEOFF]
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldp	w2, w1, [x22]
	ldp	w8, w3, [x19]
	str	x8, [sp]
	mov	x0, x21
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_warnx
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_LIST_NEXT
	cbz	x0, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x19
	mov	x19, x0
	mov	x0, x22
	mov	x1, x19
	bl	_equal
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
	ldr	w0, [x22, #4]
	ldr	w1, [x19, #4]
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x19]
	ldp	w1, w3, [x22]
	mov	x0, x20
	b	LBB0_4
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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_dirlist,4,2                    ; @dirlist
	.comm	_link,4,2                       ; @link
	.comm	_problems,4,2                   ; @problems
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s and %s share the same spool, %s"

l_.str.1:                               ; @.str.1
	.asciz	"%s (%s) and %s (%s) are the same directory"

	.no_dead_strip	_check_spool_dirs
.subsections_via_symbols
