	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_malidp_se_irq_init             ## -- Begin function malidp_se_irq_init
	.p2align	4, 0x90
_malidp_se_irq_init:                    ## @malidp_se_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, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	_MALIDP_SE_BLOCK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_malidp_hw_disable_irq
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_malidp_hw_clear_irq
	movl	(%rbx), %edi
	movq	_malidp_se_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_malidp_se_irq_thread_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, (%rsp)
	leaq	L_.str(%rip), %r9
	movl	%r14d, %esi
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_MW_NOT_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	callq	_malidp_se_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_SE_BLOCK,4,2            ## @MALIDP_SE_BLOCK
	.comm	_malidp_se_irq,4,2              ## @malidp_se_irq
	.comm	_malidp_se_irq_thread_handler,4,2 ## @malidp_se_irq_thread_handler
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malidp-se"

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

	.comm	_MW_NOT_ENABLED,4,2             ## @MW_NOT_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_malidp_se_irq_init             ; -- Begin function malidp_se_irq_init
	.p2align	2
_malidp_se_irq_init:                    ; @malidp_se_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_SE_BLOCK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MALIDP_SE_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]
Lloh2:
	adrp	x8, _malidp_se_irq@GOTPAGE
Lloh3:
	ldr	x8, [x8, _malidp_se_irq@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _malidp_se_irq_thread_handler@GOTPAGE
Lloh6:
	ldr	x8, [x8, _malidp_se_irq_thread_handler@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
Lloh11:
	adrp	x5, l_.str@PAGE
Lloh12:
	add	x5, x5, l_.str@PAGEOFF
	mov	x1, x20
	mov	x6, x21
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh13:
	adrp	x8, _MW_NOT_ENABLED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MW_NOT_ENABLED@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	bl	_malidp_se_irq_hw_init
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	mov	x20, x0
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	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	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MALIDP_SE_BLOCK,4,2            ; @MALIDP_SE_BLOCK
	.comm	_malidp_se_irq,4,2              ; @malidp_se_irq
	.comm	_malidp_se_irq_thread_handler,4,2 ; @malidp_se_irq_thread_handler
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malidp-se"

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

	.comm	_MW_NOT_ENABLED,4,2             ; @MW_NOT_ENABLED
.subsections_via_symbols
