	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netdev_register_kobject        ## -- Begin function netdev_register_kobject
	.p2align	4, 0x90
_netdev_register_kobject:               ## @netdev_register_kobject
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	32(%rdi), %r14
	movq	24(%rdi), %rax
	movq	_net_class@GOTPCREL(%rip), %rcx
	movq	%rcx, 48(%rdi)
	movq	%rdi, 40(%rdi)
	movq	%rax, 32(%rdi)
	movl	16(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_set_name
	movq	%rbx, %rdi
	callq	_dev_net
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	_init_net@GOTPCREL(%rip), %rcx
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_device_add
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_register_queue_kobjects
	movl	%eax, %ebx
	movl	$0, %eax
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_device_del
	movl	%ebx, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_net_class,4,2                  ## @net_class
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_init_net,4,2                   ## @init_net
	.comm	_netstat_group,4,2              ## @netstat_group
	.comm	_wireless_group,4,2             ## @wireless_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netdev_register_kobject        ; -- Begin function netdev_register_kobject
	.p2align	2
_netdev_register_kobject:               ; @netdev_register_kobject
	.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
	ldr	x8, [x0, #24]
	mov	x19, x0
	str	x8, [x19, #32]!
Lloh0:
	adrp	x8, _net_class@GOTPAGE
Lloh1:
	ldr	x8, [x8, _net_class@GOTPAGEOFF]
	stp	x0, x8, [x0, #40]
	ldr	w2, [x0, #16]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_set_name
	mov	x0, x20
	bl	_dev_net
Lloh4:
	adrp	x8, _init_net@GOTPAGE
Lloh5:
	ldr	x8, [x8, _init_net@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_device_add
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_register_queue_kobjects
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_device_del
LBB0_5:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_net_class,4,2                  ; @net_class
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_init_net,4,2                   ; @init_net
	.comm	_netstat_group,4,2              ; @netstat_group
	.comm	_wireless_group,4,2             ; @wireless_group
.subsections_via_symbols
