	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_vblank_info                ## -- Begin function drm_vblank_info
	.p2align	4, 0x90
_drm_vblank_info:                       ## @drm_vblank_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	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	leaq	4(%rbx), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	cmpl	$0, (%rbx)
	jle	LBB0_3
## %bb.1:
	xorl	%r14d, %r14d
	leaq	L_.str.3(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rdi
	addq	%r14, %rdi
	callq	_atomic_read
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_seq_printf
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_drm_vblank_count
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_seq_printf
	movq	16(%rbx), %rax
	movl	(%rax,%r13,4), %ecx
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	callq	_seq_printf
	movq	8(%rbx), %rax
	movl	(%rax,%r13,4), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_seq_printf
	incq	%r13
	movslq	(%rbx), %rax
	addq	$4, %r14
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CRTC %d enable:     %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"CRTC %d counter:    %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"CRTC %d last wait:  %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"CRTC %d in modeset: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_vblank_info                ; -- Begin function drm_vblank_info
	.p2align	2
_drm_vblank_info:                       ; @drm_vblank_info
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x21, [x8]
	add	x20, x21, #4
	mov	x0, x20
	bl	_mutex_lock
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x27, #0
	mov	x22, #0
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh4:
	adrp	x25, l_.str.2@PAGE
Lloh5:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh6:
	adrp	x26, l_.str.3@PAGE
Lloh7:
	add	x26, x26, l_.str.3@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #24]
	add	x0, x8, x27
	bl	_atomic_read
	mov	x3, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_seq_printf
	mov	x0, x21
	mov	x1, x22
	bl	_drm_vblank_count
	mov	x3, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	bl	_seq_printf
	ldr	x8, [x21, #16]
	lsl	x28, x22, #2
	ldr	w3, [x8, x28]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x22
	bl	_seq_printf
	ldr	x8, [x21, #8]
	ldr	w3, [x8, x28]
	mov	x0, x19
	mov	x1, x26
	mov	x2, x22
	bl	_seq_printf
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x27, x27, #4
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CRTC %d enable:     %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"CRTC %d counter:    %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"CRTC %d last wait:  %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"CRTC %d in modeset: %d\n"

.subsections_via_symbols
