	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_v7s_pte_to_cont
_arm_v7s_pte_to_cont:                   ## @arm_v7s_pte_to_cont
	.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
	movl	%edi, %ebx
	cmpl	$2, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$1, %esi
	jne	LBB0_4
## %bb.2:
	movq	_ARM_V7S_CONT_SECTION@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_4
LBB0_3:
	movl	$2, %edi
	callq	_ARM_V7S_ATTR_XN
	andl	%ebx, %eax
	movq	_ARM_V7S_CONT_PAGE_TEX_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%ebx, %edx
	movl	%edx, %esi
	orl	%eax, %esi
	movq	_ARM_V7S_PTE_TYPE_PAGE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_ARM_V7S_CONT_PAGE_XN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	xorl	%ebx, %esi
	movq	_ARM_V7S_CONT_PAGE_TEX_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_ARM_V7S_PTE_TYPE_CONT_PAGE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	orl	%esi, %edx
	movl	%edx, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_V7S_CONT_SECTION,4,2       ## @ARM_V7S_CONT_SECTION
	.comm	_ARM_V7S_CONT_PAGE_TEX_MASK,4,2 ## @ARM_V7S_CONT_PAGE_TEX_MASK
	.comm	_ARM_V7S_PTE_TYPE_PAGE,4,2      ## @ARM_V7S_PTE_TYPE_PAGE
	.comm	_ARM_V7S_CONT_PAGE_XN_SHIFT,4,2 ## @ARM_V7S_CONT_PAGE_XN_SHIFT
	.comm	_ARM_V7S_CONT_PAGE_TEX_SHIFT,4,2 ## @ARM_V7S_CONT_PAGE_TEX_SHIFT
	.comm	_ARM_V7S_PTE_TYPE_CONT_PAGE,4,2 ## @ARM_V7S_PTE_TYPE_CONT_PAGE
	.no_dead_strip	_arm_v7s_pte_to_cont
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_v7s_pte_to_cont
_arm_v7s_pte_to_cont:                   ; @arm_v7s_pte_to_cont
	.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
	mov	x19, x0
	cmp	w1, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #1
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _ARM_V7S_CONT_SECTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARM_V7S_CONT_SECTION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w19, w8, w19
	b	LBB0_4
LBB0_3:
	mov	w0, #2
	bl	_ARM_V7S_ATTR_XN
	and	w8, w0, w19
Lloh3:
	adrp	x9, _ARM_V7S_CONT_PAGE_TEX_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARM_V7S_CONT_PAGE_TEX_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w19
Lloh6:
	adrp	x10, _ARM_V7S_PTE_TYPE_PAGE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ARM_V7S_PTE_TYPE_PAGE@GOTPAGEOFF]
	orr	w11, w9, w8
Lloh8:
	ldr	w10, [x10]
	orr	w10, w11, w10
	eor	w10, w10, w19
Lloh9:
	adrp	x11, _ARM_V7S_CONT_PAGE_XN_SHIFT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _ARM_V7S_CONT_PAGE_XN_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	lsl	w8, w8, w11
Lloh12:
	adrp	x11, _ARM_V7S_CONT_PAGE_TEX_SHIFT@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ARM_V7S_CONT_PAGE_TEX_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _ARM_V7S_PTE_TYPE_CONT_PAGE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ARM_V7S_PTE_TYPE_CONT_PAGE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	orr	w19, w8, w10
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_V7S_CONT_SECTION,4,2       ; @ARM_V7S_CONT_SECTION
	.comm	_ARM_V7S_CONT_PAGE_TEX_MASK,4,2 ; @ARM_V7S_CONT_PAGE_TEX_MASK
	.comm	_ARM_V7S_PTE_TYPE_PAGE,4,2      ; @ARM_V7S_PTE_TYPE_PAGE
	.comm	_ARM_V7S_CONT_PAGE_XN_SHIFT,4,2 ; @ARM_V7S_CONT_PAGE_XN_SHIFT
	.comm	_ARM_V7S_CONT_PAGE_TEX_SHIFT,4,2 ; @ARM_V7S_CONT_PAGE_TEX_SHIFT
	.comm	_ARM_V7S_PTE_TYPE_CONT_PAGE,4,2 ; @ARM_V7S_PTE_TYPE_CONT_PAGE
	.no_dead_strip	_arm_v7s_pte_to_cont
.subsections_via_symbols
