	.file	"extr_sequencer.c_checkout_onto.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"checkout %s"
.LC1:
	.string	"start"
.LC2:
	.string	"%s: not a valid OID"
.LC3:
	.string	"could not detach HEAD"
.LC4:
	.string	"ORIG_HEAD"
	.text
	.p2align 4
	.type	checkout_onto, @function
checkout_onto:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	lea	rsi, .LC1[rip]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rdi, rbp
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbx, 4[rsp]
	call	reflog_message@PLT
	mov	rsi, rbx
	mov	rdi, r12
	mov	r14, rax
	call	get_oid@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, r15
	call	oid_to_hex@PLT
	mov	rcx, r14
	mov	rsi, rbp
	mov	rdi, r13
	mov	edx, eax
	call	run_git_checkout@PLT
	test	rax, rax
	jne	.L9
	mov	r9d, DWORD PTR UPDATE_REFS_MSG_ON_ERR[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdx, rbx
	lea	rsi, .LC4[rip]
	xor	edi, edi
	call	update_ref@PLT
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	apply_autostash@PLT
	mov	rdi, rbp
	call	sequencer_remove_state@PLT
	lea	rdi, .LC3[rip]
	call	_@PLT
	mov	edi, eax
	xor	eax, eax
	call	error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rdi, .LC2[rip]
	call	_@PLT
	mov	rsi, r12
	mov	edi, eax
	xor	eax, eax
	call	error@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	checkout_onto, .-checkout_onto
	.comm	UPDATE_REFS_MSG_ON_ERR,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_sequencer.c_checkout_onto.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"checkout %s\000"
	.align	2
.LC1:
	.ascii	"start\000"
	.align	2
.LC2:
	.ascii	"%s: not a valid OID\000"
	.align	2
.LC3:
	.ascii	"could not detach HEAD\000"
	.align	2
.LC4:
	.ascii	"ORIG_HEAD\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkout_onto, %function
checkout_onto:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, .L11
	sub	sp, sp, #16
	mov	r4, r1
	mov	r8, r0
	mov	r6, r3
	mov	r0, r1
	mov	r3, r2
	ldr	r1, .L11+4
	ldr	r2, .L11+8
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	ldr	r7, [sp, #40]
	bl	reflog_message
	add	r1, sp, #8
	mov	r5, r0
	mov	r0, r7
	bl	get_oid
	cmp	r0, #0
	bne	.L8
	mov	r0, r6
	bl	oid_to_hex
	mov	r3, r5
	mov	r2, r0
	mov	r1, r4
	mov	r0, r8
	bl	run_git_checkout
	subs	r3, r0, #0
	bne	.L9
	ldr	r2, .L11+12
	str	r3, [sp]
	ldr	r1, [r2]
	add	r2, sp, #8
	str	r1, [sp, #4]
	ldr	r1, .L11+16
	bl	update_ref
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r0, r4
	bl	apply_autostash
	mov	r0, r4
	bl	sequencer_remove_state
	ldr	r0, .L11+20
	bl	_
	bl	error
	b	.L1
.L8:
	ldr	r0, .L11+24
	bl	_
	mov	r1, r7
	bl	error
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC5
	.word	.LC1
	.word	.LC0
	.word	UPDATE_REFS_MSG_ON_ERR
	.word	.LC4
	.word	.LC3
	.word	.LC2
	.size	checkout_onto, .-checkout_onto
	.comm	UPDATE_REFS_MSG_ON_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
