	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_32_lpae_alloc_pgtable_s1
_arm_32_lpae_alloc_pgtable_s1:          ## @arm_32_lpae_alloc_pgtable_s1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$32, (%rdi)
	jg	LBB0_6
## %bb.2:
	movq	%rdi, %rbx
	cmpl	$40, 4(%rdi)
	jg	LBB0_6
## %bb.4:
	movq	_SZ_4K@GOTPCREL(%rip), %rax
	movq	_SZ_2M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SZ_1G@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	andl	%ecx, 8(%rbx)
	movq	%rbx, %rdi
	callq	_arm_64_lpae_alloc_pgtable_s1
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_ARM_32_LPAE_TCR_EAE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%rbx)
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SZ_4K,4,2                      ## @SZ_4K
	.comm	_SZ_2M,4,2                      ## @SZ_2M
	.comm	_SZ_1G,4,2                      ## @SZ_1G
	.comm	_ARM_32_LPAE_TCR_EAE,4,2        ## @ARM_32_LPAE_TCR_EAE
	.no_dead_strip	_arm_32_lpae_alloc_pgtable_s1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_32_lpae_alloc_pgtable_s1
_arm_32_lpae_alloc_pgtable_s1:          ; @arm_32_lpae_alloc_pgtable_s1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cmp	w8, #32
	b.gt	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #4]
	cmp	w8, #40
	b.le	LBB0_4
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh0:
	adrp	x8, _SZ_4K@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SZ_4K@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SZ_2M@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SZ_2M@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SZ_1G@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SZ_1G@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x19, #8]
	and	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_arm_64_lpae_alloc_pgtable_s1
	cbz	x0, LBB0_3
; %bb.5:
Lloh9:
	adrp	x8, _ARM_32_LPAE_TCR_EAE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARM_32_LPAE_TCR_EAE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SZ_4K,4,2                      ; @SZ_4K
	.comm	_SZ_2M,4,2                      ; @SZ_2M
	.comm	_SZ_1G,4,2                      ; @SZ_1G
	.comm	_ARM_32_LPAE_TCR_EAE,4,2        ; @ARM_32_LPAE_TCR_EAE
	.no_dead_strip	_arm_32_lpae_alloc_pgtable_s1
.subsections_via_symbols
