	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_set_bio                    ## -- Begin function SSL_set_bio
	.p2align	4, 0x90
_SSL_set_bio:                           ## @SSL_set_bio
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_SSL_get_rbio
	cmpq	%rbx, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_SSL_get_wbio
	cmpq	%r14, %rax
	je	LBB0_11
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:
	cmpq	%r14, %rbx
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_BIO_up_ref
LBB0_5:
	movq	%r15, %rdi
	callq	_SSL_get_rbio
	cmpq	%rbx, %rax
	je	LBB0_9
## %bb.6:
	movq	%r15, %rdi
	callq	_SSL_get_wbio
	cmpq	%r14, %rax
	je	LBB0_7
LBB0_8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_SSL_set0_rbio
LBB0_9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SSL_set0_wbio                  ## TAILCALL
LBB0_7:
	movq	%r15, %rdi
	callq	_SSL_get_rbio
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_SSL_get_wbio
	cmpq	%rax, %r12
	je	LBB0_8
## %bb.10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SSL_set0_rbio                  ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_set_bio                    ; -- Begin function SSL_set_bio
	.p2align	2
_SSL_set_bio:                           ; @SSL_set_bio
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_SSL_get_rbio
	cmp	x0, x21
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_SSL_get_wbio
	cmp	x0, x19
	b.eq	LBB0_11
LBB0_2:
	cbz	x21, LBB0_5
; %bb.3:
	cmp	x21, x19
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_BIO_up_ref
LBB0_5:
	mov	x0, x20
	bl	_SSL_get_rbio
	cmp	x0, x21
	b.eq	LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_SSL_get_wbio
	cmp	x0, x19
	b.eq	LBB0_9
LBB0_7:
	mov	x0, x20
	mov	x1, x21
	bl	_SSL_set0_rbio
LBB0_8:
	mov	x0, x20
	mov	x1, 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	_SSL_set0_wbio
LBB0_9:
	mov	x0, x20
	bl	_SSL_get_rbio
	mov	x22, x0
	mov	x0, x20
	bl	_SSL_get_wbio
	cmp	x22, x0
	b.eq	LBB0_7
; %bb.10:
	mov	x0, x20
	mov	x1, x21
	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	_SSL_set0_rbio
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
