	.file	"extr_if_rum.c_rum_set_maxretry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rum_set_maxretry, @function
rum_set_maxretry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rsi]
	mov	rbx, QWORD PTR [rax]
	call	RUM_VAP@PLT
	mov	esi, 15
	mov	edi, DWORD PTR [rbx]
	mov	rbp, rax
	call	MIN@PLT
	mov	DWORD PTR 0[rbp], eax
	mov	edi, eax
	mov	r13d, DWORD PTR RT2573_SHORT_RETRY_MASK[rip]
	or	r13d, DWORD PTR RT2573_LONG_RETRY_MASK[rip]
	call	RT2573_SHORT_RETRY@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	ebx, eax
	call	RT2573_LONG_RETRY@PLT
	mov	edx, ebx
	mov	esi, DWORD PTR RT2573_TXRX_CSR4[rip]
	mov	ecx, r13d
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	or	edx, eax
	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
	jmp	rum_modbits@PLT
	.cfi_endproc
.LFE0:
	.size	rum_set_maxretry, .-rum_set_maxretry
	.comm	RT2573_TXRX_CSR4,4,4
	.comm	RT2573_SHORT_RETRY_MASK,4,4
	.comm	RT2573_LONG_RETRY_MASK,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_if_rum.c_rum_set_maxretry.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rum_set_maxretry, %function
rum_set_maxretry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r1
	ldr	r6, [r3]
	bl	RUM_VAP
	mov	r1, #15
	mov	r4, r0
	ldr	r0, [r6]
	bl	MIN
	ldr	r3, .L4
	str	r0, [r4]
	ldr	r6, [r3]
	bl	RT2573_SHORT_RETRY
	mov	r2, r0
	ldr	r0, [r4]
	mov	r4, r2
	bl	RT2573_LONG_RETRY
	ldr	r2, .L4+4
	ldr	r3, .L4+8
	ldr	ip, [r2]
	ldr	r3, [r3]
	orr	r2, r4, r0
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	orr	r3, ip, r3
	b	rum_modbits
.L5:
	.align	2
.L4:
	.word	RT2573_TXRX_CSR4
	.word	RT2573_SHORT_RETRY_MASK
	.word	RT2573_LONG_RETRY_MASK
	.size	rum_set_maxretry, .-rum_set_maxretry
	.comm	RT2573_TXRX_CSR4,4,4
	.comm	RT2573_SHORT_RETRY_MASK,4,4
	.comm	RT2573_LONG_RETRY_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
