	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbphy_phy_enable
_usbphy_phy_enable:                     ## @usbphy_phy_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_phynode_get_device
	movl	%eax, %edi
	callq	_device_get_softc
	movq	(%rax), %rcx
	movq	_USB_IFC_TYPE_UTMI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	movq	%rax, %rdi
	addq	$8, %rsp
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.4:
	popq	%rbx
	popq	%rbp
	jmp	_usbphy_utmi_enable             ## TAILCALL
LBB0_3:
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_device_printf
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	popq	%rbx
	popq	%rbp
	jmp	_usbphy_utmi_disable            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_IFC_TYPE_UTMI,8,3          ## @USB_IFC_TYPE_UTMI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Only UTMI interface is supported.\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_usbphy_phy_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbphy_phy_enable
_usbphy_phy_enable:                     ; @usbphy_phy_enable
	.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
	mov	x19, x1
	bl	_phynode_get_device
	bl	_device_get_softc
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _USB_IFC_TYPE_UTMI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USB_IFC_TYPE_UTMI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	cbz	w19, LBB0_4
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usbphy_utmi_enable
LBB0_3:
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_device_printf
Lloh5:
	adrp	x8, _ENXIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usbphy_utmi_disable
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_IFC_TYPE_UTMI,8,3          ; @USB_IFC_TYPE_UTMI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Only UTMI interface is supported.\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_usbphy_phy_enable
.subsections_via_symbols
