	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_parse_server_psk_hint
_ssl_parse_server_psk_hint:             ## @ssl_parse_server_psk_hint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movzwl	(%rax), %ecx
	rolw	$8, %cx
	movzwl	%cx, %ecx
	leaq	2(%rax), %rdi
	movq	%rdi, (%rsi)
	addq	%rcx, %rax
	addq	$2, %rax
	cmpq	%rdx, %rax
	jbe	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	%rax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE,4,2 ## @MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad server key exchange message (psk_identity_hint length)"

	.comm	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE,4,2 ## @MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE
	.no_dead_strip	_ssl_parse_server_psk_hint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_parse_server_psk_hint
_ssl_parse_server_psk_hint:             ; @ssl_parse_server_psk_hint
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
	ldrh	w9, [x8], #2
	rev16	w9, w9
	str	x8, [x1]
	add	x8, x8, x9
	cmp	x8, x2
	b.ls	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_MBEDTLS_SSL_DEBUG_MSG
Lloh2:
	adrp	x8, _MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #0
	str	x8, [x1]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE,4,2 ; @MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad server key exchange message (psk_identity_hint length)"

	.comm	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE,4,2 ; @MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE
	.no_dead_strip	_ssl_parse_server_psk_hint
.subsections_via_symbols
