	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc18xx_usb_otg_phy_power_on
_lpc18xx_usb_otg_phy_power_on:          ## @lpc18xx_usb_otg_phy_power_on
	.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	_phy_get_drvdata
	movq	%rax, %r14
	movl	(%rax), %edi
	callq	_clk_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	4(%r14), %edi
	movq	_LPC18XX_CREG_CREG0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LPC18XX_CREG_CREG0_USB0PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r15d
	movl	(%r14), %edi
	callq	_clk_disable
	movl	%r15d, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LPC18XX_CREG_CREG0,4,2         ## @LPC18XX_CREG_CREG0
	.comm	_LPC18XX_CREG_CREG0_USB0PHY,4,2 ## @LPC18XX_CREG_CREG0_USB0PHY
	.no_dead_strip	_lpc18xx_usb_otg_phy_power_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc18xx_usb_otg_phy_power_on
_lpc18xx_usb_otg_phy_power_on:          ; @lpc18xx_usb_otg_phy_power_on
	.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	x19, x0
	ldr	w0, [x0]
	bl	_clk_enable
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _LPC18XX_CREG_CREG0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LPC18XX_CREG_CREG0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _LPC18XX_CREG_CREG0_USB0PHY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LPC18XX_CREG_CREG0_USB0PHY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_regmap_update_bits
	mov	x20, x0
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x19]
	bl	_clk_disable
LBB0_3:
	mov	x0, x20
	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	_LPC18XX_CREG_CREG0,4,2         ; @LPC18XX_CREG_CREG0
	.comm	_LPC18XX_CREG_CREG0_USB0PHY,4,2 ; @LPC18XX_CREG_CREG0_USB0PHY
	.no_dead_strip	_lpc18xx_usb_otg_phy_power_on
.subsections_via_symbols
