	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_v7s_cont_to_pte
_arm_v7s_cont_to_pte:                   ## @arm_v7s_cont_to_pte
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -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
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	jmp	LBB0_4
LBB0_3:
	movq	_ARM_V7S_CONT_PAGE_XN_SHIFT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_BIT
	movq	_ARM_V7S_CONT_PAGE_TEX_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ARM_V7S_CONT_PAGE_TEX_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %dl
	movl	%edx, %ecx
	shll	%cl, %esi
	andl	%ebx, %eax
	andl	%ebx, %esi
	movq	_ARM_V7S_PTE_TYPE_CONT_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	%eax, %edi
	orl	%esi, %edi
	xorl	%ebx, %edi
	movb	(%r14), %cl
	sarl	%cl, %eax
	movl	%edx, %ecx
	sarl	%cl, %esi
	orl	%eax, %esi
	movq	_ARM_V7S_PTE_TYPE_PAGE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	orl	%edi, %esi
	movl	%esi, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_V7S_CONT_SECTION,4,2       ## @ARM_V7S_CONT_SECTION
	.comm	_ARM_V7S_CONT_PAGE_XN_SHIFT,4,2 ## @ARM_V7S_CONT_PAGE_XN_SHIFT
	.comm	_ARM_V7S_CONT_PAGE_TEX_MASK,4,2 ## @ARM_V7S_CONT_PAGE_TEX_MASK
	.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
	.comm	_ARM_V7S_PTE_TYPE_PAGE,4,2      ## @ARM_V7S_PTE_TYPE_PAGE
	.no_dead_strip	_arm_v7s_cont_to_pte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_v7s_cont_to_pte
_arm_v7s_cont_to_pte:                   ; @arm_v7s_cont_to_pte
	.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]
	bic	w19, w19, w8
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x20, _ARM_V7S_CONT_PAGE_XN_SHIFT@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ARM_V7S_CONT_PAGE_XN_SHIFT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_BIT
	and	w8, w0, w19
Lloh5:
	adrp	x9, _ARM_V7S_CONT_PAGE_TEX_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ARM_V7S_CONT_PAGE_TEX_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _ARM_V7S_CONT_PAGE_TEX_SHIFT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ARM_V7S_CONT_PAGE_TEX_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	and	w9, w9, w19
Lloh11:
	adrp	x11, _ARM_V7S_PTE_TYPE_CONT_PAGE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ARM_V7S_PTE_TYPE_CONT_PAGE@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	orr	w11, w11, w8
	orr	w11, w11, w9
	eor	w11, w11, w19
	ldr	w12, [x20]
	asr	w8, w8, w12
	asr	w9, w9, w10
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _ARM_V7S_PTE_TYPE_PAGE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ARM_V7S_PTE_TYPE_PAGE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	orr	w19, w8, w11
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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_V7S_CONT_SECTION,4,2       ; @ARM_V7S_CONT_SECTION
	.comm	_ARM_V7S_CONT_PAGE_XN_SHIFT,4,2 ; @ARM_V7S_CONT_PAGE_XN_SHIFT
	.comm	_ARM_V7S_CONT_PAGE_TEX_MASK,4,2 ; @ARM_V7S_CONT_PAGE_TEX_MASK
	.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
	.comm	_ARM_V7S_PTE_TYPE_PAGE,4,2      ; @ARM_V7S_PTE_TYPE_PAGE
	.no_dead_strip	_arm_v7s_cont_to_pte
.subsections_via_symbols
