	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_parse_ctos_psk_kex_modes   ## -- Begin function tls_parse_ctos_psk_kex_modes
	.p2align	4, 0x90
_tls_parse_ctos_psk_kex_modes:          ## @tls_parse_ctos_psk_kex_modes
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, %rbx
	leaq	-44(%rbp), %rsi
	movq	%rax, %rdi
	callq	_PACKET_as_length_prefixed_1
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	leaq	-44(%rbp), %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_PACKET_get_1
	movl	$1, %ecx
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	_TLSEXT_KEX_MODE_KE_DHE@GOTPCREL(%rip), %r13
	movq	_TLSEXT_KEX_MODE_FLAG_KE_DHE@GOTPCREL(%rip), %r14
	leaq	-44(%rbp), %r15
	leaq	-48(%rbp), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_PACKET_get_1
	testq	%rax, %rax
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %ecx
	movq	%r14, %rax
	cmpl	(%r13), %ecx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_TLSEXT_KEX_MODE_KE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_SSL_OP_ALLOW_NO_DHE_KEX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_TLSEXT_KEX_MODE_FLAG_KE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rbx)
	jne	LBB0_7
	jmp	LBB0_8
LBB0_11:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_9:
	movl	$1, %ecx
LBB0_10:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES,4,2 ## @SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES
	.comm	_SSL_R_BAD_EXTENSION,4,2        ## @SSL_R_BAD_EXTENSION
	.comm	_TLSEXT_KEX_MODE_KE_DHE,4,2     ## @TLSEXT_KEX_MODE_KE_DHE
	.comm	_TLSEXT_KEX_MODE_FLAG_KE_DHE,4,2 ## @TLSEXT_KEX_MODE_FLAG_KE_DHE
	.comm	_TLSEXT_KEX_MODE_KE,4,2         ## @TLSEXT_KEX_MODE_KE
	.comm	_SSL_OP_ALLOW_NO_DHE_KEX,4,2    ## @SSL_OP_ALLOW_NO_DHE_KEX
	.comm	_TLSEXT_KEX_MODE_FLAG_KE,4,2    ## @TLSEXT_KEX_MODE_FLAG_KE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_parse_ctos_psk_kex_modes   ; -- Begin function tls_parse_ctos_psk_kex_modes
	.p2align	2
_tls_parse_ctos_psk_kex_modes:          ; @tls_parse_ctos_psk_kex_modes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x8, x1
	mov	x19, x0
	add	x1, sp, #12
	mov	x0, x8
	bl	_PACKET_as_length_prefixed_1
	cbz	w0, LBB0_9
; %bb.1:
	add	x0, sp, #12
	bl	_PACKET_remaining
	cbz	x0, LBB0_9
; %bb.2:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_PACKET_get_1
	cbz	x0, LBB0_10
; %bb.3:
Lloh0:
	adrp	x20, _TLSEXT_KEX_MODE_KE_DHE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TLSEXT_KEX_MODE_KE_DHE@GOTPAGEOFF]
Lloh2:
	adrp	x21, _TLSEXT_KEX_MODE_FLAG_KE_DHE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TLSEXT_KEX_MODE_FLAG_KE_DHE@GOTPAGEOFF]
Lloh4:
	adrp	x22, _TLSEXT_KEX_MODE_KE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _TLSEXT_KEX_MODE_KE@GOTPAGEOFF]
Lloh6:
	adrp	x23, _SSL_OP_ALLOW_NO_DHE_KEX@GOTPAGE
Lloh7:
	ldr	x23, [x23, _SSL_OP_ALLOW_NO_DHE_KEX@GOTPAGEOFF]
Lloh8:
	adrp	x24, _TLSEXT_KEX_MODE_FLAG_KE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _TLSEXT_KEX_MODE_FLAG_KE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x9]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_PACKET_get_1
	cbz	x0, LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #8]
	ldr	w10, [x20]
	mov	x9, x21
	cmp	w8, w10
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	ldr	w10, [x23]
	mov	x9, x24
	tst	w10, w8
	b.ne	LBB0_4
	b	LBB0_5
LBB0_9:
Lloh10:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _SSL_R_BAD_EXTENSION@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSL_R_BAD_EXTENSION@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES,4,2 ; @SSL_F_TLS_PARSE_CTOS_PSK_KEX_MODES
	.comm	_SSL_R_BAD_EXTENSION,4,2        ; @SSL_R_BAD_EXTENSION
	.comm	_TLSEXT_KEX_MODE_KE_DHE,4,2     ; @TLSEXT_KEX_MODE_KE_DHE
	.comm	_TLSEXT_KEX_MODE_FLAG_KE_DHE,4,2 ; @TLSEXT_KEX_MODE_FLAG_KE_DHE
	.comm	_TLSEXT_KEX_MODE_KE,4,2         ; @TLSEXT_KEX_MODE_KE
	.comm	_SSL_OP_ALLOW_NO_DHE_KEX,4,2    ; @SSL_OP_ALLOW_NO_DHE_KEX
	.comm	_TLSEXT_KEX_MODE_FLAG_KE,4,2    ; @TLSEXT_KEX_MODE_FLAG_KE
.subsections_via_symbols
