	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_session_cb
_find_session_cb:                       ## @find_session_cb
	.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
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	_find_session_cb_cnt@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	xorl	%eax, %eax
	cmpl	$1, %ecx
	jg	LBB0_8
## %bb.1:
	movq	_serverpsk@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_8
## %bb.2:
	movq	%rsi, %r15
	movq	_srvid@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_strlen
	cmpq	%rbx, %rax
	jne	LBB0_5
## %bb.3:
	movl	(%r13), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movq	(%r12), %rdi
	callq	_SSL_SESSION_up_ref
	movq	(%r12), %rax
LBB0_7:
	movq	%rax, (%r14)
	movl	$1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_find_session_cb_cnt,4,2        ## @find_session_cb_cnt
	.comm	_serverpsk,8,3                  ## @serverpsk
	.comm	_srvid,4,2                      ## @srvid
	.no_dead_strip	_find_session_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_session_cb
_find_session_cb:                       ; @find_session_cb
	.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
Lloh0:
	adrp	x8, _find_session_cb_cnt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _find_session_cb_cnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
Lloh2:
	adrp	x22, _serverpsk@GOTPAGE
Lloh3:
	ldr	x22, [x22, _serverpsk@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	w9, #1
	ccmp	x8, #0, #4, le
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh4:
	adrp	x23, _srvid@GOTPAGE
Lloh5:
	ldr	x23, [x23, _srvid@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_strlen
	cmp	x0, x20
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x23]
	mov	x1, x21
	mov	x2, x20
	bl	_strncmp
	cbz	x0, LBB0_5
LBB0_4:
	mov	x8, #0
	b	LBB0_6
LBB0_5:
	ldr	x0, [x22]
	bl	_SSL_SESSION_up_ref
	ldr	x8, [x22]
LBB0_6:
	str	x8, [x19]
	mov	w0, #1
LBB0_7:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_find_session_cb_cnt,4,2        ; @find_session_cb_cnt
	.comm	_serverpsk,8,3                  ; @serverpsk
	.comm	_srvid,4,2                      ; @srvid
	.no_dead_strip	_find_session_cb
.subsections_via_symbols
