	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_hlcdc_layer_irq
_atmel_hlcdc_layer_irq:                 ## @atmel_hlcdc_layer_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_ATMEL_HLCDC_BASE_LAYER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movq	_ATMEL_HLCDC_OVERLAY_LAYER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	movq	_ATMEL_HLCDC_CURSOR_LAYER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
LBB0_4:
	popq	%rbp
	retq
LBB0_5:
	callq	_atmel_hlcdc_layer_to_plane
	movl	%eax, %edi
	popq	%rbp
	jmp	_atmel_hlcdc_plane_irq          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATMEL_HLCDC_BASE_LAYER,8,3     ## @ATMEL_HLCDC_BASE_LAYER
	.comm	_ATMEL_HLCDC_OVERLAY_LAYER,8,3  ## @ATMEL_HLCDC_OVERLAY_LAYER
	.comm	_ATMEL_HLCDC_CURSOR_LAYER,8,3   ## @ATMEL_HLCDC_CURSOR_LAYER
	.no_dead_strip	_atmel_hlcdc_layer_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_hlcdc_layer_irq
_atmel_hlcdc_layer_irq:                 ; @atmel_hlcdc_layer_irq
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _ATMEL_HLCDC_BASE_LAYER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATMEL_HLCDC_BASE_LAYER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _ATMEL_HLCDC_OVERLAY_LAYER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ATMEL_HLCDC_OVERLAY_LAYER@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _ATMEL_HLCDC_CURSOR_LAYER@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ATMEL_HLCDC_CURSOR_LAYER@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_3
; %bb.2:
	bl	_atmel_hlcdc_layer_to_plane
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_atmel_hlcdc_plane_irq
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATMEL_HLCDC_BASE_LAYER,8,3     ; @ATMEL_HLCDC_BASE_LAYER
	.comm	_ATMEL_HLCDC_OVERLAY_LAYER,8,3  ; @ATMEL_HLCDC_OVERLAY_LAYER
	.comm	_ATMEL_HLCDC_CURSOR_LAYER,8,3   ; @ATMEL_HLCDC_CURSOR_LAYER
	.no_dead_strip	_atmel_hlcdc_layer_irq
.subsections_via_symbols
