	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d71_irq_handler
_d71_irq_handler:                       ## @d71_irq_handler
	.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	%rsi, %r14
	movq	(%rdi), %r12
	movl	8(%r12), %edi
	movq	_GLB_IRQ_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_malidp_read32
	movl	%eax, %ebx
	movq	_GLB_IRQ_STATUS_GCU@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.1:
	movl	8(%r12), %edi
	movq	_BLK_IRQ_RAW_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_malidp_read32
	movl	%eax, %r15d
	movq	_GCU_IRQ_CVAL0@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_KOMEDA_EVENT_FLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx)
LBB0_3:
	movq	_GCU_IRQ_CVAL1@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_KOMEDA_EVENT_FLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, 4(%rcx)
LBB0_5:
	movq	_GCU_IRQ_ERR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.6:
	movl	8(%r12), %edi
	movq	_BLK_STATUS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_malidp_read32
	movq	_GCU_STATUS_MERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_8
## %bb.7:
	movq	_KOMEDA_ERR_MERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	movl	8(%r12), %edi
	movl	(%r13), %esi
	xorl	%ecx, %ecx
	callq	_malidp_write32_mask
LBB0_8:
	movl	8(%r12), %edi
	movq	_BLK_IRQ_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_malidp_write32
LBB0_9:
	movq	_GLB_IRQ_STATUS_PIPE0@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:
	movq	(%r12), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_get_pipeline_event
	movq	(%r14), %rcx
	orl	%eax, (%rcx)
LBB0_11:
	movq	_GLB_IRQ_STATUS_PIPE1@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_13
## %bb.12:
	movq	(%r12), %rax
	movl	4(%rax), %edi
	movl	%ebx, %esi
	callq	_get_pipeline_event
	movq	(%r14), %rcx
	orl	%eax, 4(%rcx)
LBB0_13:
	testl	%ebx, %ebx
	jne	LBB0_14
## %bb.15:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLB_IRQ_STATUS,4,2             ## @GLB_IRQ_STATUS
	.comm	_GLB_IRQ_STATUS_GCU,4,2         ## @GLB_IRQ_STATUS_GCU
	.comm	_BLK_IRQ_RAW_STATUS,4,2         ## @BLK_IRQ_RAW_STATUS
	.comm	_GCU_IRQ_CVAL0,4,2              ## @GCU_IRQ_CVAL0
	.comm	_KOMEDA_EVENT_FLIP,4,2          ## @KOMEDA_EVENT_FLIP
	.comm	_GCU_IRQ_CVAL1,4,2              ## @GCU_IRQ_CVAL1
	.comm	_GCU_IRQ_ERR,4,2                ## @GCU_IRQ_ERR
	.comm	_BLK_STATUS,4,2                 ## @BLK_STATUS
	.comm	_GCU_STATUS_MERR,4,2            ## @GCU_STATUS_MERR
	.comm	_KOMEDA_ERR_MERR,4,2            ## @KOMEDA_ERR_MERR
	.comm	_BLK_IRQ_CLEAR,4,2              ## @BLK_IRQ_CLEAR
	.comm	_GLB_IRQ_STATUS_PIPE0,4,2       ## @GLB_IRQ_STATUS_PIPE0
	.comm	_GLB_IRQ_STATUS_PIPE1,4,2       ## @GLB_IRQ_STATUS_PIPE1
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_d71_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d71_irq_handler
_d71_irq_handler:                       ; @d71_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldr	x22, [x0]
	ldr	w0, [x22, #8]
Lloh0:
	adrp	x8, _GLB_IRQ_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLB_IRQ_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_malidp_read32
	mov	x20, x0
Lloh3:
	adrp	x8, _GLB_IRQ_STATUS_GCU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLB_IRQ_STATUS_GCU@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.1:
	ldr	w0, [x22, #8]
Lloh6:
	adrp	x8, _BLK_IRQ_RAW_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BLK_IRQ_RAW_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_malidp_read32
	mov	x21, x0
Lloh9:
	adrp	x8, _GCU_IRQ_CVAL0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GCU_IRQ_CVAL0@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x8]
Lloh12:
	adrp	x8, _KOMEDA_EVENT_FLIP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KOMEDA_EVENT_FLIP@GOTPAGEOFF]
	tst	w9, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w9, [x8]
	ldr	x10, [x19]
	ldr	w11, [x10]
	orr	w9, w11, w9
	str	w9, [x10]
LBB0_3:
Lloh14:
	adrp	x9, _GCU_IRQ_CVAL1@GOTPAGE
Lloh15:
	ldr	x9, [x9, _GCU_IRQ_CVAL1@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w21
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9, #4]
	orr	w8, w10, w8
	str	w8, [x9, #4]
LBB0_5:
Lloh17:
	adrp	x8, _GCU_IRQ_ERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GCU_IRQ_ERR@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.6:
	ldr	w0, [x22, #8]
Lloh20:
	adrp	x23, _BLK_STATUS@GOTPAGE
Lloh21:
	ldr	x23, [x23, _BLK_STATUS@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_malidp_read32
Lloh22:
	adrp	x8, _GCU_STATUS_MERR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GCU_STATUS_MERR@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	tst	w2, w0
	b.eq	LBB0_8
; %bb.7:
Lloh25:
	adrp	x8, _KOMEDA_ERR_MERR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _KOMEDA_ERR_MERR@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldr	w0, [x22, #8]
	ldr	w1, [x23]
	mov	w3, #0
	bl	_malidp_write32_mask
LBB0_8:
	ldr	w0, [x22, #8]
Lloh28:
	adrp	x8, _BLK_IRQ_CLEAR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BLK_IRQ_CLEAR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_malidp_write32
LBB0_9:
Lloh31:
	adrp	x8, _GLB_IRQ_STATUS_PIPE0@GOTPAGE
Lloh32:
	ldr	x8, [x8, _GLB_IRQ_STATUS_PIPE0@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_11
; %bb.10:
	ldr	x8, [x22]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_get_pipeline_event
	ldr	x8, [x19]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
LBB0_11:
Lloh34:
	adrp	x8, _GLB_IRQ_STATUS_PIPE1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GLB_IRQ_STATUS_PIPE1@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_13
; %bb.12:
	ldr	x8, [x22]
	ldr	w0, [x8, #4]
	mov	x1, x20
	bl	_get_pipeline_event
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
	orr	w9, w9, w0
	str	w9, [x8, #4]
LBB0_13:
Lloh37:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh39:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_GLB_IRQ_STATUS,4,2             ; @GLB_IRQ_STATUS
	.comm	_GLB_IRQ_STATUS_GCU,4,2         ; @GLB_IRQ_STATUS_GCU
	.comm	_BLK_IRQ_RAW_STATUS,4,2         ; @BLK_IRQ_RAW_STATUS
	.comm	_GCU_IRQ_CVAL0,4,2              ; @GCU_IRQ_CVAL0
	.comm	_KOMEDA_EVENT_FLIP,4,2          ; @KOMEDA_EVENT_FLIP
	.comm	_GCU_IRQ_CVAL1,4,2              ; @GCU_IRQ_CVAL1
	.comm	_GCU_IRQ_ERR,4,2                ; @GCU_IRQ_ERR
	.comm	_BLK_STATUS,4,2                 ; @BLK_STATUS
	.comm	_GCU_STATUS_MERR,4,2            ; @GCU_STATUS_MERR
	.comm	_KOMEDA_ERR_MERR,4,2            ; @KOMEDA_ERR_MERR
	.comm	_BLK_IRQ_CLEAR,4,2              ; @BLK_IRQ_CLEAR
	.comm	_GLB_IRQ_STATUS_PIPE0,4,2       ; @GLB_IRQ_STATUS_PIPE0
	.comm	_GLB_IRQ_STATUS_PIPE1,4,2       ; @GLB_IRQ_STATUS_PIPE1
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_d71_irq_handler
.subsections_via_symbols
