	.file	"extr_spu.c_spum_nsp_ctx_max_payload.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	spum_nsp_ctx_max_payload
	.type	spum_nsp_ctx_max_payload, @function
spum_nsp_ctx_max_payload:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, esi
	cmp	DWORD PTR CIPHER_MODE_XTS[rip], r8d
	mov	ecx, DWORD PTR SPUM_NSP_MAX_PAYLOAD[rip]
	mov	esi, edx
	jne	.L2
	sub	ecx, DWORD PTR SPU_XTS_TWEAK_SIZE[rip]
.L2:
	mov	eax, ecx
	xor	edx, edx
	div	esi
	mov	eax, ecx
	sub	eax, edx
	ret
	.cfi_endproc
.LFE0:
	.size	spum_nsp_ctx_max_payload, .-spum_nsp_ctx_max_payload
	.comm	SPU_XTS_TWEAK_SIZE,8,8
	.comm	SPUM_NSP_MAX_PAYLOAD,4,4
	.comm	CIPHER_MODE_XTS,4,4
	.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_spu.c_spum_nsp_ctx_max_payload.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	spum_nsp_ctx_max_payload
	.syntax unified
	.arm
	.fpu softvfp
	.type	spum_nsp_ctx_max_payload, %function
spum_nsp_ctx_max_payload:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r0, .L5
	ldr	r3, .L5+4
	ldr	r0, [r0]
	push	{r4, lr}
	cmp	r0, r1
	ldr	r4, [r3]
	ldreq	r3, .L5+8
	mov	r1, r2
	ldreq	r3, [r3]
	subeq	r4, r4, r3
	mov	r0, r4
	bl	__aeabi_uidivmod
	sub	r0, r4, r1
	pop	{r4, pc}
.L6:
	.align	2
.L5:
	.word	CIPHER_MODE_XTS
	.word	SPUM_NSP_MAX_PAYLOAD
	.word	SPU_XTS_TWEAK_SIZE
	.size	spum_nsp_ctx_max_payload, .-spum_nsp_ctx_max_payload
	.comm	SPU_XTS_TWEAK_SIZE,4,4
	.comm	SPUM_NSP_MAX_PAYLOAD,4,4
	.comm	CIPHER_MODE_XTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
