	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_hlcdc_plane_atomic_disable
_atmel_hlcdc_plane_atomic_disable:      ## @atmel_hlcdc_plane_atomic_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_drm_plane_to_atmel_hlcdc_plane
	movq	%rax, %rbx
	movq	_ATMEL_HLCDC_LAYER_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_atmel_hlcdc_layer_write_reg
	movq	_ATMEL_HLCDC_LAYER_CHDR@GOTPCREL(%rip), %rax
	movq	_ATMEL_HLCDC_LAYER_RST@GOTPCREL(%rip), %rcx
	movq	_ATMEL_HLCDC_LAYER_A2Q@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_ATMEL_HLCDC_LAYER_UPDATE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_atmel_hlcdc_layer_write_reg
	movq	_ATMEL_HLCDC_LAYER_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_atmel_hlcdc_layer_read_reg     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATMEL_HLCDC_LAYER_IDR,4,2      ## @ATMEL_HLCDC_LAYER_IDR
	.comm	_ATMEL_HLCDC_LAYER_CHDR,4,2     ## @ATMEL_HLCDC_LAYER_CHDR
	.comm	_ATMEL_HLCDC_LAYER_RST,4,2      ## @ATMEL_HLCDC_LAYER_RST
	.comm	_ATMEL_HLCDC_LAYER_A2Q,4,2      ## @ATMEL_HLCDC_LAYER_A2Q
	.comm	_ATMEL_HLCDC_LAYER_UPDATE,4,2   ## @ATMEL_HLCDC_LAYER_UPDATE
	.comm	_ATMEL_HLCDC_LAYER_ISR,4,2      ## @ATMEL_HLCDC_LAYER_ISR
	.no_dead_strip	_atmel_hlcdc_plane_atomic_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_hlcdc_plane_atomic_disable
_atmel_hlcdc_plane_atomic_disable:      ; @atmel_hlcdc_plane_atomic_disable
	.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
	bl	_drm_plane_to_atmel_hlcdc_plane
	mov	x19, x0
Lloh0:
	adrp	x8, _ATMEL_HLCDC_LAYER_IDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATMEL_HLCDC_LAYER_IDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_atmel_hlcdc_layer_write_reg
Lloh3:
	adrp	x8, _ATMEL_HLCDC_LAYER_CHDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATMEL_HLCDC_LAYER_CHDR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _ATMEL_HLCDC_LAYER_RST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATMEL_HLCDC_LAYER_RST@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ATMEL_HLCDC_LAYER_A2Q@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATMEL_HLCDC_LAYER_A2Q@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _ATMEL_HLCDC_LAYER_UPDATE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ATMEL_HLCDC_LAYER_UPDATE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_atmel_hlcdc_layer_write_reg
Lloh15:
	adrp	x8, _ATMEL_HLCDC_LAYER_ISR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ATMEL_HLCDC_LAYER_ISR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_atmel_hlcdc_layer_read_reg
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATMEL_HLCDC_LAYER_IDR,4,2      ; @ATMEL_HLCDC_LAYER_IDR
	.comm	_ATMEL_HLCDC_LAYER_CHDR,4,2     ; @ATMEL_HLCDC_LAYER_CHDR
	.comm	_ATMEL_HLCDC_LAYER_RST,4,2      ; @ATMEL_HLCDC_LAYER_RST
	.comm	_ATMEL_HLCDC_LAYER_A2Q,4,2      ; @ATMEL_HLCDC_LAYER_A2Q
	.comm	_ATMEL_HLCDC_LAYER_UPDATE,4,2   ; @ATMEL_HLCDC_LAYER_UPDATE
	.comm	_ATMEL_HLCDC_LAYER_ISR,4,2      ; @ATMEL_HLCDC_LAYER_ISR
	.no_dead_strip	_atmel_hlcdc_plane_atomic_disable
.subsections_via_symbols
