	.file	"extr_remote.c_query_refspecs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"query_refspecs: need either src or dst"
	.text
	.p2align 4
	.globl	query_refspecs
	.type	query_refspecs, @function
query_refspecs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rax, rsi
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	add	rax, 8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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, 40
	.cfi_def_cfa_offset 96
	mov	r12, QWORD PTR [rsi]
	mov	QWORD PTR 16[rsp], rsi
	mov	QWORD PTR 8[rsp], rax
	mov	r13, r12
	test	r12, r12
	je	.L20
.L3:
	mov	eax, DWORD PTR [r15]
	test	eax, eax
	jle	.L4
	xor	ebp, ebp
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	test	rax, rax
	je	.L6
	cmp	QWORD PTR 24[rbx], 0
	jne	.L21
	mov	rsi, r8
	mov	rdi, r13
	call	strcmp@PLT
	test	eax, eax
	je	.L22
.L6:
	add	rbp, 1
	cmp	DWORD PTR [r15], ebp
	jle	.L4
.L9:
	mov	rbx, rbp
	sal	rbx, 5
	add	rbx, QWORD PTR 8[r15]
	mov	rax, QWORD PTR 8[rbx]
	mov	r8, QWORD PTR [rbx]
	mov	r14, rax
	test	r12, r12
	jne	.L5
	mov	r14, r8
	mov	r8, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, r8
	call	match_name_with_pattern@PLT
	test	rax, rax
	je	.L6
	mov	eax, DWORD PTR 16[rbx]
	mov	rdx, QWORD PTR 16[rsp]
	xor	r8d, r8d
	mov	DWORD PTR 16[rdx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r8d, -1
.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
.L20:
	.cfi_restore_state
	mov	r13, QWORD PTR 8[rsi]
	mov	QWORD PTR 8[rsp], rsi
	test	r13, r13
	jne	.L3
	lea	rdi, .LC0[rip]
	call	BUG@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, r14
	mov	DWORD PTR 28[rsp], eax
	call	xstrdup@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	rcx, QWORD PTR 16[rsp]
	mov	r8d, DWORD PTR 28[rsp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 16[rcx], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	query_refspecs, .-query_refspecs
	.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_remote.c_query_refspecs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"query_refspecs: need either src or dst\000"
	.text
	.align	2
	.global	query_refspecs
	.syntax unified
	.arm
	.fpu softvfp
	.type	query_refspecs, %function
query_refspecs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, [r1]
	sub	sp, sp, #12
	cmp	r7, #0
	mov	r6, r0
	str	r1, [sp]
	beq	.L20
	mov	r8, r7
	ldr	r3, [sp]
	add	r10, r3, #4
.L3:
	ldr	fp, [r6]
	cmp	fp, #0
	ble	.L4
	mov	r4, #0
	b	.L9
.L7:
	mov	r0, r8
	bl	strcmp
	subs	r3, r0, #0
	beq	.L21
.L6:
	add	r4, r4, #1
	cmp	fp, r4
	ble	.L4
.L9:
	ldr	r3, [r6, #4]
	cmp	r7, #0
	add	r5, r3, r4, lsl #4
	ldr	r1, [r3, r4, lsl #4]
	ldr	r3, [r5, #4]
	moveq	r9, r1
	movne	r9, r3
	moveq	r1, r3
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r5, #12]
	cmp	r3, #0
	beq	.L7
	mov	r0, r1
	mov	r2, r9
	mov	r3, r10
	mov	r1, r8
	bl	match_name_with_pattern
	cmp	r0, #0
	bne	.L17
	ldr	fp, [r6]
	add	r4, r4, #1
	cmp	fp, r4
	bgt	.L9
.L4:
	mvn	r3, #0
	mov	r0, r3
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
	ldr	r8, [r1, #4]
	mov	r10, r1
	cmp	r8, #0
	bne	.L3
	ldr	r0, .L22
	bl	BUG
	b	.L3
.L21:
	mov	r0, r9
	str	r3, [sp, #4]
	bl	xstrdup
	ldr	r2, [r5, #8]
	ldr	r3, [sp]
	str	r0, [r10]
	str	r2, [r3, #8]
	ldr	r3, [sp, #4]
	mov	r0, r3
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	mov	r3, #0
	mov	r0, r3
	ldr	r2, [r5, #8]
	ldr	r1, [sp]
	str	r2, [r1, #8]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC0
	.size	query_refspecs, .-query_refspecs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
