	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt1_init_tables
_pt1_init_tables:                       ## @pt1_init_tables
	.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	%rdi, %rbx
	movq	_pt1_nr_tables@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r13d, %r13d
	testl	%edi, %edi
	je	LBB0_13
## %bb.1:
	movl	$8, %esi
	callq	_array_size
	movl	%eax, %edi
	callq	_vmalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_pt1_init_table_count
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_pt1_init_table
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_4
LBB0_12:
	movq	%r12, %rdi
	callq	_vfree
	jmp	LBB0_13
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_13
LBB0_4:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_pt1_nr_tables@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_8
## %bb.5:
	leaq	8(%r12), %rbx
	movl	$1, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	leaq	-60(%rbp), %rdx
	callq	_pt1_init_table
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-60(%rbp), %edi
	callq	_cpu_to_le32
	movq	-8(%r12,%r14,8), %rcx
	movq	%rax, (%rcx)
	incq	%r14
	movq	_pt1_nr_tables@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$-8, %r15
	addq	$8, %rbx
	cmpq	%rax, %r14
	jl	LBB0_6
LBB0_8:
	movl	-44(%rbp), %edi
	callq	_cpu_to_le32
	movq	_pt1_nr_tables@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	-8(%r12,%rcx,8), %rcx
	movq	%rax, (%rcx)
	movl	-44(%rbp), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_pt1_register_tables
	movq	%r12, (%rbx)
	xorl	%r13d, %r13d
LBB0_13:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%eax, %r13d
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.10:
	negq	%r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%r12,%r15), %rsi
	movq	%rbx, %rdi
	callq	_pt1_cleanup_table
	addq	$-8, %r15
	cmpq	$-8, %r15
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_pt1_nr_tables,4,2              ## @pt1_nr_tables
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_pt1_init_tables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt1_init_tables
_pt1_init_tables:                       ; @pt1_init_tables
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _pt1_nr_tables@GOTPAGE
Lloh1:
	ldr	x22, [x22, _pt1_nr_tables@GOTPAGEOFF]
	ldr	w0, [x22]
	cbz	w0, LBB0_4
; %bb.1:
	mov	w1, #8
	bl	_array_size
	bl	_vmalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	bl	_pt1_init_table_count
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_pt1_init_table
	mov	x21, x0
	cbz	w0, LBB0_6
LBB0_3:
	mov	x0, x20
	bl	_vfree
	b	LBB0_11
LBB0_4:
	mov	w21, #0
	b	LBB0_11
LBB0_5:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_6:
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.7:
	mov	x23, #0
	mov	w24, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x20, x23
	add	x1, x8, #8
	add	x2, sp, #8
	mov	x0, x19
	bl	_pt1_init_table
	cbnz	w0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [sp, #8]
	bl	_cpu_to_le32
	ldr	x8, [x20, x23]
	str	x0, [x8]
	add	x24, x24, #1
	ldrsw	x8, [x22]
	add	x23, x23, #8
	cmp	x24, x8
	b.lt	LBB0_8
LBB0_10:
	ldr	w0, [sp, #12]
	bl	_cpu_to_le32
	ldrsw	x8, [x22]
	add	x8, x20, x8, lsl #3
	ldur	x8, [x8, #-8]
	str	x0, [x8]
	ldr	w1, [sp, #12]
	mov	x0, x19
	bl	_pt1_register_tables
	mov	w21, #0
	str	x20, [x19]
LBB0_11:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
LBB0_12:
	mov	x21, x0
	cbz	w24, LBB0_3
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x1, x20, x23
	mov	x0, x19
	bl	_pt1_cleanup_table
	sub	x23, x23, #8
	cmn	x23, #8
	b.ne	LBB0_13
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_pt1_nr_tables,4,2              ; @pt1_nr_tables
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_pt1_init_tables
.subsections_via_symbols
