	.file	"extr_trailer.c_apply_command.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"running trailer command '%s' failed"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	""
	.text
	.p2align 4
	.type	apply_command, @function
apply_command:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	mov	rsi, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 80
	.cfi_def_cfa_offset 112
	movdqu	xmm0, XMMWORD PTR CHILD_PROCESS_INIT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR STRBUF_INIT[rip]
	mov	rbp, rsp
	mov	QWORD PTR 48[rsp], 0
	mov	rdi, rbp
	movaps	XMMWORD PTR 16[rsp], xmm0
	mov	QWORD PTR [rsp], rax
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR CHILD_PROCESS_INIT[rip+16]
	mov	QWORD PTR 56[rsp], 0
	mov	QWORD PTR 32[rsp], rax
	call	strbuf_addstr@PLT
	test	r12, r12
	je	.L2
	mov	esi, DWORD PTR TRAILER_ARG_STRING[rip]
	mov	rdx, r12
	mov	rdi, rbp
	call	strbuf_replace@PLT
.L2:
	mov	rax, QWORD PTR [rsp]
	lea	r12, 8[rsp]
	lea	rdi, 16[rsp]
	mov	edx, 1024
	mov	rsi, r12
	mov	QWORD PTR 48[rsp], rax
	lea	rax, 48[rsp]
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR local_repo_env[rip]
	mov	DWORD PTR 32[rsp], eax
	movabs	rax, 4294967297
	mov	QWORD PTR 24[rsp], rax
	call	capture_command@PLT
	test	rax, rax
	je	.L3
	mov	r13, QWORD PTR [rsp]
	lea	rdi, .LC0[rip]
	call	_@PLT
	mov	edi, eax
	mov	rsi, r13
	call	error@PLT
	mov	rdi, r12
	call	strbuf_release@PLT
	lea	rdi, .LC1[rip]
	call	xstrdup@PLT
	mov	r12, rax
.L4:
	mov	rdi, rbp
	call	strbuf_release@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, r12
	call	strbuf_trim@PLT
	mov	rdi, r12
	xor	esi, esi
	call	strbuf_detach@PLT
	mov	r12, rax
	jmp	.L4
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	apply_command, .-apply_command
	.comm	local_repo_env,4,4
	.comm	TRAILER_ARG_STRING,4,4
	.comm	STRBUF_INIT,8,8
	.comm	CHILD_PROCESS_INIT,24,16
	.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_trailer.c_apply_command.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"running trailer command '%s' failed\000"
	.align	2
.LC1:
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	apply_command, %function
apply_command:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	ip, #0
	mov	r5, r1
	sub	sp, sp, #40
	ldr	r2, .L12
	ldr	r3, .L12+4
	add	r4, sp, #12
	ldr	lr, [r2]
	ldm	r3, {r0, r1, r2, r3}
	stm	r4, {r0, r1, r2, r3}
	ldr	r3, .L12+8
	mov	r1, r6
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	str	lr, [sp, #4]
	str	lr, [sp, #8]
	str	ip, [sp, #28]
	str	ip, [sp, #32]
	bl	strbuf_addstr
	cmp	r5, #0
	beq	.L2
	ldr	r3, .L12+12
	mov	r2, r5
	ldr	r1, [r3]
	add	r0, sp, #4
	bl	strbuf_replace
.L2:
	mov	r3, #1
	ldr	r1, .L12+16
	ldr	r2, [sp, #4]
	ldr	r1, [r1]
	mov	r0, r4
	str	r1, [sp, #24]
	str	r3, [sp, #16]
	str	r3, [sp, #20]
	str	r2, [sp, #28]
	add	r3, sp, #28
	mov	r2, #1024
	add	r1, sp, #8
	str	r3, [sp, #12]
	bl	capture_command
	subs	r4, r0, #0
	beq	.L3
	ldr	r0, .L12+20
	bl	_
	ldr	r1, [sp, #4]
	bl	error
	add	r0, sp, #8
	bl	strbuf_release
	ldr	r0, .L12+24
	bl	xstrdup
	mov	r4, r0
.L4:
	add	r0, sp, #4
	bl	strbuf_release
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	add	r0, sp, #8
	bl	strbuf_trim
	mov	r1, r4
	add	r0, sp, #8
	bl	strbuf_detach
	mov	r4, r0
	b	.L4
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	STRBUF_INIT
	.word	CHILD_PROCESS_INIT
	.word	.LC2
	.word	TRAILER_ARG_STRING
	.word	local_repo_env
	.word	.LC0
	.word	.LC1
	.size	apply_command, .-apply_command
	.comm	local_repo_env,4,4
	.comm	TRAILER_ARG_STRING,4,4
	.comm	STRBUF_INIT,4,4
	.comm	CHILD_PROCESS_INIT,16,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
