	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_malidp_de_irq_init             ## -- Begin function malidp_de_irq_init
	.p2align	4, 0x90
_malidp_de_irq_init:                    ## @malidp_de_irq_init
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	movq	_MALIDP_DE_BLOCK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_malidp_hw_disable_irq
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_malidp_hw_clear_irq
	movq	_MALIDP_DC_BLOCK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_malidp_hw_disable_irq
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_malidp_hw_clear_irq
	movl	(%r15), %edi
	movq	_malidp_de_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_malidp_de_irq_thread_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, (%rsp)
	leaq	L_.str(%rip), %r9
	movl	%r14d, %esi
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_malidp_de_irq_hw_init
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_ERROR
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MALIDP_DE_BLOCK,4,2            ## @MALIDP_DE_BLOCK
	.comm	_MALIDP_DC_BLOCK,4,2            ## @MALIDP_DC_BLOCK
	.comm	_malidp_de_irq,4,2              ## @malidp_de_irq
	.comm	_malidp_de_irq_thread_handler,4,2 ## @malidp_de_irq_thread_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malidp-de"

L_.str.1:                               ## @.str.1
	.asciz	"failed to install DE IRQ handler\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_malidp_de_irq_init             ; -- Begin function malidp_de_irq_init
	.p2align	2
_malidp_de_irq_init:                    ; @malidp_de_irq_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
Lloh0:
	adrp	x22, _MALIDP_DE_BLOCK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MALIDP_DE_BLOCK@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #-1
	bl	_malidp_hw_disable_irq
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #-1
	bl	_malidp_hw_clear_irq
Lloh2:
	adrp	x22, _MALIDP_DC_BLOCK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MALIDP_DC_BLOCK@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #-1
	bl	_malidp_hw_disable_irq
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #-1
	bl	_malidp_hw_clear_irq
	ldr	w0, [x21]
Lloh4:
	adrp	x8, _malidp_de_irq@GOTPAGE
Lloh5:
	ldr	x8, [x8, _malidp_de_irq@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _malidp_de_irq_thread_handler@GOTPAGE
Lloh8:
	ldr	x8, [x8, _malidp_de_irq_thread_handler@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
Lloh13:
	adrp	x5, l_.str@PAGE
Lloh14:
	add	x5, x5, l_.str@PAGEOFF
	mov	x1, x20
	mov	x6, x21
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_malidp_de_irq_hw_init
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	mov	x20, x0
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_ERROR
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MALIDP_DE_BLOCK,4,2            ; @MALIDP_DE_BLOCK
	.comm	_MALIDP_DC_BLOCK,4,2            ; @MALIDP_DC_BLOCK
	.comm	_malidp_de_irq,4,2              ; @malidp_de_irq
	.comm	_malidp_de_irq_thread_handler,4,2 ; @malidp_de_irq_thread_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malidp-de"

l_.str.1:                               ; @.str.1
	.asciz	"failed to install DE IRQ handler\n"

.subsections_via_symbols
