	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_listener
_add_listener:                          ## @add_listener
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r13
	movl	%edi, %r14d
	movl	$32, %edi
	callq	_h2o_mem_alloc
	movq	%rax, %rbx
	leaq	28(%rax), %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movl	%r14d, (%rbx)
	movl	%r12d, 24(%rbx)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	$0, 16(%rbx)
	jmp	LBB0_3
LBB0_2:
	movl	$8, %edi
	callq	_h2o_mem_alloc
	movq	%rax, 16(%rbx)
	movq	$0, (%rax)
LBB0_3:
	leaq	12(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_conf@GOTPCREL(%rip), %r14
	movq	8(%r14), %rdi
	movl	(%r14), %eax
	leal	8(,%rax,8), %esi
	callq	_h2o_mem_realloc
	movq	%rax, 8(%r14)
	movslq	(%r14), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r14)
	movq	%rbx, (%rax,%rcx,8)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,16,3                      ## @conf
	.no_dead_strip	_add_listener
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_listener
_add_listener:                          ; @add_listener
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	mov	w0, #32
	bl	_h2o_mem_alloc
	mov	x19, x0
	add	x0, x0, #28
	mov	x1, x23
	mov	x2, x22
	bl	_memcpy
	str	w24, [x19]
	str	w22, [x19, #24]
	cbz	w21, LBB0_2
; %bb.1:
	str	xzr, [x19, #16]
	b	LBB0_3
LBB0_2:
	mov	w0, #8
	bl	_h2o_mem_alloc
	str	x0, [x19, #16]
	str	xzr, [x0]
LBB0_3:
	add	x0, x19, #12
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	w20, [x19, #4]
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh0:
	adrp	x20, _conf@GOTPAGE
Lloh1:
	ldr	x20, [x20, _conf@GOTPAGEOFF]
	ldr	x0, [x20, #8]
	ldr	w8, [x20]
	lsl	w8, w8, #3
	add	w1, w8, #8
	bl	_h2o_mem_realloc
	str	x0, [x20, #8]
	ldrsw	x8, [x20]
	add	w9, w8, #1
	str	w9, [x20]
	str	x19, [x0, x8, lsl #3]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,16,3                      ; @conf
	.no_dead_strip	_add_listener
.subsections_via_symbols
