	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eg_cache_add_entry
_eg_cache_add_entry:                    ## @eg_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	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	8(%r15), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_atomic_set
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%r14, %rdi
	callq	_write_lock_irq
	movq	8(%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, 8(%r14)
	movl	24(%rbx), %edi
	movl	4(%r14), %esi
	movq	_ATM_ESA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	leaq	4(%rbx), %r12
	movq	(%r15), %rax
	movq	%rax, 4(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	addq	$20, %rdi
	callq	_do_gettimeofday
	movq	_EGRESS_RESOLVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	8(%rbx), %edi
	callq	_ntohl
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_dprintk
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%rbx, %rdi
	callq	_atomic_inc
	movq	%r14, %rdi
	callq	_write_unlock_irq
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	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_eg_cache_entry: out of memory\n"

L_.str.1:                               ## @.str.1
	.asciz	"mpoa: mpoa_caches.c: adding an egress entry, ip = %pI4, this should be our IP\n"

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

	.comm	_ATM_ESA_LEN,4,2                ## @ATM_ESA_LEN
	.comm	_EGRESS_RESOLVED,4,2            ## @EGRESS_RESOLVED
L_.str.3:                               ## @.str.3
	.asciz	"mpoa: mpoa_caches.c: new_eg_cache_entry cache_id %lu\n"

L_.str.4:                               ## @.str.4
	.asciz	"mpoa: mpoa_caches.c: mps_ip = %pI4\n"

L_.str.5:                               ## @.str.5
	.asciz	"mpoa: mpoa_caches.c: new_eg_cache_entry: unlocked\n"

	.no_dead_strip	_eg_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 eg_cache_add_entry
_eg_cache_add_entry:                    ; @eg_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
	mov	x21, x0
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, x21, #8
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	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_irq
	ldr	x8, [x20, #8]
	stp	xzr, x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.2:
	str	x19, [x8, #32]
LBB0_3:
	str	x19, [x20, #8]
	ldr	w0, [x19, #24]
	ldr	w1, [x20, #4]
Lloh7:
	adrp	x8, _ATM_ESA_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ATM_ESA_LEN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x8, [x21]
	ldr	w9, [x21, #8]
	str	w9, [x19, #12]
	mov	x21, x19
	str	x8, [x21, #4]!
	add	x0, x19, #20
	bl	_do_gettimeofday
Lloh10:
	adrp	x8, _EGRESS_RESOLVED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EGRESS_RESOLVED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	w0, [x19, #8]
	bl	_ntohl
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dprintk
	str	x21, [sp]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dprintk
	mov	x0, x19
	bl	_atomic_inc
	mov	x0, x20
	bl	_write_unlock_irq
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dprintk
	b	LBB0_5
LBB0_4:
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	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	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh19, Lloh20
	.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_eg_cache_entry: out of memory\n"

l_.str.1:                               ; @.str.1
	.asciz	"mpoa: mpoa_caches.c: adding an egress entry, ip = %pI4, this should be our IP\n"

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

	.comm	_ATM_ESA_LEN,4,2                ; @ATM_ESA_LEN
	.comm	_EGRESS_RESOLVED,4,2            ; @EGRESS_RESOLVED
l_.str.3:                               ; @.str.3
	.asciz	"mpoa: mpoa_caches.c: new_eg_cache_entry cache_id %lu\n"

l_.str.4:                               ; @.str.4
	.asciz	"mpoa: mpoa_caches.c: mps_ip = %pI4\n"

l_.str.5:                               ; @.str.5
	.asciz	"mpoa: mpoa_caches.c: new_eg_cache_entry: unlocked\n"

	.no_dead_strip	_eg_cache_add_entry
.subsections_via_symbols
