	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_smmu_write_reg_sync
_arm_smmu_write_reg_sync:               ## @arm_smmu_write_reg_sync
	.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	%ecx, %r14d
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movl	%edx, %esi
	addq	(%rdi), %rsi
	movq	%rax, %rdi
	callq	_writel_relaxed
	movl	%r14d, %edi
	addq	(%rbx), %rdi
	movq	_ARM_SMMU_POLL_TIMEOUT_US@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edx, %edx
	movl	$1, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_readl_relaxed_poll_timeout     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_SMMU_POLL_TIMEOUT_US,4,2   ## @ARM_SMMU_POLL_TIMEOUT_US
	.no_dead_strip	_arm_smmu_write_reg_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_smmu_write_reg_sync
_arm_smmu_write_reg_sync:               ; @arm_smmu_write_reg_sync
	.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, x3
	mov	x8, x1
	mov	x20, x0
	ldr	x9, [x0]
	add	x1, x9, w2, uxtw
	mov	x0, x8
	bl	_writel_relaxed
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _ARM_SMMU_POLL_TIMEOUT_US@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARM_SMMU_POLL_TIMEOUT_US@GOTPAGEOFF]
	add	x0, x8, w19, uxtw
Lloh2:
	ldr	w4, [x9]
	mov	w2, #0
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_readl_relaxed_poll_timeout
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_SMMU_POLL_TIMEOUT_US,4,2   ; @ARM_SMMU_POLL_TIMEOUT_US
	.no_dead_strip	_arm_smmu_write_reg_sync
.subsections_via_symbols
