	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_abm_immediate_disable
_dce_abm_immediate_disable:             ## @dce_abm_immediate_disable
	.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
	callq	_TO_DCE_ABM
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_MCP_DISABLE_ABM_IMMEDIATELY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dce_abm_set_pipe
	movq	_BL_PWM_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	leaq	8(%rbx), %r14
	movq	%rax, 32(%rbx)
	movq	_BL_PWM_CNTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	movq	%rax, 24(%rbx)
	movq	_BL_PWM_PERIOD_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	movq	%rax, 16(%rbx)
	movq	_LVTMA_PWRSEQ_REF_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BL_PWM_REF_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_REG_GET
LBB0_2:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCP_DISABLE_ABM_IMMEDIATELY,4,2 ## @MCP_DISABLE_ABM_IMMEDIATELY
	.comm	_BL_PWM_CNTL,4,2                ## @BL_PWM_CNTL
	.comm	_BL_PWM_CNTL2,4,2               ## @BL_PWM_CNTL2
	.comm	_BL_PWM_PERIOD_CNTL,4,2         ## @BL_PWM_PERIOD_CNTL
	.comm	_LVTMA_PWRSEQ_REF_DIV,4,2       ## @LVTMA_PWRSEQ_REF_DIV
	.comm	_BL_PWM_REF_DIV,4,2             ## @BL_PWM_REF_DIV
	.no_dead_strip	_dce_abm_immediate_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_abm_immediate_disable
_dce_abm_immediate_disable:             ; @dce_abm_immediate_disable
	.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
	bl	_TO_DCE_ABM
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MCP_DISABLE_ABM_IMMEDIATELY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCP_DISABLE_ABM_IMMEDIATELY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dce_abm_set_pipe
Lloh3:
	adrp	x8, _BL_PWM_CNTL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BL_PWM_CNTL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_REG_READ
	add	x20, x19, #8
	str	x0, [x19, #32]
Lloh6:
	adrp	x8, _BL_PWM_CNTL2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BL_PWM_CNTL2@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_REG_READ
	str	x0, [x19, #24]
Lloh9:
	adrp	x8, _BL_PWM_PERIOD_CNTL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BL_PWM_PERIOD_CNTL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_REG_READ
	str	x0, [x19, #16]
Lloh12:
	adrp	x8, _LVTMA_PWRSEQ_REF_DIV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LVTMA_PWRSEQ_REF_DIV@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _BL_PWM_REF_DIV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BL_PWM_REF_DIV@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_REG_GET
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_MCP_DISABLE_ABM_IMMEDIATELY,4,2 ; @MCP_DISABLE_ABM_IMMEDIATELY
	.comm	_BL_PWM_CNTL,4,2                ; @BL_PWM_CNTL
	.comm	_BL_PWM_CNTL2,4,2               ; @BL_PWM_CNTL2
	.comm	_BL_PWM_PERIOD_CNTL,4,2         ; @BL_PWM_PERIOD_CNTL
	.comm	_LVTMA_PWRSEQ_REF_DIV,4,2       ; @LVTMA_PWRSEQ_REF_DIV
	.comm	_BL_PWM_REF_DIV,4,2             ; @BL_PWM_REF_DIV
	.no_dead_strip	_dce_abm_immediate_disable
.subsections_via_symbols
