	.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
_http_data_length_constraints_test:     ## @http_data_length_constraints_test
	.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
	pushq	%rax
	movl	$8216, %eax                     ## imm = 0x2018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -8244(%rbp)
	movq	_test_ok@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	(%rdi), %esi
	leaq	-8244(%rbp), %rdi
	xorl	%edx, %edx
	callq	_http_setup
	movq	_http@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	movl	(%r15), %edi
	movl	-8244(%rbp), %ecx
	leaq	L_.str(%rip), %rbx
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_evhttp_connection_base_new
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_tt_assert
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_evhttp_connection_set_local_address
	movq	_http_data_length_constraints_test_done@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_evhttp_request_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_tt_assert
	leaq	-8240(%rbp), %r12
	movq	%r12, %rdi
	movl	$97, %esi
	movl	$8192, %edx                     ## imm = 0x2000
	callq	_memset
	movb	$0, -49(%rbp)
	movq	(%r13), %rdi
	movl	$8191, %esi                     ## imm = 0x1FFF
	callq	_evhttp_set_max_headers_size
	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	%rbx, %rdi
	callq	_evhttp_request_get_output_headers
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	movq	%r12, %rdx
	callq	_evhttp_add_header
	movq	_EVHTTP_REQ_GET@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_evhttp_make_request
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.5(%rip), %rdi
	callq	_tt_abort_msg
LBB0_2:
	movl	(%r15), %edi
	callq	_event_base_dispatch
	movq	_http_data_length_constraints_test_done@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	(%r15), %esi
	callq	_evhttp_request_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	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
	movl	(%r12), %edx
	leaq	-8240(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_evhttp_make_request
	cmpl	$-1, %eax
	movq	%r13, %rbx
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.5(%rip), %rdi
	callq	_tt_abort_msg
LBB0_4:
	movl	(%r15), %edi
	callq	_event_base_dispatch
	movq	_http@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$8190, %esi                     ## imm = 0x1FFE
	callq	_evhttp_set_max_body_size
	movl	(%rbx), %edi
	movl	(%r15), %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_buffer
	leaq	L_.str.6(%rip), %rsi
	leaq	-8240(%rbp), %rdx
	movl	%eax, %edi
	callq	_evbuffer_add_printf
	movq	_EVHTTP_REQ_POST@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	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	(%r15), %edi
	callq	_event_base_dispatch
	movq	_http_large_entity_test_done@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %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.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
	leaq	-8240(%rbp), %rdx
	movl	%eax, %edi
	callq	_evbuffer_add_printf
	movl	(%r12), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_evhttp_make_request
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.5(%rip), %rdi
	callq	_tt_abort_msg
LBB0_8:
	movl	(%r15), %edi
	callq	_event_base_dispatch
	movq	_test_ok@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_evhttp_connection_free
LBB0_10:
	movq	_http@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_evhttp_free
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$8216, %rsp                     ## imm = 0x2018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_test_ok,4,2                    ## @test_ok
	.comm	_http,8,3                       ## @http
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"127.0.0.1"

	.comm	_http_data_length_constraints_test_done,4,2 ## @http_data_length_constraints_test_done
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	"/"

	.comm	_http_large_entity_test_done,4,2 ## @http_large_entity_test_done
L_.str.8:                               ## @.str.8
	.asciz	"Expect"

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

	.no_dead_strip	_http_data_length_constraints_test
.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
_http_data_length_constraints_test:     ; @http_data_length_constraints_test
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	w9, #8208
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #16
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	str	wzr, [sp, #4]
Lloh5:
	adrp	x22, _test_ok@GOTPAGE
Lloh6:
	ldr	x22, [x22, _test_ok@GOTPAGEOFF]
	str	wzr, [x22]
	ldr	w1, [x0]
	add	x0, sp, #4
	mov	w2, #0
	bl	_http_setup
Lloh7:
	adrp	x23, _http@GOTPAGE
Lloh8:
	ldr	x23, [x23, _http@GOTPAGEOFF]
	str	x0, [x23]
	ldr	w0, [x19]
	ldr	w3, [sp, #4]
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
	mov	x1, #0
	mov	x2, x21
	bl	_evhttp_connection_base_new
	mov	x20, x0
	bl	_tt_assert
	mov	x0, x20
	mov	x1, x21
	bl	_evhttp_connection_set_local_address
Lloh11:
	adrp	x24, _http_data_length_constraints_test_done@GOTPAGE
Lloh12:
	ldr	x24, [x24, _http_data_length_constraints_test_done@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	w1, [x19]
	bl	_evhttp_request_new
	mov	x21, x0
	bl	_tt_assert
	add	x25, sp, #8
	add	x0, sp, #8
	mov	w1, #97
	mov	w2, #8192
	bl	_memset
	mov	w8, #8191
	strb	wzr, [x25, x8]
	ldr	x0, [x23]
	mov	w1, #8191
	bl	_evhttp_set_max_headers_size
	mov	x0, x21
	bl	_evhttp_request_get_output_headers
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x21
	bl	_evhttp_request_get_output_headers
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	bl	_evhttp_add_header
Lloh19:
	adrp	x25, _EVHTTP_REQ_GET@GOTPAGE
Lloh20:
	ldr	x25, [x25, _EVHTTP_REQ_GET@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh21:
	adrp	x3, l_.str.4@PAGE
Lloh22:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_2:
	ldr	w0, [x19]
	bl	_event_base_dispatch
	ldr	w0, [x24]
	ldr	w1, [x19]
	bl	_evhttp_request_new
	mov	x21, x0
	bl	_tt_assert
	mov	x0, x21
	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, [x25]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh29:
	adrp	x0, l_.str.5@PAGE
Lloh30:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_4:
	ldr	w0, [x19]
	bl	_event_base_dispatch
	ldr	x0, [x23]
	mov	w1, #8190
	bl	_evhttp_set_max_body_size
	ldr	w0, [x24]
	ldr	w1, [x19]
	bl	_evhttp_request_new
	mov	x21, x0
	bl	_evhttp_request_get_output_headers
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh33:
	adrp	x2, l_.str.2@PAGE
Lloh34:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x21
	bl	_evhttp_request_get_output_buffer
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #8
	bl	_evbuffer_add_printf
Lloh37:
	adrp	x24, _EVHTTP_REQ_POST@GOTPAGE
Lloh38:
	ldr	x24, [x24, _EVHTTP_REQ_POST@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh39:
	adrp	x3, l_.str.7@PAGE
Lloh40:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh41:
	adrp	x0, l_.str.5@PAGE
Lloh42:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_6:
	ldr	w0, [x19]
	bl	_event_base_dispatch
Lloh43:
	adrp	x8, _http_large_entity_test_done@GOTPAGE
Lloh44:
	ldr	x8, [x8, _http_large_entity_test_done@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_evhttp_request_new
	mov	x21, x0
	bl	_evhttp_request_get_output_headers
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh48:
	adrp	x2, l_.str.2@PAGE
Lloh49:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x21
	bl	_evhttp_request_get_output_headers
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
Lloh52:
	adrp	x2, l_.str.9@PAGE
Lloh53:
	add	x2, x2, l_.str.9@PAGEOFF
	bl	_evhttp_add_header
	mov	x0, x21
	bl	_evhttp_request_get_output_buffer
Lloh54:
	adrp	x1, l_.str.6@PAGE
Lloh55:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #8
	bl	_evbuffer_add_printf
	ldr	w2, [x24]
Lloh56:
	adrp	x3, l_.str.7@PAGE
Lloh57:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_evhttp_make_request
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
Lloh58:
	adrp	x0, l_.str.5@PAGE
Lloh59:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tt_abort_msg
LBB0_8:
	ldr	w0, [x19]
	bl	_event_base_dispatch
	mov	w8, #1
	str	w8, [x22]
	cbz	x20, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_evhttp_connection_free
LBB0_10:
	ldr	x0, [x23]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_evhttp_free
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh60:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh61:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #16
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_test_ok,4,2                    ; @test_ok
	.comm	_http,8,3                       ; @http
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"127.0.0.1"

	.comm	_http_data_length_constraints_test_done,4,2 ; @http_data_length_constraints_test_done
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	"/"

	.comm	_http_large_entity_test_done,4,2 ; @http_large_entity_test_done
l_.str.8:                               ; @.str.8
	.asciz	"Expect"

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

	.no_dead_strip	_http_data_length_constraints_test
.subsections_via_symbols
