	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_lpss_suspend             ## -- Begin function intel_lpss_suspend
	.p2align	4, 0x90
_intel_lpss_suspend:                    ## @intel_lpss_suspend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	_LPSS_PRIV_REG_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	andl	$-4, %edi
	addq	8(%r15), %rdi
	callq	_readl
	movq	16(%r15), %rcx
	movl	%eax, (%rcx,%rbx)
	incq	%r12
	movl	(%r14), %eax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jb	LBB0_2
LBB0_3:
	movq	(%r15), %rax
	movq	_LPSS_DEV_UART@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_LPSS_PRIV_RESETS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	xorl	%edi, %edi
	callq	_writel
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LPSS_PRIV_REG_COUNT,4,2        ## @LPSS_PRIV_REG_COUNT
	.comm	_LPSS_DEV_UART,8,3              ## @LPSS_DEV_UART
	.comm	_LPSS_PRIV_RESETS,8,3           ## @LPSS_PRIV_RESETS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_lpss_suspend             ; -- Begin function intel_lpss_suspend
	.p2align	2
_intel_lpss_suspend:                    ; @intel_lpss_suspend
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_dev_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x20, _LPSS_PRIV_REG_COUNT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LPSS_PRIV_REG_COUNT@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	and	x9, x21, #0xfffffffc
	add	x0, x8, x9
	bl	_readl
	ldr	x8, [x19, #16]
	str	w0, [x8, x21]
	add	x22, x22, #1
	ldr	w8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _LPSS_DEV_UART@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LPSS_DEV_UART@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _LPSS_PRIV_RESETS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LPSS_PRIV_RESETS@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LPSS_PRIV_REG_COUNT,4,2        ; @LPSS_PRIV_REG_COUNT
	.comm	_LPSS_DEV_UART,8,3              ; @LPSS_DEV_UART
	.comm	_LPSS_PRIV_RESETS,8,3           ; @LPSS_PRIV_RESETS
.subsections_via_symbols
