	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __tmc_etb_enable_hw
___tmc_etb_enable_hw:                   ## @__tmc_etb_enable_hw
	.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	8(%rdi), %rdi
	callq	_CS_UNLOCK
	movq	%rbx, %rdi
	callq	_tmc_wait_for_tmcready
	movq	_TMC_MODE_CIRCULAR_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TMC_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel_relaxed
	movq	_TMC_FFCR_EN_FMT@GOTPCREL(%rip), %rax
	movq	_TMC_FFCR_EN_TI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_TMC_FFCR_FON_FLIN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_TMC_FFCR_FON_TRIG_EVT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_TMC_FFCR_TRIGON_TRIGIN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_TMC_FFCR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel_relaxed
	movl	(%rbx), %edi
	movq	_TMC_TRG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel_relaxed
	movq	%rbx, %rdi
	callq	_tmc_enable_hw
	movq	8(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CS_LOCK                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TMC_MODE_CIRCULAR_BUFFER,4,2   ## @TMC_MODE_CIRCULAR_BUFFER
	.comm	_TMC_MODE,8,3                   ## @TMC_MODE
	.comm	_TMC_FFCR_EN_FMT,4,2            ## @TMC_FFCR_EN_FMT
	.comm	_TMC_FFCR_EN_TI,4,2             ## @TMC_FFCR_EN_TI
	.comm	_TMC_FFCR_FON_FLIN,4,2          ## @TMC_FFCR_FON_FLIN
	.comm	_TMC_FFCR_FON_TRIG_EVT,4,2      ## @TMC_FFCR_FON_TRIG_EVT
	.comm	_TMC_FFCR_TRIGON_TRIGIN,4,2     ## @TMC_FFCR_TRIGON_TRIGIN
	.comm	_TMC_FFCR,8,3                   ## @TMC_FFCR
	.comm	_TMC_TRG,8,3                    ## @TMC_TRG
	.no_dead_strip	___tmc_etb_enable_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __tmc_etb_enable_hw
___tmc_etb_enable_hw:                   ; @__tmc_etb_enable_hw
	.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
	ldr	x0, [x0, #8]
	bl	_CS_UNLOCK
	mov	x0, x19
	bl	_tmc_wait_for_tmcready
Lloh0:
	adrp	x8, _TMC_MODE_CIRCULAR_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMC_MODE_CIRCULAR_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _TMC_MODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TMC_MODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh6:
	adrp	x8, _TMC_FFCR_EN_FMT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TMC_FFCR_EN_FMT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _TMC_FFCR_EN_TI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TMC_FFCR_EN_TI@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _TMC_FFCR_FON_FLIN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TMC_FFCR_FON_FLIN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _TMC_FFCR_FON_TRIG_EVT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TMC_FFCR_FON_TRIG_EVT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _TMC_FFCR_TRIGON_TRIGIN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _TMC_FFCR_TRIGON_TRIGIN@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19, #8]
Lloh21:
	adrp	x9, _TMC_FFCR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TMC_FFCR@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	w0, [x19]
	ldr	x8, [x19, #8]
Lloh24:
	adrp	x9, _TMC_TRG@GOTPAGE
Lloh25:
	ldr	x9, [x9, _TMC_TRG@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel_relaxed
	mov	x0, x19
	bl	_tmc_enable_hw
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CS_LOCK
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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	_TMC_MODE_CIRCULAR_BUFFER,4,2   ; @TMC_MODE_CIRCULAR_BUFFER
	.comm	_TMC_MODE,8,3                   ; @TMC_MODE
	.comm	_TMC_FFCR_EN_FMT,4,2            ; @TMC_FFCR_EN_FMT
	.comm	_TMC_FFCR_EN_TI,4,2             ; @TMC_FFCR_EN_TI
	.comm	_TMC_FFCR_FON_FLIN,4,2          ; @TMC_FFCR_FON_FLIN
	.comm	_TMC_FFCR_FON_TRIG_EVT,4,2      ; @TMC_FFCR_FON_TRIG_EVT
	.comm	_TMC_FFCR_TRIGON_TRIGIN,4,2     ; @TMC_FFCR_TRIGON_TRIGIN
	.comm	_TMC_FFCR,8,3                   ; @TMC_FFCR
	.comm	_TMC_TRG,8,3                    ; @TMC_TRG
	.no_dead_strip	___tmc_etb_enable_hw
.subsections_via_symbols
