	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcam_write
_tcam_write:                            ## @tcam_write
	.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	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_TCAM_KEY_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rdx), %esi
	callq	_nw64
	movq	_TCAM_KEY_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_nw64
	movq	_TCAM_KEY_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_nw64
	movq	_TCAM_KEY_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_nw64
	movq	_TCAM_KEY_MASK_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_nw64
	movq	_TCAM_KEY_MASK_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r12), %esi
	callq	_nw64
	movq	_TCAM_KEY_MASK_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r12), %esi
	callq	_nw64
	movq	_TCAM_KEY_MASK_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r12), %esi
	callq	_nw64
	movq	_TCAM_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TCAM_CTL_RWC_TCAM_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r15d, %esi
	callq	_nw64
	movq	_TCAM_CTL_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tcam_wait_bit                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TCAM_KEY_0,4,2                 ## @TCAM_KEY_0
	.comm	_TCAM_KEY_1,4,2                 ## @TCAM_KEY_1
	.comm	_TCAM_KEY_2,4,2                 ## @TCAM_KEY_2
	.comm	_TCAM_KEY_3,4,2                 ## @TCAM_KEY_3
	.comm	_TCAM_KEY_MASK_0,4,2            ## @TCAM_KEY_MASK_0
	.comm	_TCAM_KEY_MASK_1,4,2            ## @TCAM_KEY_MASK_1
	.comm	_TCAM_KEY_MASK_2,4,2            ## @TCAM_KEY_MASK_2
	.comm	_TCAM_KEY_MASK_3,4,2            ## @TCAM_KEY_MASK_3
	.comm	_TCAM_CTL,4,2                   ## @TCAM_CTL
	.comm	_TCAM_CTL_RWC_TCAM_WRITE,4,2    ## @TCAM_CTL_RWC_TCAM_WRITE
	.comm	_TCAM_CTL_STAT,4,2              ## @TCAM_CTL_STAT
	.no_dead_strip	_tcam_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcam_write
_tcam_write:                            ; @tcam_write
	.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, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _TCAM_KEY_0@G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ldr	x8, [x8, _TCAM_CTL@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _TCAM_CTL_RWC_TCAM_WRITE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TCAM_CTL_RWC_TCAM_WRITE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w1, w8, w20
	bl	_nw64
Lloh30:
	adrp	x8, _TCAM_CTL_STAT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TCAM_CTL_STAT@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	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
	b	_tcam_wait_bit
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TCAM_KEY_0,4,2                 ; @TCAM_KEY_0
	.comm	_TCAM_KEY_1,4,2                 ; @TCAM_KEY_1
	.comm	_TCAM_KEY_2,4,2                 ; @TCAM_KEY_2
	.comm	_TCAM_KEY_3,4,2                 ; @TCAM_KEY_3
	.comm	_TCAM_KEY_MASK_0,4,2            ; @TCAM_KEY_MASK_0
	.comm	_TCAM_KEY_MASK_1,4,2            ; @TCAM_KEY_MASK_1
	.comm	_TCAM_KEY_MASK_2,4,2            ; @TCAM_KEY_MASK_2
	.comm	_TCAM_KEY_MASK_3,4,2            ; @TCAM_KEY_MASK_3
	.comm	_TCAM_CTL,4,2                   ; @TCAM_CTL
	.comm	_TCAM_CTL_RWC_TCAM_WRITE,4,2    ; @TCAM_CTL_RWC_TCAM_WRITE
	.comm	_TCAM_CTL_STAT,4,2              ; @TCAM_CTL_STAT
	.no_dead_strip	_tcam_write
.subsections_via_symbols
