	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_ts_close
_atmel_ts_close:                        ## @atmel_ts_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_input_get_drvdata
	movq	(%rax), %rcx
	cmpq	$0, (%rcx)
	movq	_AT91_ADC_IDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	jne	LBB0_1
## %bb.2:
	movq	_AT91RL_ADC_IER_PEN@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_AT91_ADC_IER_PEN@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %edx
	movq	%rax, %rdi
	popq	%rbp
	jmp	_at91_adc_writel                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_ADC_IDR,4,2               ## @AT91_ADC_IDR
	.comm	_AT91_ADC_IER_PEN,4,2           ## @AT91_ADC_IER_PEN
	.comm	_AT91RL_ADC_IER_PEN,4,2         ## @AT91RL_ADC_IER_PEN
	.no_dead_strip	_atmel_ts_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_ts_close
_atmel_ts_close:                        ; @atmel_ts_close
	.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
	bl	_input_get_drvdata
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AT91_ADC_IDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AT91_ADC_IDR@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _AT91RL_ADC_IER_PEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AT91RL_ADC_IER_PEN@GOTPAGEOFF]
Lloh5:
	adrp	x10, _AT91_ADC_IER_PEN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _AT91_ADC_IER_PEN@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_at91_adc_writel
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_ADC_IDR,4,2               ; @AT91_ADC_IDR
	.comm	_AT91_ADC_IER_PEN,4,2           ; @AT91_ADC_IER_PEN
	.comm	_AT91RL_ADC_IER_PEN,4,2         ; @AT91RL_ADC_IER_PEN
	.no_dead_strip	_atmel_ts_close
.subsections_via_symbols
