	.file	"extr_ar9285_attach.c_ar9285FillCapabilityInfo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ar9285FillCapabilityInfo, @function
ar9285FillCapabilityInfo:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	AH_PRIVATE@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	ar5416FillCapabilityInfo@PLT
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR AH_FALSE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR AH_TRUE[rip]
	mov	DWORD PTR 8[rbx], 1
	mov	rdi, rbp
	mov	QWORD PTR 168[rbx], rax
	mov	QWORD PTR 160[rbx], rax
	movabs	rax, 4294967308
	mov	QWORD PTR [rbx], rax
	call	ar9285_check_div_comb@PLT
	test	rax, rax
	mov	rax, QWORD PTR AH_TRUE[rip]
	je	.L5
	mov	QWORD PTR 144[rbx], rax
.L5:
	mov	rdx, QWORD PTR AH_FALSE[rip]
	mov	QWORD PTR 136[rbx], rax
	mov	rdi, rbp
	mov	QWORD PTR 128[rbx], rax
	mov	QWORD PTR 120[rbx], rax
	mov	DWORD PTR 12[rbx], 65536
	mov	QWORD PTR 112[rbx], rax
	mov	QWORD PTR 104[rbx], rax
	mov	QWORD PTR 96[rbx], rax
	mov	QWORD PTR 88[rbx], rdx
	mov	QWORD PTR 80[rbx], rdx
	mov	QWORD PTR 72[rbx], rdx
	mov	QWORD PTR 64[rbx], rax
	mov	QWORD PTR 56[rbx], rax
	mov	QWORD PTR 48[rbx], rax
	mov	QWORD PTR 40[rbx], rax
	call	AR_SREV_KITE_12_OR_LATER@PLT
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR AH_FALSE[rip]
	mov	QWORD PTR 32[rbx], rax
.L6:
	mov	DWORD PTR 16[rbx], 1
	mov	rax, QWORD PTR AH_TRUE[rip]
	mov	QWORD PTR 24[rbx], 0
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ar9285FillCapabilityInfo, .-ar9285FillCapabilityInfo
	.comm	AH_TRUE,8,8
	.comm	AH_FALSE,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_ar9285_attach.c_ar9285FillCapabilityInfo.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ar9285FillCapabilityInfo, %function
ar9285FillCapabilityInfo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	bl	AH_PRIVATE
	mov	r4, r0
	mov	r0, r5
	bl	ar5416FillCapabilityInfo
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r2, #12
	mov	r3, #1
	ldr	r6, .L12+4
	str	r2, [r4]
	ldr	r2, [r6]
	str	r3, [r4, #4]
	str	r2, [r4, #92]
	str	r2, [r4, #88]
	str	r3, [r4, #8]
	mov	r0, r5
	bl	ar9285_check_div_comb
	mov	r2, #65536
	ldr	r3, [r6]
	ldr	r7, .L12
	cmp	r0, #0
	strne	r3, [r4, #80]
	str	r3, [r4, #76]
	str	r3, [r4, #72]
	str	r3, [r4, #68]
	str	r3, [r4, #64]
	str	r3, [r4, #60]
	str	r3, [r4, #56]
	str	r3, [r4, #40]
	str	r3, [r4, #36]
	str	r3, [r4, #32]
	str	r3, [r4, #28]
	ldr	r3, [r7]
	str	r2, [r4, #12]
	str	r3, [r4, #52]
	str	r3, [r4, #48]
	str	r3, [r4, #44]
	mov	r0, r5
	bl	AR_SREV_KITE_12_OR_LATER
	cmp	r0, #0
	ldrne	r3, [r7]
	mov	r2, #1
	strne	r3, [r4, #24]
	mov	r3, #0
	ldr	r0, [r6]
	str	r2, [r4, #16]
	str	r3, [r4, #20]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	AH_FALSE
	.word	AH_TRUE
	.size	ar9285FillCapabilityInfo, .-ar9285FillCapabilityInfo
	.comm	AH_TRUE,4,4
	.comm	AH_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
