	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_openssl_set_fd
_be_openssl_set_fd:                     ## @be_openssl_set_fd
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %rbx
	movl	%esi, (%rdi)
	movl	$-1, %r14d
	cmpl	$128, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_5
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_9
## %bb.3:
	movl	4(%rbx), %edi
	callq	_SSL_set_accept_state
	jmp	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_set_open_callbacks
	testl	%eax, %eax
	jns	LBB0_8
	jmp	LBB0_9
LBB0_5:
	movl	4(%rbx), %edi
	callq	_SSL_set_connect_state
LBB0_4:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_set_handshake_callbacks
	testl	%eax, %eax
	js	LBB0_9
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_be_openssl_set_fd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_openssl_set_fd
_be_openssl_set_fd:                     ; @be_openssl_set_fd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
	str	w1, [x0]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_5
; %bb.3:
	ldr	w0, [x20, #4]
	bl	_SSL_set_accept_state
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_set_open_callbacks
	tbz	w0, #31, LBB0_8
LBB0_5:
	mov	w0, #-1
	b	LBB0_9
LBB0_6:
	ldr	w0, [x20, #4]
	bl	_SSL_set_connect_state
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_set_handshake_callbacks
	tbnz	w0, #31, LBB0_5
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_be_openssl_set_fd
.subsections_via_symbols
