	.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	%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
	movq	%r8, %r15
	movl	%esi, %r12d
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_get_ssl_ctx
	movl	%eax, %edi
	callq	_SSL_new
	movq	%rax, %rbx
	movl	8(%r15), %r13d
	xorl	%eax, %eax
	callq	_ssl_getcert
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_SSL_use_certificate
	xorl	%eax, %eax
	callq	_ssl_getkey
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_SSL_use_PrivateKey
	movl	(%r15), %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	%r12d, %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
	movq	_REGRESS_OPENSSL_SERVER@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_bufferevent_setcb
	movq	_REGRESS_OPENSSL_SLEEP@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	$1, -48(%rbp)
	movl	(%r15), %edi
	movq	_EV_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_acceptcb_deferred@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %r9
	movl	$-1, %esi
	movq	%rbx, %r8
	callq	_event_base_once
	movq	_EV_READ@GOTPCREL(%rip), %rax
	movq	_EV_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bufferevent_disable
	jmp	LBB0_3
LBB0_2:
	movq	_EV_READ@GOTPCREL(%rip), %rax
	movq	_EV_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bufferevent_enable
LBB0_3:
	movq	%r14, %rdi
	callq	_evconnlistener_disable
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
	.comm	_REGRESS_OPENSSL_SERVER,8,3     ## @REGRESS_OPENSSL_SERVER
	.comm	_REGRESS_OPENSSL_SLEEP,4,2      ## @REGRESS_OPENSSL_SLEEP
	.comm	_EV_TIMEOUT,4,2                 ## @EV_TIMEOUT
	.comm	_acceptcb_deferred,4,2          ## @acceptcb_deferred
	.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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x19, x0
	bl	_get_ssl_ctx
	bl	_SSL_new
	mov	x22, x0
	ldr	w23, [x20, #8]
	bl	_ssl_getcert
	mov	x1, x0
	mov	x0, x22
	bl	_SSL_use_certificate
	bl	_ssl_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	x21, 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	x8, _REGRESS_OPENSSL_SERVER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REGRESS_OPENSSL_SERVER@GOTPAGEOFF]
Lloh17:
	ldr	x4, [x8]
	mov	x2, #0
	bl	_bufferevent_setcb
Lloh18:
	adrp	x8, _REGRESS_OPENSSL_SLEEP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REGRESS_OPENSSL_SLEEP@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	str	x8, [sp, #8]
	ldr	w0, [x20]
Lloh21:
	adrp	x8, _EV_TIMEOUT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EV_TIMEOUT@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x8, _acceptcb_deferred@GOTPAGE
Lloh25:
	ldr	x8, [x8, _acceptcb_deferred@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	add	x5, sp, #8
	mov	w1, #-1
	mov	x4, x21
	bl	_event_base_once
Lloh27:
	adrp	x8, _EV_READ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _EV_WRITE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _EV_WRITE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_bufferevent_disable
	b	LBB0_3
LBB0_2:
Lloh33:
	adrp	x8, _EV_READ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _EV_WRITE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _EV_WRITE@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_bufferevent_enable
LBB0_3:
	mov	x0, x19
	bl	_evconnlistener_disable
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.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
	.comm	_REGRESS_OPENSSL_SERVER,8,3     ; @REGRESS_OPENSSL_SERVER
	.comm	_REGRESS_OPENSSL_SLEEP,4,2      ; @REGRESS_OPENSSL_SLEEP
	.comm	_EV_TIMEOUT,4,2                 ; @EV_TIMEOUT
	.comm	_acceptcb_deferred,4,2          ; @acceptcb_deferred
	.comm	_EV_READ,4,2                    ; @EV_READ
	.comm	_EV_WRITE,4,2                   ; @EV_WRITE
	.no_dead_strip	_acceptcb
.subsections_via_symbols
