	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetupHardware
_SetupHardware:                         ## @SetupHardware
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_WDRF@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$-2, %eax
	roll	%cl, %eax
	movq	_MCUSR@GOTPCREL(%rip), %rcx
	andl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_wdt_disable
	movq	_clock_div_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_clock_prescale_set
	xorl	%eax, %eax
	callq	_USB_Disable
	xorl	%eax, %eax
	callq	_USB_Init
	xorl	%eax, %eax
	callq	_USB_Device_EnableSOFEvents
	movq	_sendchar_func@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_print_set_sendchar
	movq	_DDRD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PORTD@GOTPCREL(%rip), %rdx
	andl	$-4, %ecx
	orl	$1, %ecx
	movl	%ecx, (%rax)
	orb	$3, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WDRF,4,2                       ## @WDRF
	.comm	_MCUSR,4,2                      ## @MCUSR
	.comm	_clock_div_1,4,2                ## @clock_div_1
	.comm	_sendchar_func,4,2              ## @sendchar_func
	.comm	_DDRD,4,2                       ## @DDRD
	.comm	_PORTD,4,2                      ## @PORTD
	.no_dead_strip	_SetupHardware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetupHardware
_SetupHardware:                         ; @SetupHardware
	.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
Lloh0:
	adrp	x8, _WDRF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WDRF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x9, _MCUSR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MCUSR@GOTPAGEOFF]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
	bl	_wdt_disable
Lloh5:
	adrp	x8, _clock_div_1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _clock_div_1@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_clock_prescale_set
	bl	_USB_Disable
	bl	_USB_Init
	bl	_USB_Device_EnableSOFEvents
Lloh8:
	adrp	x8, _sendchar_func@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sendchar_func@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_print_set_sendchar
Lloh11:
	adrp	x8, _DDRD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DDRD@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh13:
	adrp	x10, _PORTD@GOTPAGE
Lloh14:
	ldr	x10, [x10, _PORTD@GOTPAGEOFF]
	ldr	w11, [x10]
	and	w9, w9, #0xfffffffc
	orr	w9, w9, #0x1
	str	w9, [x8]
	orr	w8, w11, #0x3
	str	w8, [x10]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WDRF,4,2                       ; @WDRF
	.comm	_MCUSR,4,2                      ; @MCUSR
	.comm	_clock_div_1,4,2                ; @clock_div_1
	.comm	_sendchar_func,4,2              ; @sendchar_func
	.comm	_DDRD,4,2                       ; @DDRD
	.comm	_PORTD,4,2                      ; @PORTD
	.no_dead_strip	_SetupHardware
.subsections_via_symbols
