	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macvtap_init
_macvtap_init:                          ## @macvtap_init
	.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	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_macvtap_cdev@GOTPCREL(%rip), %rdi
	movq	_macvtap_major@GOTPCREL(%rip), %r14
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	callq	_tap_create_cdev
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	_macvtap_class@GOTPCREL(%rip), %rdi
	callq	_class_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	_macvtap_notifier_block@GOTPCREL(%rip), %rdi
	callq	_register_netdevice_notifier
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	_macvtap_link_ops@GOTPCREL(%rip), %rdi
	callq	_macvlan_link_register
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %ebx
	movq	_macvtap_notifier_block@GOTPCREL(%rip), %rdi
	callq	_unregister_netdevice_notifier
LBB0_6:
	movq	_macvtap_class@GOTPCREL(%rip), %rdi
	callq	_class_unregister
LBB0_7:
	movl	(%r14), %edi
	movq	_macvtap_cdev@GOTPCREL(%rip), %rsi
	callq	_tap_destroy_cdev
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_macvtap_cdev,4,2               ## @macvtap_cdev
	.comm	_macvtap_major,4,2              ## @macvtap_major
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"macvtap"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_macvtap_class,4,2              ## @macvtap_class
	.comm	_macvtap_notifier_block,4,2     ## @macvtap_notifier_block
	.comm	_macvtap_link_ops,4,2           ## @macvtap_link_ops
	.no_dead_strip	_macvtap_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macvtap_init
_macvtap_init:                          ; @macvtap_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x0, _macvtap_cdev@GOTPAGE
Lloh4:
	ldr	x0, [x0, _macvtap_cdev@GOTPAGEOFF]
Lloh5:
	adrp	x19, _macvtap_major@GOTPAGE
Lloh6:
	ldr	x19, [x19, _macvtap_major@GOTPAGEOFF]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_tap_create_cdev
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.1:
Lloh9:
	adrp	x0, _macvtap_class@GOTPAGE
Lloh10:
	ldr	x0, [x0, _macvtap_class@GOTPAGEOFF]
	bl	_class_register
	mov	x20, x0
	cbnz	w0, LBB0_6
; %bb.2:
Lloh11:
	adrp	x0, _macvtap_notifier_block@GOTPAGE
Lloh12:
	ldr	x0, [x0, _macvtap_notifier_block@GOTPAGEOFF]
	bl	_register_netdevice_notifier
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.3:
Lloh13:
	adrp	x0, _macvtap_link_ops@GOTPAGE
Lloh14:
	ldr	x0, [x0, _macvtap_link_ops@GOTPAGEOFF]
	bl	_macvlan_link_register
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.4:
Lloh15:
	adrp	x0, _macvtap_notifier_block@GOTPAGE
Lloh16:
	ldr	x0, [x0, _macvtap_notifier_block@GOTPAGEOFF]
	bl	_unregister_netdevice_notifier
LBB0_5:
Lloh17:
	adrp	x0, _macvtap_class@GOTPAGE
Lloh18:
	ldr	x0, [x0, _macvtap_class@GOTPAGEOFF]
	bl	_class_unregister
LBB0_6:
	ldr	w0, [x19]
Lloh19:
	adrp	x1, _macvtap_cdev@GOTPAGE
Lloh20:
	ldr	x1, [x1, _macvtap_cdev@GOTPAGEOFF]
	bl	_tap_destroy_cdev
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_macvtap_cdev,4,2               ; @macvtap_cdev
	.comm	_macvtap_major,4,2              ; @macvtap_major
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"macvtap"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_macvtap_class,4,2              ; @macvtap_class
	.comm	_macvtap_notifier_block,4,2     ; @macvtap_notifier_block
	.comm	_macvtap_link_ops,4,2           ; @macvtap_link_ops
	.no_dead_strip	_macvtap_init
.subsections_via_symbols
