	.file	"extr_phy.c_b43legacy_phy_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown PHYTYPE found\n"
	.text
	.p2align 4
	.globl	b43legacy_phy_init
	.type	b43legacy_phy_init, @function
b43legacy_phy_init:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR ENODEV[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	eax, DWORD PTR 4[rdi]
	mov	r12d, edx
	neg	r12d
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	jne	.L3
	mov	eax, DWORD PTR 8[rdi]
	cmp	eax, 5
	je	.L4
	jg	.L5
	cmp	eax, 2
	je	.L6
	cmp	eax, 4
	jne	.L3
	call	b43legacy_phy_initb4@PLT
	xor	r12d, r12d
.L1:
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	test	edx, edx
	je	.L1
	mov	edi, DWORD PTR [rdi]
	lea	rsi, .LC0[rip]
	call	b43legacyerr@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	eax, 6
	jne	.L3
	call	b43legacy_phy_initb6@PLT
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	call	b43legacy_phy_initg@PLT
	xor	r12d, r12d
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	call	b43legacy_phy_initb2@PLT
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	call	b43legacy_phy_initb5@PLT
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	b43legacy_phy_init, .-b43legacy_phy_init
	.comm	ENODEV,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_phy.c_b43legacy_phy_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown PHYTYPE found\012\000"
	.text
	.align	2
	.global	b43legacy_phy_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43legacy_phy_init, %function
b43legacy_phy_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #4]
	ldr	r1, .L16
	cmp	r2, #128
	push	{r4, lr}
	ldr	r1, [r1]
	beq	.L2
	cmp	r2, #129
	mov	r3, r0
	rsb	r4, r1, #0
	bne	.L3
	ldr	r2, [r0, #8]
	sub	r2, r2, #2
	cmp	r2, #4
	ldrls	pc, [pc, r2, asl #2]
	b	.L3
.L5:
	.word	.L8
	.word	.L3
	.word	.L7
	.word	.L6
	.word	.L4
.L3:
	cmp	r1, #0
	bne	.L15
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L2:
	mov	r4, #0
	bl	b43legacy_phy_initg
	mov	r0, r4
	pop	{r4, pc}
.L4:
	bl	b43legacy_phy_initb6
	mov	r4, #0
	b	.L1
.L8:
	bl	b43legacy_phy_initb2
	mov	r4, #0
	b	.L1
.L7:
	bl	b43legacy_phy_initb4
	mov	r4, #0
	b	.L1
.L6:
	bl	b43legacy_phy_initb5
	mov	r4, #0
	b	.L1
.L15:
	ldr	r0, [r3]
	ldr	r1, .L16+4
	bl	b43legacyerr
	mov	r0, r4
	pop	{r4, pc}
.L17:
	.align	2
.L16:
	.word	ENODEV
	.word	.LC0
	.size	b43legacy_phy_init, .-b43legacy_phy_init
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
