	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sync_fill_fence_info
_sync_fill_fence_info:                  ## @sync_fill_fence_info
	.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, %r14
	movq	%rdi, %r15
	movl	12(%rsi), %ebx
	movq	8(%rdi), %rax
	callq	*8(%rax)
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%r14), %ebx
	movq	8(%r15), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r15, %rdi
	callq	_dma_fence_get_status
	movl	%eax, (%r14)
	leaq	4(%r15), %rbx
	movq	_DMA_FENCE_FLAG_SIGNALED_BIT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_DMA_FENCE_FLAG_TIMESTAMP_BIT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	movq	_DMA_FENCE_FLAG_TIMESTAMP_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r15), %edi
	callq	_ktime_to_ns
	jmp	LBB0_7
LBB0_6:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ktime_set
LBB0_7:
	movl	%eax, 4(%r14)
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_FENCE_FLAG_SIGNALED_BIT,4,2 ## @DMA_FENCE_FLAG_SIGNALED_BIT
	.comm	_DMA_FENCE_FLAG_TIMESTAMP_BIT,4,2 ## @DMA_FENCE_FLAG_TIMESTAMP_BIT
	.no_dead_strip	_sync_fill_fence_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sync_fill_fence_info
_sync_fill_fence_info:                  ; @sync_fill_fence_info
	.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	x19, x1
	mov	x20, x0
	ldr	w21, [x1, #12]
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	blr	x8
	mov	x1, x0
	mov	x0, x21
	mov	w2, #4
	bl	_strlcpy
	ldr	w21, [x19, #8]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x1, x0
	mov	x0, x21
	mov	w2, #4
	bl	_strlcpy
	mov	x0, x20
	bl	_dma_fence_get_status
	str	w0, [x19]
	add	x21, x20, #4
Lloh0:
	adrp	x22, _DMA_FENCE_FLAG_SIGNALED_BIT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DMA_FENCE_FLAG_SIGNALED_BIT@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x21
	bl	_test_bit
Lloh2:
	adrp	x23, _DMA_FENCE_FLAG_TIMESTAMP_BIT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DMA_FENCE_FLAG_TIMESTAMP_BIT@GOTPAGEOFF]
	cbz	x0, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_cpu_relax
	ldr	w0, [x22]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_1
LBB0_3:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x20]
	bl	_ktime_to_ns
	b	LBB0_6
LBB0_5:
	mov	w1, #0
	bl	_ktime_set
LBB0_6:
	str	w0, [x19, #4]
	ldr	w0, [x19]
	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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_FENCE_FLAG_SIGNALED_BIT,4,2 ; @DMA_FENCE_FLAG_SIGNALED_BIT
	.comm	_DMA_FENCE_FLAG_TIMESTAMP_BIT,4,2 ; @DMA_FENCE_FLAG_TIMESTAMP_BIT
	.no_dead_strip	_sync_fill_fence_info
.subsections_via_symbols
