	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_on_http_request                ## -- Begin function on_http_request
	.p2align	4, 0x90
_on_http_request:                       ## @on_http_request
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %rax
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	_WS_ERROR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpl	$0, 24(%rbp)
	je	LBB0_4
## %bb.5:
	movq	_WS_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	$3, %esi
	callq	_create_root_response
	movq	%rax, %rbx
	movq	(%r14), %r15
	movq	%rax, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	*%r15
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_free
	movl	%r14d, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GET"

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

	.comm	_WS_ERROR,4,2                   ## @WS_ERROR
	.comm	_WS_SUCCESS,4,2                 ## @WS_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_on_http_request                ; -- Begin function on_http_request
	.p2align	2
_on_http_request:                       ; @on_http_request
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x7
	mov	x21, x2
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_5
LBB0_2:
Lloh4:
	adrp	x8, _WS_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WS_ERROR@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	cbz	w20, LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _WS_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WS_SUCCESS@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	w1, #3
	bl	_create_root_response
	mov	x20, x0
	ldr	x21, [x19]
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	blr	x21
	mov	x19, x0
	mov	x0, x20
	bl	_free
	mov	x0, x19
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GET"

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

	.comm	_WS_ERROR,4,2                   ; @WS_ERROR
	.comm	_WS_SUCCESS,4,2                 ; @WS_SUCCESS
.subsections_via_symbols
