	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_openssl_disable
_be_openssl_disable:                    ## @be_openssl_disable
	.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	%esi, %r15d
	movq	%rdi, %r14
	callq	_upcast
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_BUFFEREVENT_SSL_OPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	_EV_READ@GOTPCREL(%rip), %r12
	testw	%r15w, (%r12)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_stop_reading
LBB0_3:
	movq	_EV_WRITE@GOTPCREL(%rip), %r13
	testw	%r15w, (%r13)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_stop_writing
LBB0_5:
	cmpq	$0, 8(%rbx)
	je	LBB0_10
## %bb.6:
	testw	%r15w, (%r12)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_BEV_DEL_GENERIC_READ_TIMEOUT
LBB0_8:
	testw	%r15w, (%r13)
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_BEV_DEL_GENERIC_WRITE_TIMEOUT
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFEREVENT_SSL_OPEN,8,3       ## @BUFFEREVENT_SSL_OPEN
	.comm	_EV_READ,2,1                    ## @EV_READ
	.comm	_EV_WRITE,2,1                   ## @EV_WRITE
	.no_dead_strip	_be_openssl_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_openssl_disable
_be_openssl_disable:                    ; @be_openssl_disable
	.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	x21, x1
	mov	x19, x0
	bl	_upcast
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BUFFEREVENT_SSL_OPEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BUFFEREVENT_SSL_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	mov	x20, x0
	and	w21, w21, #0xffff
Lloh3:
	adrp	x22, _EV_READ@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EV_READ@GOTPAGEOFF]
	ldrh	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_stop_reading
LBB0_3:
Lloh5:
	adrp	x23, _EV_WRITE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EV_WRITE@GOTPAGEOFF]
	ldrh	w8, [x23]
	tst	w8, w21
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_stop_writing
LBB0_5:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
; %bb.6:
	ldrh	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_BEV_DEL_GENERIC_READ_TIMEOUT
LBB0_8:
	ldrh	w8, [x23]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_BEV_DEL_GENERIC_WRITE_TIMEOUT
LBB0_10:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFEREVENT_SSL_OPEN,8,3       ; @BUFFEREVENT_SSL_OPEN
	.comm	_EV_READ,2,1                    ; @EV_READ
	.comm	_EV_WRITE,2,1                   ; @EV_WRITE
	.no_dead_strip	_be_openssl_disable
.subsections_via_symbols
