	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_create                     ## -- Begin function phy_create
	.p2align	4, 0x90
_phy_create:                            ## @phy_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_19
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movl	(%r15), %ecx
	movq	_phy_ida@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ida_simple_get
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	leaq	8(%r14), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_device_initialize
	movq	%r14, %rdi
	addq	$48, %rdi
	callq	_mutex_init
	movq	_phy_class@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	%rbx, 16(%r14)
	testq	%r13, %r13
	jne	LBB0_9
## %bb.8:
	movslq	(%rbx), %r13
LBB0_9:
	movl	%r13d, 8(%r14)
	movl	%r15d, (%r14)
	movq	%r12, 40(%r14)
	movq	%rbx, %rdi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_dev_set_name
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_regulator_get_optional
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	32(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r15d, %ecx
	addl	(%rax), %ecx
	je	LBB0_17
## %bb.12:
	movq	$0, 32(%r14)
LBB0_13:
	movq	%r12, %rdi
	callq	_device_add
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_14
LBB0_17:
	movq	%r12, %rdi
	callq	_put_device
	jmp	LBB0_18
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	%r14, %rdi
	callq	_kfree
LBB0_18:
	movl	%r15d, %edi
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_14:
	movq	%rbx, %rdi
	callq	_pm_runtime_enabled
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_pm_runtime_enable
	movq	%r12, %rdi
	callq	_pm_runtime_no_callbacks
LBB0_16:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_phy_ida,4,2                    ## @phy_ida
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to get id\n"

	.comm	_phy_class,4,2                  ## @phy_class
L_.str.1:                               ## @.str.1
	.asciz	"phy-%s.%d"

L_.str.2:                               ## @.str.2
	.asciz	"phy"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phy_create                     ; -- Begin function phy_create
	.p2align	2
_phy_create:                            ; @phy_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_4:
Lloh2:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_14
; %bb.5:
	mov	x19, x0
	ldr	w3, [x21]
Lloh4:
	adrp	x0, _phy_ida@GOTPAGE
Lloh5:
	ldr	x0, [x0, _phy_ida@GOTPAGEOFF]
	mov	w1, #0
	mov	w2, #0
	bl	_ida_simple_get
	mov	x24, x0
	tbnz	w0, #31, LBB0_15
; %bb.6:
	add	x21, x19, #8
	mov	x0, x21
	bl	_device_initialize
	add	x0, x19, #48
	bl	_mutex_init
Lloh6:
	adrp	x8, _phy_class@GOTPAGE
Lloh7:
	ldr	x8, [x8, _phy_class@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	x20, [x19, #16]
	cbnz	x23, LBB0_8
; %bb.7:
	ldrsw	x23, [x20]
LBB0_8:
	str	w23, [x19, #8]
	str	w24, [x19]
	str	x22, [x19, #40]
	mov	x0, x20
	bl	_dev_name
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x3, x24
	bl	_dev_set_name
	mov	x22, x0
	cbnz	w0, LBB0_13
; %bb.9:
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_regulator_get_optional
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.10:
	ldr	x0, [x19, #32]
	bl	_PTR_ERR
	mov	x22, x0
Lloh13:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_13
; %bb.11:
	str	xzr, [x19, #32]
LBB0_12:
	mov	x0, x21
	bl	_device_add
	mov	x22, x0
	cbz	w0, LBB0_16
LBB0_13:
	mov	x0, x21
	bl	_put_device
	mov	x0, x22
	b	LBB0_3
LBB0_14:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_15:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x0, x19
	bl	_kfree
	mov	x0, x24
	b	LBB0_3
LBB0_16:
	mov	x0, x20
	bl	_pm_runtime_enabled
	cbz	x0, LBB0_18
; %bb.17:
	mov	x0, x21
	bl	_pm_runtime_enable
	mov	x0, x21
	bl	_pm_runtime_no_callbacks
LBB0_18:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_phy_ida,4,2                    ; @phy_ida
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to get id\n"

	.comm	_phy_class,4,2                  ; @phy_class
l_.str.1:                               ; @.str.1
	.asciz	"phy-%s.%d"

l_.str.2:                               ; @.str.2
	.asciz	"phy"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
.subsections_via_symbols
