	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_request_empty_done
_http_request_empty_done:               ## @http_request_empty_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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_evhttp_request_get_response_code
	movq	_HTTP_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_evhttp_request_get_input_headers
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_evhttp_find_header
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	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_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_evhttp_request_get_input_headers
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edi
	callq	_evhttp_find_header
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_evhttp_request_get_input_buffer
	movl	%eax, %edi
	callq	_evbuffer_get_length
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_test_ok@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	%r14, %rdi
	callq	_EVUTIL_ASSERT
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_event_base_loopexit            ## TAILCALL
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_HTTP_OK,8,3                    ## @HTTP_OK
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FAILED\n"

L_.str.1:                               ## @.str.1
	.asciz	"Date"

L_.str.2:                               ## @.str.2
	.asciz	"Content-Length"

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

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_request_empty_done
_http_request_empty_done:               ; @http_request_empty_done
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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.1:
	mov	x0, x20
	bl	_evhttp_request_get_input_headers
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_evhttp_find_header
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_evhttp_request_get_input_headers
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_evhttp_find_header
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_evhttp_request_get_input_headers
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_evhttp_find_header
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_evhttp_request_get_input_buffer
	bl	_evbuffer_get_length
	cbnz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _test_ok@GOTPAGE
Lloh12:
	ldr	x8, [x8, _test_ok@GOTPAGEOFF]
	mov	w9, #1
Lloh13:
	str	w9, [x8]
	mov	x0, x19
	bl	_EVUTIL_ASSERT
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_event_base_loopexit
LBB0_6:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_HTTP_OK,8,3                    ; @HTTP_OK
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FAILED\n"

l_.str.1:                               ; @.str.1
	.asciz	"Date"

l_.str.2:                               ; @.str.2
	.asciz	"Content-Length"

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

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