	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_ssl_copy_session_id        ## -- Begin function BIO_ssl_copy_session_id
	.p2align	4, 0x90
_BIO_ssl_copy_session_id:               ## @BIO_ssl_copy_session_id
	.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
	movq	%rsi, %r14
	movq	_BIO_TYPE_SSL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_BIO_find_type
	movq	%rax, %rbx
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_BIO_find_type
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_BIO_get_data
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_BIO_get_data
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	callq	_SSL_copy_session_id
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_TYPE_SSL,4,2               ## @BIO_TYPE_SSL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_ssl_copy_session_id        ; -- Begin function BIO_ssl_copy_session_id
	.p2align	2
_BIO_ssl_copy_session_id:               ; @BIO_ssl_copy_session_id
	.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
Lloh0:
	adrp	x21, _BIO_TYPE_SSL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BIO_TYPE_SSL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_BIO_find_type
	mov	x19, x0
	ldr	w1, [x21]
	mov	x0, x20
	bl	_BIO_find_type
	cmp	x19, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	mov	x20, x0
	mov	x0, x19
	bl	_BIO_get_data
	mov	x19, x0
	mov	x0, x20
	bl	_BIO_get_data
	mov	x8, x0
	ldr	x0, [x19]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x1, [x8]
	cbz	x1, LBB0_1
; %bb.4:
	bl	_SSL_copy_session_id
	cmp	w0, #0
	cset	w0, ne
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_TYPE_SSL,4,2               ; @BIO_TYPE_SSL
.subsections_via_symbols
