	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_fdb_create
_vxlan_fdb_create:                      ## @vxlan_fdb_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -56(%rbp)
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	%rax, (%r14)
	jge	LBB0_2
LBB0_4:
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_netdev_dbg
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	32(%rbp), %r8d
	callq	_vxlan_fdb_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movl	24(%rbp), %r8d
	movl	16(%rbp), %ecx
	leaq	-56(%rbp), %r9
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_vxlan_fdb_append
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	40(%rbp), %rax
	movq	%r15, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_2:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_7:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_kfree
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"add %pM -> %pIS\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_vxlan_fdb_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_fdb_create
_vxlan_fdb_create:                      ; @vxlan_fdb_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x20, x6
	mov	x23, x5
	mov	x21, x4
	mov	x24, x3
	mov	x22, x2
	mov	x25, x1
	mov	x26, x0
	str	xzr, [sp, #8]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x26]
	cmp	x9, x8
	b.ge	LBB0_5
LBB0_2:
	ldr	w27, [x29, #16]
	ldr	w0, [x26, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
	mov	x3, x22
	bl	_netdev_dbg
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	x4, x27
	bl	_vxlan_fdb_alloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x23, x0
	add	x5, sp, #8
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_vxlan_fdb_append
	tbnz	w0, #31, LBB0_8
; %bb.4:
	mov	w19, #0
	ldr	x8, [x29, #24]
	str	x23, [x8]
	b	LBB0_9
LBB0_5:
Lloh2:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_9
LBB0_8:
	mov	x19, x0
	mov	x0, x23
	bl	_kfree
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"add %pM -> %pIS\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_vxlan_fdb_create
.subsections_via_symbols
