	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dra7xx_pcie_irq_handler
_dra7xx_pcie_irq_handler:               ## @dra7xx_pcie_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	8(%rsi), %r12
	movq	8(%r12), %r15
	movq	_PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_dra7xx_pcie_readl
	movl	%eax, %ebx
	movq	_ERR_SYS@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_2:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_4:
	movq	_ERR_NONFATAL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_6:
	movq	_ERR_COR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_8:
	movq	_ERR_AXI@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_10:
	movq	_ERR_ECRC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_12:
	movq	_PME_TURN_OFF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_14:
	movq	_PME_TO_ACK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_16
## %bb.15:
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_16:
	movq	_PM_PME@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_18
## %bb.17:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_18:
	movq	_LINK_REQ_RST@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_20
## %bb.19:
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_20:
	movq	_LINK_UP_EVT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_24
## %bb.21:
	movq	(%r14), %rax
	movq	_DW_PCIE_EP_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.22:
	movq	%r12, %rdi
	callq	_dw_pcie_ep_linkup
LBB0_23:
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_24:
	movq	_CFG_BME_EVT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_26
## %bb.25:
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_26:
	movq	_CFG_MSE_EVT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_28
## %bb.27:
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_28:
	movl	(%r13), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dra7xx_pcie_writel
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN,4,2 ## @PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN
	.comm	_ERR_SYS,4,2                    ## @ERR_SYS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"System Error\n"

	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
L_.str.1:                               ## @.str.1
	.asciz	"Fatal Error\n"

	.comm	_ERR_NONFATAL,4,2               ## @ERR_NONFATAL
L_.str.2:                               ## @.str.2
	.asciz	"Non Fatal Error\n"

	.comm	_ERR_COR,4,2                    ## @ERR_COR
L_.str.3:                               ## @.str.3
	.asciz	"Correctable Error\n"

	.comm	_ERR_AXI,4,2                    ## @ERR_AXI
L_.str.4:                               ## @.str.4
	.asciz	"AXI tag lookup fatal Error\n"

	.comm	_ERR_ECRC,4,2                   ## @ERR_ECRC
L_.str.5:                               ## @.str.5
	.asciz	"ECRC Error\n"

	.comm	_PME_TURN_OFF,4,2               ## @PME_TURN_OFF
L_.str.6:                               ## @.str.6
	.asciz	"Power Management Event Turn-Off message received\n"

	.comm	_PME_TO_ACK,4,2                 ## @PME_TO_ACK
L_.str.7:                               ## @.str.7
	.asciz	"Power Management Turn-Off Ack message received\n"

	.comm	_PM_PME,4,2                     ## @PM_PME
L_.str.8:                               ## @.str.8
	.asciz	"PM Power Management Event message received\n"

	.comm	_LINK_REQ_RST,4,2               ## @LINK_REQ_RST
L_.str.9:                               ## @.str.9
	.asciz	"Link Request Reset\n"

	.comm	_LINK_UP_EVT,4,2                ## @LINK_UP_EVT
	.comm	_DW_PCIE_EP_TYPE,8,3            ## @DW_PCIE_EP_TYPE
L_.str.10:                              ## @.str.10
	.asciz	"Link-up state change\n"

	.comm	_CFG_BME_EVT,4,2                ## @CFG_BME_EVT
L_.str.11:                              ## @.str.11
	.asciz	"CFG 'Bus Master Enable' change\n"

	.comm	_CFG_MSE_EVT,4,2                ## @CFG_MSE_EVT
L_.str.12:                              ## @.str.12
	.asciz	"CFG 'Memory Space Enable' change\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_dra7xx_pcie_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dra7xx_pcie_irq_handler
_dra7xx_pcie_irq_handler:               ; @dra7xx_pcie_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, [x1, #8]
	ldr	x20, [x22, #8]
Lloh0:
	adrp	x23, _PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_dra7xx_pcie_readl
	mov	x21, x0
Lloh2:
	adrp	x8, _ERR_SYS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_SYS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_2:
Lloh7:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_4:
Lloh12:
	adrp	x8, _ERR_NONFATAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_NONFATAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_6:
Lloh17:
	adrp	x8, _ERR_COR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_COR@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_8:
Lloh22:
	adrp	x8, _ERR_AXI@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERR_AXI@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.9:
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_10:
Lloh27:
	adrp	x8, _ERR_ECRC@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERR_ECRC@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_12
; %bb.11:
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_12:
Lloh32:
	adrp	x8, _PME_TURN_OFF@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PME_TURN_OFF@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_14
; %bb.13:
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_14:
Lloh37:
	adrp	x8, _PME_TO_ACK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PME_TO_ACK@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_16
; %bb.15:
Lloh40:
	adrp	x1, l_.str.7@PAGE
Lloh41:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_16:
Lloh42:
	adrp	x8, _PM_PME@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PM_PME@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.17:
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_18:
Lloh47:
	adrp	x8, _LINK_REQ_RST@GOTPAGE
Lloh48:
	ldr	x8, [x8, _LINK_REQ_RST@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_20
; %bb.19:
Lloh50:
	adrp	x1, l_.str.9@PAGE
Lloh51:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_20:
Lloh52:
	adrp	x8, _LINK_UP_EVT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _LINK_UP_EVT@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_24
; %bb.21:
	ldr	x8, [x19]
Lloh55:
	adrp	x9, _DW_PCIE_EP_TYPE@GOTPAGE
Lloh56:
	ldr	x9, [x9, _DW_PCIE_EP_TYPE@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.22:
	mov	x0, x22
	bl	_dw_pcie_ep_linkup
LBB0_23:
Lloh58:
	adrp	x1, l_.str.10@PAGE
Lloh59:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_24:
Lloh60:
	adrp	x8, _CFG_BME_EVT@GOTPAGE
Lloh61:
	ldr	x8, [x8, _CFG_BME_EVT@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_26
; %bb.25:
Lloh63:
	adrp	x1, l_.str.11@PAGE
Lloh64:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_26:
Lloh65:
	adrp	x8, _CFG_MSE_EVT@GOTPAGE
Lloh66:
	ldr	x8, [x8, _CFG_MSE_EVT@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_28
; %bb.27:
Lloh68:
	adrp	x1, l_.str.12@PAGE
Lloh69:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_28:
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_dra7xx_pcie_writel
Lloh70:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh71:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh72:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN,4,2 ; @PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN
	.comm	_ERR_SYS,4,2                    ; @ERR_SYS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"System Error\n"

	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
l_.str.1:                               ; @.str.1
	.asciz	"Fatal Error\n"

	.comm	_ERR_NONFATAL,4,2               ; @ERR_NONFATAL
l_.str.2:                               ; @.str.2
	.asciz	"Non Fatal Error\n"

	.comm	_ERR_COR,4,2                    ; @ERR_COR
l_.str.3:                               ; @.str.3
	.asciz	"Correctable Error\n"

	.comm	_ERR_AXI,4,2                    ; @ERR_AXI
l_.str.4:                               ; @.str.4
	.asciz	"AXI tag lookup fatal Error\n"

	.comm	_ERR_ECRC,4,2                   ; @ERR_ECRC
l_.str.5:                               ; @.str.5
	.asciz	"ECRC Error\n"

	.comm	_PME_TURN_OFF,4,2               ; @PME_TURN_OFF
l_.str.6:                               ; @.str.6
	.asciz	"Power Management Event Turn-Off message received\n"

	.comm	_PME_TO_ACK,4,2                 ; @PME_TO_ACK
l_.str.7:                               ; @.str.7
	.asciz	"Power Management Turn-Off Ack message received\n"

	.comm	_PM_PME,4,2                     ; @PM_PME
l_.str.8:                               ; @.str.8
	.asciz	"PM Power Management Event message received\n"

	.comm	_LINK_REQ_RST,4,2               ; @LINK_REQ_RST
l_.str.9:                               ; @.str.9
	.asciz	"Link Request Reset\n"

	.comm	_LINK_UP_EVT,4,2                ; @LINK_UP_EVT
	.comm	_DW_PCIE_EP_TYPE,8,3            ; @DW_PCIE_EP_TYPE
l_.str.10:                              ; @.str.10
	.asciz	"Link-up state change\n"

	.comm	_CFG_BME_EVT,4,2                ; @CFG_BME_EVT
l_.str.11:                              ; @.str.11
	.asciz	"CFG 'Bus Master Enable' change\n"

	.comm	_CFG_MSE_EVT,4,2                ; @CFG_MSE_EVT
l_.str.12:                              ; @.str.12
	.asciz	"CFG 'Memory Space Enable' change\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_dra7xx_pcie_irq_handler
.subsections_via_symbols
