	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_hlcdc_dc_irq_handler
_atmel_hlcdc_dc_irq_handler:            ## @atmel_hlcdc_dc_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	16(%r14), %rax
	movl	(%rax), %edi
	movq	_ATMEL_HLCDC_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_regmap_read
	movq	16(%r14), %rax
	movl	(%rax), %edi
	movq	_ATMEL_HLCDC_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	movl	-44(%rbp), %r15d
	andl	-48(%rbp), %r15d
	je	LBB0_1
## %bb.2:
	movq	_ATMEL_HLCDC_SOF@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movl	8(%r14), %edi
	callq	_atmel_hlcdc_crtc_irq
LBB0_4:
	movq	_ATMEL_HLCDC_MAX_LAYERS@GOTPCREL(%rip), %r13
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r12
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ATMEL_HLCDC_LAYER_STATUS
	testl	%r15d, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_atmel_hlcdc_layer_irq
	jmp	LBB0_8
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r12
LBB0_9:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATMEL_HLCDC_IMR,4,2            ## @ATMEL_HLCDC_IMR
	.comm	_ATMEL_HLCDC_ISR,4,2            ## @ATMEL_HLCDC_ISR
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_ATMEL_HLCDC_SOF,8,3            ## @ATMEL_HLCDC_SOF
	.comm	_ATMEL_HLCDC_MAX_LAYERS,4,2     ## @ATMEL_HLCDC_MAX_LAYERS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_atmel_hlcdc_dc_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_hlcdc_dc_irq_handler
_atmel_hlcdc_dc_irq_handler:            ; @atmel_hlcdc_dc_irq_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x20, [x1]
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _ATMEL_HLCDC_IMR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATMEL_HLCDC_IMR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ATMEL_HLCDC_ISR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATMEL_HLCDC_ISR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_regmap_read
	ldp	w9, w8, [sp, #8]
	ands	w21, w9, w8
	b.eq	LBB0_8
; %bb.1:
Lloh6:
	adrp	x8, _ATMEL_HLCDC_SOF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATMEL_HLCDC_SOF@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	tst	x8, x21
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_atmel_hlcdc_crtc_irq
LBB0_3:
Lloh9:
	adrp	x23, _ATMEL_HLCDC_MAX_LAYERS@GOTPAGE
Lloh10:
	ldr	x23, [x23, _ATMEL_HLCDC_MAX_LAYERS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x19, #0
Lloh11:
	adrp	x22, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x22, [x22, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x23]
	cmp	x19, x8
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ATMEL_HLCDC_LAYER_STATUS
	tst	x0, x21
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x19, lsl #2]
	bl	_atmel_hlcdc_layer_irq
	b	LBB0_5
LBB0_8:
Lloh13:
	adrp	x22, _IRQ_NONE@GOTPAGE
Lloh14:
	ldr	x22, [x22, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh15:
	adrp	x22, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x22, [x22, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ATMEL_HLCDC_IMR,4,2            ; @ATMEL_HLCDC_IMR
	.comm	_ATMEL_HLCDC_ISR,4,2            ; @ATMEL_HLCDC_ISR
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_ATMEL_HLCDC_SOF,8,3            ; @ATMEL_HLCDC_SOF
	.comm	_ATMEL_HLCDC_MAX_LAYERS,4,2     ; @ATMEL_HLCDC_MAX_LAYERS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_atmel_hlcdc_dc_irq_handler
.subsections_via_symbols
