	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_adc_hw_init
_at91_adc_hw_init:                      ## @at91_adc_hw_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_AT91_SAMA5D2_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AT91_SAMA5D2_CR_SWRST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_at91_adc_writel
	movq	_AT91_SAMA5D2_IDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_at91_adc_writel
	movq	_AT91_SAMA5D2_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$2, %edi
	callq	_AT91_SAMA5D2_MR_TRANSFER
	movq	_AT91_SAMA5D2_MR_ANACH@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_at91_adc_writel
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_at91_adc_setup_samp_freq
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_at91_adc_config_emr            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_SAMA5D2_CR,4,2            ## @AT91_SAMA5D2_CR
	.comm	_AT91_SAMA5D2_CR_SWRST,4,2      ## @AT91_SAMA5D2_CR_SWRST
	.comm	_AT91_SAMA5D2_IDR,4,2           ## @AT91_SAMA5D2_IDR
	.comm	_AT91_SAMA5D2_MR,4,2            ## @AT91_SAMA5D2_MR
	.comm	_AT91_SAMA5D2_MR_ANACH,4,2      ## @AT91_SAMA5D2_MR_ANACH
	.no_dead_strip	_at91_adc_hw_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_adc_hw_init
_at91_adc_hw_init:                      ; @at91_adc_hw_init
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _AT91_SAMA5D2_CR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91_SAMA5D2_CR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _AT91_SAMA5D2_CR_SWRST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT91_SAMA5D2_CR_SWRST@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_at91_adc_writel
Lloh6:
	adrp	x8, _AT91_SAMA5D2_IDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AT91_SAMA5D2_IDR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_at91_adc_writel
Lloh9:
	adrp	x8, _AT91_SAMA5D2_MR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AT91_SAMA5D2_MR@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	w0, #2
	bl	_AT91_SAMA5D2_MR_TRANSFER
Lloh12:
	adrp	x8, _AT91_SAMA5D2_MR_ANACH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AT91_SAMA5D2_MR_ANACH@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x19
	mov	x1, x20
	bl	_at91_adc_writel
	ldr	w1, [x19]
	mov	x0, x19
	bl	_at91_adc_setup_samp_freq
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_at91_adc_config_emr
	.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	_AT91_SAMA5D2_CR,4,2            ; @AT91_SAMA5D2_CR
	.comm	_AT91_SAMA5D2_CR_SWRST,4,2      ; @AT91_SAMA5D2_CR_SWRST
	.comm	_AT91_SAMA5D2_IDR,4,2           ; @AT91_SAMA5D2_IDR
	.comm	_AT91_SAMA5D2_MR,4,2            ; @AT91_SAMA5D2_MR
	.comm	_AT91_SAMA5D2_MR_ANACH,4,2      ; @AT91_SAMA5D2_MR_ANACH
	.no_dead_strip	_at91_adc_hw_init
.subsections_via_symbols
