	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smmu_flush_tlb_asid
_smmu_flush_tlb_asid:                   ## @smmu_flush_tlb_asid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	%esi, %ecx
	andl	$3, %ecx
	shll	$29, %ecx
	andl	$127, %esi
	shll	$24, %esi
	cmpl	$4, (%rax)
	cmovel	%ecx, %esi
	movq	_SMMU_TLB_FLUSH_ASID_MATCH@GOTPCREL(%rip), %rax
	movq	_SMMU_TLB_FLUSH_VA_MATCH_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, %esi
	movq	_SMMU_TLB_FLUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbp
	jmp	_smmu_writel                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SMMU_TLB_FLUSH_ASID_MATCH,4,2  ## @SMMU_TLB_FLUSH_ASID_MATCH
	.comm	_SMMU_TLB_FLUSH_VA_MATCH_ALL,4,2 ## @SMMU_TLB_FLUSH_VA_MATCH_ALL
	.comm	_SMMU_TLB_FLUSH,4,2             ## @SMMU_TLB_FLUSH
	.no_dead_strip	_smmu_flush_tlb_asid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smmu_flush_tlb_asid
_smmu_flush_tlb_asid:                   ; @smmu_flush_tlb_asid
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8]
	ubfiz	w9, w1, #29, #2
	ubfiz	w10, w1, #24, #7
	cmp	w8, #4
	csel	w8, w9, w10, eq
Lloh0:
	adrp	x9, _SMMU_TLB_FLUSH_ASID_MATCH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SMMU_TLB_FLUSH_ASID_MATCH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _SMMU_TLB_FLUSH_VA_MATCH_ALL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SMMU_TLB_FLUSH_VA_MATCH_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w1, w9, w8
Lloh6:
	adrp	x8, _SMMU_TLB_FLUSH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SMMU_TLB_FLUSH@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	b	_smmu_writel
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SMMU_TLB_FLUSH_ASID_MATCH,4,2  ; @SMMU_TLB_FLUSH_ASID_MATCH
	.comm	_SMMU_TLB_FLUSH_VA_MATCH_ALL,4,2 ; @SMMU_TLB_FLUSH_VA_MATCH_ALL
	.comm	_SMMU_TLB_FLUSH,4,2             ; @SMMU_TLB_FLUSH
	.no_dead_strip	_smmu_flush_tlb_asid
.subsections_via_symbols
