	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_timeout_abs_to_jiffies     ## -- Begin function drm_timeout_abs_to_jiffies
	.p2align	4, 0x90
_drm_timeout_abs_to_jiffies:            ## @drm_timeout_abs_to_jiffies
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_ns_to_ktime
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ktime_get
	movl	%eax, %r15d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ktime_after
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_ktime_sub
	movl	%eax, %edi
	callq	_ktime_to_ns
	movl	%eax, %edi
	callq	_nsecs_to_jiffies64
	movq	_MAX_SCHEDULE_TIMEOUT@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rbx
	decq	%rbx
	cmpl	%ebx, %eax
	jge	LBB0_5
## %bb.4:
	incl	%eax
	movslq	%eax, %rbx
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SCHEDULE_TIMEOUT,4,2       ## @MAX_SCHEDULE_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_timeout_abs_to_jiffies     ; -- Begin function drm_timeout_abs_to_jiffies
	.p2align	2
_drm_timeout_abs_to_jiffies:            ; @drm_timeout_abs_to_jiffies
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	bl	_ns_to_ktime
	mov	x19, x0
	bl	_ktime_get
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ktime_after
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_ktime_sub
	bl	_ktime_to_ns
	bl	_nsecs_to_jiffies64
	mov	x8, x0
Lloh0:
	adrp	x9, _MAX_SCHEDULE_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_SCHEDULE_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	sub	x0, x9, #1
	cmp	w8, w0
	b.ge	LBB0_5
; %bb.3:
	add	w8, w8, #1
	sxtw	x0, w8
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SCHEDULE_TIMEOUT,4,2       ; @MAX_SCHEDULE_TIMEOUT
.subsections_via_symbols
