	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_directory_descriptors
_write_directory_descriptors:           ## @write_directory_descriptors
	.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, %r14
	movq	%rdi, %r13
	movq	16(%rsi), %r15
	xorl	%ebx, %ebx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rax
	movl	%esi, %ecx
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r15
	movl	%ecx, %ebx
	cmpq	8(%rax), %rax
	je	LBB0_16
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	__write_directory_descriptors
	testl	%eax, %eax
	js	LBB0_17
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	_VDD_JOLIET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r15), %rax
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%rsi), %ecx
	cmpl	8(%r14), %ecx
	jl	LBB0_15
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rdx
	cmpq	%rdx, %r15
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%esi, %ecx
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%rdx, %rax
	decl	%ecx
	movq	8(%rdx), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r15), %r14
	testq	%r14, %r14
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	callq	_wb_buffptr
	movq	%rax, %rbx
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%rax, %rdi
	callq	_memcpy
	movslq	(%r14), %rax
	addq	%rax, %rbx
	movq	_LOGICAL_BLOCK_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	subl	%eax, %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_wb_consume
	testl	%eax, %eax
	js	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_6
	jmp	LBB0_7
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsi, %rax
	jmp	LBB0_15
LBB0_16:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VDD_JOLIET,8,3                 ## @VDD_JOLIET
	.comm	_LOGICAL_BLOCK_SIZE,4,2         ## @LOGICAL_BLOCK_SIZE
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_write_directory_descriptors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_directory_descriptors
_write_directory_descriptors:           ; @write_directory_descriptors
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	mov	w21, #0
	ldr	x22, [x1, #16]
Lloh0:
	adrp	x24, _VDD_JOLIET@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VDD_JOLIET@GOTPAGEOFF]
Lloh2:
	adrp	x25, _LOGICAL_BLOCK_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _LOGICAL_BLOCK_SIZE@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x8
	mov	x21, x9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #8]
	cmp	x22, x8
	b.eq	LBB0_14
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	__write_directory_descriptors
	tbnz	w0, #31, LBB0_15
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x26, [x22, #24]
	cbz	x26, LBB0_8
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_wb_buffptr
	mov	x23, x0
	ldp	w2, w1, [x26]
	bl	_memcpy
	ldrsw	x8, [x26]
	add	x0, x23, x8
	ldr	w9, [x25]
	sub	w2, w9, w8
	mov	w1, #0
	bl	_memset
	ldr	w1, [x25]
	mov	x0, x20
	bl	_wb_consume
	tbnz	w0, #31, LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x26, [x26, #8]
	cbnz	x26, LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w21, #1
	ldr	w10, [x19, #8]
	cmp	w9, w10
	b.lt	LBB0_1
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x22, #8]
	cmp	x22, x8
	b.eq	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x9, [x22]
	cbnz	x9, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x22, x8
	sub	w21, w21, #1
	b	LBB0_10
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x9
	b	LBB0_2
LBB0_14:
Lloh4:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
LBB0_15:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_VDD_JOLIET,8,3                 ; @VDD_JOLIET
	.comm	_LOGICAL_BLOCK_SIZE,4,2         ; @LOGICAL_BLOCK_SIZE
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_write_directory_descriptors
.subsections_via_symbols
