	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdio_device_create             ## -- Begin function mdio_device_create
	.p2align	4, 0x90
_mdio_device_create:                    ## @mdio_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	_mdio_device_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %r12
	addq	$8, %r12
	movl	%eax, 24(%rbx)
	leaq	4(%r15), %rax
	movq	%rax, 16(%rbx)
	movq	_mdio_bus_type@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_mdio_device_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_mdio_device_remove@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%r15, 32(%rbx)
	movl	%r14d, (%rbx)
	movq	_PHY_ID_FMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	%r14d, %ecx
	callq	_dev_set_name
	movq	%r12, %rdi
	callq	_device_initialize
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mdio_device_release,4,2        ## @mdio_device_release
	.comm	_mdio_bus_type,4,2              ## @mdio_bus_type
	.comm	_mdio_device_free,4,2           ## @mdio_device_free
	.comm	_mdio_device_remove,4,2         ## @mdio_device_remove
	.comm	_PHY_ID_FMT,4,2                 ## @PHY_ID_FMT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdio_device_create             ; -- Begin function mdio_device_create
	.p2align	2
_mdio_device_create:                    ; @mdio_device_create
	.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, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _mdio_device_release@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mdio_device_release@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x21
	ldr	w2, [x9], #4
Lloh6:
	adrp	x10, _mdio_bus_type@GOTPAGE
Lloh7:
	ldr	x10, [x10, _mdio_bus_type@GOTPAGEOFF]
	str	w8, [x0, #24]
	mov	x22, x0
	str	x10, [x22, #8]!
Lloh8:
	adrp	x8, _mdio_device_free@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mdio_device_free@GOTPAGEOFF]
	str	x9, [x0, #16]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _mdio_device_remove@GOTPAGE
Lloh12:
	ldr	x9, [x9, _mdio_device_remove@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
	str	x21, [x0, #32]
	str	w19, [x0]
Lloh14:
	adrp	x8, _PHY_ID_FMT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PHY_ID_FMT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x3, x19
	bl	_dev_set_name
	mov	x0, x22
	bl	_device_initialize
	mov	x0, x20
	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_2:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
	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	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mdio_device_release,4,2        ; @mdio_device_release
	.comm	_mdio_bus_type,4,2              ; @mdio_bus_type
	.comm	_mdio_device_free,4,2           ; @mdio_device_free
	.comm	_mdio_device_remove,4,2         ; @mdio_device_remove
	.comm	_PHY_ID_FMT,4,2                 ; @PHY_ID_FMT
.subsections_via_symbols
