	.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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MACVTAP_NUM_DEVS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_macvtap_major@GOTPCREL(%rip), %r14
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_alloc_chrdev_region
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	_macvtap_cdev@GOTPCREL(%rip), %rbx
	movq	_macvtap_fops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_cdev_init
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_cdev_add
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_class_create
	movq	_macvtap_class@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_4:
	movq	_macvtap_link_ops@GOTPCREL(%rip), %rdi
	callq	_macvlan_link_register
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_class_unregister
LBB0_7:
	movq	_macvtap_cdev@GOTPCREL(%rip), %rdi
	callq	_cdev_del
LBB0_8:
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_unregister_chrdev_region
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_macvtap_major,4,2              ## @macvtap_major
	.comm	_MACVTAP_NUM_DEVS,4,2           ## @MACVTAP_NUM_DEVS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"macvtap"

	.comm	_macvtap_cdev,4,2               ## @macvtap_cdev
	.comm	_macvtap_fops,4,2               ## @macvtap_fops
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_macvtap_class,4,2              ## @macvtap_class
	.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	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
Lloh0:
	adrp	x21, _MACVTAP_NUM_DEVS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MACVTAP_NUM_DEVS@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh2:
	adrp	x19, _macvtap_major@GOTPAGE
Lloh3:
	ldr	x19, [x19, _macvtap_major@GOTPAGEOFF]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_alloc_chrdev_region
	mov	x20, x0
	cbnz	w0, LBB0_8
; %bb.1:
Lloh6:
	adrp	x20, _macvtap_cdev@GOTPAGE
Lloh7:
	ldr	x20, [x20, _macvtap_cdev@GOTPAGEOFF]
Lloh8:
	adrp	x1, _macvtap_fops@GOTPAGE
Lloh9:
	ldr	x1, [x1, _macvtap_fops@GOTPAGEOFF]
	mov	x0, x20
	bl	_cdev_init
	ldr	w1, [x19]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_cdev_add
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.2:
Lloh10:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_class_create
Lloh15:
	adrp	x22, _macvtap_class@GOTPAGE
Lloh16:
	ldr	x22, [x22, _macvtap_class@GOTPAGEOFF]
	str	w0, [x22]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x22]
	bl	_PTR_ERR
	mov	x20, x0
	b	LBB0_6
LBB0_4:
Lloh17:
	adrp	x0, _macvtap_link_ops@GOTPAGE
Lloh18:
	ldr	x0, [x0, _macvtap_link_ops@GOTPAGEOFF]
	bl	_macvlan_link_register
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.5:
	ldr	w0, [x22]
	bl	_class_unregister
LBB0_6:
Lloh19:
	adrp	x0, _macvtap_cdev@GOTPAGE
Lloh20:
	ldr	x0, [x0, _macvtap_cdev@GOTPAGEOFF]
	bl	_cdev_del
LBB0_7:
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_unregister_chrdev_region
LBB0_8:
	mov	x0, x20
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_macvtap_major,4,2              ; @macvtap_major
	.comm	_MACVTAP_NUM_DEVS,4,2           ; @MACVTAP_NUM_DEVS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"macvtap"

	.comm	_macvtap_cdev,4,2               ; @macvtap_cdev
	.comm	_macvtap_fops,4,2               ; @macvtap_fops
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_macvtap_class,4,2              ; @macvtap_class
	.comm	_macvtap_link_ops,4,2           ; @macvtap_link_ops
	.no_dead_strip	_macvtap_init
.subsections_via_symbols
