	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_write_server_key_exchange
_ssl_write_server_key_exchange:         ## @ssl_write_server_key_exchange
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movl	$4, 16(%rbx)
	movq	_MBEDTLS_SSL_MSG_HANDSHAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	(%rbx), %rcx
	movb	%al, (%rcx)
	incl	20(%rbx)
	movq	%rbx, %rdi
	callq	_mbedtls_ssl_write_record
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	callq	_MBEDTLS_SSL_DEBUG_RET
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movl	$2, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"=> write server key exchange"

	.comm	_MBEDTLS_SSL_MSG_HANDSHAKE,4,2  ## @MBEDTLS_SSL_MSG_HANDSHAKE
	.comm	_MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE,1,0 ## @MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE
L_.str.1:                               ## @.str.1
	.asciz	"mbedtls_ssl_write_record"

L_.str.2:                               ## @.str.2
	.asciz	"<= write server key exchange"

	.comm	_MBEDTLS_ECP_DP_NONE,8,3        ## @MBEDTLS_ECP_DP_NONE
	.comm	_MBEDTLS_ERR_SSL_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_SSL_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_SSL_INTERNAL_ERROR,4,2 ## @MBEDTLS_ERR_SSL_INTERNAL_ERROR
	.comm	_MBEDTLS_ERR_SSL_NO_CIPHER_CHOSEN,4,2 ## @MBEDTLS_ERR_SSL_NO_CIPHER_CHOSEN
	.comm	_MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED,4,2 ## @MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED
	.comm	_MBEDTLS_KEY_EXCHANGE_DHE_PSK,8,3 ## @MBEDTLS_KEY_EXCHANGE_DHE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA
	.comm	_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECDHE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_ECJPAKE,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECJPAKE
	.comm	_MBEDTLS_MD_NONE,8,3            ## @MBEDTLS_MD_NONE
	.comm	_MBEDTLS_MD_SHA1,8,3            ## @MBEDTLS_MD_SHA1
	.comm	_MBEDTLS_PK_NONE,8,3            ## @MBEDTLS_PK_NONE
	.comm	_MBEDTLS_SSL_MAX_CONTENT_LEN,4,2 ## @MBEDTLS_SSL_MAX_CONTENT_LEN
	.comm	_MBEDTLS_SSL_MINOR_VERSION_3,8,3 ## @MBEDTLS_SSL_MINOR_VERSION_3
	.no_dead_strip	_ssl_write_server_key_exchange
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_write_server_key_exchange
_ssl_write_server_key_exchange:         ; @ssl_write_server_key_exchange
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_MBEDTLS_SSL_DEBUG_MSG
	mov	w8, #4
	str	w8, [x19, #16]
Lloh2:
	adrp	x8, _MBEDTLS_SSL_MSG_HANDSHAKE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MBEDTLS_SSL_MSG_HANDSHAKE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh5:
	adrp	x8, _MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	x9, [x19]
	strb	w8, [x9]
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
	mov	x0, x19
	bl	_mbedtls_ssl_write_record
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_MBEDTLS_SSL_DEBUG_RET
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #2
	bl	_MBEDTLS_SSL_DEBUG_MSG
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"=> write server key exchange"

	.comm	_MBEDTLS_SSL_MSG_HANDSHAKE,4,2  ; @MBEDTLS_SSL_MSG_HANDSHAKE
	.comm	_MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE,1,0 ; @MBEDTLS_SSL_HS_SERVER_KEY_EXCHANGE
l_.str.1:                               ; @.str.1
	.asciz	"mbedtls_ssl_write_record"

l_.str.2:                               ; @.str.2
	.asciz	"<= write server key exchange"

	.comm	_MBEDTLS_ECP_DP_NONE,8,3        ; @MBEDTLS_ECP_DP_NONE
	.comm	_MBEDTLS_ERR_SSL_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_SSL_BAD_INPUT_DATA
	.comm	_MBEDTLS_ERR_SSL_INTERNAL_ERROR,4,2 ; @MBEDTLS_ERR_SSL_INTERNAL_ERROR
	.comm	_MBEDTLS_ERR_SSL_NO_CIPHER_CHOSEN,4,2 ; @MBEDTLS_ERR_SSL_NO_CIPHER_CHOSEN
	.comm	_MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED,4,2 ; @MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED
	.comm	_MBEDTLS_KEY_EXCHANGE_DHE_PSK,8,3 ; @MBEDTLS_KEY_EXCHANGE_DHE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA
	.comm	_MBEDTLS_KEY_EXCHANGE_ECDHE_PSK,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECDHE_PSK
	.comm	_MBEDTLS_KEY_EXCHANGE_ECJPAKE,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECJPAKE
	.comm	_MBEDTLS_MD_NONE,8,3            ; @MBEDTLS_MD_NONE
	.comm	_MBEDTLS_MD_SHA1,8,3            ; @MBEDTLS_MD_SHA1
	.comm	_MBEDTLS_PK_NONE,8,3            ; @MBEDTLS_PK_NONE
	.comm	_MBEDTLS_SSL_MAX_CONTENT_LEN,4,2 ; @MBEDTLS_SSL_MAX_CONTENT_LEN
	.comm	_MBEDTLS_SSL_MINOR_VERSION_3,8,3 ; @MBEDTLS_SSL_MINOR_VERSION_3
	.no_dead_strip	_ssl_write_server_key_exchange
.subsections_via_symbols
