	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acceptcb
_acceptcb:                              ## @acceptcb
	.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	%r8, %r12
	movl	%esi, %r15d
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_get_ssl_ctx
	movl	%eax, %edi
	callq	_SSL_new
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_getcert
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_SSL_use_certificate
	xorl	%eax, %eax
	callq	_getkey
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_SSL_use_PrivateKey
	movl	(%r12), %edi
	movq	_BUFFEREVENT_SSL_ACCEPTING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_BEV_OPT_CLOSE_ON_FREE@GOTPCREL(%rip), %rax
	movq	_BEV_OPT_DEFER_CALLBACKS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_bufferevent_openssl_socket_new
	movq	%rax, %rbx
	movq	_respond_to_number@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_eventcb@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %r8
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_bufferevent_setcb
	movq	_EV_READ@GOTPCREL(%rip), %rax
	movq	_EV_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bufferevent_enable
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_evconnlistener_disable         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFEREVENT_SSL_ACCEPTING,4,2  ## @BUFFEREVENT_SSL_ACCEPTING
	.comm	_BEV_OPT_CLOSE_ON_FREE,4,2      ## @BEV_OPT_CLOSE_ON_FREE
	.comm	_BEV_OPT_DEFER_CALLBACKS,4,2    ## @BEV_OPT_DEFER_CALLBACKS
	.comm	_respond_to_number,4,2          ## @respond_to_number
	.comm	_eventcb,4,2                    ## @eventcb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"server"

	.comm	_EV_READ,4,2                    ## @EV_READ
	.comm	_EV_WRITE,4,2                   ## @EV_WRITE
	.no_dead_strip	_acceptcb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acceptcb
_acceptcb:                              ; @acceptcb
	.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, x4
	mov	x21, x1
	mov	x19, x0
	bl	_get_ssl_ctx
	bl	_SSL_new
	mov	x22, x0
	bl	_getcert
	mov	x1, x0
	mov	x0, x22
	bl	_SSL_use_certificate
	bl	_getkey
	mov	x1, x0
	mov	x0, x22
	bl	_SSL_use_PrivateKey
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _BUFFEREVENT_SSL_ACCEPTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFFEREVENT_SSL_ACCEPTING@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BEV_OPT_CLOSE_ON_FREE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BEV_OPT_CLOSE_ON_FREE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _BEV_OPT_DEFER_CALLBACKS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BEV_OPT_DEFER_CALLBACKS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x1, x21
	mov	x2, x22
	bl	_bufferevent_openssl_socket_new
	mov	x20, x0
Lloh9:
	adrp	x8, _respond_to_number@GOTPAGE
Lloh10:
	ldr	x8, [x8, _respond_to_number@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _eventcb@GOTPAGE
Lloh13:
	ldr	x8, [x8, _eventcb@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x4, l_.str@PAGE
Lloh16:
	add	x4, x4, l_.str@PAGEOFF
	mov	x2, #0
	bl	_bufferevent_setcb
Lloh17:
	adrp	x8, _EV_READ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _EV_WRITE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _EV_WRITE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_bufferevent_enable
	mov	x0, x19
	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
	b	_evconnlistener_disable
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFEREVENT_SSL_ACCEPTING,4,2  ; @BUFFEREVENT_SSL_ACCEPTING
	.comm	_BEV_OPT_CLOSE_ON_FREE,4,2      ; @BEV_OPT_CLOSE_ON_FREE
	.comm	_BEV_OPT_DEFER_CALLBACKS,4,2    ; @BEV_OPT_DEFER_CALLBACKS
	.comm	_respond_to_number,4,2          ; @respond_to_number
	.comm	_eventcb,4,2                    ; @eventcb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"server"

	.comm	_EV_READ,4,2                    ; @EV_READ
	.comm	_EV_WRITE,4,2                   ; @EV_WRITE
	.no_dead_strip	_acceptcb
.subsections_via_symbols
