	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decon_irq_handler
_decon_irq_handler:                     ## @decon_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_DECON_VIDINTCON1@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rsi), %rdi
	callq	_readl
	movq	_VIDINTCON1_INTFRMDONEPEND@GOTPCREL(%rip), %rcx
	movq	_VIDINTCON1_INTFRMPEND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	andl	%eax, %edi
	je	LBB0_4
## %bb.1:
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_IFTYPE_HDMI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_DECON_VIDOUTCON0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	_VIDOUT_INTERLACE_EN_F@GOTPCREL(%rip), %rcx
	movq	_VIDOUT_INTERLACE_FIELD_F@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%eax
	testl	%eax, %edx
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_decon_handle_vblank
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DECON_VIDINTCON1,8,3           ## @DECON_VIDINTCON1
	.comm	_VIDINTCON1_INTFRMDONEPEND,4,2  ## @VIDINTCON1_INTFRMDONEPEND
	.comm	_VIDINTCON1_INTFRMPEND,4,2      ## @VIDINTCON1_INTFRMPEND
	.comm	_IFTYPE_HDMI,4,2                ## @IFTYPE_HDMI
	.comm	_DECON_VIDOUTCON0,8,3           ## @DECON_VIDOUTCON0
	.comm	_VIDOUT_INTERLACE_EN_F,4,2      ## @VIDOUT_INTERLACE_EN_F
	.comm	_VIDOUT_INTERLACE_FIELD_F,4,2   ## @VIDOUT_INTERLACE_FIELD_F
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_decon_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decon_irq_handler
_decon_irq_handler:                     ; @decon_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x20, _DECON_VIDINTCON1@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DECON_VIDINTCON1@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _VIDINTCON1_INTFRMDONEPEND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VIDINTCON1_INTFRMDONEPEND@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _VIDINTCON1_INTFRMPEND@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VIDINTCON1_INTFRMPEND@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ands	w0, w8, w0
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _IFTYPE_HDMI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IFTYPE_HDMI@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _DECON_VIDOUTCON0@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DECON_VIDOUTCON0@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
Lloh14:
	adrp	x8, _VIDOUT_INTERLACE_EN_F@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VIDOUT_INTERLACE_EN_F@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _VIDOUT_INTERLACE_FIELD_F@GOTPAGE
Lloh18:
	ldr	x9, [x9, _VIDOUT_INTERLACE_FIELD_F@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	wzr, w8, w0
	b.eq	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_decon_handle_vblank
LBB0_4:
Lloh20:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_DECON_VIDINTCON1,8,3           ; @DECON_VIDINTCON1
	.comm	_VIDINTCON1_INTFRMDONEPEND,4,2  ; @VIDINTCON1_INTFRMDONEPEND
	.comm	_VIDINTCON1_INTFRMPEND,4,2      ; @VIDINTCON1_INTFRMPEND
	.comm	_IFTYPE_HDMI,4,2                ; @IFTYPE_HDMI
	.comm	_DECON_VIDOUTCON0,8,3           ; @DECON_VIDOUTCON0
	.comm	_VIDOUT_INTERLACE_EN_F,4,2      ; @VIDOUT_INTERLACE_EN_F
	.comm	_VIDOUT_INTERLACE_FIELD_F,4,2   ; @VIDOUT_INTERLACE_FIELD_F
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_decon_irq_handler
.subsections_via_symbols
