	.file	"extr_f2c_z_lapack.c_zgetf2_.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ZGETF2"
	.text
	.p2align 4
	.globl	zgetf2_
	.type	zgetf2_, @function
zgetf2_:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	ebp, DWORD PTR [rcx]
	mov	QWORD PTR 16[rsp], r8
	mov	QWORD PTR 24[rsp], r9
	mov	rsi, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rsi
	xor	esi, esi
	mov	DWORD PTR [r9], 0
	mov	esi, DWORD PTR [rdi]
	test	esi, esi
	js	.L29
	mov	r8d, DWORD PTR 0[r13]
	test	r8d, r8d
	jns	.L4
	mov	rax, QWORD PTR 24[rsp]
	mov	DWORD PTR [rax], -2
	mov	eax, 2
.L20:
	lea	rsi, 36[rsp]
	lea	rdi, .LC0[rip]
	mov	DWORD PTR 36[rsp], eax
	call	xerbla_@PLT
.L7:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L30
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L4:
	.cfi_restore_state
	mov	r15d, DWORD PTR [rcx]
	mov	r12, rdi
	mov	edi, 1
	mov	rbx, rdx
	mov	r14, rcx
	call	max@PLT
	cmp	r15d, eax
	mov	rax, QWORD PTR 24[rsp]
	jl	.L31
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L32
	mov	edi, DWORD PTR [r12]
	test	edi, edi
	je	.L7
	mov	esi, DWORD PTR 0[r13]
	test	esi, esi
	je	.L7
	mov	rax, QWORD PTR SAFEMINIMUM[rip]
	mov	QWORD PTR sfmin.1970[rip], rax
	call	min@PLT
	mov	DWORD PTR j.1968[rip], 1
	mov	DWORD PTR 36[rsp], eax
	test	eax, eax
	jle	.L7
	lea	eax, 1[rbp]
	mov	ecx, 1
	lea	r15, 40[rsp]
	cdqe
	sal	rax, 3
	sub	rbx, rax
	lea	rax, 48[rsp]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, DWORD PTR 4[rdx]
	test	esi, esi
	jne	.L10
	mov	rsi, QWORD PTR 24[rsp]
	mov	edx, DWORD PTR [rsi]
	test	edx, edx
	jne	.L27
	mov	rsi, QWORD PTR 24[rsp]
	mov	DWORD PTR [rsi], eax
.L27:
	mov	edi, DWORD PTR [r12]
.L13:
	mov	esi, DWORD PTR 0[r13]
	call	min@PLT
	mov	ecx, DWORD PTR j.1968[rip]
	cmp	eax, ecx
	jg	.L33
.L18:
	add	ecx, 1
	mov	DWORD PTR j.1968[rip], ecx
	cmp	ecx, DWORD PTR 36[rsp]
	jg	.L7
.L19:
	mov	eax, DWORD PTR [r12]
	lea	rdx, c__1[rip]
	mov	rdi, r15
	mov	DWORD PTR 4[rsp], ecx
	sub	eax, ecx
	add	eax, 1
	mov	DWORD PTR 40[rsp], eax
	mov	eax, ebp
	imul	eax, ecx
	add	eax, ecx
	cdqe
	lea	rsi, [rbx+rax*8]
	call	izamax_@PLT
	mov	ecx, DWORD PTR 4[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	movsx	rdx, DWORD PTR j.1968[rip]
	lea	ecx, -1[rcx+rax]
	mov	DWORD PTR -4[rdi+rdx*4], ecx
	mov	rax, rdx
	imul	edx, ebp
	add	edx, ecx
	mov	DWORD PTR 40[rsp], edx
	movsx	rdx, edx
	lea	rdx, [rbx+rdx*8]
	mov	edi, DWORD PTR [rdx]
	test	edi, edi
	je	.L34
.L10:
	cmp	ecx, eax
	je	.L12
	add	ecx, ebp
	add	eax, ebp
	mov	r8, r14
	mov	rdx, r14
	cdqe
	movsx	rcx, ecx
	mov	rdi, r13
	lea	rcx, [rbx+rcx*8]
	lea	rsi, [rbx+rax*8]
	call	zswap_@PLT
	mov	eax, DWORD PTR j.1968[rip]
.L12:
	mov	edi, DWORD PTR [r12]
	cmp	edi, eax
	jle	.L13
	mov	edx, ebp
	imul	edx, eax
	add	eax, edx
	cdqe
	lea	rdi, [rbx+rax*8]
	call	z_abs@PLT
	cmp	rax, QWORD PTR sfmin.1970[rip]
	jl	.L14
	mov	eax, DWORD PTR [r12]
	mov	edx, DWORD PTR j.1968[rip]
	lea	rsi, c_b57[rip]
	mov	rdi, QWORD PTR 8[rsp]
	sub	eax, edx
	mov	DWORD PTR 40[rsp], eax
	mov	eax, edx
	imul	eax, ebp
	add	eax, edx
	cdqe
	lea	rdx, [rbx+rax*8]
	call	z_div@PLT
	mov	eax, DWORD PTR j.1968[rip]
	mov	rdi, r15
	mov	rsi, QWORD PTR 8[rsp]
	lea	rcx, c__1[rip]
	mov	edx, eax
	imul	edx, ebp
	lea	eax, 1[rax+rdx]
	cdqe
	lea	rdx, [rbx+rax*8]
	call	zscal_@PLT
	mov	edi, DWORD PTR [r12]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L33:
	mov	eax, DWORD PTR [r12]
	lea	rsi, 44[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	lea	r8, c__1[rip]
	sub	eax, ecx
	mov	DWORD PTR 48[rsp], eax
	mov	eax, DWORD PTR 0[r13]
	sub	eax, ecx
	mov	DWORD PTR 52[rsp], eax
	mov	eax, 4294967295
	mov	QWORD PTR 56[rsp], rax
	lea	eax, 1[rcx]
	mov	edi, eax
	push	r14
	.cfi_def_cfa_offset 144
	imul	edi, ebp
	mov	edx, edi
	add	ecx, edi
	sub	edx, ebp
	movsx	rcx, ecx
	add	edx, eax
	add	eax, edi
	lea	r9, [rbx+rcx*8]
	mov	rdi, r15
	cdqe
	movsx	rdx, edx
	lea	rax, [rbx+rax*8]
	lea	r10, [rbx+rdx*8]
	push	rax
	.cfi_def_cfa_offset 152
	mov	rcx, r10
	push	r14
	.cfi_def_cfa_offset 160
	mov	rdx, QWORD PTR 40[rsp]
	call	zgeru_@PLT
	mov	ecx, DWORD PTR j.1968[rip]
	add	rsp, 32
	.cfi_def_cfa_offset 128
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L29:
	mov	DWORD PTR [r9], -1
	mov	eax, 1
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, DWORD PTR [r12]
	mov	ecx, DWORD PTR j.1968[rip]
	mov	DWORD PTR i__.1967[rip], 1
	mov	eax, edi
	sub	eax, ecx
	mov	DWORD PTR 40[rsp], eax
	test	eax, eax
	jle	.L13
	mov	eax, 1
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	mov	ecx, DWORD PTR j.1968[rip]
.L16:
	mov	edx, ebp
	add	eax, ecx
	mov	rdi, QWORD PTR 8[rsp]
	imul	edx, ecx
	add	eax, edx
	add	edx, ecx
	mov	DWORD PTR 44[rsp], eax
	movsx	rdx, edx
	cdqe
	lea	rdx, [rbx+rdx*8]
	lea	rsi, [rbx+rax*8]
	call	z_div@PLT
	movsx	rax, DWORD PTR 44[rsp]
	mov	rdx, QWORD PTR 48[rsp]
	mov	QWORD PTR [rbx+rax*8], rdx
	mov	eax, DWORD PTR i__.1967[rip]
	add	eax, 1
	mov	DWORD PTR i__.1967[rip], eax
	cmp	eax, DWORD PTR 40[rsp]
	jle	.L15
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L31:
	mov	DWORD PTR [rax], -4
	mov	eax, 4
	jmp	.L20
.L30:
	call	__stack_chk_fail@PLT
.L32:
	neg	eax
	jmp	.L20
	.cfi_endproc
.LFE0:
	.size	zgetf2_, .-zgetf2_
	.local	i__.1967
	.comm	i__.1967,4,4
	.local	j.1968
	.comm	j.1968,4,4
	.local	sfmin.1970
	.comm	sfmin.1970,8,8
	.comm	c_b57,8,8
	.comm	c__1,4,4
	.comm	SAFEMINIMUM,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_f2c_z_lapack.c_zgetf2_.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ZGETF2\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zgetf2_
	.syntax unified
	.arm
	.fpu softvfp
	.type	zgetf2_, %function
zgetf2_:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r3
	mov	r3, #0
	mov	r7, r0
	sub	sp, sp, #60
	ldr	r10, [sp, #100]
	ldr	r0, .L35
	ldr	r6, [r9]
	ldr	r0, [r0]
	str	r0, [sp, #52]
	mov	r0,#0
	str	r3, [r10]
	ldr	r3, [r7]
	mov	r4, r2
	ldr	r2, [sp, #96]
	cmp	r3, #0
	str	r2, [sp, #24]
	blt	.L29
	ldr	r2, [r1]
	mov	r8, r1
	cmp	r2, #0
	bge	.L4
	mvn	r2, #1
	mov	r3, #2
	str	r2, [r10]
.L20:
	ldr	r0, .L35+4
	add	r1, sp, #32
	str	r3, [sp, #32]
	bl	xerbla_
.L7:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	mov	r0, #0
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r1, r3
	mov	r0, #1
	ldr	r5, [r9]
	bl	max
	cmp	r5, r0
	blt	.L31
	ldr	r3, [r10]
	cmp	r3, #0
	bne	.L32
	ldr	r0, [r7]
	cmp	r0, #0
	beq	.L7
	ldr	r1, [r8]
	cmp	r1, #0
	beq	.L7
	ldr	r3, .L35+8
	ldr	r5, .L35+12
	ldr	r3, [r3]
	str	r3, [r5]
	bl	min
	mov	r3, #1
	cmp	r0, #0
	str	r0, [sp, #32]
	str	r3, [r5, #4]
	ble	.L7
	add	r2, r6, r3
	str	r10, [sp, #28]
	ldr	fp, .L35+16
	mov	r10, r3
	sub	r4, r4, r2, lsl #3
	b	.L19
.L34:
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [sp, #28]
	ldr	r3, [r3]
	cmp	r3, #0
	ldreq	r3, [sp, #28]
	streq	r1, [r3]
.L27:
	ldr	r0, [r7]
.L13:
	ldr	r1, [r8]
	bl	min
	ldr	r1, [r5, #4]
	cmp	r0, r1
	bgt	.L33
.L18:
	ldr	r2, [sp, #32]
	add	r10, r1, #1
	cmp	r10, r2
	str	r10, [r5, #4]
	bgt	.L7
.L19:
	mla	r1, r10, r6, r10
	ldr	ip, [r7]
	mov	r2, fp
	sub	ip, ip, r10
	add	r1, r4, r1, lsl #3
	add	ip, ip, #1
	add	r0, sp, #36
	str	ip, [sp, #36]
	bl	izamax_
	ldr	r1, [r5, #4]
	sub	r3, r10, #1
	add	r0, r3, r0
	mla	r3, r6, r1, r0
	ldr	r2, [sp, #24]
	str	r3, [sp, #36]
	add	r2, r2, r1, lsl #2
	str	r0, [r2, #-4]
	ldr	r2, [r4, r3, lsl #3]
	add	r3, r4, r3, lsl #3
	cmp	r2, #0
	beq	.L34
.L10:
	cmp	r0, r1
	beq	.L12
	add	r3, r0, r6
	add	r1, r1, r6
	add	r1, r4, r1, lsl #3
	mov	r2, r9
	mov	r0, r8
	add	r3, r4, r3, lsl #3
	str	r9, [sp]
	bl	zswap_
	ldr	r1, [r5, #4]
.L12:
	ldr	r0, [r7]
	cmp	r0, r1
	ble	.L13
	mla	r1, r6, r1, r1
	add	r0, r4, r1, lsl #3
	bl	z_abs
	ldr	r3, [r5]
	cmp	r0, r3
	blt	.L14
	ldr	r1, [r5, #4]
	ldr	ip, [r7]
	mla	r2, r6, r1, r1
	add	r10, sp, #44
	sub	ip, ip, r1
	add	r2, r4, r2, lsl #3
	ldr	r1, .L35+20
	mov	r0, r10
	str	ip, [sp, #36]
	bl	z_div
	ldr	r2, [r5, #4]
	mov	r1, r10
	add	r3, r2, #1
	mla	r2, r6, r2, r3
	add	r0, sp, #36
	mov	r3, fp
	add	r2, r4, r2, lsl #3
	bl	zscal_
	ldr	r0, [r7]
	b	.L13
.L33:
	mvn	r0, #0
	mov	ip, #0
	mul	r3, r6, r1
	add	lr, r1, #1
	add	r2, r3, r6
	add	r3, lr, r3
	add	lr, lr, r2
	add	r2, r1, r2
	add	lr, r4, lr, lsl #3
	add	r2, r4, r2, lsl #3
	str	r9, [sp, #16]
	str	r9, [sp, #8]
	str	fp, [sp]
	str	lr, [sp, #12]
	str	r2, [sp, #4]
	ldr	r2, [r8]
	ldr	lr, [r7]
	str	r0, [sp, #44]
	sub	lr, lr, r1
	sub	r1, r2, r1
	str	r1, [sp, #40]
	add	r3, r4, r3, lsl #3
	add	r1, sp, #40
	add	r2, sp, #44
	add	r0, sp, #36
	str	lr, [sp, #36]
	str	ip, [sp, #48]
	bl	zgeru_
	ldr	r1, [r5, #4]
	b	.L18
.L29:
	mvn	r2, #0
	mov	r3, #1
	str	r2, [r10]
	b	.L20
.L14:
	mov	r3, #1
	ldr	r0, [r7]
	ldr	r2, [r5, #4]
	str	r3, [r5, #8]
	sub	r3, r0, r2
	cmp	r3, #0
	str	r3, [sp, #36]
	ble	.L13
	mov	ip, #1
	add	r10, sp, #44
	b	.L16
.L15:
	ldr	r2, [r5, #4]
.L16:
	mul	r3, r2, r6
	add	ip, ip, r2
	add	ip, ip, r3
	add	r2, r3, r2
	add	r1, r4, ip, lsl #3
	add	r2, r4, r2, lsl #3
	mov	r0, r10
	str	ip, [sp, #40]
	bl	z_div
	ldr	ip, [r5, #8]
	ldr	r2, [sp, #36]
	ldr	r3, [sp, #40]
	add	ip, ip, #1
	ldr	r1, [sp, #44]
	cmp	ip, r2
	ldr	r2, [sp, #48]
	str	r1, [r4, r3, lsl #3]
	add	r3, r4, r3, lsl #3
	str	ip, [r5, #8]
	str	r2, [r3, #4]
	ble	.L15
	b	.L27
.L31:
	mvn	r2, #3
	mov	r3, #4
	str	r2, [r10]
	b	.L20
.L30:
	bl	__stack_chk_fail
.L32:
	rsb	r3, r3, #0
	b	.L20
.L36:
	.align	2
.L35:
	.word	.LC1
	.word	.LC0
	.word	SAFEMINIMUM
	.word	.LANCHOR0
	.word	c__1
	.word	c_b57
	.size	zgetf2_, .-zgetf2_
	.comm	c_b57,8,4
	.comm	c__1,4,4
	.comm	SAFEMINIMUM,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	sfmin.4254, %object
	.size	sfmin.4254, 4
sfmin.4254:
	.space	4
	.type	j.4252, %object
	.size	j.4252, 4
j.4252:
	.space	4
	.type	i__.4251, %object
	.size	i__.4251, 4
i__.4251:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
