	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function internal_dev_create
_internal_dev_create:                   ## @internal_dev_create
	.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
	movq	_ovs_internal_vport_ops@GOTPCREL(%rip), %rsi
	movl	$8, %edi
	movq	%rbx, %rdx
	callq	_ovs_vport_alloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_2:
	movq	%r15, %rdi
	callq	_netdev_vport_priv
	movq	%rax, %r14
	movl	(%rbx), %esi
	movq	_do_setup@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %edi
	callq	_alloc_netdev
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movl	8(%r15), %edi
	callq	_ovs_dp_get_net
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dev_net_set
	movq	(%r14), %rdi
	callq	_internal_dev_priv
	movq	%r15, (%rax)
	movq	(%r15), %rax
	movq	_OVSP_LOCAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_NETIF_F_NETNS_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx)
LBB0_6:
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	(%r14), %rdi
	callq	_register_netdevice
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rtnl_unlock
	movq	(%r14), %rdi
	callq	_free_netdev
	jmp	LBB0_8
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movq	%r15, %rdi
	callq	_ovs_vport_free
LBB0_9:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_10:
	movq	(%r14), %rdi
	movl	$1, %esi
	callq	_dev_set_promiscuity
	xorl	%eax, %eax
	callq	_rtnl_unlock
	movq	(%r14), %rdi
	callq	_netif_start_queue
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ovs_internal_vport_ops,4,2     ## @ovs_internal_vport_ops
	.comm	_do_setup,4,2                   ## @do_setup
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_OVSP_LOCAL,8,3                 ## @OVSP_LOCAL
	.comm	_NETIF_F_NETNS_LOCAL,4,2        ## @NETIF_F_NETNS_LOCAL
	.no_dead_strip	_internal_dev_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function internal_dev_create
_internal_dev_create:                   ; @internal_dev_create
	.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	x21, x0
Lloh0:
	adrp	x1, _ovs_internal_vport_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _ovs_internal_vport_ops@GOTPAGEOFF]
	mov	w0, #8
	mov	x2, x21
	bl	_ovs_vport_alloc
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_9
LBB0_2:
	mov	x0, x19
	bl	_netdev_vport_priv
	mov	x20, x0
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _do_setup@GOTPAGE
Lloh3:
	ldr	x8, [x8, _do_setup@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w0, #8
	bl	_alloc_netdev
	str	x0, [x20]
	cbz	x0, LBB0_7
; %bb.3:
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_ovs_dp_get_net
	mov	x1, x0
	mov	x0, x21
	bl	_dev_net_set
	ldr	x0, [x20]
	bl	_internal_dev_priv
	str	x19, [x0]
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _OVSP_LOCAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OVSP_LOCAL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _NETIF_F_NETNS_LOCAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETIF_F_NETNS_LOCAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x9, [x20]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_5:
	bl	_rtnl_lock
	ldr	x0, [x20]
	bl	_register_netdevice
	cbz	w0, LBB0_10
; %bb.6:
	mov	x21, x0
	bl	_rtnl_unlock
	ldr	x0, [x20]
	bl	_free_netdev
	b	LBB0_8
LBB0_7:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	mov	x0, x19
	bl	_ovs_vport_free
LBB0_9:
	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
	b	_ERR_PTR
LBB0_10:
	ldr	x0, [x20]
	mov	w1, #1
	bl	_dev_set_promiscuity
	bl	_rtnl_unlock
	ldr	x0, [x20]
	bl	_netif_start_queue
	mov	x0, 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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ovs_internal_vport_ops,4,2     ; @ovs_internal_vport_ops
	.comm	_do_setup,4,2                   ; @do_setup
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_OVSP_LOCAL,8,3                 ; @OVSP_LOCAL
	.comm	_NETIF_F_NETNS_LOCAL,4,2        ; @NETIF_F_NETNS_LOCAL
	.no_dead_strip	_internal_dev_create
.subsections_via_symbols
