	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_ssl_handshake_server_step ## -- Begin function mbedtls_ssl_handshake_server_step
	.p2align	4, 0x90
_mbedtls_ssl_handshake_server_step:     ## @mbedtls_ssl_handshake_server_step
	.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
	movslq	(%rdi), %rsi
	movq	_MBEDTLS_SSL_HANDSHAKE_OVER@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_22
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_22
## %bb.2:
	movl	$2, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	%rbx, %rdi
	callq	_mbedtls_ssl_flush_output
	testl	%eax, %eax
	jne	LBB0_23
## %bb.3:
	movslq	(%rbx), %rsi
	leal	-128(%rsi), %eax
	cmpl	$16, %eax
	ja	LBB0_21
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ssl_write_server_key_exchange  ## TAILCALL
LBB0_11:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ssl_write_server_hello_done    ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ssl_write_server_hello         ## TAILCALL
LBB0_18:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mbedtls_ssl_write_finished     ## TAILCALL
LBB0_17:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mbedtls_ssl_write_change_cipher_spec ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mbedtls_ssl_write_certificate  ## TAILCALL
LBB0_5:
	movl	$139, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_20:
	movq	%rbx, %rdi
	callq	_mbedtls_ssl_handshake_wrapup
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_19:
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movl	$136, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_13:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ssl_parse_client_key_exchange  ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ssl_parse_client_hello         ## TAILCALL
LBB0_16:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mbedtls_ssl_parse_finished     ## TAILCALL
LBB0_15:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mbedtls_ssl_parse_change_cipher_spec ## TAILCALL
LBB0_12:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mbedtls_ssl_parse_certificate  ## TAILCALL
LBB0_14:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ssl_parse_certificate_verify   ## TAILCALL
LBB0_10:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ssl_write_certificate_request  ## TAILCALL
LBB0_21:
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
LBB0_22:
	movq	_MBEDTLS_ERR_SSL_BAD_INPUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_21
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_20
	.long	L0_0_set_19
	.long	L0_0_set_13
	.long	L0_0_set_6
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_MBEDTLS_SSL_HANDSHAKE_OVER,4,2 ## @MBEDTLS_SSL_HANDSHAKE_OVER
	.comm	_MBEDTLS_ERR_SSL_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_SSL_BAD_INPUT_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"handshake: done"

	.comm	_MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED,4,2 ## @MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED
	.comm	_MBEDTLS_SSL_RETRANS_SENDING,8,3 ## @MBEDTLS_SSL_RETRANS_SENDING
	.comm	_MBEDTLS_SSL_TRANSPORT_DATAGRAM,8,3 ## @MBEDTLS_SSL_TRANSPORT_DATAGRAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_ssl_handshake_server_step ; -- Begin function mbedtls_ssl_handshake_server_step
	.p2align	2
_mbedtls_ssl_handshake_server_step:     ; @mbedtls_ssl_handshake_server_step
	.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
	ldrsw	x1, [x0]
Lloh0:
	adrp	x8, _MBEDTLS_SSL_HANDSHAKE_OVER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_SSL_HANDSHAKE_OVER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, w8
	b.eq	LBB0_22
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_22
; %bb.2:
	mov	w0, #2
	bl	_MBEDTLS_SSL_DEBUG_MSG
	mov	x0, x19
	bl	_mbedtls_ssl_flush_output
	cbnz	w0, LBB0_23
; %bb.3:
	ldrsw	x1, [x19]
	sub	w8, w1, #128
	cmp	w8, #16
	b.hi	LBB0_21
; %bb.4:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ssl_write_server_key_exchange
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ssl_write_server_hello_done
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ssl_write_server_hello
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mbedtls_ssl_write_finished
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mbedtls_ssl_write_change_cipher_spec
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mbedtls_ssl_write_certificate
LBB0_11:
	mov	w0, #0
	mov	w8, #139
	str	w8, [x19]
	b	LBB0_23
LBB0_12:
	mov	x0, x19
	bl	_mbedtls_ssl_handshake_wrapup
	mov	w0, #0
	b	LBB0_23
LBB0_13:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_MBEDTLS_SSL_DEBUG_MSG
	mov	w0, #0
	mov	w8, #136
	str	w8, [x19]
	b	LBB0_23
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ssl_parse_client_key_exchange
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ssl_parse_client_hello
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mbedtls_ssl_parse_finished
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mbedtls_ssl_parse_change_cipher_spec
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mbedtls_ssl_parse_certificate
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ssl_parse_certificate_verify
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ssl_write_certificate_request
LBB0_21:
	mov	w0, #1
	bl	_MBEDTLS_SSL_DEBUG_MSG
LBB0_22:
Lloh7:
	adrp	x8, _MBEDTLS_ERR_SSL_BAD_INPUT_DATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_BAD_INPUT_DATA@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_23:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_21-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_16-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
	.byte	(LBB0_19-LBB0_5)>>2
	.byte	(LBB0_20-LBB0_5)>>2
                                        ; -- End function
	.comm	_MBEDTLS_SSL_HANDSHAKE_OVER,4,2 ; @MBEDTLS_SSL_HANDSHAKE_OVER
	.comm	_MBEDTLS_ERR_SSL_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_SSL_BAD_INPUT_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"handshake: done"

	.comm	_MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED,4,2 ; @MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED
	.comm	_MBEDTLS_SSL_RETRANS_SENDING,8,3 ; @MBEDTLS_SSL_RETRANS_SENDING
	.comm	_MBEDTLS_SSL_TRANSPORT_DATAGRAM,8,3 ; @MBEDTLS_SSL_TRANSPORT_DATAGRAM
.subsections_via_symbols
