	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_mdm6600_remove
_phy_mdm6600_remove:                    ## @phy_mdm6600_remove
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_platform_get_drvdata
	movq	%rax, %rbx
	movq	24(%rax), %rax
	movq	_PHY_MDM6600_RESET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r14
	movl	20(%rbx), %edi
	callq	_pm_runtime_dont_use_autosuspend
	movl	20(%rbx), %edi
	callq	_pm_runtime_put_sync
	movl	20(%rbx), %edi
	callq	_pm_runtime_disable
	cmpl	$0, 16(%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	12(%rbx), %r15
	movq	_PHY_MDM6600_ENABLED_DELAY_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_wait_for_completion_timeout
LBB0_2:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_gpiod_set_value_cansleep
	movq	%rbx, %rdi
	callq	_phy_mdm6600_device_power_off
	leaq	8(%rbx), %rdi
	callq	_cancel_delayed_work_sync
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_cancel_delayed_work_sync
	movq	%rbx, %rdi
	callq	_cancel_delayed_work_sync
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_MDM6600_RESET,8,3          ## @PHY_MDM6600_RESET
	.comm	_PHY_MDM6600_ENABLED_DELAY_MS,4,2 ## @PHY_MDM6600_ENABLED_DELAY_MS
	.no_dead_strip	_phy_mdm6600_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_mdm6600_remove
_phy_mdm6600_remove:                    ; @phy_mdm6600_remove
	.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	_platform_get_drvdata
	mov	x19, x0
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _PHY_MDM6600_RESET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_MDM6600_RESET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x20, [x8, x9, lsl #3]
	ldr	w0, [x0, #20]
	bl	_pm_runtime_dont_use_autosuspend
	ldr	w0, [x19, #20]
	bl	_pm_runtime_put_sync
	ldr	w0, [x19, #20]
	bl	_pm_runtime_disable
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_2
; %bb.1:
	add	x21, x19, #12
Lloh3:
	adrp	x8, _PHY_MDM6600_ENABLED_DELAY_MS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHY_MDM6600_ENABLED_DELAY_MS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x21
	bl	_wait_for_completion_timeout
LBB0_2:
	mov	x0, x20
	mov	w1, #1
	bl	_gpiod_set_value_cansleep
	mov	x0, x19
	bl	_phy_mdm6600_device_power_off
	add	x0, x19, #8
	bl	_cancel_delayed_work_sync
	add	x0, x19, #4
	bl	_cancel_delayed_work_sync
	mov	x0, x19
	bl	_cancel_delayed_work_sync
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_MDM6600_RESET,8,3          ; @PHY_MDM6600_RESET
	.comm	_PHY_MDM6600_ENABLED_DELAY_MS,4,2 ; @PHY_MDM6600_ENABLED_DELAY_MS
	.no_dead_strip	_phy_mdm6600_remove
.subsections_via_symbols
