	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atmel_hlcdc_plane_irq          ## -- Begin function atmel_hlcdc_plane_irq
	.p2align	4, 0x90
_atmel_hlcdc_plane_irq:                 ## @atmel_hlcdc_plane_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	%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	%rdi, %r15
	addq	$8, %rdi
	movq	8(%r15), %r13
	movq	_ATMEL_HLCDC_LAYER_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_atmel_hlcdc_layer_read_reg
	movl	%eax, %r14d
	xorl	%edi, %edi
	callq	_ATMEL_HLCDC_LAYER_OVR_IRQ
	movl	%eax, %r12d
	movl	$1, %edi
	callq	_ATMEL_HLCDC_LAYER_OVR_IRQ
	movl	%eax, %ebx
	orl	%r12d, %ebx
	movl	$2, %edi
	callq	_ATMEL_HLCDC_LAYER_OVR_IRQ
	orl	%ebx, %eax
	testl	%r14d, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATMEL_HLCDC_LAYER_ISR,4,2      ## @ATMEL_HLCDC_LAYER_ISR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"overrun on plane %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atmel_hlcdc_plane_irq          ; -- Begin function atmel_hlcdc_plane_irq
	.p2align	2
_atmel_hlcdc_plane_irq:                 ; @atmel_hlcdc_plane_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	x19, x0
	ldr	x22, [x0, #8]!
Lloh0:
	adrp	x8, _ATMEL_HLCDC_LAYER_ISR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATMEL_HLCDC_LAYER_ISR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_atmel_hlcdc_layer_read_reg
	mov	x20, x0
	mov	w0, #0
	bl	_ATMEL_HLCDC_LAYER_OVR_IRQ
	mov	x21, x0
	mov	w0, #1
	bl	_ATMEL_HLCDC_LAYER_OVR_IRQ
	orr	w21, w0, w21
	mov	w0, #2
	bl	_ATMEL_HLCDC_LAYER_OVR_IRQ
	orr	w8, w21, w0
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	w2, [x22]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	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
	b	_dev_dbg
LBB0_2:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ATMEL_HLCDC_LAYER_ISR,4,2      ; @ATMEL_HLCDC_LAYER_ISR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"overrun on plane %s\n"

.subsections_via_symbols
