	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_data_length_constraints_test_impl
_http_data_length_constraints_test_impl: ## @http_data_length_constraints_test_impl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r13
	movl	$0, -48(%rbp)
	movl	(%rdi), %esi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	callq	_http_setup
	movq	%rax, %r12
	movq	_test_ok@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	$1, %edi
	callq	_tt_assert
	movl	(%r13), %edi
	movl	-48(%rbp), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	callq	_evhttp_connection_base_new
	movq	%rax, %r15
	movl	%r15d, %edi
	callq	_tt_assert
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_EVHTTP_CON_READ_ON_WRITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_evhttp_connection_set_flags
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_tt_assert
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_evhttp_connection_set_local_address
	movl	(%r13), %esi
	movq	_http_data_length_constraints_test_done@GOTPCREL(%rip), %rdi
	callq	_evhttp_request_new
	movq	%rax, %r14
	movl	%r14d, %edi
	callq	_tt_assert
	movl	$3145728, %edi                  ## imm = 0x300000
	callq	_malloc
	movq	%rax, %rbx
	movl	$3145728, %edx                  ## imm = 0x300000
	movq	%rax, %rdi
	movl	$97, %esi
	callq	_memset
	movb	$0, 3145727(%rbx)
	movl	$3145727, %esi                  ## imm = 0x2FFFFF
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%rbx, %r12
	callq	_evhttp_set_max_headers_size
	movq	%r14, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %edi
	callq	_evhttp_add_header
	movq	%r14, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_evhttp_add_header
	movq	_EVHTTP_REQ_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_evhttp_make_request
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.5(%rip), %rdi
	callq	_tt_abort_msg
LBB0_4:
	movl	(%r13), %edi
	callq	_event_base_dispatch
	movl	(%r13), %esi
	movq	_http_data_length_constraints_test_done@GOTPCREL(%rip), %rdi
	callq	_evhttp_request_new
	movq	%rax, %rbx
	movl	%ebx, %edi
	callq	_tt_assert
	movq	%rbx, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %edi
	callq	_evhttp_add_header
	movq	_EVHTTP_REQ_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	_evhttp_make_request
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.5(%rip), %rdi
	callq	_tt_abort_msg
LBB0_6:
	movl	(%r13), %edi
	callq	_event_base_dispatch
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.8:
	movq	_http_failed_request_done@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_7:
	movq	_http_large_entity_test_done@GOTPCREL(%rip), %rbx
LBB0_9:
	movl	$3145726, %esi                  ## imm = 0x2FFFFE
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_evhttp_set_max_body_size
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_evhttp_request_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %edi
	callq	_evhttp_add_header
	movq	%rbx, %rdi
	callq	_evhttp_request_get_output_buffer
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edi
	movq	%r12, %rdx
	callq	_evbuffer_add_printf
	movq	_EVHTTP_REQ_POST@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_evhttp_make_request
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rdi
	callq	_tt_abort_msg
LBB0_11:
	movl	(%r13), %edi
	callq	_event_base_dispatch
	movl	(%r13), %esi
	movq	_http_large_entity_test_done@GOTPCREL(%rip), %rdi
	callq	_evhttp_request_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %edi
	callq	_evhttp_add_header
	movq	%rbx, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.8(%rip), %rsi
	leaq	L_.str.9(%rip), %rdx
	movl	%eax, %edi
	callq	_evhttp_add_header
	movq	%rbx, %rdi
	callq	_evhttp_request_get_output_buffer
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edi
	movq	%r12, %rdx
	callq	_evbuffer_add_printf
	movl	(%r14), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_evhttp_make_request
	cmpl	$-1, %eax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rdi
	callq	_tt_abort_msg
LBB0_13:
	movl	(%r13), %edi
	callq	_event_base_dispatch
	movl	(%r13), %esi
	movq	_http_dispatcher_test_done@GOTPCREL(%rip), %rdi
	callq	_evhttp_request_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %edi
	callq	_evhttp_add_header
	movq	%rbx, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.8(%rip), %rsi
	leaq	L_.str.9(%rip), %rdx
	movl	%eax, %edi
	callq	_evhttp_add_header
	movb	$0, 1048576(%r12)
	movq	%rbx, %rdi
	callq	_evhttp_request_get_output_buffer
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edi
	movq	%r12, %rdx
	callq	_evbuffer_add_printf
	movl	(%r14), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_evhttp_make_request
	cmpl	$-1, %eax
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.5(%rip), %rdi
	callq	_tt_abort_msg
LBB0_15:
	movl	(%r13), %edi
	callq	_event_base_dispatch
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.17:
	movq	_http_failed_request_done@GOTPCREL(%rip), %rdi
	jmp	LBB0_18
LBB0_16:
	movq	_http_expectation_failed_done@GOTPCREL(%rip), %rdi
LBB0_18:
	movl	(%r13), %esi
	callq	_evhttp_request_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movl	%eax, %edi
	callq	_evhttp_add_header
	movq	%rbx, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.8(%rip), %rsi
	leaq	L_.str.10(%rip), %rdx
	movl	%eax, %edi
	callq	_evhttp_add_header
	movq	%rbx, %rdi
	callq	_evhttp_request_get_output_buffer
	leaq	L_.str.6(%rip), %rsi
	movl	%eax, %edi
	movq	%r12, %rdx
	callq	_evbuffer_add_printf
	movl	(%r14), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_evhttp_make_request
	cmpl	$-1, %eax
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.5(%rip), %rdi
	callq	_tt_abort_msg
LBB0_20:
	movl	(%r13), %edi
	callq	_event_base_dispatch
	movq	_test_ok@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	testq	%r15, %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_22
## %bb.21:
	movq	%r15, %rdi
	callq	_evhttp_connection_free
LBB0_22:
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.23:
	movq	%rbx, %rdi
	callq	_evhttp_free
LBB0_24:
	movq	%r12, %rdi
	callq	_free
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_test_ok,4,2                    ## @test_ok
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"127.0.0.1"

	.comm	_EVHTTP_CON_READ_ON_WRITE_ERROR,4,2 ## @EVHTTP_CON_READ_ON_WRITE_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Host"

L_.str.2:                               ## @.str.2
	.asciz	"somehost"

L_.str.3:                               ## @.str.3
	.asciz	"Longheader"

	.comm	_EVHTTP_REQ_GET,4,2             ## @EVHTTP_REQ_GET
L_.str.4:                               ## @.str.4
	.asciz	"/?arg=val"

L_.str.5:                               ## @.str.5
	.asciz	"Couldn't make request"

L_.str.6:                               ## @.str.6
	.asciz	"%s"

	.comm	_EVHTTP_REQ_POST,4,2            ## @EVHTTP_REQ_POST
L_.str.7:                               ## @.str.7
	.asciz	"/"

L_.str.8:                               ## @.str.8
	.asciz	"Expect"

L_.str.9:                               ## @.str.9
	.asciz	"100-continue"

L_.str.10:                              ## @.str.10
	.asciz	"101-continue"

	.no_dead_strip	_http_data_length_constraints_test_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_data_length_constraints_test_impl
_http_data_length_constraints_test_impl: ; @http_data_length_constraints_test_impl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	ldr	w1, [x0]
	add	x0, sp, #12
	mov	w2, #0
	bl	_http_setup
	mov	x19, x0
Lloh0:
	adrp	x25, _test_ok@GOTPAGE
Lloh1:
	ldr	x25, [x25, _test_ok@GOTPAGEOFF]
	str	wzr, [x25]
	mov	w0, #1
	bl	_tt_assert
	ldr	w0, [x20]
	ldr	w3, [sp, #12]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	bl	_evhttp_connection_base_new
	mov	x21, x0
	bl	_tt_assert
	cbz	w23, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _EVHTTP_CON_READ_ON_WRITE_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EVHTTP_CON_READ_ON_WRITE_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_evhttp_connection_set_flags
	cmp	w0, #0
	cset	w0, eq
	bl	_tt_assert
LBB0_2:
	mov	w26, #65534
	movk	w26, #47, lsl #16
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_evhttp_connection_set_local_address
	ldr	w1, [x20]
Lloh9:
	adrp	x0, _http_data_length_constraints_test_done@GOTPAGE
Lloh10:
	ldr	x0, [x0, _http_data_length_constraints_test_done@GOTPAGEOFF]
	bl	_evhttp_request_new
	mov	x24, x0
	bl	_tt_assert
	mov	w0, #3145728
	bl	_malloc
	mov	x22, x0
	mov	w1, #97
	mov	w2, #3145728
	bl	_memset
	mov	w8, #3145727
	strb	wzr, [x22, x8]
	orr	x1, x26, #0x1
	mov	x0, x19
	bl	_evhttp_set_max_headers_size
	mov	x0, x24
	bl	_evhttp_request_get_output_headers
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x24
	bl	_evhttp_request_get_output_headers
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x22
	bl	_evhttp_add_header
Lloh17:
	adrp	x26, _EVHTTP_REQ_GET@GOTPAGE
Lloh18:
	ldr	x26, [x26, _EVHTTP_REQ_GET@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh19:
	adrp	x3, l_.str.4@PAGE
Lloh20:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x1, x24
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_4:
	ldr	w0, [x20]
	bl	_event_base_dispatch
	ldr	w1, [x20]
Lloh23:
	adrp	x0, _http_data_length_constraints_test_done@GOTPAGE
Lloh24:
	ldr	x0, [x0, _http_data_length_constraints_test_done@GOTPAGEOFF]
	bl	_evhttp_request_new
	mov	x24, x0
	bl	_tt_assert
	mov	x0, x24
	bl	_evhttp_request_get_output_headers
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh27:
	adrp	x2, l_.str.2@PAGE
Lloh28:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_evhttp_add_header
	ldr	w2, [x26]
	mov	x0, x21
	mov	x1, x24
	mov	x3, x22
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh29:
	adrp	x0, l_.str.5@PAGE
Lloh30:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_6:
	ldr	w0, [x20]
	bl	_event_base_dispatch
Lloh31:
	adrp	x8, _http_large_entity_test_done@GOTPAGE
Lloh32:
	ldr	x8, [x8, _http_large_entity_test_done@GOTPAGEOFF]
Lloh33:
	adrp	x27, _http_failed_request_done@GOTPAGE
Lloh34:
	ldr	x27, [x27, _http_failed_request_done@GOTPAGEOFF]
	cmp	w23, #0
	csel	x24, x27, x8, eq
	mov	x0, x19
	mov	w1, #65534
	movk	w1, #47, lsl #16
	bl	_evhttp_set_max_body_size
	ldr	w1, [x20]
	mov	x0, x24
	bl	_evhttp_request_new
	mov	x24, x0
	bl	_evhttp_request_get_output_headers
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh37:
	adrp	x2, l_.str.2@PAGE
Lloh38:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x24
	bl	_evhttp_request_get_output_buffer
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x22
	bl	_evbuffer_add_printf
Lloh41:
	adrp	x26, _EVHTTP_REQ_POST@GOTPAGE
Lloh42:
	ldr	x26, [x26, _EVHTTP_REQ_POST@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh43:
	adrp	x3, l_.str.7@PAGE
Lloh44:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	x1, x24
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
Lloh45:
	adrp	x0, l_.str.5@PAGE
Lloh46:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_8:
	add	x28, x22, #256, lsl #12         ; =1048576
	ldr	w0, [x20]
	bl	_event_base_dispatch
	ldr	w1, [x20]
Lloh47:
	adrp	x0, _http_large_entity_test_done@GOTPAGE
Lloh48:
	ldr	x0, [x0, _http_large_entity_test_done@GOTPAGEOFF]
	bl	_evhttp_request_new
	mov	x24, x0
	bl	_evhttp_request_get_output_headers
Lloh49:
	adrp	x1, l_.str.1@PAGE
Lloh50:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh51:
	adrp	x2, l_.str.2@PAGE
Lloh52:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x24
	bl	_evhttp_request_get_output_headers
Lloh53:
	adrp	x1, l_.str.8@PAGE
Lloh54:
	add	x1, x1, l_.str.8@PAGEOFF
Lloh55:
	adrp	x2, l_.str.9@PAGE
Lloh56:
	add	x2, x2, l_.str.9@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x24
	bl	_evhttp_request_get_output_buffer
Lloh57:
	adrp	x1, l_.str.6@PAGE
Lloh58:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x22
	bl	_evbuffer_add_printf
	ldr	w2, [x26]
Lloh59:
	adrp	x3, l_.str.7@PAGE
Lloh60:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	x1, x24
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_10
; %bb.9:
Lloh61:
	adrp	x0, l_.str.5@PAGE
Lloh62:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_10:
	ldr	w0, [x20]
	bl	_event_base_dispatch
	ldr	w1, [x20]
Lloh63:
	adrp	x0, _http_dispatcher_test_done@GOTPAGE
Lloh64:
	ldr	x0, [x0, _http_dispatcher_test_done@GOTPAGEOFF]
	bl	_evhttp_request_new
	mov	x24, x0
	bl	_evhttp_request_get_output_headers
Lloh65:
	adrp	x1, l_.str.1@PAGE
Lloh66:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh67:
	adrp	x2, l_.str.2@PAGE
Lloh68:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x24
	bl	_evhttp_request_get_output_headers
Lloh69:
	adrp	x1, l_.str.8@PAGE
Lloh70:
	add	x1, x1, l_.str.8@PAGEOFF
Lloh71:
	adrp	x2, l_.str.9@PAGE
Lloh72:
	add	x2, x2, l_.str.9@PAGEOFF
	bl	_evhttp_add_header
	strb	wzr, [x28]
	mov	x0, x24
	bl	_evhttp_request_get_output_buffer
Lloh73:
	adrp	x1, l_.str.6@PAGE
Lloh74:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x22
	bl	_evbuffer_add_printf
	ldr	w2, [x26]
Lloh75:
	adrp	x3, l_.str.7@PAGE
Lloh76:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	x1, x24
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_12
; %bb.11:
Lloh77:
	adrp	x0, l_.str.5@PAGE
Lloh78:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_12:
	ldr	w0, [x20]
	bl	_event_base_dispatch
Lloh79:
	adrp	x8, _http_expectation_failed_done@GOTPAGE
Lloh80:
	ldr	x8, [x8, _http_expectation_failed_done@GOTPAGEOFF]
	cmp	w23, #0
	csel	x0, x27, x8, eq
	ldr	w1, [x20]
	bl	_evhttp_request_new
	mov	x23, x0
	bl	_evhttp_request_get_output_headers
Lloh81:
	adrp	x1, l_.str.1@PAGE
Lloh82:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh83:
	adrp	x2, l_.str.2@PAGE
Lloh84:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x23
	bl	_evhttp_request_get_output_headers
Lloh85:
	adrp	x1, l_.str.8@PAGE
Lloh86:
	add	x1, x1, l_.str.8@PAGEOFF
Lloh87:
	adrp	x2, l_.str.10@PAGE
Lloh88:
	add	x2, x2, l_.str.10@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x23
	bl	_evhttp_request_get_output_buffer
Lloh89:
	adrp	x1, l_.str.6@PAGE
Lloh90:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x22
	bl	_evbuffer_add_printf
	ldr	w2, [x26]
Lloh91:
	adrp	x3, l_.str.7@PAGE
Lloh92:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x21
	mov	x1, x23
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_14
; %bb.13:
Lloh93:
	adrp	x0, l_.str.5@PAGE
Lloh94:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_14:
	ldr	w0, [x20]
	bl	_event_base_dispatch
	mov	w8, #1
	str	w8, [x25]
	cbz	x21, LBB0_16
; %bb.15:
	mov	x0, x21
	bl	_evhttp_connection_free
LBB0_16:
	cbz	x19, LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_evhttp_free
LBB0_18:
	mov	x0, x22
	bl	_free
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpAdd	Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.comm	_test_ok,4,2                    ; @test_ok
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"127.0.0.1"

	.comm	_EVHTTP_CON_READ_ON_WRITE_ERROR,4,2 ; @EVHTTP_CON_READ_ON_WRITE_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Host"

l_.str.2:                               ; @.str.2
	.asciz	"somehost"

l_.str.3:                               ; @.str.3
	.asciz	"Longheader"

	.comm	_EVHTTP_REQ_GET,4,2             ; @EVHTTP_REQ_GET
l_.str.4:                               ; @.str.4
	.asciz	"/?arg=val"

l_.str.5:                               ; @.str.5
	.asciz	"Couldn't make request"

l_.str.6:                               ; @.str.6
	.asciz	"%s"

	.comm	_EVHTTP_REQ_POST,4,2            ; @EVHTTP_REQ_POST
l_.str.7:                               ; @.str.7
	.asciz	"/"

l_.str.8:                               ; @.str.8
	.asciz	"Expect"

l_.str.9:                               ; @.str.9
	.asciz	"100-continue"

l_.str.10:                              ; @.str.10
	.asciz	"101-continue"

	.no_dead_strip	_http_data_length_constraints_test_impl
.subsections_via_symbols
