	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function epit_tc_attach
_epit_tc_attach:                        ## @epit_tc_attach
	.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
	movq	%rdi, %rbx
	movq	_EPIT_LR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_WR4
	movq	_EPIT_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EPIT_CR_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_WR4
	leaq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rax
	movq	%rax, 8(%rbx)
	movabsq	$-4294966296, %rax              ## imm = 0xFFFFFFFF000003E8
	movq	%rax, 16(%rbx)
	movl	40(%rbx), %eax
	movl	%eax, 36(%rbx)
	movq	_epit_tc_get_timecount@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%rbx, 24(%rbx)
	callq	_tc_init
	movq	_epit_do_delay@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_arm_set_delay
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPIT_LR,4,2                    ## @EPIT_LR
	.comm	_EPIT_CR,4,2                    ## @EPIT_CR
	.comm	_EPIT_CR_EN,4,2                 ## @EPIT_CR_EN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EPIT"

	.comm	_epit_tc_get_timecount,4,2      ## @epit_tc_get_timecount
	.comm	_epit_do_delay,4,2              ## @epit_do_delay
	.no_dead_strip	_epit_tc_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function epit_tc_attach
lCPI0_0:
	.long	1000                            ; 0x3e8
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_epit_tc_attach:                        ; @epit_tc_attach
	.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, _EPIT_LR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPIT_LR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_WR4
Lloh3:
	adrp	x8, _EPIT_CR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPIT_CR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _EPIT_CR_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EPIT_CR_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_WR4
Lloh9:
	adrp	x8, l_.str@PAGE
Lloh10:
	add	x8, x8, l_.str@PAGEOFF
	mov	x0, x19
	str	x8, [x0, #8]!
	ldr	w8, [x19, #40]
Lloh11:
	adrp	x9, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x19, #16]
Lloh13:
	adrp	x9, _epit_tc_get_timecount@GOTPAGE
Lloh14:
	ldr	x9, [x9, _epit_tc_get_timecount@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
	str	x19, [x19, #24]
	bl	_tc_init
Lloh16:
	adrp	x8, _epit_do_delay@GOTPAGE
Lloh17:
	ldr	x8, [x8, _epit_do_delay@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_arm_set_delay
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdrp	Lloh11, Lloh13
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EPIT_LR,4,2                    ; @EPIT_LR
	.comm	_EPIT_CR,4,2                    ; @EPIT_CR
	.comm	_EPIT_CR_EN,4,2                 ; @EPIT_CR_EN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EPIT"

	.comm	_epit_tc_get_timecount,4,2      ; @epit_tc_get_timecount
	.comm	_epit_do_delay,4,2              ; @epit_do_delay
	.no_dead_strip	_epit_tc_attach
.subsections_via_symbols
