	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function onopen
_onopen:                                ## @onopen
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$12, %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, %r12
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_pack_uint32
	movslq	%eax, %rbx
	addq	%r12, %rbx
	movq	_WS_OPCODE_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pack_uint32
	movslq	%eax, %rdi
	addq	%rbx, %rdi
	movq	_INET6_ADDRSTRLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_pack_uint32
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$12, %edx
	callq	_ws_write_fifo
	movq	8(%r15), %rsi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_ws_write_fifo
	movq	%r12, %rdi
	callq	_free
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WS_OPCODE_TEXT,4,2             ## @WS_OPCODE_TEXT
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.no_dead_strip	_onopen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function onopen
_onopen:                                ; @onopen
	.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	x19, x1
	mov	x20, x0
	mov	w0, #12
	mov	w1, #1
	bl	_calloc
	mov	x21, x0
	ldr	w1, [x19]
	bl	_pack_uint32
	add	x22, x21, w0, sxtw
Lloh0:
	adrp	x8, _WS_OPCODE_TEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WS_OPCODE_TEXT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_pack_uint32
	add	x0, x22, w0, sxtw
Lloh3:
	adrp	x22, _INET6_ADDRSTRLEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _INET6_ADDRSTRLEN@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_pack_uint32
	mov	x0, x20
	mov	x1, x21
	mov	w2, #12
	bl	_ws_write_fifo
	ldr	x1, [x19, #8]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_ws_write_fifo
	mov	x0, x21
	bl	_free
	mov	w0, #0
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WS_OPCODE_TEXT,4,2             ; @WS_OPCODE_TEXT
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.no_dead_strip	_onopen
.subsections_via_symbols
