	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in_cache_add_entry
_in_cache_add_entry:                    ## @in_cache_add_entry
	.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	%rsi, %r14
	movl	%edi, -28(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	leaq	-28(%rbp), %rsi
	xorl	%eax, %eax
	callq	_dprintk
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_atomic_set
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%r14, %rdi
	callq	_write_lock_bh
	movq	16(%r14), %rax
	movq	%rax, 40(%rbx)
	movq	$0, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, 32(%rax)
LBB0_4:
	movq	%rbx, 16(%r14)
	movl	28(%rbx), %edi
	movl	8(%r14), %esi
	movq	_ATM_ESA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	-28(%rbp), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	addq	$24, %rdi
	callq	_do_gettimeofday
	movl	4(%r14), %eax
	movl	%eax, 20(%rbx)
	movl	$1, (%rbx)
	movq	_INGRESS_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_HOLDING_TIME_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r15, %rdi
	callq	_atomic_inc
	movq	%r14, %rdi
	callq	_write_unlock_bh
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mpoa: mpoa_caches.c: new_in_cache_entry: out of memory\n"

L_.str.1:                               ## @.str.1
	.asciz	"mpoa: mpoa_caches.c: adding an ingress entry, ip = %pI4\n"

L_.str.2:                               ## @.str.2
	.asciz	"mpoa: mpoa_caches.c: new_in_cache_entry: about to lock\n"

	.comm	_ATM_ESA_LEN,4,2                ## @ATM_ESA_LEN
	.comm	_INGRESS_INVALID,4,2            ## @INGRESS_INVALID
	.comm	_HOLDING_TIME_DEFAULT,4,2       ## @HOLDING_TIME_DEFAULT
L_.str.3:                               ## @.str.3
	.asciz	"mpoa: mpoa_caches.c: new_in_cache_entry: unlocked\n"

	.no_dead_strip	_in_cache_add_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in_cache_add_entry
_in_cache_add_entry:                    ; @in_cache_add_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	add	x8, sp, #12
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
	add	x21, x19, #4
	mov	w22, #1
	mov	x0, x21
	mov	w1, #1
	bl	_atomic_set
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dprintk
	mov	x0, x20
	bl	_write_lock_bh
	ldr	x8, [x20, #16]
	stp	xzr, x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.2:
	str	x19, [x8, #32]
LBB0_3:
	str	x19, [x20, #16]
	ldr	w0, [x19, #28]
	ldr	w1, [x20, #8]
Lloh7:
	adrp	x8, _ATM_ESA_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATM_ESA_LEN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w8, [sp, #12]
	str	w8, [x19, #12]
	add	x0, x19, #24
	bl	_do_gettimeofday
	ldr	w8, [x20, #4]
	str	w22, [x19]
Lloh10:
	adrp	x9, _INGRESS_INVALID@GOTPAGE
Lloh11:
	ldr	x9, [x9, _INGRESS_INVALID@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh13:
	adrp	x8, _HOLDING_TIME_DEFAULT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HOLDING_TIME_DEFAULT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x21
	bl	_atomic_inc
	mov	x0, x20
	bl	_write_unlock_bh
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dprintk
	b	LBB0_5
LBB0_4:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mpoa: mpoa_caches.c: new_in_cache_entry: out of memory\n"

l_.str.1:                               ; @.str.1
	.asciz	"mpoa: mpoa_caches.c: adding an ingress entry, ip = %pI4\n"

l_.str.2:                               ; @.str.2
	.asciz	"mpoa: mpoa_caches.c: new_in_cache_entry: about to lock\n"

	.comm	_ATM_ESA_LEN,4,2                ; @ATM_ESA_LEN
	.comm	_INGRESS_INVALID,4,2            ; @INGRESS_INVALID
	.comm	_HOLDING_TIME_DEFAULT,4,2       ; @HOLDING_TIME_DEFAULT
l_.str.3:                               ; @.str.3
	.asciz	"mpoa: mpoa_caches.c: new_in_cache_entry: unlocked\n"

	.no_dead_strip	_in_cache_add_entry
.subsections_via_symbols
