	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asic3_leds_suspend
_asic3_leds_suspend:                    ## @asic3_leds_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
	movq	%rdi, %rbx
	callq	_mfd_get_cell
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r14
	movq	%rax, %rbx
	addq	$8, %rbx
	movq	_C@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movq	(%r15), %rsi
	callq	_ASIC3_GPIO
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_asic3_gpio_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$5000, %esi                     ## imm = 0x1388
	callq	_usleep_range
	jmp	LBB0_2
LBB0_3:
	movq	_clock_ledn@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rsi
	shlq	$2, %rsi
	addq	(%r14), %rsi
	movq	%r14, %rdi
	callq	_asic3_clk_disable
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C,4,2                          ## @C
	.comm	_clock_ledn,8,3                 ## @clock_ledn
	.no_dead_strip	_asic3_leds_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asic3_leds_suspend
_asic3_leds_suspend:                    ; @asic3_leds_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
	mov	x20, x0
	bl	_mfd_get_cell
	mov	x19, x0
	ldr	w0, [x20]
	bl	_dev_get_drvdata
	mov	x20, x0
	add	x21, x0, #8
Lloh0:
	adrp	x22, _C@GOTPAGE
Lloh1:
	ldr	x22, [x22, _C@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	x1, [x19]
	bl	_ASIC3_GPIO
	mov	x1, x0
	mov	x0, x21
	bl	_asic3_gpio_get
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1000
	mov	w1, #5000
	bl	_usleep_range
	b	LBB0_1
LBB0_3:
Lloh2:
	adrp	x8, _clock_ledn@GOTPAGE
Lloh3:
	ldr	x8, [x8, _clock_ledn@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh4:
	ldr	x8, [x8]
	ldr	x10, [x19]
	ldr	x8, [x8, x10, lsl #3]
	add	x1, x9, x8, lsl #2
	mov	x0, x20
	bl	_asic3_clk_disable
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_C,4,2                          ; @C
	.comm	_clock_ledn,8,3                 ; @clock_ledn
	.no_dead_strip	_asic3_leds_suspend
.subsections_via_symbols
