	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w5300_probe
_w5300_probe:                           ## @w5300_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
	movl	$16, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_SET_NETDEV_DEV
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rbx, 8(%rax)
	movq	_w5300_netdev_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%rbx)
	movq	_w5300_ethtool_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rbx)
	movq	_HZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rbx)
	movq	_w5300_napi_poll@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$16, %ecx
	callq	_netif_napi_add
	movq	_NETIF_F_VLAN_CHALLENGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_w5300_hw_probe
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jns	LBB0_7
## %bb.5:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_unregister_netdev
	movl	%r14d, %r15d
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_7
LBB0_3:
	movl	%eax, %r15d
LBB0_6:
	movq	%rbx, %rdi
	callq	_free_netdev
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_w5300_netdev_ops,4,2           ## @w5300_netdev_ops
	.comm	_w5300_ethtool_ops,4,2          ## @w5300_ethtool_ops
	.comm	_HZ,4,2                         ## @HZ
	.comm	_w5300_napi_poll,4,2            ## @w5300_napi_poll
	.comm	_NETIF_F_VLAN_CHALLENGED,4,2    ## @NETIF_F_VLAN_CHALLENGED
	.no_dead_strip	_w5300_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w5300_probe
_w5300_probe:                           ; @w5300_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
	mov	w0, #16
	bl	_alloc_etherdev
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x1, x20
	bl	_SET_NETDEV_DEV
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_netdev_priv
	mov	x1, x0
Lloh0:
	adrp	x8, _w5300_netdev_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _w5300_netdev_ops@GOTPAGEOFF]
	str	x19, [x0, #8]
Lloh2:
	adrp	x9, _w5300_ethtool_ops@GOTPAGE
Lloh3:
	ldr	x9, [x9, _w5300_ethtool_ops@GOTPAGEOFF]
Lloh4:
	adrp	x10, _HZ@GOTPAGE
Lloh5:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
	stp	x9, x8, [x19, #8]
Lloh6:
	ldr	w8, [x10]
	str	w8, [x19, #4]
Lloh7:
	adrp	x8, _w5300_napi_poll@GOTPAGE
Lloh8:
	ldr	x8, [x8, _w5300_napi_poll@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #16
	bl	_netif_napi_add
Lloh10:
	adrp	x8, _NETIF_F_VLAN_CHALLENGED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NETIF_F_VLAN_CHALLENGED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x19
	bl	_register_netdev
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_w5300_hw_probe
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	w21, #0
	b	LBB0_8
LBB0_4:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_5:
	mov	x21, x0
	b	LBB0_7
LBB0_6:
	mov	x21, x0
	mov	x0, x19
	bl	_unregister_netdev
LBB0_7:
	mov	x0, x19
	bl	_free_netdev
LBB0_8:
	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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_w5300_netdev_ops,4,2           ; @w5300_netdev_ops
	.comm	_w5300_ethtool_ops,4,2          ; @w5300_ethtool_ops
	.comm	_HZ,4,2                         ; @HZ
	.comm	_w5300_napi_poll,4,2            ; @w5300_napi_poll
	.comm	_NETIF_F_VLAN_CHALLENGED,4,2    ; @NETIF_F_VLAN_CHALLENGED
	.no_dead_strip	_w5300_probe
.subsections_via_symbols
