	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ethdev_setup
_ethdev_setup:                          ## @ethdev_setup
	.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, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_msg_enable@GOTPCREL(%rip), %r15
	movq	_NETIF_MSG_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_3
## %bb.1:
	movq	_version_printed@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	testl	%ecx, %ecx
	jne	LBB0_3
## %bb.2:
	movq	_version@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
LBB0_3:
	movq	%rbx, %rdi
	callq	_ether_setup
	movq	%r14, %rdi
	addq	$4, %rdi
	callq	_spin_lock_init
	movl	(%r15), %eax
	movl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_msg_enable,4,2                 ## @msg_enable
	.comm	_NETIF_MSG_DRV,4,2              ## @NETIF_MSG_DRV
	.comm	_version_printed,4,2            ## @version_printed
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_version,4,2                    ## @version
	.no_dead_strip	_ethdev_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ethdev_setup
_ethdev_setup:                          ; @ethdev_setup
	.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	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x21, _msg_enable@GOTPAGE
Lloh1:
	ldr	x21, [x21, _msg_enable@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _NETIF_MSG_DRV@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NETIF_MSG_DRV@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _version_printed@GOTPAGE
Lloh6:
	ldr	x8, [x8, _version_printed@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	cbnz	w9, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _version@GOTPAGE
Lloh8:
	ldr	x8, [x8, _version@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
LBB0_3:
	mov	x0, x20
	bl	_ether_setup
	add	x0, x19, #4
	bl	_spin_lock_init
	ldr	w8, [x21]
	str	w8, [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
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_msg_enable,4,2                 ; @msg_enable
	.comm	_NETIF_MSG_DRV,4,2              ; @NETIF_MSG_DRV
	.comm	_version_printed,4,2            ; @version_printed
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_version,4,2                    ; @version
	.no_dead_strip	_ethdev_setup
.subsections_via_symbols
