	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btc_ls_clock_gating_enable
_btc_ls_clock_gating_enable:            ## @btc_ls_clock_gating_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_CHIP_BARTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%esi, %esi
	je	LBB0_7
## %bb.1:
	cmpq	%rcx, %rax
	jne	LBB0_3
## %bb.2:
	movq	_barts_sysls_enable@GOTPCREL(%rip), %rsi
	movq	_BARTS_SYSLS_ENABLE_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	cmpq	%rcx, %rax
	jne	LBB0_9
## %bb.8:
	movq	_barts_sysls_disable@GOTPCREL(%rip), %rsi
	movq	_BARTS_SYSLS_DISABLE_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_3:
	movq	_CHIP_TURKS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_turks_sysls_enable@GOTPCREL(%rip), %rsi
	movq	_TURKS_SYSLS_ENABLE_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_9:
	movq	_CHIP_TURKS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_turks_sysls_disable@GOTPCREL(%rip), %rsi
	movq	_TURKS_SYSLS_DISABLE_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_5:
	movq	_CHIP_CAICOS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.6:
	movq	_caicos_sysls_enable@GOTPCREL(%rip), %rsi
	movq	_CAICOS_SYSLS_ENABLE_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_CHIP_CAICOS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.12:
	movq	_caicos_sysls_disable@GOTPCREL(%rip), %rsi
	movq	_CAICOS_SYSLS_DISABLE_LENGTH@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %edx
	popq	%rbp
	jmp	_btc_program_mgcg_hw_sequence   ## TAILCALL
LBB0_14:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_BARTS,8,3                 ## @CHIP_BARTS
	.comm	_barts_sysls_enable,4,2         ## @barts_sysls_enable
	.comm	_BARTS_SYSLS_ENABLE_LENGTH,4,2  ## @BARTS_SYSLS_ENABLE_LENGTH
	.comm	_CHIP_TURKS,8,3                 ## @CHIP_TURKS
	.comm	_turks_sysls_enable,4,2         ## @turks_sysls_enable
	.comm	_TURKS_SYSLS_ENABLE_LENGTH,4,2  ## @TURKS_SYSLS_ENABLE_LENGTH
	.comm	_CHIP_CAICOS,8,3                ## @CHIP_CAICOS
	.comm	_caicos_sysls_enable,4,2        ## @caicos_sysls_enable
	.comm	_CAICOS_SYSLS_ENABLE_LENGTH,4,2 ## @CAICOS_SYSLS_ENABLE_LENGTH
	.comm	_barts_sysls_disable,4,2        ## @barts_sysls_disable
	.comm	_BARTS_SYSLS_DISABLE_LENGTH,4,2 ## @BARTS_SYSLS_DISABLE_LENGTH
	.comm	_turks_sysls_disable,4,2        ## @turks_sysls_disable
	.comm	_TURKS_SYSLS_DISABLE_LENGTH,4,2 ## @TURKS_SYSLS_DISABLE_LENGTH
	.comm	_caicos_sysls_disable,4,2       ## @caicos_sysls_disable
	.comm	_CAICOS_SYSLS_DISABLE_LENGTH,4,2 ## @CAICOS_SYSLS_DISABLE_LENGTH
	.no_dead_strip	_btc_ls_clock_gating_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btc_ls_clock_gating_enable
_btc_ls_clock_gating_enable:            ; @btc_ls_clock_gating_enable
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CHIP_BARTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHIP_BARTS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cbz	w1, LBB0_3
; %bb.1:
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x1, _barts_sysls_enable@GOTPAGE
Lloh4:
	ldr	x1, [x1, _barts_sysls_enable@GOTPAGEOFF]
Lloh5:
	adrp	x8, _BARTS_SYSLS_ENABLE_LENGTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BARTS_SYSLS_ENABLE_LENGTH@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	b	_btc_program_mgcg_hw_sequence
LBB0_3:
	b.ne	LBB0_7
; %bb.4:
Lloh8:
	adrp	x1, _barts_sysls_disable@GOTPAGE
Lloh9:
	ldr	x1, [x1, _barts_sysls_disable@GOTPAGEOFF]
Lloh10:
	adrp	x8, _BARTS_SYSLS_DISABLE_LENGTH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BARTS_SYSLS_DISABLE_LENGTH@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	b	_btc_program_mgcg_hw_sequence
LBB0_5:
Lloh13:
	adrp	x9, _CHIP_TURKS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CHIP_TURKS@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
Lloh16:
	adrp	x1, _turks_sysls_enable@GOTPAGE
Lloh17:
	ldr	x1, [x1, _turks_sysls_enable@GOTPAGEOFF]
Lloh18:
	adrp	x8, _TURKS_SYSLS_ENABLE_LENGTH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TURKS_SYSLS_ENABLE_LENGTH@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	b	_btc_program_mgcg_hw_sequence
LBB0_7:
Lloh21:
	adrp	x9, _CHIP_TURKS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CHIP_TURKS@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.8:
Lloh24:
	adrp	x1, _turks_sysls_disable@GOTPAGE
Lloh25:
	ldr	x1, [x1, _turks_sysls_disable@GOTPAGEOFF]
Lloh26:
	adrp	x8, _TURKS_SYSLS_DISABLE_LENGTH@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TURKS_SYSLS_DISABLE_LENGTH@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	b	_btc_program_mgcg_hw_sequence
LBB0_9:
Lloh29:
	adrp	x9, _CHIP_CAICOS@GOTPAGE
Lloh30:
	ldr	x9, [x9, _CHIP_CAICOS@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.10:
Lloh32:
	adrp	x1, _caicos_sysls_enable@GOTPAGE
Lloh33:
	ldr	x1, [x1, _caicos_sysls_enable@GOTPAGEOFF]
Lloh34:
	adrp	x8, _CAICOS_SYSLS_ENABLE_LENGTH@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CAICOS_SYSLS_ENABLE_LENGTH@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	b	_btc_program_mgcg_hw_sequence
LBB0_11:
Lloh37:
	adrp	x9, _CHIP_CAICOS@GOTPAGE
Lloh38:
	ldr	x9, [x9, _CHIP_CAICOS@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
Lloh40:
	adrp	x1, _caicos_sysls_disable@GOTPAGE
Lloh41:
	ldr	x1, [x1, _caicos_sysls_disable@GOTPAGEOFF]
Lloh42:
	adrp	x8, _CAICOS_SYSLS_DISABLE_LENGTH@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CAICOS_SYSLS_DISABLE_LENGTH@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	b	_btc_program_mgcg_hw_sequence
LBB0_13:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_BARTS,8,3                 ; @CHIP_BARTS
	.comm	_barts_sysls_enable,4,2         ; @barts_sysls_enable
	.comm	_BARTS_SYSLS_ENABLE_LENGTH,4,2  ; @BARTS_SYSLS_ENABLE_LENGTH
	.comm	_CHIP_TURKS,8,3                 ; @CHIP_TURKS
	.comm	_turks_sysls_enable,4,2         ; @turks_sysls_enable
	.comm	_TURKS_SYSLS_ENABLE_LENGTH,4,2  ; @TURKS_SYSLS_ENABLE_LENGTH
	.comm	_CHIP_CAICOS,8,3                ; @CHIP_CAICOS
	.comm	_caicos_sysls_enable,4,2        ; @caicos_sysls_enable
	.comm	_CAICOS_SYSLS_ENABLE_LENGTH,4,2 ; @CAICOS_SYSLS_ENABLE_LENGTH
	.comm	_barts_sysls_disable,4,2        ; @barts_sysls_disable
	.comm	_BARTS_SYSLS_DISABLE_LENGTH,4,2 ; @BARTS_SYSLS_DISABLE_LENGTH
	.comm	_turks_sysls_disable,4,2        ; @turks_sysls_disable
	.comm	_TURKS_SYSLS_DISABLE_LENGTH,4,2 ; @TURKS_SYSLS_DISABLE_LENGTH
	.comm	_caicos_sysls_disable,4,2       ; @caicos_sysls_disable
	.comm	_CAICOS_SYSLS_DISABLE_LENGTH,4,2 ; @CAICOS_SYSLS_DISABLE_LENGTH
	.no_dead_strip	_btc_ls_clock_gating_enable
.subsections_via_symbols
