	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_my_new                         ## -- Begin function my_new
	.p2align	4, 0x90
_my_new:                                ## @my_new
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movl	$4, %edi
	callq	_malloc
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_ws_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.3:
	movslq	%r12d, %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r15d, (%r12)
	movl	%r14d, 4(%r12)
	movq	%rbx, 8(%r12)
	movq	_send_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_on_http_request@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_on_upgrade@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_on_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r12, (%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_free
	xorl	%r12d, %r12d
LBB0_4:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_send_data,4,2                  ## @send_data
	.comm	_on_http_request,4,2            ## @on_http_request
	.comm	_on_upgrade,4,2                 ## @on_upgrade
	.comm	_on_frame,4,2                   ## @on_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_my_new                         ; -- Begin function my_new
	.p2align	2
_my_new:                                ; @my_new
	.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, x1
	mov	x22, x0
	mov	w0, #4
	bl	_malloc
	mov	x21, x0
	bl	_ws_new
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	cbz	w21, LBB0_3
; %bb.2:
	sxtw	x21, w21
	mov	x0, x21
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	stp	w22, w20, [x21]
	str	x19, [x21, #8]
Lloh0:
	adrp	x8, _send_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _send_data@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _on_http_request@GOTPAGE
Lloh4:
	ldr	x9, [x9, _on_http_request@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh6:
	adrp	x8, _on_upgrade@GOTPAGE
Lloh7:
	ldr	x8, [x8, _on_upgrade@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _on_frame@GOTPAGE
Lloh10:
	ldr	x9, [x9, _on_frame@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	str	x21, [x19]
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_free
	mov	x21, #0
LBB0_4:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_send_data,4,2                  ; @send_data
	.comm	_on_http_request,4,2            ; @on_http_request
	.comm	_on_upgrade,4,2                 ; @on_upgrade
	.comm	_on_frame,4,2                   ; @on_frame
.subsections_via_symbols
