	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_htab
_init_htab:                             ## @init_htab
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r15
	leal	-1(%rsi), %eax
	cltd
	idivl	(%rdi)
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	movl	$2, %esi
	callq	_MAX
	movl	%eax, %edi
	callq	___log2
	movl	%eax, %ebx
	leal	1(%rbx), %r12d
	movq	8(%r15), %rax
	movslq	%ebx, %rcx
	movl	%r12d, (%rax,%rcx,4)
	movl	%r12d, 4(%rax,%rcx,4)
	movl	%ebx, 16(%r15)
	movl	$2, 20(%r15)
	movl	$1, %r14d
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_OADDR_OF
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	___ibitmap
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movl	$-1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	leal	-1(%rax), %ebx
	movl	%ebx, 28(%r15)
	movl	%ebx, 24(%r15)
	addl	%eax, %eax
	decl	%eax
	movl	%eax, 32(%r15)
	movq	_MINHDRSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_MAX
	decl	%eax
	movb	40(%r15), %cl
	sarl	%cl, %eax
	incl	%eax
	movl	%eax, 36(%r15)
	movl	%ebx, %eax
	cltd
	idivl	44(%r15)
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	callq	___log2
	movl	%eax, %ecx
	shll	%cl, %r14d
	cmpl	48(%r15), %r14d
	jle	LBB0_3
## %bb.2:
	movl	%r14d, 48(%r15)
LBB0_3:
	movq	%r15, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alloc_segs                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MINHDRSIZE,4,2                 ## @MINHDRSIZE
	.no_dead_strip	_init_htab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_htab
_init_htab:                             ; @init_htab
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	w8, w1, #1
	ldr	w9, [x0]
	sdiv	w8, w8, w9
	add	w0, w8, #1
	mov	w22, #2
	mov	w1, #2
	bl	_MAX
	bl	___log2
	mov	x20, x0
	ldr	x8, [x19, #8]
	sxtw	x9, w20
	add	x21, x9, #1
	str	w21, [x8, w0, sxtw #2]
	str	w21, [x8, x21, lsl #2]
	stp	w0, w22, [x19, #16]
	mov	w22, #1
	mov	w1, #1
	bl	_OADDR_OF
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	mov	w3, #0
	bl	___ibitmap
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	lsl	w8, w22, w20
	sub	w20, w8, #1
	stp	w20, w20, [x19, #24]
	lsl	w8, w8, #1
	sub	w8, w8, #1
	str	w8, [x19, #32]
Lloh0:
	adrp	x8, _MINHDRSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MINHDRSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_MAX
	sub	w8, w0, #1
	ldp	w9, w10, [x19, #40]
	asr	w8, w8, w9
	add	w8, w8, #1
	str	w8, [x19, #36]
	sdiv	w8, w20, w10
	add	w0, w8, #1
	bl	___log2
	lsl	w1, w22, w0
	ldr	w8, [x19, #48]
	cmp	w1, w8
	b.le	LBB0_4
; %bb.3:
	str	w1, [x19, #48]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_alloc_segs
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MINHDRSIZE,4,2                 ; @MINHDRSIZE
	.no_dead_strip	_init_htab
.subsections_via_symbols
