	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_fifo_wait_noirq
_vmw_fifo_wait_noirq:                   ## @vmw_fifo_wait_noirq
	.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
	movq	%rcx, %r14
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movq	___wait@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_DEFINE_WAIT
	leaq	L_.str(%rip), %rdi
	callq	_DRM_INFO
	testl	%ebx, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_prepare_to_wait
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_vmw_fifo_is_full
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	movq	___wait@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_prepare_to_wait
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_vmw_fifo_is_full
	testl	%eax, %eax
	je	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_time_after_eq
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	callq	_schedule_timeout
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testq	%rax, %rax
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	testl	%ebx, %ebx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_6:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_ERROR
	jmp	LBB0_14
LBB0_13:
	xorl	%r13d, %r13d
	jmp	LBB0_14
LBB0_9:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_14:
	movq	___wait@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_finish_wait
	movq	%r15, %rdi
	callq	_wake_up_all
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_INFO
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	___wait,4,2                     ## @__wait
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fifo wait noirq.\n"

	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"SVGA device lockup.\n"

	.comm	_current,4,2                    ## @current
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
L_.str.2:                               ## @.str.2
	.asciz	"Fifo noirq exit.\n"

	.no_dead_strip	_vmw_fifo_wait_noirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_fifo_wait_noirq
_vmw_fifo_wait_noirq:                   ; @vmw_fifo_wait_noirq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _jiffies@GOTPAGE
Lloh1:
	ldr	x24, [x24, _jiffies@GOTPAGEOFF]
	ldr	x27, [x24]
Lloh2:
	adrp	x23, ___wait@GOTPAGE
Lloh3:
	ldr	x23, [x23, ___wait@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_DEFINE_WAIT
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_INFO
Lloh6:
	adrp	x25, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh8:
	adrp	x26, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x26, x25, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_prepare_to_wait
	mov	x0, x19
	mov	x1, x21
	bl	_vmw_fifo_is_full
	cbz	w0, LBB0_7
; %bb.1:
	add	x22, x27, x22
Lloh10:
	adrp	x23, ___wait@GOTPAGE
Lloh11:
	ldr	x23, [x23, ___wait@GOTPAGEOFF]
Lloh12:
	adrp	x27, _current@GOTPAGE
Lloh13:
	ldr	x27, [x27, _current@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w20, #0
	csel	x8, x26, x25, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_prepare_to_wait
	mov	x0, x19
	mov	x1, x21
	bl	_vmw_fifo_is_full
	cbz	w0, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	mov	x1, x22
	bl	_time_after_eq
	cbnz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	bl	_schedule_timeout
	cbz	w20, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27]
	bl	_signal_pending
	cbz	x0, LBB0_2
; %bb.6:
Lloh14:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_9
LBB0_7:
	mov	w20, #0
	b	LBB0_9
LBB0_8:
Lloh17:
	adrp	x8, _EBUSY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w20, w8
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_ERROR
LBB0_9:
Lloh22:
	adrp	x1, ___wait@GOTPAGE
Lloh23:
	ldr	x1, [x1, ___wait@GOTPAGEOFF]
	mov	x0, x19
	bl	_finish_wait
	mov	x0, x19
	bl	_wake_up_all
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_INFO
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	___wait,4,2                     ; @__wait
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fifo wait noirq.\n"

	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"SVGA device lockup.\n"

	.comm	_current,4,2                    ; @current
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
l_.str.2:                               ; @.str.2
	.asciz	"Fifo noirq exit.\n"

	.no_dead_strip	_vmw_fifo_wait_noirq
.subsections_via_symbols
