	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdnblocks                      ## -- Begin function mdnblocks
	.p2align	4, 0x90
_mdnblocks:                             ## @mdnblocks
	.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
	pushq	%rax
	.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, %r15
	movq	_EXTENSION_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_mdopenfork
	movq	(%r15), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%r14,8)
	setg	%dil
	callq	_Assert
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movq	(%rax,%r14,8), %rbx
	movq	(%rcx,%r14,8), %rax
	leaq	(%rax,%rbx,4), %rax
	addq	$-4, %rax
	movq	_RELSEG_SIZE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	__mdnblocks
	movq	%rax, %r13
	movq	(%r12), %rax
	cmpq	%rax, %r13
	jbe	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movq	(%r12), %rax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rax, %r13
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	__mdfd_openseg
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.6:
	decq	%rbx
	imulq	(%r12), %rbx
	movq	%rbx, %rax
	jmp	LBB0_7
LBB0_4:
	decq	%rbx
	imulq	%rbx, %rax
	addq	%r13, %rax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXTENSION_FAIL,4,2             ## @EXTENSION_FAIL
	.comm	_RELSEG_SIZE,8,3                ## @RELSEG_SIZE
	.comm	_FATAL,4,2                      ## @FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"segment too big"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdnblocks                      ; -- Begin function mdnblocks
	.p2align	2
_mdnblocks:                             ; @mdnblocks
	.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
Lloh0:
	adrp	x8, _EXTENSION_FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXTENSION_FAIL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_mdopenfork
	ldr	x8, [x20]
	lsl	x22, x19, #3
	ldr	x8, [x8, x22]
	cmp	x8, #0
	cset	w0, gt
	bl	_Assert
	ldp	x8, x9, [x20]
	ldr	x21, [x8, x22]
	ldr	x8, [x9, x22]
	add	x8, x8, x21, lsl #2
	sub	x2, x8, #4
Lloh3:
	adrp	x24, _RELSEG_SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _RELSEG_SIZE@GOTPAGEOFF]
Lloh5:
	adrp	x25, _FATAL@GOTPAGE
Lloh6:
	ldr	x25, [x25, _FATAL@GOTPAGEOFF]
Lloh7:
	adrp	x22, l_.str@PAGE
Lloh8:
	add	x22, x22, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	__mdnblocks
	mov	x23, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ls	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x25]
	mov	x1, x22
	bl	_elog
	ldr	x8, [x24]
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	x23, x8
	b.lo	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	w3, #0
	bl	__mdfd_openseg
	mov	x2, x0
	add	x21, x21, #1
	cbnz	x2, LBB0_1
; %bb.5:
	ldr	x8, [x24]
	sub	x9, x21, #1
	mul	x0, x8, x9
	b	LBB0_7
LBB0_6:
	sub	x9, x21, #1
	madd	x0, x8, x9, x23
LBB0_7:
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXTENSION_FAIL,4,2             ; @EXTENSION_FAIL
	.comm	_RELSEG_SIZE,8,3                ; @RELSEG_SIZE
	.comm	_FATAL,4,2                      ; @FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"segment too big"

.subsections_via_symbols
