	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_irq_install                ## -- Begin function vmw_irq_install
	.p2align	4, 0x90
_vmw_irq_install:                       ## @vmw_irq_install
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_vmw_irq_preinstall
	movq	_vmw_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_vmw_thread_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_VMWGFX_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %edi
	movq	%rbx, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	$1, (%rbx)
	movl	%r14d, 4(%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_vmw_irq_handler,4,2            ## @vmw_irq_handler
	.comm	_vmw_thread_fn,4,2              ## @vmw_thread_fn
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_VMWGFX_DRIVER_NAME,4,2         ## @VMWGFX_DRIVER_NAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmw_irq_install                ; -- Begin function vmw_irq_install
	.p2align	2
_vmw_irq_install:                       ; @vmw_irq_install
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	bl	_vmw_irq_preinstall
Lloh3:
	adrp	x8, _vmw_irq_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vmw_irq_handler@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _vmw_thread_fn@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vmw_thread_fn@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _VMWGFX_DRIVER_NAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VMWGFX_DRIVER_NAME@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x5, x20
	bl	_request_threaded_irq
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	w8, #1
	stp	w8, w19, [x20]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_vmw_irq_handler,4,2            ; @vmw_irq_handler
	.comm	_vmw_thread_fn,4,2              ; @vmw_thread_fn
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_VMWGFX_DRIVER_NAME,4,2         ; @VMWGFX_DRIVER_NAME
.subsections_via_symbols
