	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_dispatcher_test_done
_http_dispatcher_test_done:             ## @http_dispatcher_test_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_evhttp_request_get_response_code
	movq	_HTTP_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	callq	_evhttp_request_get_input_headers
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_evhttp_find_header
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_evhttp_request_get_input_buffer
	movl	%eax, %edi
	callq	_evbuffer_get_length
	cmpq	$15, %rax
	jne	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_evhttp_request_get_input_buffer
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_evbuffer_datacmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:
	movq	_test_ok@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_event_base_loopexit            ## TAILCALL
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_2
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_evhttp_request_get_input_buffer
	movl	%eax, %edi
	callq	_evbuffer_get_length
	leaq	L_.str.4(%rip), %rsi
	movl	$15, %ecx
	movl	%r14d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_2:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DISPATCHER_TEST"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"FAILED\n"

	.comm	_HTTP_OK,8,3                    ## @HTTP_OK
L_.str.2:                               ## @.str.2
	.asciz	"Content-Type"

L_.str.3:                               ## @.str.3
	.asciz	"FAILED (content type)\n"

L_.str.4:                               ## @.str.4
	.asciz	"FAILED (length %lu vs %lu)\n"

L_.str.5:                               ## @.str.5
	.asciz	"FAILED (data)\n"

	.comm	_test_ok,4,2                    ## @test_ok
	.no_dead_strip	_http_dispatcher_test_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_dispatcher_test_done
_http_dispatcher_test_done:             ; @http_dispatcher_test_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_evhttp_request_get_response_code
Lloh0:
	adrp	x8, _HTTP_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HTTP_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_evhttp_request_get_input_headers
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_evhttp_find_header
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_evhttp_request_get_input_buffer
	bl	_evbuffer_get_length
	cmp	x0, #15
	b.ne	LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_evhttp_request_get_input_buffer
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_evbuffer_datacmp
	cbnz	x0, LBB0_9
; %bb.5:
Lloh7:
	adrp	x8, _test_ok@GOTPAGE
Lloh8:
	ldr	x8, [x8, _test_ok@GOTPAGEOFF]
	mov	w9, #1
Lloh9:
	str	w9, [x8]
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_event_base_loopexit
LBB0_6:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_7:
Lloh15:
	adrp	x8, _stderr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
	mov	x0, x20
	bl	_evhttp_request_get_input_buffer
	bl	_evbuffer_get_length
	mov	w8, #15
	stp	x0, x8, [sp]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	b	LBB0_10
LBB0_9:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_10:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DISPATCHER_TEST"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"FAILED\n"

	.comm	_HTTP_OK,8,3                    ; @HTTP_OK
l_.str.2:                               ; @.str.2
	.asciz	"Content-Type"

l_.str.3:                               ; @.str.3
	.asciz	"FAILED (content type)\n"

l_.str.4:                               ; @.str.4
	.asciz	"FAILED (length %lu vs %lu)\n"

l_.str.5:                               ; @.str.5
	.asciz	"FAILED (data)\n"

	.comm	_test_ok,4,2                    ; @test_ok
	.no_dead_strip	_http_dispatcher_test_done
.subsections_via_symbols
