	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8367_probe
_rtl8367_probe:                         ## @rtl8367_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl8366_smi_probe
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movabsq	$794568951260, %rax             ## imm = 0xB9000005DC
	movq	%rax, (%rbx)
	movl	$184, 8(%rbx)
	movq	_rtl8367_smi_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_RTL8367_CPU_PORT_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_RTL8367_NUM_PORTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_RTL8367_NUM_VLANS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_rtl8367_mib_counters@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 16(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_rtl8366_smi_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%rbx, %rdi
	callq	_rtl8367_switch_init
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_set_drvdata
	movq	%rbx, %rdi
	callq	_rtl8366_smi_cleanup
LBB0_5:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_rtl8367_smi_ops,4,2            ## @rtl8367_smi_ops
	.comm	_RTL8367_CPU_PORT_NUM,4,2       ## @RTL8367_CPU_PORT_NUM
	.comm	_RTL8367_NUM_PORTS,4,2          ## @RTL8367_NUM_PORTS
	.comm	_RTL8367_NUM_VLANS,4,2          ## @RTL8367_NUM_VLANS
	.comm	_rtl8367_mib_counters,4,2       ## @rtl8367_mib_counters
	.no_dead_strip	_rtl8367_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rtl8367_probe
lCPI0_0:
	.long	1500                            ; 0x5dc
	.long	185                             ; 0xb9
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rtl8367_probe:                         ; @rtl8367_probe
	.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	x20, x0
	bl	_rtl8366_smi_probe
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	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	_PTR_ERR
LBB0_2:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	mov	w8, #184
Lloh2:
	adrp	x9, _rtl8367_smi_ops@GOTPAGE
Lloh3:
	ldr	x9, [x9, _rtl8367_smi_ops@GOTPAGEOFF]
	str	w8, [x19, #8]
	str	x9, [x19, #32]
Lloh4:
	adrp	x8, _RTL8367_CPU_PORT_NUM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RTL8367_CPU_PORT_NUM@GOTPAGEOFF]
Lloh6:
	adrp	x9, _RTL8367_NUM_PORTS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTL8367_NUM_PORTS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh10:
	adrp	x8, _RTL8367_NUM_VLANS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RTL8367_NUM_VLANS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _rtl8367_mib_counters@GOTPAGE
Lloh14:
	ldr	x9, [x9, _rtl8367_mib_counters@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x9]
	stp	w0, w8, [x19, #16]
	bl	_ARRAY_SIZE
	str	w0, [x19, #12]
	mov	x0, x19
	bl	_rtl8366_smi_init
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_rtl8367_switch_init
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.4:
	mov	x0, x20
	mov	x1, #0
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_rtl8366_smi_cleanup
LBB0_5:
	mov	x0, x19
	bl	_kfree
LBB0_6:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rtl8367_smi_ops,4,2            ; @rtl8367_smi_ops
	.comm	_RTL8367_CPU_PORT_NUM,4,2       ; @RTL8367_CPU_PORT_NUM
	.comm	_RTL8367_NUM_PORTS,4,2          ; @RTL8367_NUM_PORTS
	.comm	_RTL8367_NUM_VLANS,4,2          ; @RTL8367_NUM_VLANS
	.comm	_rtl8367_mib_counters,4,2       ; @rtl8367_mib_counters
	.no_dead_strip	_rtl8367_probe
.subsections_via_symbols
