	.file	"extr_archive_write_set_format_raw.c_archive_write_set_format_raw.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"archive_write_set_format_raw"
.LC1:
	.string	"Can't allocate raw data"
.LC2:
	.string	"raw"
.LC3:
	.string	"RAW"
	.text
	.p2align 4
	.globl	archive_write_set_format_raw
	.type	archive_write_set_format_raw, @function
archive_write_set_format_raw:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edx, DWORD PTR ARCHIVE_STATE_NEW[rip]
	mov	rbx, rdi
	lea	rcx, .LC0[rip]
	mov	esi, DWORD PTR ARCHIVE_WRITE_MAGIC[rip]
	call	archive_check_magic@PLT
	mov	rax, QWORD PTR 24[rbx]
	test	rax, rax
	je	.L2
	mov	rdi, rbx
	call	rax
.L2:
	mov	esi, 8
	mov	edi, 1
	call	calloc@PLT
	test	rax, rax
	je	.L10
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 64[rbx], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR archive_write_raw_header[rip]
	mov	QWORD PTR 56[rbx], 0
	mov	DWORD PTR 52[rbx], eax
	mov	eax, DWORD PTR archive_write_raw_data[rip]
	mov	QWORD PTR 40[rbx], 0
	mov	DWORD PTR 48[rbx], eax
	mov	rax, QWORD PTR archive_write_raw_free@GOTPCREL[rip]
	mov	QWORD PTR 32[rbx], 0
	mov	QWORD PTR 24[rbx], rax
	mov	eax, DWORD PTR ARCHIVE_FORMAT_RAW[rip]
	mov	DWORD PTR 16[rbx], eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR 8[rbx], rax
	mov	eax, DWORD PTR ARCHIVE_OK[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR ENOMEM[rip]
	lea	rdi, 8[rbx]
	lea	rdx, .LC1[rip]
	call	archive_set_error@PLT
	mov	eax, DWORD PTR ARCHIVE_FATAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	archive_write_set_format_raw, .-archive_write_set_format_raw
	.comm	archive_write_raw_header,4,4
	.comm	archive_write_raw_data,4,4
	.comm	ENOMEM,4,4
	.comm	ARCHIVE_WRITE_MAGIC,4,4
	.comm	ARCHIVE_STATE_NEW,4,4
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FORMAT_RAW,4,4
	.comm	ARCHIVE_FATAL,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_archive_write_set_format_raw.c_archive_write_set_format_raw.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"archive_write_set_format_raw\000"
	.align	2
.LC1:
	.ascii	"Can't allocate raw data\000"
	.align	2
.LC2:
	.ascii	"raw\000"
	.align	2
.LC3:
	.ascii	"RAW\000"
	.text
	.align	2
	.global	archive_write_set_format_raw
	.syntax unified
	.arm
	.fpu softvfp
	.type	archive_write_set_format_raw, %function
archive_write_set_format_raw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L11
	ldr	r2, .L11+4
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, .L11+8
	bl	archive_check_magic
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L2
	mov	r0, r4
	blx	r3
.L2:
	mov	r1, #4
	mov	r0, #1
	bl	calloc
	subs	r3, r0, #0
	beq	.L10
	mov	r2, #0
	ldr	ip, .L11+12
	ldr	r0, .L11+16
	ldr	r1, .L11+20
	ldr	lr, [ip]
	ldr	r1, [r1]
	ldr	ip, [r0]
	str	r3, [r4, #36]
	str	ip, [r4, #24]
	str	r1, [r4, #8]
	ldr	ip, .L11+24
	ldr	r1, .L11+28
	str	r2, [r3]
	ldr	r0, .L11+32
	ldr	r3, .L11+36
	ldr	r0, [r0]
	str	lr, [r4, #28]
	str	r2, [r4, #32]
	str	r2, [r4, #20]
	str	r2, [r4, #16]
	str	ip, [r4]
	str	r1, [r4, #12]
	str	r3, [r4, #4]
	pop	{r4, pc}
.L10:
	ldr	r3, .L11+40
	ldr	r2, .L11+44
	ldr	r1, [r3]
	add	r0, r4, #4
	bl	archive_set_error
	ldr	r3, .L11+48
	ldr	r0, [r3]
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	ARCHIVE_WRITE_MAGIC
	.word	ARCHIVE_STATE_NEW
	.word	.LC0
	.word	archive_write_raw_header
	.word	archive_write_raw_data
	.word	ARCHIVE_FORMAT_RAW
	.word	.LC2
	.word	archive_write_raw_free
	.word	ARCHIVE_OK
	.word	.LC3
	.word	ENOMEM
	.word	.LC1
	.word	ARCHIVE_FATAL
	.size	archive_write_set_format_raw, .-archive_write_set_format_raw
	.comm	archive_write_raw_header,4,4
	.comm	archive_write_raw_data,4,4
	.comm	ENOMEM,4,4
	.comm	ARCHIVE_WRITE_MAGIC,4,4
	.comm	ARCHIVE_STATE_NEW,4,4
	.comm	ARCHIVE_OK,4,4
	.comm	ARCHIVE_FORMAT_RAW,4,4
	.comm	ARCHIVE_FATAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
