	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_vblank_init                ## -- Begin function drm_vblank_init
	.p2align	4, 0x90
_drm_vblank_init:                       ## @drm_vblank_init
	.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
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	addq	$28, %rdi
	callq	_spin_lock_init
	leaq	24(%r15), %rdi
	callq	_spin_lock_init
	movl	%r12d, (%r15)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	$24, %esi
	callq	_kcalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.2:
	movq	%rax, %r13
	movl	%r12d, %r14d
	decq	%r14
	movl	$12, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r13), %rdi
	movq	%r15, 4(%r13,%rbx)
	movl	%r12d, -12(%r13,%rbx)
	callq	_init_waitqueue_head
	leaq	(%rbx,%r13), %rdi
	addq	$-4, %rdi
	movq	_vblank_disable_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	(%rbx,%r13), %rdi
	addq	$-8, %rdi
	callq	_seqlock_init
	cmpq	%r12, %r14
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %r13
	addq	$24, %rbx
	incq	%r12
	jmp	LBB0_3
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_INFO
	movq	8(%r15), %rax
	cmpq	$0, (%rax)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_DRM_INFO
	xorl	%r14d, %r14d
	cmpl	$0, 4(%r15)
	je	LBB0_9
## %bb.6:
	movq	8(%r15), %rax
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.7:
	movl	$0, 4(%r15)
	leaq	L_.str.3(%rip), %rdi
	callq	_DRM_INFO
	jmp	LBB0_9
LBB0_8:
	negl	%r14d
	movl	$0, (%r15)
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_vblank_disable_fn,4,2          ## @vblank_disable_fn
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Supports vblank timestamp caching Rev 2 (21.10.2013).\n"

L_.str.1:                               ## @.str.1
	.asciz	"Driver supports precise vblank timestamp query.\n"

L_.str.2:                               ## @.str.2
	.asciz	"No driver support for vblank timestamp query.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_vblank_init                ; -- Begin function drm_vblank_init
	.p2align	2
_drm_vblank_init:                       ; @drm_vblank_init
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	add	x0, x0, #28
	bl	_spin_lock_init
	add	x0, x19, #24
	bl	_spin_lock_init
	str	w20, [x19]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #24
	bl	_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_9
; %bb.1:
	cbz	w20, LBB0_5
; %bb.2:
	mov	x21, #0
	mov	w22, #0
	mov	w8, #24
	mov	x9, #-24
	umaddl	x20, w20, w8, x9
Lloh6:
	adrp	x23, _vblank_disable_fn@GOTPAGE
Lloh7:
	ldr	x23, [x23, _vblank_disable_fn@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x0, x21
	str	x19, [x24, #16]
	str	w22, [x24]
	add	x0, x24, #12
	bl	_init_waitqueue_head
	add	x0, x24, #8
	ldr	w1, [x23]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x24, #4
	bl	_seqlock_init
	cmp	x20, x21
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #16]
	add	w22, w22, #1
	add	x21, x21, #24
	b	LBB0_3
LBB0_5:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_INFO
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh10:
	adrp	x9, l_.str.1@PAGE
Lloh11:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh12:
	adrp	x10, l_.str.2@PAGE
Lloh13:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
	bl	_DRM_INFO
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.7:
	str	wzr, [x19, #4]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DRM_INFO
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	neg	w0, w21
	str	wzr, [x19]
LBB0_10:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_vblank_disable_fn,4,2          ; @vblank_disable_fn
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Supports vblank timestamp caching Rev 2 (21.10.2013).\n"

l_.str.1:                               ; @.str.1
	.asciz	"Driver supports precise vblank timestamp query.\n"

l_.str.2:                               ; @.str.2
	.asciz	"No driver support for vblank timestamp query.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL\n"

.subsections_via_symbols
