	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function etnaviv_timeout_to_jiffies
_etnaviv_timeout_to_jiffies:            ## @etnaviv_timeout_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	(%rdi), %edi
	callq	_timespec_to_timespec64
	movl	%eax, -24(%rbp)
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ktime_get_ts64
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_timespec64_compare
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	movl	-24(%rbp), %edi
	movl	-16(%rbp), %esi
	callq	_timespec64_sub
	movl	%eax, -16(%rbp)
	leaq	-16(%rbp), %rdi
	callq	_timespec64_to_jiffies
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_etnaviv_timeout_to_jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function etnaviv_timeout_to_jiffies
_etnaviv_timeout_to_jiffies:            ; @etnaviv_timeout_to_jiffies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	w0, [x0]
	bl	_timespec_to_timespec64
	str	w0, [sp]
	add	x0, sp, #8
	bl	_ktime_get_ts64
	mov	x0, sp
	add	x1, sp, #8
	bl	_timespec64_compare
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [sp]
	ldr	w1, [sp, #8]
	bl	_timespec64_sub
	str	w0, [sp, #8]
	add	x0, sp, #8
	bl	_timespec64_to_jiffies
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_etnaviv_timeout_to_jiffies
.subsections_via_symbols
