	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_resv_add_excl_fence        ## -- Begin function dma_resv_add_excl_fence
	.p2align	4, 0x90
_dma_resv_add_excl_fence:               ## @dma_resv_add_excl_fence
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_dma_resv_get_excl
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_dma_resv_assert_held
	movq	%r15, %rdi
	callq	_dma_resv_get_list
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%r13), %r14
	testq	%r12, %r12
	je	LBB0_5
LBB0_4:
	movq	%r12, %rdi
	callq	_dma_fence_get
LBB0_5:
	xorl	%eax, %eax
	callq	_preempt_disable
	movq	%r15, %rdi
	callq	_write_seqcount_begin
	movl	4(%r15), %edi
	movq	%r12, %rsi
	callq	_RCU_INIT_POINTER
	testq	%r13, %r13
	je	LBB0_7
## %bb.6:
	movq	$0, (%r13)
LBB0_7:
	movq	%r15, %rdi
	callq	_write_seqcount_end
	xorl	%eax, %eax
	callq	_preempt_enable
	testq	%r14, %r14
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	-4(%rax,%r14,4), %ebx
	movq	%r15, %rdi
	callq	_dma_resv_held
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_rcu_dereference_protected
	movq	%rax, %rdi
	callq	_dma_fence_put
	decq	%r14
	jne	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dma_fence_put                  ## TAILCALL
LBB0_1:
	xorl	%r14d, %r14d
	testq	%r12, %r12
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_resv_add_excl_fence        ; -- Begin function dma_resv_add_excl_fence
	.p2align	2
_dma_resv_add_excl_fence:               ; @dma_resv_add_excl_fence
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	bl	_dma_resv_get_excl
	mov	x20, x0
	mov	x0, x19
	bl	_dma_resv_assert_held
	mov	x0, x19
	bl	_dma_resv_get_list
	mov	x21, x0
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x23, [x21]
	cbz	x22, LBB0_3
LBB0_2:
	mov	x0, x22
	bl	_dma_fence_get
LBB0_3:
	bl	_preempt_disable
	mov	x0, x19
	bl	_write_seqcount_begin
	ldr	w0, [x19, #4]
	mov	x1, x22
	bl	_RCU_INIT_POINTER
	cbz	x21, LBB0_5
; %bb.4:
	str	xzr, [x21]
LBB0_5:
	mov	x0, x19
	bl	_write_seqcount_end
	bl	_preempt_enable
	cbz	x23, LBB0_8
; %bb.6:
	sub	x23, x23, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	w22, [x8, x23, lsl #2]
	mov	x0, x19
	bl	_dma_resv_held
	mov	x1, x0
	mov	x0, x22
	bl	_rcu_dereference_protected
	bl	_dma_fence_put
	sub	x23, x23, #1
	cmn	x23, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dma_fence_put
LBB0_9:
	mov	x23, #0
	cbnz	x22, LBB0_2
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
