	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun4i_usb_phy_power_off
_sun4i_usb_phy_power_off:               ## @sun4i_usb_phy_power_off
	.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
	callq	_phy_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_to_sun4i_usb_phy_data
	movl	16(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.1:
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.2:
	movq	%rax, %r14
	callq	_regulator_disable
	movl	$0, (%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_sun4i_usb_phy0_poll
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_system_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_POLL_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_mod_delayed_work
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_system_wq,4,2                  ## @system_wq
	.comm	_POLL_TIME,4,2                  ## @POLL_TIME
	.no_dead_strip	_sun4i_usb_phy_power_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun4i_usb_phy_power_off
_sun4i_usb_phy_power_off:               ; @sun4i_usb_phy_power_off
	.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
	bl	_phy_get_drvdata
	mov	x20, x0
	bl	_to_sun4i_usb_phy_data
	mov	x19, x0
	ldr	w0, [x20, #16]
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w8, [x20]
	cbz	w8, LBB0_5
; %bb.2:
	bl	_regulator_disable
	str	wzr, [x20]
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_sun4i_usb_phy0_poll
	cbnz	w0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _system_wq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _system_wq@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _POLL_TIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _POLL_TIME@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_mod_delayed_work
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_system_wq,4,2                  ; @system_wq
	.comm	_POLL_TIME,4,2                  ; @POLL_TIME
	.no_dead_strip	_sun4i_usb_phy_power_off
.subsections_via_symbols
