	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkentry
_mkentry:                               ## @mkentry
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movl	8(%rdi), %edi
	callq	_strlen
	movq	%rax, -48(%rbp)
	xorl	%r15d, %r15d
	leaq	-64(%rbp), %rsi
	xorl	%edi, %edi
	callq	_DIRSIZ
	movl	%eax, %r12d
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_DIRSIZ
	movl	%eax, %r15d
LBB0_2:
	movl	8(%rbx), %eax
	subl	%r15d, %eax
	cmpl	%r12d, %eax
	jge	LBB0_4
## %bb.3:
	movq	_KEEPON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movl	%eax, -56(%rbp)
	movl	%r15d, 8(%rbx)
	movslq	%r15d, %r15
	movq	(%r14), %rdi
	movq	%rdi, (%rbx,%r15)
	movl	-56(%rbp), %eax
	movl	%eax, 8(%rbx,%r15)
	callq	_inoinfo
	movl	(%rax), %eax
	movl	%eax, 28(%rbx,%r15)
	movq	-48(%rbp), %rax
	movq	%rax, 16(%rbx,%r15)
	movl	24(%rbx,%r15), %edi
	movl	8(%r14), %esi
	movq	-48(%rbp), %rdx
	incq	%rdx
	callq	_memmove
	movq	_ALTERED@GOTPCREL(%rip), %rcx
	movq	_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
LBB0_5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEEPON,4,2                     ## @KEEPON
	.comm	_ALTERED,4,2                    ## @ALTERED
	.comm	_STOP,4,2                       ## @STOP
	.no_dead_strip	_mkentry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkentry
_mkentry:                               ; @mkentry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	w0, [x0, #8]
	bl	_strlen
	str	x0, [sp, #16]
	mov	x1, sp
	mov	w0, #0
	bl	_DIRSIZ
	mov	x21, x0
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	mov	x1, x20
	bl	_DIRSIZ
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldr	w8, [x20, #8]
	sub	w8, w8, w0
	cmp	w8, w21
	b.ge	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _KEEPON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEEPON@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	str	w8, [sp, #8]
	str	w0, [x20, #8]
	add	x20, x20, w0, sxtw
	ldr	x0, [x19]
	str	x0, [x20]
	ldr	w8, [sp, #8]
	str	w8, [x20, #8]
	bl	_inoinfo
	ldr	w8, [x0]
	str	w8, [x20, #28]
	ldr	x8, [sp, #16]
	str	x8, [x20, #16]
	ldr	w0, [x20, #24]
	ldr	w1, [x19, #8]
	ldr	x8, [sp, #16]
	add	x2, x8, #1
	bl	_memmove
Lloh3:
	adrp	x8, _ALTERED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALTERED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _STOP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _STOP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w9, w8
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_KEEPON,4,2                     ; @KEEPON
	.comm	_ALTERED,4,2                    ; @ALTERED
	.comm	_STOP,4,2                       ; @STOP
	.no_dead_strip	_mkentry
.subsections_via_symbols
