	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calculate_path_table_size
_calculate_path_table_size:             ## @calculate_path_table_size
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	16(%rdi), %r9
	xorl	%r10d, %r10d
	xorl	%edx, %edx
	jmp	LBB0_3
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	addl	%eax, %edx
	andl	$1, %eax
	addl	%eax, %edx
	addl	$8, %edx
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r10
	cmpq	%r8, %r10
	je	LBB0_19
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%r10, %rax
	shlq	$4, %rax
	movl	(%r9,%rax), %r11d
	testq	%r11, %r11
	je	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r11d, %r11d
	jle	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r9,%rax), %r15
	cmpl	$1, %r11d
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%esi, %esi
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r11b
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15,%rsi,8), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %eax
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r11d, %r14d
	andl	$-2, %r14d
	xorl	%esi, %esi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=2
	addl	%edx, %eax
	addl	$8, %eax
	addl	%ebx, %eax
	andl	$1, %ebx
	leal	(%rbx,%rax), %edx
	addl	$8, %edx
	addq	$2, %rsi
	cmpq	%rsi, %r14
	je	LBB0_13
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15,%rsi,8), %rcx
	movl	$1, %ebx
	cmpq	$0, 8(%rcx)
	movl	$1, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movl	(%rcx), %eax
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	addl	%eax, %edx
	andl	$1, %eax
	movq	8(%r15,%rsi,8), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	(%rcx), %ebx
	jmp	LBB0_12
LBB0_1:
	xorl	%edx, %edx
LBB0_19:
	movl	%edx, 4(%rdi)
	movq	_PATH_TABLE_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	(%rdx,%rcx), %eax
	decl	%eax
	cltd
	idivl	%ecx
	movl	%eax, %esi
	movq	_LOGICAL_BLOCK_SIZE@GOTPCREL(%rip), %rbx
	movl	%ecx, %eax
	cltd
	idivl	(%rbx)
	imull	%esi, %eax
	movl	%eax, 8(%rdi)
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_TABLE_BLOCK_SIZE,4,2      ## @PATH_TABLE_BLOCK_SIZE
	.comm	_LOGICAL_BLOCK_SIZE,4,2         ## @LOGICAL_BLOCK_SIZE
	.no_dead_strip	_calculate_path_table_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculate_path_table_size
_calculate_path_table_size:             ; @calculate_path_table_size
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x10, #0
	mov	w8, #0
	ldr	x11, [x0, #16]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, x9
	b.eq	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	lsl	x12, x10, #4
	ldr	w12, [x11, x12]
	cbz	w12, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w12, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x11, x10, lsl #4
	ldr	x13, [x13, #8]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	w14, [x14]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	and	w15, w14, #0x1
	add	w8, w8, w14
	add	w8, w8, w15
	add	w8, w8, #8
	add	x13, x13, #8
	subs	x12, x12, #1
	b.eq	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x13]
	ldr	x15, [x14, #8]
	cbnz	x15, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	w14, #1
	b	LBB0_7
LBB0_10:
	mov	w8, #0
LBB0_11:
Lloh0:
	adrp	x9, _PATH_TABLE_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PATH_TABLE_BLOCK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w10, w8, w9
	sub	w10, w10, #1
Lloh3:
	adrp	x11, _LOGICAL_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _LOGICAL_BLOCK_SIZE@GOTPAGEOFF]
	sdiv	w10, w10, w9
Lloh5:
	ldr	w11, [x11]
	sdiv	w9, w9, w11
	mul	w9, w9, w10
	stp	w8, w9, [x0, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_TABLE_BLOCK_SIZE,4,2      ; @PATH_TABLE_BLOCK_SIZE
	.comm	_LOGICAL_BLOCK_SIZE,4,2         ; @LOGICAL_BLOCK_SIZE
	.no_dead_strip	_calculate_path_table_size
.subsections_via_symbols
