	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmabuf_timeout
_dmabuf_timeout:                        ## @dmabuf_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movl	(%rdi), %eax
	imull	%ecx, %eax
	cltd
	idivl	4(%rdi)
	movslq	%eax, %rdx
	imulq	$1717986919, %rcx, %rax         ## imm = 0x66666667
	movq	%rax, %rsi
	shrq	$63, %rsi
	sarq	$33, %rax
	addl	%esi, %eax
	cltq
	addq	%rdx, %rax
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	movslq	%edx, %rdx
	cmpq	%rdx, %rax
	cmovleq	%rdx, %rax
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	cmpq	%rcx, %rax
	cmovgeq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_dmabuf_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmabuf_timeout
_dmabuf_timeout:                        ; @dmabuf_timeout
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	ldp	w9, w10, [x0]
	mul	w9, w8, w9
	sdiv	w9, w9, w10
	sxtw	x9, w9
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x10, x8, x10
	lsr	x11, x10, #63
	asr	x10, x10, #33
	add	w10, w10, w11
	add	x9, x9, w10, sxtw
	cmp	w8, #0
	cinc	w10, w8, lt
	sbfx	x10, x10, #1, #31
	cmp	x9, x10
	csel	x9, x9, x10, gt
	add	x8, x8, x8, lsl #2
	lsl	x8, x8, #2
	cmp	x9, x8
	csel	x0, x9, x8, lt
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_dmabuf_timeout
.subsections_via_symbols
