	.file	"extr_http.c_evhttp_send_reply_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Content-Length"
.LC1:
	.string	"chunked"
.LC2:
	.string	"Transfer-Encoding"
	.text
	.p2align 4
	.globl	evhttp_send_reply_start
	.type	evhttp_send_reply_start, @function
evhttp_send_reply_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	evhttp_response_code_@PLT
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC0[rip]
	call	evhttp_find_header@PLT
	test	rax, rax
	je	.L12
.L2:
	mov	DWORD PTR [rbx], 0
.L3:
	mov	edi, DWORD PTR 4[rbx]
	mov	rsi, rbx
	call	evhttp_make_header@PLT
	mov	edi, DWORD PTR 4[rbx]
	xor	edx, edx
	xor	esi, esi
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	evhttp_write_buffer@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rbx
	call	REQ_VERSION_ATLEAST@PLT
	test	rax, rax
	je	.L2
	mov	rdi, rbx
	call	evhttp_response_needs_body@PLT
	test	rax, rax
	je	.L2
	mov	edi, DWORD PTR 8[rbx]
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	call	evhttp_add_header@PLT
	mov	DWORD PTR [rbx], 1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	evhttp_send_reply_start, .-evhttp_send_reply_start
	.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_http.c_evhttp_send_reply_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Content-Length\000"
	.align	2
.LC1:
	.ascii	"chunked\000"
	.align	2
.LC2:
	.ascii	"Transfer-Encoding\000"
	.text
	.align	2
	.global	evhttp_send_reply_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	evhttp_send_reply_start, %function
evhttp_send_reply_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	evhttp_response_code_
	ldr	r0, [r4, #8]
	ldr	r1, .L13
	bl	evhttp_find_header
	cmp	r0, #0
	beq	.L12
.L2:
	mov	r3, #0
	str	r3, [r4]
.L3:
	mov	r1, r4
	ldr	r0, [r4, #4]
	bl	evhttp_make_header
	mov	r2, #0
	ldr	r0, [r4, #4]
	mov	r1, r2
	pop	{r4, lr}
	b	evhttp_write_buffer
.L12:
	mov	r2, #1
	mov	r0, r4
	mov	r1, r2
	bl	REQ_VERSION_ATLEAST
	cmp	r0, #0
	beq	.L2
	mov	r0, r4
	bl	evhttp_response_needs_body
	cmp	r0, #0
	beq	.L2
	ldr	r2, .L13+4
	ldr	r1, .L13+8
	ldr	r0, [r4, #8]
	bl	evhttp_add_header
	mov	r3, #1
	str	r3, [r4]
	b	.L3
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	evhttp_send_reply_start, .-evhttp_send_reply_start
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
