	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_vblank_put
_drm_vblank_put:                        ## @drm_vblank_put
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	xorl	%edi, %edi
	cmpl	%esi, (%r15)
	setbe	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movl	%ebx, %ebx
	leaq	(%r12,%rbx,8), %r14
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_atomic_read
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	callq	_atomic_dec_and_test
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_drm_vblank_offdelay@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	leaq	(%r12,%rbx,8), %rdi
	js	LBB0_7
## %bb.5:
	cmpl	$0, 4(%r15)
	jne	LBB0_6
## %bb.8:
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movq	_HZ@GOTPCREL(%rip), %rdx
	imull	(%rdx), %eax
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$38, %rax
	addl	%edx, %eax
	movslq	%eax, %rsi
	addq	(%rcx), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vblank_disable_fn              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_drm_vblank_offdelay,4,2        ## @drm_vblank_offdelay
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_drm_vblank_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_vblank_put
_drm_vblank_put:                        ; @drm_vblank_put
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
	ldr	w8, [x0]
	cmp	w8, w1
	cset	w0, ls
	bl	_WARN_ON
	cbnz	x0, LBB0_2
; %bb.1:
	mov	w8, w20
	add	x8, x22, x8, lsl #3
	add	x21, x8, #4
	mov	x0, x21
	bl	_atomic_read
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x21
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_2
; %bb.4:
Lloh0:
	adrp	x8, _drm_vblank_offdelay@GOTPAGE
Lloh1:
	ldr	x8, [x8, _drm_vblank_offdelay@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.5:
	add	x0, x22, w20, uxtw #3
	tbnz	w8, #31, LBB0_8
; %bb.6:
	ldr	w9, [x19, #4]
	cbnz	w9, LBB0_2
; %bb.7:
Lloh3:
	adrp	x9, _jiffies@GOTPAGE
Lloh4:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _HZ@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	mul	w8, w10, w8
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w10
	add	x1, x9, w8, sxtw
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mod_timer
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vblank_disable_fn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_drm_vblank_offdelay,4,2        ; @drm_vblank_offdelay
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_drm_vblank_put
.subsections_via_symbols
