	.file	"extr_ax88796.c_ax_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no IRQ specified\n"
.LC1:
	.string	"no MEM specified\n"
.LC2:
	.string	"cannot reserve registers\n"
.LC3:
	.string	"Cannot ioremap area %pR\n"
.LC4:
	.string	"cannot map reset register\n"
	.text
	.p2align 4
	.type	ax_probe, @function
ax_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	edi, 32
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	call	ax__alloc_ei_netdev@PLT
	mov	r8d, DWORD PTR ENOMEM[rip]
	neg	r8d
	test	rax, rax
	je	.L1
	mov	rsi, r12
	mov	rbp, rax
	mov	rdi, rax
	call	SET_NETDEV_DEV@PLT
	mov	rdi, rbp
	call	netdev_priv@PLT
	mov	rdi, rbp
	mov	r14, rax
	call	to_ax_dev@PLT
	mov	rdi, r12
	mov	rbx, rax
	call	dev_get_platdata@PLT
	mov	rsi, rbp
	mov	rdi, r12
	mov	QWORD PTR 24[rbx], rax
	call	platform_set_drvdata@PLT
	mov	rax, QWORD PTR 24[rbx]
	xor	edx, edx
	mov	rdi, r12
	mov	esi, DWORD PTR IORESOURCE_IRQ[rip]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR 16[r14], eax
	call	platform_get_resource@PLT
	test	rax, rax
	je	.L39
	mov	edx, DWORD PTR 4[rax]
	mov	DWORD PTR 8[rbp], edx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IRQF_TRIGGER_MASK[rip]
	and	eax, edx
	mov	DWORD PTR [rbx], eax
	test	DWORD PTR IORESOURCE_IRQ_SHAREABLE[rip], edx
	jne	.L40
.L6:
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, r12
	call	platform_get_resource@PLT
	mov	r13, rax
	test	rax, rax
	je	.L41
	mov	rdi, rax
	call	resource_size@PLT
	mov	r15, rax
	mov	rax, QWORD PTR 24[rbx]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L8
	mov	QWORD PTR [r14], rax
.L9:
	mov	edx, DWORD PTR 4[r12]
	mov	edi, DWORD PTR 4[r13]
	mov	rsi, r15
	call	request_mem_region@PLT
	test	eax, eax
	je	.L42
	mov	edi, DWORD PTR 4[r13]
	mov	rsi, r15
	call	ioremap@PLT
	mov	QWORD PTR 8[r14], rax
	mov	QWORD PTR 0[rbp], rax
	test	rax, rax
	je	.L43
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	mov	edx, 1
	mov	rdi, r12
	call	platform_get_resource@PLT
	mov	rcx, rax
	test	rax, rax
	je	.L44
	mov	rdi, rax
	mov	QWORD PTR 16[rsp], rax
	call	resource_size@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 4[r12]
	mov	rsi, rax
	mov	QWORD PTR 8[rsp], rax
	mov	edi, DWORD PTR 4[rcx]
	call	request_mem_region@PLT
	mov	rcx, QWORD PTR 16[rsp]
	test	eax, eax
	je	.L45
	mov	edi, DWORD PTR 4[rcx]
	mov	rsi, QWORD PTR 8[rsp]
	mov	QWORD PTR 16[rsp], rcx
	call	ioremap@PLT
	mov	rcx, QWORD PTR 16[rsp]
	test	rax, rax
	mov	QWORD PTR 16[rbx], rax
	je	.L46
	sub	rax, QWORD PTR 8[r14]
	mov	rdx, QWORD PTR [r14]
	sar	rax, 2
	mov	QWORD PTR 248[rdx], rax
.L16:
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], rcx
	call	ax_init_dev@PLT
	mov	r8d, eax
	test	eax, eax
	je	.L1
	mov	rdi, QWORD PTR 16[rbx]
	test	rdi, rdi
	je	.L20
	mov	DWORD PTR 28[rsp], eax
	call	iounmap@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	r8d, DWORD PTR 28[rsp]
	test	rcx, rcx
	jne	.L22
.L20:
	mov	rdi, QWORD PTR 8[r14]
	mov	DWORD PTR 8[rsp], r8d
	call	iounmap@PLT
	mov	r8d, DWORD PTR 8[rsp]
.L13:
	mov	edi, DWORD PTR 4[r13]
	mov	rsi, r15
	mov	DWORD PTR 8[rsp], r8d
	call	release_mem_region@PLT
	mov	r8d, DWORD PTR 8[rsp]
.L5:
	xor	esi, esi
	mov	rdi, r12
	mov	DWORD PTR 8[rsp], r8d
	call	platform_set_drvdata@PLT
	mov	rdi, rbp
	call	free_netdev@PLT
	mov	r8d, DWORD PTR 8[rsp]
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L40:
	.cfi_restore_state
	or	eax, DWORD PTR IRQF_SHARED[rip]
	mov	DWORD PTR [rbx], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, r15
	mov	rcx, QWORD PTR 8[rbx]
	movabs	rdx, -6148914691236517205
	mul	rdx
	mov	QWORD PTR [r14], rcx
	mov	rax, rcx
	lea	rsi, 192[rcx]
	xor	ecx, ecx
	shr	rdx, 4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	QWORD PTR [rax], rcx
	add	rax, 8
	add	rcx, rdx
	cmp	rsi, rax
	jne	.L10
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L44:
	mov	rax, QWORD PTR 24[rbx]
	cmp	QWORD PTR [rax], 0
	je	.L15
.L18:
	mov	QWORD PTR 8[rsp], 0
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L42:
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	dev_err@PLT
	mov	r8d, DWORD PTR ENXIO[rip]
	neg	r8d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L41:
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	xor	eax, eax
	call	dev_err@PLT
	mov	r8d, DWORD PTR ENXIO[rip]
	neg	r8d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L39:
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	dev_err@PLT
	mov	r8d, DWORD PTR ENXIO[rip]
	neg	r8d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L43:
	mov	rdx, r13
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	call	dev_err@PLT
	mov	r8d, DWORD PTR ENXIO[rip]
	neg	r8d
	jmp	.L13
.L46:
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	call	dev_err@PLT
	mov	r8d, DWORD PTR ENXIO[rip]
	mov	rcx, QWORD PTR 16[rsp]
	neg	r8d
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, DWORD PTR 4[rcx]
	mov	rsi, QWORD PTR 8[rsp]
	mov	DWORD PTR 16[rsp], r8d
	call	release_mem_region@PLT
	mov	r8d, DWORD PTR 16[rsp]
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L45:
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	dev_err@PLT
	mov	r8d, DWORD PTR ENXIO[rip]
	neg	r8d
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR 8[rbx]
	mov	rdi, r15
	xor	edx, edx
	shr	rdi, 5
	lea	rsi, 256[rax]
	.p2align 4,,10
	.p2align 3
.L17:
	mov	QWORD PTR [rax], rdx
	add	rax, 8
	add	rdx, rdi
	cmp	rsi, rax
	jne	.L17
	jmp	.L18
	.cfi_endproc
.LFE0:
	.size	ax_probe, .-ax_probe
	.comm	IRQF_TRIGGER_MASK,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	IORESOURCE_IRQ_SHAREABLE,4,4
	.comm	IORESOURCE_IRQ,4,4
	.comm	ENXIO,4,4
	.comm	ENOMEM,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_ax88796.c_ax_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no IRQ specified\012\000"
	.align	2
.LC1:
	.ascii	"no MEM specified\012\000"
	.align	2
.LC2:
	.ascii	"cannot reserve registers\012\000"
	.align	2
.LC3:
	.ascii	"Cannot ioremap area %pR\012\000"
	.align	2
.LC4:
	.ascii	"cannot map reset register\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ax_probe, %function
ax_probe:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #12
	mov	r0, #16
	bl	ax__alloc_ei_netdev
	subs	r5, r0, #0
	beq	.L40
	mov	r1, r4
	bl	SET_NETDEV_DEV
	mov	r0, r5
	bl	netdev_priv
	mov	r7, r0
	mov	r0, r5
	bl	to_ax_dev
	mov	r6, r0
	mov	r0, r4
	bl	dev_get_platdata
	mov	r1, r5
	str	r0, [r6, #12]
	mov	r0, r4
	bl	platform_set_drvdata
	ldr	r3, [r6, #12]
	ldr	r2, .L47
	ldr	r3, [r3, #4]
	ldr	r1, [r2]
	mov	r0, r4
	mov	r2, #0
	str	r3, [r7, #8]
	bl	platform_get_resource
	cmp	r0, #0
	ldreq	r1, .L47+4
	beq	.L38
	ldr	r1, .L47+8
	ldr	r3, .L47+12
	ldr	r2, [r0]
	ldr	ip, [r1]
	ldr	r3, [r3]
	tst	r2, ip
	and	r3, r3, r2
	ldrne	r2, .L47+16
	ldr	r1, [r0, #4]
	ldrne	r2, [r2]
	ldr	r10, .L47+20
	str	r1, [r5, #4]
	str	r3, [r6]
	orrne	r3, r2, r3
	strne	r3, [r6]
	mov	r2, #0
	mov	r0, r4
	ldr	r1, [r10]
	bl	platform_get_resource
	subs	r8, r0, #0
	beq	.L41
	bl	resource_size
	ldr	r3, [r6, #12]
	mov	r9, r0
	ldr	r3, [r3]
	cmp	r3, #0
	strne	r3, [r7]
	beq	.L42
.L9:
	mov	r1, r9
	ldr	r2, [r4, #4]
	ldr	r0, [r8, #4]
	bl	request_mem_region
	cmp	r0, #0
	ldreq	r1, .L47+24
	beq	.L38
	mov	r1, r9
	ldr	r0, [r8, #4]
	bl	ioremap
	cmp	r0, #0
	str	r0, [r7, #4]
	str	r0, [r5]
	beq	.L43
	mov	r2, #1
	mov	r0, r4
	ldr	r1, [r10]
	bl	platform_get_resource
	subs	r3, r0, #0
	str	r3, [sp, #4]
	beq	.L44
	bl	resource_size
	ldr	r3, [sp, #4]
	mov	r1, r0
	mov	fp, r0
	ldr	r2, [r4, #4]
	ldr	r0, [r3, #4]
	bl	request_mem_region
	cmp	r0, #0
	beq	.L45
	ldr	r3, [sp, #4]
	mov	r1, fp
	ldr	r0, [r3, #4]
	bl	ioremap
	cmp	r0, #0
	str	r0, [r6, #8]
	beq	.L46
	ldr	r2, [r7, #4]
	ldr	r3, [r7]
	sub	r0, r0, r2
	asr	r0, r0, #2
	str	r0, [r3, #124]
.L16:
	mov	r0, r5
	bl	ax_init_dev
	subs	r10, r0, #0
	beq	.L1
	ldr	r0, [r6, #8]
	cmp	r0, #0
	beq	.L20
	bl	iounmap
	ldr	r3, [sp, #4]
	cmp	r3, #0
	bne	.L22
.L20:
	ldr	r0, [r7, #4]
	bl	iounmap
.L13:
	mov	r1, r9
	ldr	r0, [r8, #4]
	bl	release_mem_region
	b	.L5
.L41:
	ldr	r1, .L47+28
.L38:
	mov	r0, r4
	bl	dev_err
	ldr	r3, .L47+32
	ldr	r3, [r3]
	rsb	r10, r3, #0
.L5:
	mov	r0, r4
	mov	r1, #0
	bl	platform_set_drvdata
	mov	r0, r5
	bl	free_netdev
.L1:
	mov	r0, r10
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L40:
	ldr	r3, .L47+36
	ldr	r3, [r3]
	rsb	r10, r3, #0
	mov	r0, r10
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L42:
	ldr	r0, .L47+40
	ldr	r1, [r6, #4]
	umull	r2, r0, r9, r0
	str	r1, [r7]
	sub	r2, r1, #4
	lsr	r0, r0, #4
	add	r1, r1, #92
.L10:
	str	r3, [r2, #4]!
	cmp	r2, r1
	add	r3, r3, r0
	bne	.L10
	b	.L9
.L44:
	ldr	r3, [r6, #12]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
.L18:
	mov	fp, #0
	b	.L16
.L43:
	mov	r2, r8
	mov	r0, r4
	ldr	r1, .L47+44
	bl	dev_err
	ldr	r3, .L47+32
	ldr	r3, [r3]
	rsb	r10, r3, #0
	b	.L13
.L46:
	mov	r0, r4
	ldr	r1, .L47+48
	bl	dev_err
	ldr	r3, .L47+32
	ldr	r3, [r3]
	rsb	r10, r3, #0
.L22:
	ldr	r3, [sp, #4]
	mov	r1, fp
	ldr	r0, [r3, #4]
	bl	release_mem_region
	b	.L20
.L45:
	mov	r0, r4
	ldr	r1, .L47+24
	bl	dev_err
	ldr	r3, .L47+32
	ldr	r3, [r3]
	rsb	r10, r3, #0
	b	.L20
.L15:
	ldr	r1, [r6, #4]
	ldr	r2, [sp, #4]
	sub	r3, r1, #4
	lsr	r0, r9, #5
	add	r1, r1, #124
.L17:
	str	r2, [r3, #4]!
	cmp	r1, r3
	add	r2, r2, r0
	bne	.L17
	b	.L18
.L48:
	.align	2
.L47:
	.word	IORESOURCE_IRQ
	.word	.LC0
	.word	IORESOURCE_IRQ_SHAREABLE
	.word	IRQF_TRIGGER_MASK
	.word	IRQF_SHARED
	.word	IORESOURCE_MEM
	.word	.LC2
	.word	.LC1
	.word	ENXIO
	.word	ENOMEM
	.word	-1431655765
	.word	.LC3
	.word	.LC4
	.size	ax_probe, .-ax_probe
	.comm	IRQF_TRIGGER_MASK,4,4
	.comm	IRQF_SHARED,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	IORESOURCE_IRQ_SHAREABLE,4,4
	.comm	IORESOURCE_IRQ,4,4
	.comm	ENXIO,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
