	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genliteraldir                  ## -- Begin function genliteraldir
	.p2align	4, 0x90
_genliteraldir:                         ## @genliteraldir
	.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, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rdi
	callq	_inotablookup
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_panic
LBB0_2:
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r12, %rdi
	movl	$438, %edx                      ## imm = 0x1B6
	callq	_open
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_dirp@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	4(%r13), %edx
	movl	%edx, %esi
	callq	_rst_seekdir
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_dup
	movl	%eax, %r12d
	movl	(%r13), %ebx
	testl	%ebx, %ebx
	jle	LBB0_12
## %bb.5:
	movl	(%r14), %esi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r14), %esi
	subl	%esi, %ebx
	jle	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_MIN
	movl	%eax, %r13d
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_read
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_curfile@GOTPCREL(%rip), %rax
	movslq	8(%rax), %rdx
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r14d, %edi
	movq	_BUFSIZ@GOTPCREL(%rip), %r14
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_done
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_Nflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_write
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_curfile@GOTPCREL(%rip), %rax
	movslq	8(%rax), %rdx
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r14d, %edi
	movq	_BUFSIZ@GOTPCREL(%rip), %r14
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_done
	jmp	LBB0_11
LBB0_12:
	movl	%r12d, %edi
	callq	_close
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_close
	movq	_GOOD@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	callq	_fflush
	movl	(%rbx), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_FAIL@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot find directory inode %ju named %s\n"

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s: "

L_.str.2:                               ## @.str.2
	.asciz	"cannot create file: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_FAIL,4,2                       ## @FAIL
	.comm	_dirp,8,3                       ## @dirp
L_.str.3:                               ## @.str.3
	.asciz	"write error extracting inode %ju, name %s\n"

	.comm	_curfile,16,3                   ## @curfile
L_.str.4:                               ## @.str.4
	.asciz	"read: %s\n"

	.comm	_Nflag,4,2                      ## @Nflag
L_.str.5:                               ## @.str.5
	.asciz	"write: %s\n"

	.comm	_GOOD,4,2                       ## @GOOD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genliteraldir                  ; -- Begin function genliteraldir
	.p2align	2
_genliteraldir:                         ; @genliteraldir
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x28, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x28, [x28, _BUFSIZ@GOTPAGEOFF]
	ldr	w8, [x28]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x1
	bl	_inotablookup
	mov	x22, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_panic
LBB0_2:
Lloh9:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x21
	mov	w2, #438
	bl	_open
	tbnz	w0, #31, LBB0_12
; %bb.3:
	mov	x20, x0
Lloh18:
	adrp	x21, _dirp@GOTPAGE
Lloh19:
	ldr	x21, [x21, _dirp@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	w1, [x22, #4]
	mov	x2, x1
	bl	_rst_seekdir
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_dup
	mov	x21, x0
	ldr	w22, [x22]
	cmp	w22, #1
	b.lt	LBB0_11
; %bb.4:
	ldr	w1, [x28]
Lloh20:
	adrp	x25, _stderr@GOTPAGE
Lloh21:
	ldr	x25, [x25, _stderr@GOTPAGEOFF]
Lloh22:
	adrp	x24, _curfile@GOTPAGE
Lloh23:
	ldr	x24, [x24, _curfile@GOTPAGEOFF]
Lloh24:
	adrp	x23, _Nflag@GOTPAGE
Lloh25:
	ldr	x23, [x23, _Nflag@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x28]
	sub	w22, w22, w1
	cmp	w22, #0
	b.le	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_MIN
	mov	x26, x0
	mov	x0, x21
	mov	x1, x19
	mov	x2, x26
	bl	_read
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x23]
	cbnz	w8, LBB0_5
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x25]
	ldrsw	x2, [x24, #8]
	ldr	w8, [x24]
	str	x8, [sp, #-16]!
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	ldr	w27, [x25]
Lloh28:
	adrp	x8, _errno@GOTPAGE
Lloh29:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
	mov	x0, x27
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_done
	ldr	w8, [x23]
	cbnz	w8, LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x26
	bl	_write
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x25]
	ldrsw	x2, [x24, #8]
	ldr	w8, [x24]
	str	x8, [sp, #-16]!
Lloh33:
	adrp	x1, l_.str.3@PAGE
Lloh34:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	ldr	w26, [x25]
Lloh35:
	adrp	x8, _errno@GOTPAGE
Lloh36:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
	mov	x0, x26
Lloh38:
	adrp	x1, l_.str.5@PAGE
Lloh39:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_done
	b	LBB0_5
LBB0_11:
	mov	x0, x21
	bl	_close
	mov	x0, x20
	bl	_close
Lloh40:
	adrp	x8, _GOOD@GOTPAGE
Lloh41:
	ldr	x8, [x8, _GOOD@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh42:
	adrp	x19, _stderr@GOTPAGE
Lloh43:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_fprintf
	ldr	w0, [x19]
	bl	_fflush
	ldr	w19, [x19]
Lloh46:
	adrp	x8, _errno@GOTPAGE
Lloh47:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh49:
	adrp	x1, l_.str.2@PAGE
Lloh50:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fprintf
Lloh51:
	adrp	x8, _FAIL@GOTPAGE
Lloh52:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
Lloh53:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh54:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot find directory inode %ju named %s\n"

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s: "

l_.str.2:                               ; @.str.2
	.asciz	"cannot create file: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_FAIL,4,2                       ; @FAIL
	.comm	_dirp,8,3                       ; @dirp
l_.str.3:                               ; @.str.3
	.asciz	"write error extracting inode %ju, name %s\n"

	.comm	_curfile,16,3                   ; @curfile
l_.str.4:                               ; @.str.4
	.asciz	"read: %s\n"

	.comm	_Nflag,4,2                      ; @Nflag
l_.str.5:                               ; @.str.5
	.asciz	"write: %s\n"

	.comm	_GOOD,4,2                       ; @GOOD
.subsections_via_symbols
