	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_usb_phy_probe
_pxa_usb_phy_probe:                     ## @pxa_usb_phy_probe
	.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
	movq	%rdi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_pxa_usb_phy_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_of_match_node
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_PXA_USB_PHY_MMP2@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	16(%r14), %rdi
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_pxa_usb_phy_ops@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_devm_phy_create
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	8(%r14), %rdi
	jmp	LBB0_10
LBB0_8:
	movq	8(%r14), %rdi
	movq	%r14, %rsi
	callq	_phy_set_drvdata
	movq	_of_phy_simple_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_devm_of_phy_provider_register
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	%r15, %rdi
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_11:
	cmpl	$0, (%rbx)
	jne	LBB0_13
## %bb.12:
	movq	8(%r14), %rdi
	leaq	L_.str.3(%rip), %r15
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rsi
	callq	_phy_create_lookup
	movq	8(%r14), %rdi
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rsi
	callq	_phy_create_lookup
	movq	8(%r14), %rdi
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rsi
	callq	_phy_create_lookup
LBB0_13:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_info
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_pxa_usb_phy_of_match,4,2       ## @pxa_usb_phy_of_match
	.comm	_PXA_USB_PHY_MMP2,4,2           ## @PXA_USB_PHY_MMP2
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to remap PHY regs\n"

	.comm	_pxa_usb_phy_ops,4,2            ## @pxa_usb_phy_ops
L_.str.1:                               ## @.str.1
	.asciz	"failed to create PHY\n"

	.comm	_of_phy_simple_xlate,4,2        ## @of_phy_simple_xlate
L_.str.2:                               ## @.str.2
	.asciz	"failed to register PHY provider\n"

L_.str.3:                               ## @.str.3
	.asciz	"usb"

L_.str.4:                               ## @.str.4
	.asciz	"mv-udc"

L_.str.5:                               ## @.str.5
	.asciz	"pxa-u2oehci"

L_.str.6:                               ## @.str.6
	.asciz	"mv-otg"

L_.str.7:                               ## @.str.7
	.asciz	"Marvell PXA USB PHY"

	.no_dead_strip	_pxa_usb_phy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_usb_phy_probe
_pxa_usb_phy_probe:                     ; @pxa_usb_phy_probe
	.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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _pxa_usb_phy_of_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pxa_usb_phy_of_match@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_of_match_node
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x0]
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
LBB0_5:
Lloh9:
	adrp	x8, _PXA_USB_PHY_MMP2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PXA_USB_PHY_MMP2@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
LBB0_6:
	str	w8, [x20]
Lloh12:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #16]
	b	LBB0_12
LBB0_8:
Lloh17:
	adrp	x2, _pxa_usb_phy_ops@GOTPAGE
Lloh18:
	ldr	x2, [x2, _pxa_usb_phy_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	bl	_devm_phy_create
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #8]
	b	LBB0_12
LBB0_10:
	ldr	x0, [x20, #8]
	mov	x1, x20
	bl	_phy_set_drvdata
Lloh21:
	adrp	x8, _of_phy_simple_xlate@GOTPAGE
Lloh22:
	ldr	x8, [x8, _of_phy_simple_xlate@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_devm_of_phy_provider_register
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.11:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x21
LBB0_12:
	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
	b	_PTR_ERR
LBB0_13:
	ldr	w8, [x19]
	cbnz	w8, LBB0_15
; %bb.14:
	ldr	x0, [x20, #8]
Lloh26:
	adrp	x21, l_.str.3@PAGE
Lloh27:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh28:
	adrp	x2, l_.str.4@PAGE
Lloh29:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x1, x21
	bl	_phy_create_lookup
	ldr	x0, [x20, #8]
Lloh30:
	adrp	x2, l_.str.5@PAGE
Lloh31:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_phy_create_lookup
	ldr	x0, [x20, #8]
Lloh32:
	adrp	x2, l_.str.6@PAGE
Lloh33:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x1, x21
	bl	_phy_create_lookup
LBB0_15:
Lloh34:
	adrp	x1, l_.str.7@PAGE
Lloh35:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_pxa_usb_phy_of_match,4,2       ; @pxa_usb_phy_of_match
	.comm	_PXA_USB_PHY_MMP2,4,2           ; @PXA_USB_PHY_MMP2
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to remap PHY regs\n"

	.comm	_pxa_usb_phy_ops,4,2            ; @pxa_usb_phy_ops
l_.str.1:                               ; @.str.1
	.asciz	"failed to create PHY\n"

	.comm	_of_phy_simple_xlate,4,2        ; @of_phy_simple_xlate
l_.str.2:                               ; @.str.2
	.asciz	"failed to register PHY provider\n"

l_.str.3:                               ; @.str.3
	.asciz	"usb"

l_.str.4:                               ; @.str.4
	.asciz	"mv-udc"

l_.str.5:                               ; @.str.5
	.asciz	"pxa-u2oehci"

l_.str.6:                               ; @.str.6
	.asciz	"mv-otg"

l_.str.7:                               ; @.str.7
	.asciz	"Marvell PXA USB PHY"

	.no_dead_strip	_pxa_usb_phy_probe
.subsections_via_symbols
