	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_pci_intr
_tegra_pci_intr:                        ## @tegra_pci_intr
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_AFI_INTR_CODE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_bus_read_4
	movl	%eax, %r15d
	movq	_AFI_INTR_CODE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movl	(%rbx), %edi
	movq	_AFI_INTR_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bus_read_4
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movl	(%r12), %esi
	xorl	%edx, %edx
	callq	_bus_write_4
	movq	_AFI_INTR_CODE_INT_CODE_SM_MSG@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_2
## %bb.1:
	movq	_FILTER_STRAY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_printf
	movq	_FILTER_HANDLED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AFI_INTR_CODE,4,2              ## @AFI_INTR_CODE
	.comm	_AFI_INTR_CODE_MASK,4,2         ## @AFI_INTR_CODE_MASK
	.comm	_AFI_INTR_SIGNATURE,4,2         ## @AFI_INTR_SIGNATURE
	.comm	_AFI_INTR_CODE_INT_CODE_SM_MSG,4,2 ## @AFI_INTR_CODE_INT_CODE_SM_MSG
	.comm	_FILTER_STRAY,4,2               ## @FILTER_STRAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tegra_pci_intr: code %x sig %x\n"

	.comm	_FILTER_HANDLED,4,2             ## @FILTER_HANDLED
	.no_dead_strip	_tegra_pci_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_pci_intr
_tegra_pci_intr:                        ; @tegra_pci_intr
	.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	x21, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x22, _AFI_INTR_CODE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AFI_INTR_CODE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_bus_read_4
Lloh2:
	adrp	x8, _AFI_INTR_CODE_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AFI_INTR_CODE_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w19, w8, w0
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _AFI_INTR_SIGNATURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AFI_INTR_SIGNATURE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_bus_read_4
	mov	x20, x0
	ldr	w0, [x21]
	ldr	w1, [x22]
	mov	w2, #0
	bl	_bus_write_4
Lloh8:
	adrp	x8, _AFI_INTR_CODE_INT_CODE_SM_MSG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AFI_INTR_CODE_INT_CODE_SM_MSG@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _FILTER_STRAY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FILTER_STRAY@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_printf
Lloh15:
	adrp	x8, _FILTER_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FILTER_HANDLED@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AFI_INTR_CODE,4,2              ; @AFI_INTR_CODE
	.comm	_AFI_INTR_CODE_MASK,4,2         ; @AFI_INTR_CODE_MASK
	.comm	_AFI_INTR_SIGNATURE,4,2         ; @AFI_INTR_SIGNATURE
	.comm	_AFI_INTR_CODE_INT_CODE_SM_MSG,4,2 ; @AFI_INTR_CODE_INT_CODE_SM_MSG
	.comm	_FILTER_STRAY,4,2               ; @FILTER_STRAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tegra_pci_intr: code %x sig %x\n"

	.comm	_FILTER_HANDLED,4,2             ; @FILTER_HANDLED
	.no_dead_strip	_tegra_pci_intr
.subsections_via_symbols
