	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_process_certificate_status
_tls_process_certificate_status:        ## @tls_process_certificate_status
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_TLS_CONTENT_TYPE_HANDSHAKE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	%rcx, %r15
	movq	(%rcx), %rbx
	cmpq	$3, %rbx
	ja	LBB0_5
## %bb.2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_DECODE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	%rsi, %rdx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_UNEXPECTED_MESSAGE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	movq	%r14, %rdi
	jmp	LBB0_13
LBB0_5:
	movq	%rdx, %r12
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rdx), %rdi
	movq	(%rdx), %r14
	callq	_WPA_GET_BE24
	movq	%rax, %r13
	addq	$-4, %rbx
	cmpq	%rax, %rbx
	jae	LBB0_8
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_7:
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_DECODE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_8:
	movq	_TLS_HANDSHAKE_TYPE_CERTIFICATE_STATUS@GOTPCREL(%rip), %rax
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	cmpq	(%rax), %r14
	jne	LBB0_11
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	testq	%r13, %r13
	jg	LBB0_16
## %bb.10:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_UNEXPECTED_MESSAGE@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_13:
	callq	_tls_alert
LBB0_14:
	movl	$-1, %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	leaq	32(%r12), %rax
	leaq	(%rax,%r13,8), %r13
	leaq	40(%r12), %r14
	movq	%rbx, %rax
	movq	32(%r12), %rbx
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpq	$2, %rbx
	je	LBB0_19
## %bb.17:
	cmpq	$1, %rbx
	jne	LBB0_21
## %bb.18:
	movq	%r13, %rdx
	subq	%r14, %rdx
	shrq	$3, %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_tls_process_certificate_status_ocsp_response
	jmp	LBB0_40
LBB0_19:
	movq	%r13, %rax
	subq	%r14, %rax
	cmpq	$23, %rax
	jg	LBB0_22
## %bb.20:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_OCSP_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_39
LBB0_21:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_57
LBB0_22:
	movq	_TLS_OCSP_NO_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_WPA_GET_BE24
	movq	%r13, %rdx
	leaq	64(%r12), %r13
	movq	%rdx, %rbx
	subq	%r13, %rdx
	sarq	$3, %rdx
	movslq	%eax, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_24
## %bb.23:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.8(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_OCSP_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %r13
	jmp	LBB0_40
LBB0_24:
	leaq	(,%rcx,8), %rax
	addq	%r13, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rcx,8), %r14
	addq	$40, %r14
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
	subq	%r13, %r14
LBB0_26:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	24(%r14), %rax
	cmpq	$17, %rax
	jl	LBB0_33
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	%r13, %rdi
	callq	_WPA_GET_BE24
	movq	%rax, %rbx
	movslq	%ebx, %rax
	movq	%r14, %rcx
	sarq	$3, %rcx
	cmpq	%rcx, %rax
	jg	LBB0_34
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=2
	addq	$24, %r13
	addq	$-24, %r14
	testl	%ebx, %ebx
	je	LBB0_26
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=1
	leal	3(%rbx), %edx
	leaq	-24(%r13), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_tls_process_certificate_status_ocsp_response
	movq	_TLS_OCSP_REVOKED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_25 Depth=1
	incl	-56(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_25 Depth=1
	xorl	%ecx, %ecx
	movq	_TLS_OCSP_GOOD@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	sete	%cl
	addl	%ecx, -52(%rbp)                 ## 4-byte Folded Spill
LBB0_32:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movslq	%ebx, %rax
	leaq	(%r13,%rax,8), %r13
	jmp	LBB0_25
LBB0_33:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_35
LBB0_34:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_OCSP_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_35:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_37
## %bb.36:
	movq	_TLS_OCSP_REVOKED@GOTPCREL(%rip), %rax
	jmp	LBB0_39
LBB0_37:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_40
## %bb.38:
	movq	_TLS_OCSP_GOOD@GOTPCREL(%rip), %rax
LBB0_39:
	movl	(%rax), %eax
LBB0_40:
	movq	_TLS_OCSP_REVOKED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_46
## %bb.41:
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_CERTIFICATE_REVOKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_tls_alert
	movq	16(%rbx), %rbx
	movl	$-1, %r15d
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.42:
	xorl	%r12d, %r12d
	movq	_TLS_FAIL_REVOKED@GOTPCREL(%rip), %r14
	leaq	L_.str.11(%rip), %r13
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_44 Depth=1
	incl	%r12d
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_43
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	movl	(%r14), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movq	%r13, %r8
	callq	_tls_cert_chain_failure_event
	jmp	LBB0_43
LBB0_46:
	movq	%r13, %rdx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %esi
	movq	_TLS_CONN_REQUIRE_OCSP_ALL@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_52
## %bb.47:
	movq	16(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_52
## %bb.48:
	xorl	%r13d, %r13d
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 8(%rbx)
	je	LBB0_61
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_49 Depth=1
	incl	%r13d
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_49
LBB0_52:
	movq	_TLS_CONN_REQUIRE_OCSP@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_56
## %bb.53:
	movq	_TLS_OCSP_GOOD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_56
## %bb.54:
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_TLS_OCSP_INVALID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_58
## %bb.55:
	movq	_TLS_ALERT_DECODE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_59
LBB0_56:
	movl	$1, 4(%r14)
	movq	%rdx, %r13
LBB0_57:
	subq	%r12, %r13
	sarq	$3, %r13
	movq	%r13, (%r15)
	movq	_SERVER_KEY_EXCHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_58:
	movq	_TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE@GOTPCREL(%rip), %rax
LBB0_59:
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_tls_alert
	movq	16(%r14), %rdx
	movl	$-1, %r15d
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.60:
	movq	_TLS_FAIL_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.12(%rip), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_tls_cert_chain_failure_event
	jmp	LBB0_15
LBB0_61:
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_tls_alert
	movq	_TLS_FAIL_UNSPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.12(%rip), %r8
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_tls_cert_chain_failure_event
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS_CONTENT_TYPE_HANDSHAKE,8,3 ## @TLS_CONTENT_TYPE_HANDSHAKE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TLSv1: Expected Handshake; received content type 0x%x"

	.comm	_TLS_ALERT_LEVEL_FATAL,4,2      ## @TLS_ALERT_LEVEL_FATAL
	.comm	_TLS_ALERT_UNEXPECTED_MESSAGE,4,2 ## @TLS_ALERT_UNEXPECTED_MESSAGE
L_.str.1:                               ## @.str.1
	.asciz	"TLSv1: Too short CertificateStatus (left=%lu)"

	.comm	_TLS_ALERT_DECODE_ERROR,4,2     ## @TLS_ALERT_DECODE_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"TLSv1: Mismatch in CertificateStatus length (len=%lu != left=%lu)"

	.comm	_TLS_HANDSHAKE_TYPE_CERTIFICATE_STATUS,8,3 ## @TLS_HANDSHAKE_TYPE_CERTIFICATE_STATUS
L_.str.3:                               ## @.str.3
	.asciz	"TLSv1: Received unexpected handshake message %d (expected CertificateStatus)"

L_.str.4:                               ## @.str.4
	.asciz	"TLSv1: Received CertificateStatus"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.5:                               ## @.str.5
	.asciz	"TLSv1: Too short CertificateStatus"

L_.str.6:                               ## @.str.6
	.asciz	"TLSv1: CertificateStatus status_type %u"

	.comm	_TLS_OCSP_NO_RESPONSE,4,2       ## @TLS_OCSP_NO_RESPONSE
L_.str.7:                               ## @.str.7
	.asciz	"TLSv1: Truncated OCSPResponseList"

	.comm	_TLS_OCSP_INVALID,4,2           ## @TLS_OCSP_INVALID
L_.str.8:                               ## @.str.8
	.asciz	"TLSv1: Truncated OCSPResponseList(len=%u)"

L_.str.9:                               ## @.str.9
	.asciz	"TLSv1: Truncated OCSPResponse(len=%u; left=%d) in ocsp_multi"

	.comm	_TLS_OCSP_REVOKED,4,2           ## @TLS_OCSP_REVOKED
	.comm	_TLS_OCSP_GOOD,4,2              ## @TLS_OCSP_GOOD
L_.str.10:                              ## @.str.10
	.asciz	"TLSv1: Ignore unsupported CertificateStatus"

	.comm	_TLS_ALERT_CERTIFICATE_REVOKED,4,2 ## @TLS_ALERT_CERTIFICATE_REVOKED
	.comm	_TLS_FAIL_REVOKED,4,2           ## @TLS_FAIL_REVOKED
L_.str.11:                              ## @.str.11
	.asciz	"certificate revoked"

	.comm	_TLS_CONN_REQUIRE_OCSP_ALL,4,2  ## @TLS_CONN_REQUIRE_OCSP_ALL
	.comm	_TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE,4,2 ## @TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE
	.comm	_TLS_FAIL_UNSPECIFIED,4,2       ## @TLS_FAIL_UNSPECIFIED
L_.str.12:                              ## @.str.12
	.asciz	"bad certificate status response"

	.comm	_TLS_CONN_REQUIRE_OCSP,4,2      ## @TLS_CONN_REQUIRE_OCSP
	.comm	_SERVER_KEY_EXCHANGE,4,2        ## @SERVER_KEY_EXCHANGE
	.no_dead_strip	_tls_process_certificate_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_process_certificate_status
_tls_process_certificate_status:        ; @tls_process_certificate_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _TLS_CONTENT_TYPE_HANDSHAKE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLS_CONTENT_TYPE_HANDSHAKE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x3
	ldr	x25, [x3]
	cmp	x25, #3
	b.hi	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	str	x25, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_3:
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	str	x1, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	bl	_wpa_printf
Lloh13:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _TLS_ALERT_UNEXPECTED_MESSAGE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TLS_ALERT_UNEXPECTED_MESSAGE@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	mov	x21, x2
	add	x0, x2, #8
	mov	x23, x2
	ldr	x24, [x23], #32
	bl	_WPA_GET_BE24
	mov	x22, x0
	sub	x8, x25, #4
	cmp	x8, x0
	b.hs	LBB0_11
; %bb.6:
Lloh18:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x9]
	stp	x22, x8, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_7:
	bl	_wpa_printf
Lloh23:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _TLS_ALERT_DECODE_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TLS_ALERT_DECODE_ERROR@GOTPAGEOFF]
LBB0_8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tls_alert
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
Lloh28:
	adrp	x8, _TLS_HANDSHAKE_TYPE_CERTIFICATE_STATUS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TLS_HANDSHAKE_TYPE_CERTIFICATE_STATUS@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
Lloh31:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh32:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x26]
	cmp	x24, x8
	b.ne	LBB0_14
; %bb.12:
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	cmp	x22, #0
	b.gt	LBB0_15
; %bb.13:
Lloh35:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.5@PAGE
Lloh39:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_7
LBB0_14:
	str	x24, [sp]
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_15:
	add	x25, x23, x22, lsl #3
	add	x23, x21, #40
	ldr	x22, [x21, #32]
	ldr	w0, [x26]
	str	x22, [sp]
Lloh42:
	adrp	x1, l_.str.6@PAGE
Lloh43:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	cmp	x22, #2
	b.eq	LBB0_18
; %bb.16:
	cmp	x22, #1
	b.ne	LBB0_20
; %bb.17:
	sub	x8, x25, x23
	lsr	x2, x8, #3
	mov	x0, x19
	mov	x1, x23
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_tls_process_certificate_status_ocsp_response
	b	LBB0_25
LBB0_18:
	sub	x8, x25, x23
	cmp	x8, #23
	b.gt	LBB0_21
; %bb.19:
	ldr	w0, [x26]
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_23
LBB0_20:
	ldr	w0, [x26]
Lloh46:
	adrp	x1, l_.str.10@PAGE
Lloh47:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	b	LBB0_39
LBB0_21:
Lloh48:
	adrp	x8, _TLS_OCSP_NO_RESPONSE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _TLS_OCSP_NO_RESPONSE@GOTPAGEOFF]
Lloh50:
	ldr	w22, [x8]
	mov	x0, x23
	bl	_WPA_GET_BE24
	add	x23, x21, #64
	sub	x9, x25, x23
	sxtw	x8, w0
	cmp	x8, x9, asr #3
	b.le	LBB0_42
; %bb.22:
	ldr	w8, [x26]
	str	x0, [sp]
Lloh51:
	adrp	x1, l_.str.8@PAGE
Lloh52:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x8
LBB0_23:
	bl	_wpa_printf
Lloh53:
	adrp	x8, _TLS_OCSP_INVALID@GOTPAGE
Lloh54:
	ldr	x8, [x8, _TLS_OCSP_INVALID@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
LBB0_25:
Lloh55:
	adrp	x8, _TLS_OCSP_REVOKED@GOTPAGE
Lloh56:
	ldr	x8, [x8, _TLS_OCSP_REVOKED@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_31
; %bb.26:
Lloh58:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh59:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
Lloh61:
	adrp	x8, _TLS_ALERT_CERTIFICATE_REVOKED@GOTPAGE
Lloh62:
	ldr	x8, [x8, _TLS_ALERT_CERTIFICATE_REVOKED@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tls_alert
	ldr	x20, [x19, #16]
	cbz	x20, LBB0_9
; %bb.27:
	mov	w21, #0
Lloh64:
	adrp	x23, _TLS_FAIL_REVOKED@GOTPAGE
Lloh65:
	ldr	x23, [x23, _TLS_FAIL_REVOKED@GOTPAGEOFF]
Lloh66:
	adrp	x22, l_.str.11@PAGE
Lloh67:
	add	x22, x22, l_.str.11@PAGEOFF
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	w21, w21, #1
	ldr	x20, [x20, #16]
	mov	w0, #-1
	cbz	x20, LBB0_10
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x4, x22
	bl	_tls_cert_chain_failure_event
	b	LBB0_28
LBB0_31:
	ldr	w8, [x19]
Lloh68:
	adrp	x9, _TLS_CONN_REQUIRE_OCSP_ALL@GOTPAGE
Lloh69:
	ldr	x9, [x9, _TLS_CONN_REQUIRE_OCSP_ALL@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.32:
	ldr	x22, [x19, #16]
	cbz	x22, LBB0_37
; %bb.33:
	mov	w23, #0
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22, #8]
	cbz	w9, LBB0_50
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x9, [x22]
	cbnz	x9, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_34 Depth=1
	add	w23, w23, #1
	ldr	x22, [x22, #16]
	cbnz	x22, LBB0_34
LBB0_37:
Lloh71:
	adrp	x9, _TLS_CONN_REQUIRE_OCSP@GOTPAGE
Lloh72:
	ldr	x9, [x9, _TLS_CONN_REQUIRE_OCSP@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh74:
	adrp	x9, _TLS_OCSP_GOOD@GOTPAGE
Lloh75:
	ldr	x9, [x9, _TLS_OCSP_GOOD@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_40
; %bb.38:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_39:
	mov	w0, #0
	sub	x8, x25, x21
	asr	x8, x8, #3
	str	x8, [x20]
Lloh77:
	adrp	x8, _SERVER_KEY_EXCHANGE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _SERVER_KEY_EXCHANGE@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_10
LBB0_40:
Lloh80:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh81:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
Lloh83:
	adrp	x8, _TLS_OCSP_INVALID@GOTPAGE
Lloh84:
	ldr	x8, [x8, _TLS_OCSP_INVALID@GOTPAGEOFF]
Lloh85:
	adrp	x9, _TLS_ALERT_DECODE_ERROR@GOTPAGE
Lloh86:
	ldr	x9, [x9, _TLS_ALERT_DECODE_ERROR@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
Lloh88:
	adrp	x10, _TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE@GOTPAGE
Lloh89:
	ldr	x10, [x10, _TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE@GOTPAGEOFF]
	cmp	w0, w8
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tls_alert
	ldr	x2, [x19, #16]
	cbz	x2, LBB0_9
; %bb.41:
Lloh90:
	adrp	x8, _TLS_FAIL_UNSPECIFIED@GOTPAGE
Lloh91:
	ldr	x8, [x8, _TLS_FAIL_UNSPECIFIED@GOTPAGEOFF]
Lloh92:
	ldr	w3, [x8]
Lloh93:
	adrp	x4, l_.str.12@PAGE
Lloh94:
	add	x4, x4, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	b	LBB0_51
LBB0_42:
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
	lsl	x8, x8, #3
	add	x25, x23, x8
	add	x8, x21, x8
	add	x27, x8, #40
LBB0_43:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_44 Depth 2
	sub	x28, x27, x23
LBB0_44:                                ;   Parent Loop BB0_43 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x8, x28, #24
	cmp	x8, #17
	b.lt	LBB0_53
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=2
	mov	x0, x23
	bl	_WPA_GET_BE24
	mov	x24, x0
	sxtw	x8, w0
	cmp	x8, x28, asr #3
	b.gt	LBB0_52
; %bb.46:                               ;   in Loop: Header=BB0_44 Depth=2
	add	x23, x23, #24
	sub	x28, x28, #24
	cbz	w24, LBB0_44
; %bb.47:                               ;   in Loop: Header=BB0_43 Depth=1
	add	w2, w24, #3
	sub	x1, x23, #24
	mov	x0, x19
	bl	_tls_process_certificate_status_ocsp_response
	mov	x22, x0
Lloh95:
	adrp	x8, _TLS_OCSP_REVOKED@GOTPAGE
Lloh96:
	ldr	x8, [x8, _TLS_OCSP_REVOKED@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	add	x23, x23, w24, sxtw #3
	b	LBB0_43
LBB0_49:                                ;   in Loop: Header=BB0_43 Depth=1
Lloh98:
	adrp	x8, _TLS_OCSP_GOOD@GOTPAGE
Lloh99:
	ldr	x8, [x8, _TLS_OCSP_GOOD@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
	cmp	w22, w8
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cinc	w8, w8, eq
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	add	x23, x23, w24, sxtw #3
	b	LBB0_43
LBB0_50:
Lloh101:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh102:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
Lloh104:
	adrp	x8, _TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE@GOTPAGE
Lloh105:
	ldr	x8, [x8, _TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE@GOTPAGEOFF]
Lloh106:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tls_alert
Lloh107:
	adrp	x8, _TLS_FAIL_UNSPECIFIED@GOTPAGE
Lloh108:
	ldr	x8, [x8, _TLS_FAIL_UNSPECIFIED@GOTPAGEOFF]
Lloh109:
	ldr	w3, [x8]
Lloh110:
	adrp	x4, l_.str.12@PAGE
Lloh111:
	add	x4, x4, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
LBB0_51:
	bl	_tls_cert_chain_failure_event
	b	LBB0_9
LBB0_52:
	asr	x8, x28, #3
	ldr	w0, [x26]
	stp	x24, x8, [sp]
Lloh112:
	adrp	x1, l_.str.9@PAGE
Lloh113:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
Lloh114:
	adrp	x8, _TLS_OCSP_INVALID@GOTPAGE
Lloh115:
	ldr	x8, [x8, _TLS_OCSP_INVALID@GOTPAGEOFF]
Lloh116:
	ldr	w22, [x8]
LBB0_53:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_55
; %bb.54:
Lloh117:
	adrp	x8, _TLS_OCSP_REVOKED@GOTPAGE
Lloh118:
	ldr	x8, [x8, _TLS_OCSP_REVOKED@GOTPAGEOFF]
	b	LBB0_24
LBB0_55:
Lloh119:
	adrp	x8, _TLS_OCSP_GOOD@GOTPAGE
Lloh120:
	ldr	x8, [x8, _TLS_OCSP_GOOD@GOTPAGEOFF]
Lloh121:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w9, #0
	csel	w0, w22, w8, eq
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh87
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS_CONTENT_TYPE_HANDSHAKE,8,3 ; @TLS_CONTENT_TYPE_HANDSHAKE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLSv1: Expected Handshake; received content type 0x%x"

	.comm	_TLS_ALERT_LEVEL_FATAL,4,2      ; @TLS_ALERT_LEVEL_FATAL
	.comm	_TLS_ALERT_UNEXPECTED_MESSAGE,4,2 ; @TLS_ALERT_UNEXPECTED_MESSAGE
l_.str.1:                               ; @.str.1
	.asciz	"TLSv1: Too short CertificateStatus (left=%lu)"

	.comm	_TLS_ALERT_DECODE_ERROR,4,2     ; @TLS_ALERT_DECODE_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"TLSv1: Mismatch in CertificateStatus length (len=%lu != left=%lu)"

	.comm	_TLS_HANDSHAKE_TYPE_CERTIFICATE_STATUS,8,3 ; @TLS_HANDSHAKE_TYPE_CERTIFICATE_STATUS
l_.str.3:                               ; @.str.3
	.asciz	"TLSv1: Received unexpected handshake message %d (expected CertificateStatus)"

l_.str.4:                               ; @.str.4
	.asciz	"TLSv1: Received CertificateStatus"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.5:                               ; @.str.5
	.asciz	"TLSv1: Too short CertificateStatus"

l_.str.6:                               ; @.str.6
	.asciz	"TLSv1: CertificateStatus status_type %u"

	.comm	_TLS_OCSP_NO_RESPONSE,4,2       ; @TLS_OCSP_NO_RESPONSE
l_.str.7:                               ; @.str.7
	.asciz	"TLSv1: Truncated OCSPResponseList"

	.comm	_TLS_OCSP_INVALID,4,2           ; @TLS_OCSP_INVALID
l_.str.8:                               ; @.str.8
	.asciz	"TLSv1: Truncated OCSPResponseList(len=%u)"

l_.str.9:                               ; @.str.9
	.asciz	"TLSv1: Truncated OCSPResponse(len=%u; left=%d) in ocsp_multi"

	.comm	_TLS_OCSP_REVOKED,4,2           ; @TLS_OCSP_REVOKED
	.comm	_TLS_OCSP_GOOD,4,2              ; @TLS_OCSP_GOOD
l_.str.10:                              ; @.str.10
	.asciz	"TLSv1: Ignore unsupported CertificateStatus"

	.comm	_TLS_ALERT_CERTIFICATE_REVOKED,4,2 ; @TLS_ALERT_CERTIFICATE_REVOKED
	.comm	_TLS_FAIL_REVOKED,4,2           ; @TLS_FAIL_REVOKED
l_.str.11:                              ; @.str.11
	.asciz	"certificate revoked"

	.comm	_TLS_CONN_REQUIRE_OCSP_ALL,4,2  ; @TLS_CONN_REQUIRE_OCSP_ALL
	.comm	_TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE,4,2 ; @TLS_ALERT_BAD_CERTIFICATE_STATUS_RESPONSE
	.comm	_TLS_FAIL_UNSPECIFIED,4,2       ; @TLS_FAIL_UNSPECIFIED
l_.str.12:                              ; @.str.12
	.asciz	"bad certificate status response"

	.comm	_TLS_CONN_REQUIRE_OCSP,4,2      ; @TLS_CONN_REQUIRE_OCSP
	.comm	_SERVER_KEY_EXCHANGE,4,2        ; @SERVER_KEY_EXCHANGE
	.no_dead_strip	_tls_process_certificate_status
.subsections_via_symbols
