	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc4_irq_preinstall             ## -- Begin function vc4_irq_preinstall
	.p2align	4, 0x90
_vc4_irq_preinstall:                    ## @vc4_irq_preinstall
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_to_vc4_dev
	cmpl	$0, 8(%rax)
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$4, %rdi
	callq	_init_waitqueue_head
	movq	_vc4_overflow_mem_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_WORK
	movq	_V3D_INTCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_V3D_DRIVER_IRQS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_V3D_WRITE                      ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vc4_overflow_mem_work,4,2      ## @vc4_overflow_mem_work
	.comm	_V3D_INTCTL,4,2                 ## @V3D_INTCTL
	.comm	_V3D_DRIVER_IRQS,4,2            ## @V3D_DRIVER_IRQS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc4_irq_preinstall             ; -- Begin function vc4_irq_preinstall
	.p2align	2
_vc4_irq_preinstall:                    ; @vc4_irq_preinstall
	.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
	bl	_to_vc4_dev
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
	add	x0, x0, #4
	bl	_init_waitqueue_head
Lloh0:
	adrp	x8, _vc4_overflow_mem_work@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vc4_overflow_mem_work@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_INIT_WORK
Lloh3:
	adrp	x8, _V3D_INTCTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V3D_INTCTL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _V3D_DRIVER_IRQS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V3D_DRIVER_IRQS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_V3D_WRITE
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vc4_overflow_mem_work,4,2      ; @vc4_overflow_mem_work
	.comm	_V3D_INTCTL,4,2                 ; @V3D_INTCTL
	.comm	_V3D_DRIVER_IRQS,4,2            ; @V3D_DRIVER_IRQS
.subsections_via_symbols
