	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_device_create              ## -- Begin function phy_device_create
	.p2align	4, 0x90
_phy_device_create:                     ## @phy_device_create
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$144, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	leaq	16(%r12), %rax
	leaq	96(%r13), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, 112(%r13)
	movq	_mdio_bus_type@GOTPCREL(%rip), %rax
	movq	%rax, 104(%r13)
	movq	_mdio_bus_phy_type@GOTPCREL(%rip), %rax
	movq	%rax, 96(%r13)
	movq	%r12, 136(%r13)
	movq	_phy_bus_match@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 132(%r13)
	movl	%r15d, 88(%r13)
	movq	_MDIO_DEVICE_FLAG_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%r13)
	movq	_phy_mdio_device_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 124(%r13)
	movq	_phy_mdio_device_remove@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%r13)
	movl	$-1, (%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%r13)
	movups	%xmm0, 72(%r13)
	movq	_PHY_INTERFACE_MODE_GMII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r13)
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r13)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r13)
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, 8(%r13)
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movups	(%r14), %xmm0
	movups	%xmm0, 32(%r13)
LBB0_5:
	movq	8(%r12), %rax
	movslq	%r15d, %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 24(%r13)
	movq	_PHY_ID_FMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_dev_set_name
	movq	_PHY_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	leaq	16(%r13), %rdi
	callq	_mutex_init
	movq	%r13, %rdi
	addq	$12, %rdi
	movq	_phy_state_machine@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_14
## %bb.6:
	testq	%r14, %r14
	je	LBB0_14
## %bb.7:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	$2, %eax
	jl	LBB0_15
## %bb.8:
	movl	%eax, %r15d
	movl	$1, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_15
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r14), %eax
	btl	%ebx, %eax
	jae	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_phy_request_driver_module
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movl	%eax, %r12d
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_2
LBB0_14:
	movq	%r13, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_phy_request_driver_module
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_15
LBB0_12:
	movq	%r13, %rdi
	callq	_kfree
	movl	%r12d, %edi
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_device_initialize
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mdio_bus_type,4,2              ## @mdio_bus_type
	.comm	_mdio_bus_phy_type,4,2          ## @mdio_bus_phy_type
	.comm	_phy_bus_match,4,2              ## @phy_bus_match
	.comm	_MDIO_DEVICE_FLAG_PHY,4,2       ## @MDIO_DEVICE_FLAG_PHY
	.comm	_phy_mdio_device_free,4,2       ## @phy_mdio_device_free
	.comm	_phy_mdio_device_remove,4,2     ## @phy_mdio_device_remove
	.comm	_PHY_INTERFACE_MODE_GMII,4,2    ## @PHY_INTERFACE_MODE_GMII
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_PHY_ID_FMT,4,2                 ## @PHY_ID_FMT
	.comm	_PHY_DOWN,4,2                   ## @PHY_DOWN
	.comm	_phy_state_machine,4,2          ## @phy_state_machine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_device_create              ; -- Begin function phy_device_create
	.p2align	2
_phy_device_create:                     ; @phy_device_create
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x23, x3
	mov	x22, x2
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #144
	bl	_kzalloc
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _mdio_bus_phy_type@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mdio_bus_phy_type@GOTPAGEOFF]
	mov	x21, x0
	str	x8, [x21, #96]!
	add	x8, x25, #16
Lloh5:
	adrp	x9, _mdio_bus_type@GOTPAGE
Lloh6:
	ldr	x9, [x9, _mdio_bus_type@GOTPAGEOFF]
	stp	x9, x8, [x0, #104]
	str	x25, [x0, #136]
Lloh7:
	adrp	x8, _phy_bus_match@GOTPAGE
Lloh8:
	ldr	x8, [x8, _phy_bus_match@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w24, [x0, #88]
Lloh10:
	adrp	x9, _MDIO_DEVICE_FLAG_PHY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MDIO_DEVICE_FLAG_PHY@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #128]
Lloh13:
	adrp	x8, _phy_mdio_device_free@GOTPAGE
Lloh14:
	ldr	x8, [x8, _phy_mdio_device_free@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _phy_mdio_device_remove@GOTPAGE
Lloh17:
	ldr	x9, [x9, _phy_mdio_device_remove@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #120]
	mov	w8, #-1
	str	w8, [x0]
	stp	xzr, xzr, [x0, #72]
	stp	xzr, xzr, [x0, #56]
Lloh19:
	adrp	x8, _PHY_INTERFACE_MODE_GMII@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PHY_INTERFACE_MODE_GMII@GOTPAGEOFF]
Lloh21:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #48]
	stp	w23, w22, [x0, #4]
	cbz	x20, LBB0_3
; %bb.2:
	ldr	q0, [x20]
	str	q0, [x19, #32]
LBB0_3:
	ldr	x8, [x25, #8]
	ldr	w8, [x8, w24, sxtw #2]
	str	w8, [x19, #24]
Lloh25:
	adrp	x8, _PHY_ID_FMT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PHY_ID_FMT@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w2, [x25]
	mov	x0, x21
	mov	x3, x24
	bl	_dev_set_name
Lloh28:
	adrp	x8, _PHY_DOWN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PHY_DOWN@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	add	x0, x19, #16
	bl	_mutex_init
	add	x0, x19, #12
Lloh31:
	adrp	x8, _phy_state_machine@GOTPAGE
Lloh32:
	ldr	x8, [x8, _phy_state_machine@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	cbz	w23, LBB0_12
; %bb.4:
	cbz	x20, LBB0_12
; %bb.5:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #2
	b.lt	LBB0_15
; %bb.6:
	mov	w23, w0
	mov	w24, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, #1
	cmp	x23, x24
	b.eq	LBB0_15
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #8]
	lsr	w8, w8, w24
	tbz	w8, #0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x19
	bl	_phy_request_driver_module
	cbz	w0, LBB0_7
; %bb.10:
	mov	x22, x0
	b	LBB0_13
LBB0_11:
Lloh34:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	mov	x1, x22
	bl	_phy_request_driver_module
	mov	x22, x0
	cbz	w0, LBB0_15
LBB0_13:
	mov	x0, x19
	bl	_kfree
	mov	x0, x22
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_15:
	mov	x0, x21
	bl	_device_initialize
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mdio_bus_type,4,2              ; @mdio_bus_type
	.comm	_mdio_bus_phy_type,4,2          ; @mdio_bus_phy_type
	.comm	_phy_bus_match,4,2              ; @phy_bus_match
	.comm	_MDIO_DEVICE_FLAG_PHY,4,2       ; @MDIO_DEVICE_FLAG_PHY
	.comm	_phy_mdio_device_free,4,2       ; @phy_mdio_device_free
	.comm	_phy_mdio_device_remove,4,2     ; @phy_mdio_device_remove
	.comm	_PHY_INTERFACE_MODE_GMII,4,2    ; @PHY_INTERFACE_MODE_GMII
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_PHY_ID_FMT,4,2                 ; @PHY_ID_FMT
	.comm	_PHY_DOWN,4,2                   ; @PHY_DOWN
	.comm	_phy_state_machine,4,2          ; @phy_state_machine
.subsections_via_symbols
