	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_fence_driver_force_completion ## -- Begin function radeon_fence_driver_force_completion
	.p2align	4, 0x90
_radeon_fence_driver_force_completion:  ## @radeon_fence_driver_force_completion
	.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
	movq	(%rdi), %rax
	movslq	%esi, %rdx
	leaq	(%rdx,%rdx,2), %rcx
	cmpq	$0, 16(%rax,%rcx,8)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	leaq	(,%rdx,8), %rcx
	leaq	(%rcx,%rcx,2), %rbx
	movq	8(%rax,%rbx), %rax
	movl	(%rax,%rdx,4), %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_radeon_fence_write
	addq	(%r14), %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cancel_delayed_work_sync       ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_fence_driver_force_completion ; -- Begin function radeon_fence_driver_force_completion
	.p2align	2
_radeon_fence_driver_force_completion:  ; @radeon_fence_driver_force_completion
	.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
	ldr	x8, [x0]
	mov	w9, #24
	smaddl	x9, w1, w9, x8
	ldr	x9, [x9, #16]
	cbz	x9, LBB0_2
; %bb.1:
	mov	x2, x1
	mov	x19, x0
	sxtw	x9, w2
	add	x10, x9, x9, lsl #1
	lsl	x20, x10, #3
	add	x8, x8, x20
	ldr	x8, [x8, #8]
	ldr	w1, [x8, x9, lsl #2]
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_radeon_fence_write
	ldr	x8, [x19]
	add	x0, x8, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cancel_delayed_work_sync
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
