	.file	"extr_macsec.c_tx_sa_update_pn.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"PN wrapped, transitioning to !oper\n"
	.text
	.p2align 4
	.type	tx_sa_update_pn, @function
tx_sa_update_pn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 12[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	rdi, r13
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	spin_lock_bh@PLT
	mov	r12, QWORD PTR [rbx]
	lea	rax, 1[r12]
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L7
.L3:
	mov	rdi, r13
	call	spin_unlock_bh@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	cmp	QWORD PTR 8[rbp], 0
	mov	DWORD PTR 8[rbx], 0
	je	.L3
	mov	DWORD PTR 0[rbp], 0
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	tx_sa_update_pn, .-tx_sa_update_pn
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_macsec.c_tx_sa_update_pn.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PN wrapped, transitioning to !oper\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tx_sa_update_pn, %function
tx_sa_update_pn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	add	r8, r0, #8
	mov	r0, r8
	mov	r5, r1
	bl	spin_lock_bh
	ldr	r7, [r4]
	add	r6, r7, #1
	cmp	r6, #0
	str	r6, [r4]
	beq	.L10
.L3:
	mov	r0, r8
	bl	spin_unlock_bh
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r0, .L11
	bl	pr_debug
	ldr	r3, [r5, #4]
	str	r6, [r4, #4]
	cmp	r3, #0
	strne	r6, [r5]
	b	.L3
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	tx_sa_update_pn, .-tx_sa_update_pn
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
