	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_ssl_cache_get          ## -- Begin function mbedtls_ssl_cache_get
	.p2align	4, 0x90
_mbedtls_ssl_cache_get:                 ## @mbedtls_ssl_cache_get
	.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	8(%rdi), %r12
	movl	$1, %r14d
	testq	%r12, %r12
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	movq	64(%r12), %r12
	movq	(%r15), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	cmpq	24(%rbx), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdx
	cmpq	32(%rbx), %rdx
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	40(%r15), %edi
	movl	48(%rbx), %esi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:
	movl	36(%r15), %edi
	movl	44(%rbx), %esi
	movl	$48, %edx
	callq	_memcpy
	movl	40(%rbx), %eax
	movl	%eax, 32(%r15)
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	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	_mbedtls_ssl_cache_get          ; -- Begin function mbedtls_ssl_cache_get
	.p2align	2
_mbedtls_ssl_cache_get:                 ; @mbedtls_ssl_cache_get
	.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
	ldr	x21, [x0, #8]
	cbz	x21, LBB0_8
; %bb.1:
	mov	x19, x1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x21, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x21
	ldr	x21, [x21, #64]
	ldr	x8, [x19]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #24]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x19, #16]
	ldr	x8, [x20, #32]
	cmp	x2, x8
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x19, #40]
	ldr	w1, [x20, #48]
	bl	_memcmp
	cbnz	x0, LBB0_2
; %bb.7:
	ldr	w0, [x19, #36]
	ldr	w1, [x20, #44]
	mov	w2, #48
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [x20, #40]
	str	w8, [x19, #32]
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
