	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_analog
_disable_analog:                        ## @disable_analog
	.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
	movl	%esi, %r14d
	callq	_rtl_priv
	movq	%rax, %rbx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	_REG_LDOA15_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_rtl_write_byte
	movq	_REG_LDOV12D_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_rtl_read_byte
	movq	_LDV12_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_rtl_write_byte
LBB0_2:
	movq	_REG_SPS0_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$35, %edx
	callq	_rtl_write_byte
	movq	_APDM_HOST@GOTPCREL(%rip), %rax
	movq	_AFSM_HSUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PFM_ALDN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_REG_APS_FSMCO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtl_write_word
	movq	_REG_RSV_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$14, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_LDOA15_CTRL,4,2            ## @REG_LDOA15_CTRL
	.comm	_REG_LDOV12D_CTRL,4,2           ## @REG_LDOV12D_CTRL
	.comm	_LDV12_EN,4,2                   ## @LDV12_EN
	.comm	_REG_SPS0_CTRL,4,2              ## @REG_SPS0_CTRL
	.comm	_APDM_HOST,4,2                  ## @APDM_HOST
	.comm	_AFSM_HSUS,4,2                  ## @AFSM_HSUS
	.comm	_PFM_ALDN,4,2                   ## @PFM_ALDN
	.comm	_REG_APS_FSMCO,4,2              ## @REG_APS_FSMCO
	.comm	_REG_RSV_CTRL,4,2               ## @REG_RSV_CTRL
	.no_dead_strip	_disable_analog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_analog
_disable_analog:                        ; @disable_analog
	.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	x20, x1
	bl	_rtl_priv
	mov	x19, x0
	cbz	w20, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _REG_LDOA15_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_LDOA15_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_rtl_write_byte
Lloh3:
	adrp	x20, _REG_LDOV12D_CTRL@GOTPAGE
Lloh4:
	ldr	x20, [x20, _REG_LDOV12D_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rtl_read_byte
Lloh5:
	adrp	x8, _LDV12_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDV12_EN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rtl_write_byte
LBB0_2:
Lloh8:
	adrp	x8, _REG_SPS0_CTRL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_SPS0_CTRL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #35
	bl	_rtl_write_byte
Lloh11:
	adrp	x8, _APDM_HOST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _APDM_HOST@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _AFSM_HSUS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AFSM_HSUS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _PFM_ALDN@GOTPAGE
Lloh18:
	ldr	x10, [x10, _PFM_ALDN@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh19:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh20:
	adrp	x8, _REG_APS_FSMCO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REG_APS_FSMCO@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl_write_word
Lloh23:
	adrp	x8, _REG_RSV_CTRL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _REG_RSV_CTRL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #14
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtl_write_byte
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_LDOA15_CTRL,4,2            ; @REG_LDOA15_CTRL
	.comm	_REG_LDOV12D_CTRL,4,2           ; @REG_LDOV12D_CTRL
	.comm	_LDV12_EN,4,2                   ; @LDV12_EN
	.comm	_REG_SPS0_CTRL,4,2              ; @REG_SPS0_CTRL
	.comm	_APDM_HOST,4,2                  ; @APDM_HOST
	.comm	_AFSM_HSUS,4,2                  ; @AFSM_HSUS
	.comm	_PFM_ALDN,4,2                   ; @PFM_ALDN
	.comm	_REG_APS_FSMCO,4,2              ; @REG_APS_FSMCO
	.comm	_REG_RSV_CTRL,4,2               ; @REG_RSV_CTRL
	.no_dead_strip	_disable_analog
.subsections_via_symbols
