	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_v7s_install_table
_arm_v7s_install_table:                 ## @arm_v7s_install_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %r12
	callq	_virt_to_phys
	movl	%eax, %ebx
	movq	_ARM_V7S_PTE_TYPE_TABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_IO_PGTABLE_QUIRK_ARM_NS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	je	LBB0_2
## %bb.1:
	movq	_ARM_V7S_ATTR_NS_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	orl	%eax, %ebx
	xorl	%eax, %eax
	callq	_dma_wmb
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_cmpxchg_relaxed
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r14, %rdx
	callq	___arm_v7s_pte_sync
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_V7S_PTE_TYPE_TABLE,4,2     ## @ARM_V7S_PTE_TYPE_TABLE
	.comm	_IO_PGTABLE_QUIRK_ARM_NS,4,2    ## @IO_PGTABLE_QUIRK_ARM_NS
	.comm	_ARM_V7S_ATTR_NS_TABLE,4,2      ## @ARM_V7S_ATTR_NS_TABLE
	.no_dead_strip	_arm_v7s_install_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_v7s_install_table
_arm_v7s_install_table:                 ; @arm_v7s_install_table
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_virt_to_phys
Lloh0:
	adrp	x8, _ARM_V7S_PTE_TYPE_TABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARM_V7S_PTE_TYPE_TABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w0
	ldr	w9, [x19]
Lloh3:
	adrp	x10, _IO_PGTABLE_QUIRK_ARM_NS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IO_PGTABLE_QUIRK_ARM_NS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _ARM_V7S_ATTR_NS_TABLE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ARM_V7S_ATTR_NS_TABLE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w22, w8, w9
	bl	_dma_wmb
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_cmpxchg_relaxed
	mov	x20, x0
	mov	x0, x21
	mov	w1, #1
	mov	x2, x19
	bl	___arm_v7s_pte_sync
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_V7S_PTE_TYPE_TABLE,4,2     ; @ARM_V7S_PTE_TYPE_TABLE
	.comm	_IO_PGTABLE_QUIRK_ARM_NS,4,2    ; @IO_PGTABLE_QUIRK_ARM_NS
	.comm	_ARM_V7S_ATTR_NS_TABLE,4,2      ; @ARM_V7S_ATTR_NS_TABLE
	.no_dead_strip	_arm_v7s_install_table
.subsections_via_symbols
