	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_dpaux_irq
_tegra_dpaux_irq:                       ## @tegra_dpaux_irq
	.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	%rsi, %r15
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_DPAUX_INTR_AUX@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_tegra_dpaux_readl
	movl	%eax, %ebx
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_tegra_dpaux_writel
	movq	_DPAUX_INTR_PLUG_EVENT@GOTPCREL(%rip), %rax
	movq	_DPAUX_INTR_UNPLUG_EVENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_2
## %bb.1:
	leaq	4(%r15), %rdi
	callq	_schedule_work
LBB0_2:
	movq	_DPAUX_INTR_AUX_DONE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_complete
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_DPAUX_INTR_AUX,4,2             ## @DPAUX_INTR_AUX
	.comm	_DPAUX_INTR_PLUG_EVENT,4,2      ## @DPAUX_INTR_PLUG_EVENT
	.comm	_DPAUX_INTR_UNPLUG_EVENT,4,2    ## @DPAUX_INTR_UNPLUG_EVENT
	.comm	_DPAUX_INTR_IRQ_EVENT,4,2       ## @DPAUX_INTR_IRQ_EVENT
	.comm	_DPAUX_INTR_AUX_DONE,4,2        ## @DPAUX_INTR_AUX_DONE
	.no_dead_strip	_tegra_dpaux_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_dpaux_irq
_tegra_dpaux_irq:                       ; @tegra_dpaux_irq
	.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
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x22, _DPAUX_INTR_AUX@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DPAUX_INTR_AUX@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_tegra_dpaux_readl
	mov	x21, x0
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_tegra_dpaux_writel
Lloh5:
	adrp	x8, _DPAUX_INTR_PLUG_EVENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DPAUX_INTR_PLUG_EVENT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _DPAUX_INTR_UNPLUG_EVENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DPAUX_INTR_UNPLUG_EVENT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
	add	x0, x20, #4
	bl	_schedule_work
LBB0_2:
Lloh11:
	adrp	x8, _DPAUX_INTR_AUX_DONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DPAUX_INTR_AUX_DONE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_complete
LBB0_4:
	mov	x0, x19
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_DPAUX_INTR_AUX,4,2             ; @DPAUX_INTR_AUX
	.comm	_DPAUX_INTR_PLUG_EVENT,4,2      ; @DPAUX_INTR_PLUG_EVENT
	.comm	_DPAUX_INTR_UNPLUG_EVENT,4,2    ; @DPAUX_INTR_UNPLUG_EVENT
	.comm	_DPAUX_INTR_IRQ_EVENT,4,2       ; @DPAUX_INTR_IRQ_EVENT
	.comm	_DPAUX_INTR_AUX_DONE,4,2        ; @DPAUX_INTR_AUX_DONE
	.no_dead_strip	_tegra_dpaux_irq
.subsections_via_symbols
