	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_initial_server_flight ## -- Begin function tls_process_initial_server_flight
	.p2align	4, 0x90
_tls_process_initial_server_flight:     ## @tls_process_initial_server_flight
	.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, %rbx
	callq	_ssl3_check_cert_and_algorithm
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movq	24(%rbx), %rax
	movq	_TLSEXT_STATUSTYPE_nothing@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.2:
	movq	16(%rbx), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movl	8(%rcx), %esi
	movq	%rbx, %rdi
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	js	LBB0_7
LBB0_8:
	cmpq	$0, 8(%rbx)
	je	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_ssl_validate_ct
	testl	%eax, %eax
	je	LBB0_10
LBB0_11:
	movl	$1, %r14d
	jmp	LBB0_12
LBB0_10:
	movq	_SSL_VERIFY_PEER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_12
	jmp	LBB0_11
LBB0_4:
	movq	_SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_INVALID_STATUS_RESPONSE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLSEXT_STATUSTYPE_nothing,8,3  ## @TLSEXT_STATUSTYPE_nothing
	.comm	_SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE,4,2 ## @SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE
	.comm	_SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT,4,2 ## @SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT
	.comm	_SSL_R_INVALID_STATUS_RESPONSE,4,2 ## @SSL_R_INVALID_STATUS_RESPONSE
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_SSL_VERIFY_PEER,4,2            ## @SSL_VERIFY_PEER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_initial_server_flight ; -- Begin function tls_process_initial_server_flight
	.p2align	2
_tls_process_initial_server_flight:     ; @tls_process_initial_server_flight
	.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
	bl	_ssl3_check_cert_and_algorithm
	cbz	w0, LBB0_13
; %bb.1:
	ldr	x8, [x19, #24]
Lloh0:
	adrp	x9, _TLSEXT_STATUSTYPE_nothing@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TLSEXT_STATUSTYPE_nothing@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.2:
	ldr	x9, [x19, #16]
	ldr	x8, [x9]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	w1, [x9, #8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_9
; %bb.4:
	tbnz	w0, #31, LBB0_10
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_ssl_validate_ct
	cbz	w0, LBB0_8
LBB0_7:
	mov	w0, #1
	b	LBB0_13
LBB0_8:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _SSL_VERIFY_PEER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SSL_VERIFY_PEER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_12
	b	LBB0_7
LBB0_9:
Lloh6:
	adrp	x8, _SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _SSL_R_INVALID_STATUS_RESPONSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_R_INVALID_STATUS_RESPONSE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh14:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_11:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
LBB0_12:
	mov	w0, #0
LBB0_13:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TLSEXT_STATUSTYPE_nothing,8,3  ; @TLSEXT_STATUSTYPE_nothing
	.comm	_SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE,4,2 ; @SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE
	.comm	_SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT,4,2 ; @SSL_F_TLS_PROCESS_INITIAL_SERVER_FLIGHT
	.comm	_SSL_R_INVALID_STATUS_RESPONSE,4,2 ; @SSL_R_INVALID_STATUS_RESPONSE
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_SSL_VERIFY_PEER,4,2            ; @SSL_VERIFY_PEER
.subsections_via_symbols
