	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_ns_usb3_mdio_probe
_bcm_ns_usb3_mdio_probe:                ## @bcm_ns_usb3_mdio_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	%r15, 24(%rax)
	movq	%r15, 16(%rax)
	movq	_bcm_ns_usb3_id_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	movq	%rax, %r12
	leaq	-40(%rbp), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_of_address_to_resource
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_of_node_put
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.6:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_devm_ioremap_resource
	movl	%eax, 12(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	12(%r14), %edi
	callq	_PTR_ERR
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_bcm_ns_usb3_mdiodev_phy_write@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_ops@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devm_phy_create
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	4(%r14), %edi
	callq	_PTR_ERR
	jmp	LBB0_12
LBB0_11:
	movl	4(%r14), %edi
	movq	%r14, %rsi
	callq	_phy_set_drvdata
	movq	_of_phy_simple_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_devm_of_phy_provider_register
	movq	%rax, %rdi
	callq	_PTR_ERR_OR_ZERO
LBB0_12:
	movl	%eax, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bcm_ns_usb3_id_table,4,2       ## @bcm_ns_usb3_id_table
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usb3-dmp-syscon"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to map DMP regs\n"

	.comm	_bcm_ns_usb3_mdiodev_phy_write,4,2 ## @bcm_ns_usb3_mdiodev_phy_write
	.comm	_ops,4,2                        ## @ops
L_.str.2:                               ## @.str.2
	.asciz	"Failed to create PHY\n"

	.comm	_of_phy_simple_xlate,4,2        ## @of_phy_simple_xlate
	.no_dead_strip	_bcm_ns_usb3_mdio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_ns_usb3_mdio_probe
_bcm_ns_usb3_mdio_probe:                ; @bcm_ns_usb3_mdio_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	stp	x19, x19, [x0, #16]
Lloh3:
	adrp	x8, _bcm_ns_usb3_id_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bcm_ns_usb3_id_table@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x0]
	str	w8, [x20]
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	bl	_of_parse_phandle
	mov	x22, x0
	add	x2, sp, #8
	mov	w1, #0
	bl	_of_address_to_resource
	mov	x21, x0
	mov	x0, x22
	bl	_of_node_put
	cbnz	w21, LBB0_8
; %bb.3:
	add	x1, sp, #8
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	w0, [x20, #12]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #12]
	bl	_PTR_ERR
	b	LBB0_12
LBB0_5:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
Lloh14:
	adrp	x8, _bcm_ns_usb3_mdiodev_phy_write@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bcm_ns_usb3_mdiodev_phy_write@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20, #8]
Lloh17:
	adrp	x2, _ops@GOTPAGE
Lloh18:
	ldr	x2, [x2, _ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	bl	_devm_phy_create
	str	w0, [x20, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.10:
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #4]
	bl	_PTR_ERR
	b	LBB0_12
LBB0_11:
	ldr	w0, [x20, #4]
	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
	bl	_PTR_ERR_OR_ZERO
LBB0_12:
	mov	x21, x0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bcm_ns_usb3_id_table,4,2       ; @bcm_ns_usb3_id_table
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usb3-dmp-syscon"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to map DMP regs\n"

	.comm	_bcm_ns_usb3_mdiodev_phy_write,4,2 ; @bcm_ns_usb3_mdiodev_phy_write
	.comm	_ops,4,2                        ; @ops
l_.str.2:                               ; @.str.2
	.asciz	"Failed to create PHY\n"

	.comm	_of_phy_simple_xlate,4,2        ; @of_phy_simple_xlate
	.no_dead_strip	_bcm_ns_usb3_mdio_probe
.subsections_via_symbols
