	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StAddL3If                      ## -- Begin function StAddL3If
	.p2align	4, 0x90
_StAddL3If:                             ## @StAddL3If
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	(%r14), %r13
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%rsi), %edi
	callq	_IsSubnetMask32
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	4(%rbx), %edi
	callq	_IsHostIPAddress32
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movl	(%rbx), %eax
	notl	%eax
	testl	%eax, 4(%rbx)
	je	LBB0_6
## %bb.3:
	movl	8(%rbx), %esi
	movq	%r13, %rdi
	callq	_L3GetSw
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r13
	movl	(%rax), %edi
	callq	_Lock
	movl	12(%rbx), %esi
	movq	%r13, %rdi
	callq	_L3SearchIf
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	_ERR_LAYER3_IF_EXISTS@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %r12d
	jmp	LBB0_14
LBB0_6:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_ERR_LAYER3_SW_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_10:
	movl	12(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r13, %rdi
	callq	_L3AddIf
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	8(%rbx), %r8d
	movl	12(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ALog
	movq	%r14, %rdi
	callq	_IncrementServerConfigRevision
LBB0_14:
	movl	(%r13), %edi
	callq	_Unlock
	movq	%r13, %rdi
	callq	_ReleaseL3Sw
	jmp	LBB0_8
LBB0_12:
	movq	_ERR_LAYER3_IF_ADD_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
	.comm	_ERR_INVALID_PARAMETER,4,2      ## @ERR_INVALID_PARAMETER
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ## @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_ADMIN_ONLY,4,2          ## @SERVER_ADMIN_ONLY
	.comm	_ERR_LAYER3_SW_NOT_FOUND,4,2    ## @ERR_LAYER3_SW_NOT_FOUND
	.comm	_ERR_LAYER3_IF_EXISTS,4,2       ## @ERR_LAYER3_IF_EXISTS
	.comm	_ERR_LAYER3_IF_ADD_FAILED,4,2   ## @ERR_LAYER3_IF_ADD_FAILED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LA_ADD_L3_IF"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StAddL3If                      ; -- Begin function StAddL3If
	.p2align	2
_StAddL3If:                             ; @StAddL3If
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x1
	mov	x21, x0
	ldr	x20, [x0]
	ldr	x23, [x20]
Lloh0:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w0, [x1]
	bl	_IsSubnetMask32
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w0, [x22, #4]
	bl	_IsHostIPAddress32
	cbz	w0, LBB0_7
; %bb.2:
	ldp	w9, w8, [x22]
	bics	wzr, w8, w9
	b.eq	LBB0_7
; %bb.3:
	ldr	w1, [x22, #8]
	mov	x0, x23
	bl	_L3GetSw
	cbz	x0, LBB0_10
; %bb.4:
	mov	x23, x0
	ldr	w0, [x0]
	bl	_Lock
	ldr	w1, [x22, #12]
	mov	x0, x23
	bl	_L3SearchIf
	cbz	x0, LBB0_11
; %bb.5:
Lloh3:
	adrp	x8, _ERR_LAYER3_IF_EXISTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_LAYER3_IF_EXISTS@GOTPAGEOFF]
LBB0_6:
	ldr	w19, [x8]
	b	LBB0_13
LBB0_7:
Lloh5:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
LBB0_8:
	ldr	w19, [x8]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh7:
	adrp	x8, _ERR_LAYER3_SW_NOT_FOUND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_LAYER3_SW_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_8
LBB0_11:
	ldr	w1, [x22, #12]
	ldp	w3, w2, [x22]
	mov	x0, x23
	bl	_L3AddIf
	cbz	w0, LBB0_14
; %bb.12:
	ldp	w4, w3, [x22, #8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, #0
	bl	_ALog
	mov	x0, x20
	bl	_IncrementServerConfigRevision
LBB0_13:
	ldr	w0, [x23]
	bl	_Unlock
	mov	x0, x23
	bl	_ReleaseL3Sw
	b	LBB0_9
LBB0_14:
Lloh11:
	adrp	x8, _ERR_LAYER3_IF_ADD_FAILED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_LAYER3_IF_ADD_FAILED@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
	.comm	_ERR_INVALID_PARAMETER,4,2      ; @ERR_INVALID_PARAMETER
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ; @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_ADMIN_ONLY,4,2          ; @SERVER_ADMIN_ONLY
	.comm	_ERR_LAYER3_SW_NOT_FOUND,4,2    ; @ERR_LAYER3_SW_NOT_FOUND
	.comm	_ERR_LAYER3_IF_EXISTS,4,2       ; @ERR_LAYER3_IF_EXISTS
	.comm	_ERR_LAYER3_IF_ADD_FAILED,4,2   ; @ERR_LAYER3_IF_ADD_FAILED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LA_ADD_L3_IF"

.subsections_via_symbols
