	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ggc_pch_read
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ggc_pch_read
	.p2align	4, 0x90
_ggc_pch_read:                          ## @ggc_pch_read
	.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, %rcx
	leaq	-48(%rbp), %rdi
	movl	$4, %esi
	movl	$1, %edx
	callq	_fread
	cmpl	$1, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_fatal_error
LBB0_2:
	movslq	-48(%rbp), %rbx
	movq	_BYTES_PER_ALLOC_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$3, %esi
	movl	%ebx, %edi
	callq	_CEIL
	movq	_MAX_ALIGNMENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_ROUND_UP
	movq	_pch_zone@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	addq	%r14, %rbx
	movq	%rbx, 24(%rax)
	movq	%r14, 8(%rax)
	movq	%rbx, 16(%rax)
	movq	_G@GOTPCREL(%rip), %r14
	movq	8(%r14), %r12
	testq	%r12, %r12
	je	LBB0_9
## %bb.3:
	movq	_PAGE_OVERHEAD@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
	movq	56(%r12), %r12
	testq	%r12, %r12
	je	LBB0_9
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_7 Depth 2
	movq	$0, 48(%r12)
	movl	40(%r12), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r12)
	movq	$0, 32(%r12)
	movq	8(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %r15
	movl	(%rbx), %edi
	movl	(%r14), %edx
	subl	(%r13), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	callq	_free_small_page
	movq	%r15, %rbx
	testq	%r15, %r15
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %rbx
	callq	_free_large_page
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_7
	jmp	LBB0_8
LBB0_9:
	movl	$1, %edi
	movl	$16, %esi
	callq	_xcalloc
	movq	_pch_zone@GOTPCREL(%rip), %r15
	movq	8(%r15), %rbx
	movq	%rbx, (%rax)
	movl	$1, 8(%rax)
	cmpq	16(%r15), %rbx
	jae	LBB0_12
## %bb.10:
	movq	%rax, %r14
	movq	_GGC_PAGE_SIZE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_set_page_table_entry
	movslq	(%r12), %rax
	addq	%rax, %rbx
	cmpq	16(%r15), %rbx
	jb	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't read PCH file: %m"

	.comm	_BYTES_PER_ALLOC_BIT,4,2        ## @BYTES_PER_ALLOC_BIT
	.comm	_MAX_ALIGNMENT,4,2              ## @MAX_ALIGNMENT
	.comm	_pch_zone,32,3                  ## @pch_zone
	.comm	_G,16,3                         ## @G
	.comm	_PAGE_OVERHEAD,4,2              ## @PAGE_OVERHEAD
	.comm	_GGC_PAGE_SIZE,4,2              ## @GGC_PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ggc_pch_read                   ; -- Begin function ggc_pch_read
	.p2align	2
_ggc_pch_read:                          ; @ggc_pch_read
	.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, x1
	mov	x3, x0
	add	x0, sp, #8
	mov	w1, #4
	mov	w2, #1
	bl	_fread
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal_error
LBB0_2:
	ldrsw	x20, [sp, #8]
Lloh2:
	adrp	x8, _BYTES_PER_ALLOC_BIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BYTES_PER_ALLOC_BIT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w1, w8, #3
	mov	x0, x20
	bl	_CEIL
Lloh5:
	adrp	x8, _MAX_ALIGNMENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_ALIGNMENT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_ROUND_UP
Lloh8:
	adrp	x21, _pch_zone@GOTPAGE
Lloh9:
	ldr	x21, [x21, _pch_zone@GOTPAGEOFF]
	str	w20, [x21]
	add	x8, x19, x20
	stp	x8, x8, [x21, #16]
	str	x19, [x21, #8]
Lloh10:
	adrp	x20, _G@GOTPAGE
Lloh11:
	ldr	x20, [x20, _G@GOTPAGEOFF]
	ldr	x22, [x20, #8]
	cbz	x22, LBB0_9
; %bb.3:
Lloh12:
	adrp	x23, _PAGE_OVERHEAD@GOTPAGE
Lloh13:
	ldr	x23, [x23, _PAGE_OVERHEAD@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	stp	xzr, xzr, [x22]
	ldr	x22, [x22, #56]
	cbz	x22, LBB0_9
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	str	xzr, [x22, #48]
	ldr	w0, [x22, #40]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	stp	xzr, xzr, [x22, #24]
	str	xzr, [x22, #16]
	ldr	x19, [x22, #8]
	cbz	x19, LBB0_7
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x24, [x19, #8]
	ldr	w0, [x19]
	ldr	w8, [x20]
	ldr	w9, [x23]
	sub	w2, w8, w9
	mov	w1, #0
	bl	_memset
	mov	x0, x19
	bl	_free_small_page
	mov	x19, x24
	cbnz	x24, LBB0_6
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x22]
	cbz	x0, LBB0_4
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x19, [x0]
	bl	_free_large_page
	mov	x0, x19
	cbnz	x19, LBB0_8
	b	LBB0_4
LBB0_9:
	mov	w22, #1
	mov	w0, #1
	mov	w1, #16
	bl	_xcalloc
	ldp	x20, x8, [x21, #8]
	str	x20, [x0]
	str	w22, [x0, #8]
	cmp	x20, x8
	b.hs	LBB0_12
; %bb.10:
	mov	x19, x0
Lloh14:
	adrp	x22, _GGC_PAGE_SIZE@GOTPAGE
Lloh15:
	ldr	x22, [x22, _GGC_PAGE_SIZE@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_set_page_table_entry
	ldrsw	x8, [x22]
	ldr	x9, [x21, #16]
	add	x20, x20, x8
	cmp	x20, x9
	b.lo	LBB0_11
LBB0_12:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't read PCH file: %m"

	.comm	_BYTES_PER_ALLOC_BIT,4,2        ; @BYTES_PER_ALLOC_BIT
	.comm	_MAX_ALIGNMENT,4,2              ; @MAX_ALIGNMENT
	.comm	_pch_zone,32,3                  ; @pch_zone
	.comm	_G,16,3                         ; @G
	.comm	_PAGE_OVERHEAD,4,2              ; @PAGE_OVERHEAD
	.comm	_GGC_PAGE_SIZE,4,2              ; @GGC_PAGE_SIZE
.subsections_via_symbols
