	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_parse_server_dh_params
_ssl_parse_server_dh_params:            ## @ssl_parse_server_dh_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	callq	_mbedtls_dhm_read_params
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%eax, %edx
	callq	_MBEDTLS_SSL_DEBUG_RET
	jmp	LBB0_5
LBB0_2:
	movq	(%r14), %rdx
	movq	8(%r14), %rax
	movl	(%rdx), %ecx
	shll	$3, %ecx
	movslq	(%rax), %rsi
	cmpl	%esi, %ecx
	jge	LBB0_4
## %bb.3:
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_5
LBB0_4:
	addq	$12, %rdx
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edi
	callq	_MBEDTLS_SSL_DEBUG_MPI
	movq	(%r14), %rdx
	addq	$8, %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	$3, %edi
	callq	_MBEDTLS_SSL_DEBUG_MPI
	movq	(%r14), %rdx
	addq	$4, %rdx
	leaq	L_.str.4(%rip), %rsi
	movl	$3, %edi
	callq	_MBEDTLS_SSL_DEBUG_MPI
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	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	"mbedtls_dhm_read_params"

	.comm	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE,4,2 ## @MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE
L_.str.2:                               ## @.str.2
	.asciz	"DHM: P "

L_.str.3:                               ## @.str.3
	.asciz	"DHM: G "

L_.str.4:                               ## @.str.4
	.asciz	"DHM: GY"

	.no_dead_strip	_ssl_parse_server_dh_params
.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_dh_params
_ssl_parse_server_dh_params:            ; @ssl_parse_server_dh_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_mbedtls_dhm_read_params
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x20
	bl	_MBEDTLS_SSL_DEBUG_RET
	b	LBB0_5
LBB0_2:
	ldp	x8, x9, [x19]
	ldr	w10, [x8]
	ldrsw	x1, [x9]
	cmp	w1, w10, lsl #3
	b.le	LBB0_4
; %bb.3:
	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	w20, [x8]
	b	LBB0_5
LBB0_4:
	add	x2, x8, #12
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #3
	bl	_MBEDTLS_SSL_DEBUG_MPI
	ldr	x8, [x19]
	add	x2, x8, #8
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #3
	bl	_MBEDTLS_SSL_DEBUG_MPI
	ldr	x8, [x19]
	add	x2, x8, #4
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #3
	bl	_MBEDTLS_SSL_DEBUG_MPI
	mov	w20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.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	"mbedtls_dhm_read_params"

	.comm	_MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE,4,2 ; @MBEDTLS_ERR_SSL_BAD_HS_SERVER_KEY_EXCHANGE
l_.str.2:                               ; @.str.2
	.asciz	"DHM: P "

l_.str.3:                               ; @.str.3
	.asciz	"DHM: G "

l_.str.4:                               ; @.str.4
	.asciz	"DHM: GY"

	.no_dead_strip	_ssl_parse_server_dh_params
.subsections_via_symbols
