	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_new_ssl                    ## -- Begin function BIO_new_ssl
	.p2align	4, 0x90
_BIO_new_ssl:                           ## @BIO_new_ssl
	.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	%esi, %r14d
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_BIO_f_ssl
	movl	%eax, %edi
	callq	_BIO_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_SSL_new
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movq	%rax, %rdi
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	callq	_SSL_set_connect_state
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_3:
	movq	%rbx, %rdi
	callq	_BIO_free
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	callq	_SSL_set_accept_state
LBB0_7:
	movq	_BIO_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_BIO_set_ssl
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_CLOSE,4,2                  ## @BIO_CLOSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_new_ssl                    ; -- Begin function BIO_new_ssl
	.p2align	2
_BIO_new_ssl:                           ; @BIO_new_ssl
	.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, x1
	mov	x21, x0
	bl	_BIO_f_ssl
	bl	_BIO_new
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.1:
	mov	x0, x21
	bl	_SSL_new
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	cbz	w20, LBB0_5
; %bb.3:
	bl	_SSL_set_connect_state
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_BIO_free
	mov	x19, #0
	b	LBB0_7
LBB0_5:
	bl	_SSL_set_accept_state
LBB0_6:
Lloh0:
	adrp	x8, _BIO_CLOSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIO_CLOSE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_BIO_set_ssl
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_CLOSE,4,2                  ; @BIO_CLOSE
.subsections_via_symbols
