	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vsc85xx_probe
_vsc85xx_probe:                         ## @vsc85xx_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, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_VSC8531_LINK_1000_ACTIVITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_VSC8531_LINK_100_ACTIVITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	callq	_vsc85xx_edge_rate_magic_get
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, 8(%r14)
	movl	%r15d, (%rax)
	movl	$2, 4(%rax)
	movq	_VSC85XX_SUPP_LED_MODES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_vsc85xx_hw_stats@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 16(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 12(%rbx)
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_vsc85xx_dt_led_modes_get
	movl	%eax, %r15d
	jmp	LBB0_5
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VSC8531_LINK_1000_ACTIVITY,4,2 ## @VSC8531_LINK_1000_ACTIVITY
	.comm	_VSC8531_LINK_100_ACTIVITY,4,2  ## @VSC8531_LINK_100_ACTIVITY
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_VSC85XX_SUPP_LED_MODES,4,2     ## @VSC85XX_SUPP_LED_MODES
	.comm	_vsc85xx_hw_stats,4,2           ## @vsc85xx_hw_stats
	.no_dead_strip	_vsc85xx_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vsc85xx_probe
_vsc85xx_probe:                         ; @vsc85xx_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, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _VSC8531_LINK_1000_ACTIVITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VSC8531_LINK_1000_ACTIVITY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VSC8531_LINK_100_ACTIVITY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VSC8531_LINK_100_ACTIVITY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp]
	bl	_vsc85xx_edge_rate_magic_get
	mov	x20, x0
	tbnz	w0, #31, LBB0_5
; %bb.1:
Lloh9:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	str	x0, [x19, #8]
	mov	w8, #2
	stp	w20, w8, [x0]
Lloh11:
	adrp	x8, _VSC85XX_SUPP_LED_MODES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VSC85XX_SUPP_LED_MODES@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _vsc85xx_hw_stats@GOTPAGE
Lloh15:
	ldr	x9, [x9, _vsc85xx_hw_stats@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x9]
	stp	w0, w8, [x21, #16]
	bl	_ARRAY_SIZE
	mov	x1, x0
	str	w0, [x21, #12]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #4
	bl	_devm_kcalloc
	str	w0, [x21, #8]
	cbz	w0, LBB0_4
; %bb.3:
	mov	x1, sp
	mov	x0, x19
	bl	_vsc85xx_dt_led_modes_get
	mov	x20, x0
	b	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	ldr	x8, [sp, #8]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x20
	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_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_VSC8531_LINK_1000_ACTIVITY,4,2 ; @VSC8531_LINK_1000_ACTIVITY
	.comm	_VSC8531_LINK_100_ACTIVITY,4,2  ; @VSC8531_LINK_100_ACTIVITY
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_VSC85XX_SUPP_LED_MODES,4,2     ; @VSC85XX_SUPP_LED_MODES
	.comm	_vsc85xx_hw_stats,4,2           ; @vsc85xx_hw_stats
	.no_dead_strip	_vsc85xx_probe
.subsections_via_symbols
