	.file	"extr_main.c_brcms_c_set_shortslot_override.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	brcms_c_set_shortslot_override
	.type	brcms_c_set_shortslot_override, @function
brcms_c_set_shortslot_override:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 24[rdi]
	mov	rdx, QWORD PTR BRCM_BAND_5G[rip]
	mov	QWORD PTR [rdi], rsi
	cmp	QWORD PTR [rax], rdx
	je	.L1
	mov	rax, QWORD PTR 16[rdi]
	cmp	QWORD PTR [rax], 0
	jne	.L6
	cmp	QWORD PTR BRCMS_SHORTSLOT_AUTO[rip], rsi
	je	.L7
	xor	eax, eax
	cmp	QWORD PTR BRCMS_SHORTSLOT_ON[rip], rsi
	sete	al
	mov	DWORD PTR 8[rdi], eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	QWORD PTR 8[rax], 0
	jne	.L1
	xor	esi, esi
	jmp	brcms_c_switch_shortslot@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	mov	DWORD PTR 8[rdi], 0
	ret
	.cfi_endproc
.LFE0:
	.size	brcms_c_set_shortslot_override, .-brcms_c_set_shortslot_override
	.comm	BRCM_BAND_5G,8,8
	.comm	BRCMS_SHORTSLOT_ON,8,8
	.comm	BRCMS_SHORTSLOT_AUTO,8,8
	.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_main.c_brcms_c_set_shortslot_override.c"
	.text
	.align	2
	.global	brcms_c_set_shortslot_override
	.syntax unified
	.arm
	.fpu softvfp
	.type	brcms_c_set_shortslot_override, %function
brcms_c_set_shortslot_override:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	ip, [r0, #12]
	ldr	r2, .L6
	ldr	ip, [ip]
	ldr	r2, [r2]
	str	r1, [r0]
	cmp	ip, r2
	bxeq	lr
	ldr	r2, [r0, #8]
	ldr	ip, [r2]
	cmp	ip, #0
	beq	.L3
	ldr	r1, [r2, #4]
	cmp	r1, #0
	bxne	lr
	b	brcms_c_switch_shortslot
.L3:
	ldr	r2, .L6+4
	ldr	r2, [r2]
	cmp	r2, r1
	ldrne	r2, .L6+8
	streq	ip, [r0, #4]
	ldrne	r2, [r2]
	subne	r1, r2, r1
	clzne	r1, r1
	lsrne	r1, r1, #5
	strne	r1, [r0, #4]
	bx	lr
.L7:
	.align	2
.L6:
	.word	BRCM_BAND_5G
	.word	BRCMS_SHORTSLOT_AUTO
	.word	BRCMS_SHORTSLOT_ON
	.size	brcms_c_set_shortslot_override, .-brcms_c_set_shortslot_override
	.comm	BRCM_BAND_5G,4,4
	.comm	BRCMS_SHORTSLOT_ON,4,4
	.comm	BRCMS_SHORTSLOT_AUTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
