	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt1_init_table
_pt1_init_table:                        ## @pt1_init_table
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	-44(%rbp), %rsi
	callq	_pt1_alloc_page
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_PT1_NR_BUFS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	leaq	-68(%rbp), %rdx
	callq	_pt1_init_buffer
	testl	%eax, %eax
	js	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-68(%rbp), %edi
	callq	_cpu_to_le32
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r13)
	incq	%r14
	movq	_PT1_NR_BUFS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r13
	decl	%r15d
	cmpq	%rax, %r14
	jl	LBB0_3
LBB0_9:
	movq	%r12, %rdi
	callq	_pt1_increment_table_count
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rcx)
	movl	-44(%rbp), %eax
	movl	%eax, 8(%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
	movl	%eax, %ebx
	testl	%r15d, %r15d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_7
## %bb.5:
	addq	$-4, %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	callq	_pt1_cleanup_buffer
	addq	$-4, %r13
	cmpq	$-4, %r13
	jne	LBB0_6
LBB0_7:
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_pt1_free_page
LBB0_10:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PT1_NR_BUFS,4,2                ## @PT1_NR_BUFS
	.no_dead_strip	_pt1_init_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt1_init_table
_pt1_init_table:                        ; @pt1_init_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	add	x1, sp, #12
	bl	_pt1_alloc_page
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x23, _PT1_NR_BUFS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PT1_NR_BUFS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w25, #0
	mov	x24, #0
	mov	x26, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x1, x8, x24
	add	x2, sp, #8
	mov	x0, x20
	bl	_pt1_init_buffer
	tbnz	w0, #31, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [sp, #8]
	bl	_cpu_to_le32
	ldr	x8, [x21]
	str	w0, [x8, x24]
	add	x26, x26, #1
	ldrsw	x8, [x23]
	add	x24, x24, #4
	sub	w25, w25, #1
	cmp	x26, x8
	b.lt	LBB0_3
LBB0_5:
	mov	x0, x20
	bl	_pt1_increment_table_count
	mov	w22, #0
	str	x21, [x19, #16]
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
	b	LBB0_11
LBB0_6:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_7:
	mov	x22, x0
	cbz	w25, LBB0_10
; %bb.8:
	sub	x23, x24, #4
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x1, x8, x23
	mov	x0, x20
	bl	_pt1_cleanup_buffer
	sub	x23, x23, #4
	cmn	x23, #4
	b.ne	LBB0_9
LBB0_10:
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_pt1_free_page
LBB0_11:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PT1_NR_BUFS,4,2                ; @PT1_NR_BUFS
	.no_dead_strip	_pt1_init_table
.subsections_via_symbols
