	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_dir
_add_dir:                               ## @add_dir
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_insecure@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	je	LBB0_1
LBB0_9:
	movq	_ndirs@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.10:
	xorl	%ebx, %ebx
	movq	_dirs@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_12
LBB0_13:
	movq	_MAXDIRS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	callq	_errx
	movl	(%r15), %eax
LBB0_15:
	movq	_dirs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leal	1(%rax), %edx
	movl	%edx, (%r15)
	cltq
	movq	%r12, (%rcx,%rax,8)
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_stat
	cmpl	$-1, %eax
	je	LBB0_17
## %bb.2:
	cmpq	$0, -56(%rbp)
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_17:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warn                           ## TAILCALL
LBB0_5:
	movl	-48(%rbp), %eax
	movq	_S_IWOTH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_7:
	movq	_S_IWGRP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
LBB0_4:
	movq	%r12, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_insecure,4,2                   ## @insecure
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"%s: ignoring directory not owned by root"

	.comm	_S_IWOTH,4,2                    ## @S_IWOTH
L_.str.2:                               ## @.str.2
	.asciz	"%s: ignoring world-writable directory"

	.comm	_S_IWGRP,4,2                    ## @S_IWGRP
L_.str.3:                               ## @.str.3
	.asciz	"%s: ignoring group-writable directory"

	.comm	_ndirs,4,2                      ## @ndirs
	.comm	_dirs,8,3                       ## @dirs
	.comm	_MAXDIRS,4,2                    ## @MAXDIRS
L_.str.4:                               ## @.str.4
	.asciz	"\"%s\": Too many directories in path"

	.no_dead_strip	_add_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_dir
_add_dir:                               ; @add_dir
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _insecure@GOTPAGE
Lloh1:
	ldr	x8, [x8, _insecure@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w2, w8
	cbz	w8, LBB0_9
LBB0_1:
Lloh3:
	adrp	x21, _ndirs@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ndirs@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh5:
	adrp	x22, _dirs@GOTPAGE
Lloh6:
	ldr	x22, [x22, _dirs@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x0, [x8, x23, lsl #3]
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.lt	LBB0_3
LBB0_5:
Lloh7:
	adrp	x9, _MAXDIRS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MAXDIRS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_7
; %bb.6:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_errx
	ldr	w8, [x21]
LBB0_7:
	ldr	x9, [x22]
	add	w10, w8, #1
	str	w10, [x21]
	str	x19, [x9, w8, sxtw #3]
LBB0_8:
	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
LBB0_9:
	mov	x1, sp
	mov	x0, x19
	bl	_stat
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.10:
	ldr	x8, [sp]
	cbz	x8, LBB0_13
; %bb.11:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_12:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	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
	b	_warn
LBB0_13:
	ldr	w8, [sp, #8]
Lloh16:
	adrp	x9, _S_IWOTH@GOTPAGE
Lloh17:
	ldr	x9, [x9, _S_IWOTH@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_15:
Lloh21:
	adrp	x9, _S_IWGRP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _S_IWGRP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.16:
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_17:
	mov	x1, x19
	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
	b	_warnx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_insecure,4,2                   ; @insecure
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"%s: ignoring directory not owned by root"

	.comm	_S_IWOTH,4,2                    ; @S_IWOTH
l_.str.2:                               ; @.str.2
	.asciz	"%s: ignoring world-writable directory"

	.comm	_S_IWGRP,4,2                    ; @S_IWGRP
l_.str.3:                               ; @.str.3
	.asciz	"%s: ignoring group-writable directory"

	.comm	_ndirs,4,2                      ; @ndirs
	.comm	_dirs,8,3                       ; @dirs
	.comm	_MAXDIRS,4,2                    ; @MAXDIRS
l_.str.4:                               ; @.str.4
	.asciz	"\"%s\": Too many directories in path"

	.no_dead_strip	_add_dir
.subsections_via_symbols
