	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_send_client_hello          ## -- Begin function tls_send_client_hello
	.p2align	4, 0x90
_tls_send_client_hello:                 ## @tls_send_client_hello
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_TLS_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_TLS_CONN_DISABLE_TLSv1_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	_TLS_VERSION_1@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_4
## %bb.2:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_tls_version_str
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	$0, (%r14)
	leaq	-48(%rbp), %rdi
	callq	_os_get_time
	movl	52(%r15), %edi
	movl	-48(%rbp), %esi
	callq	_WPA_PUT_BE32
	movl	52(%r15), %edi
	addl	$4, %edi
	movq	_TLS_RANDOM_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	addl	$-4, %esi
	callq	_random_get_bytes
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_24:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	52(%r15), %edx
	movl	(%rbx), %ecx
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_hexdump
	movslq	4(%r15), %rax
	movslq	8(%r15), %rcx
	leaq	(%rcx,%rax,2), %rdi
	addq	$150, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_TLS_RECORD_HEADER_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	leaq	(%rbx,%r13,4), %r14
	movq	_TLS_HANDSHAKE_TYPE_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx,%r13,4)
	leaq	(%rbx,%r13,4), %rdi
	addq	$16, %rdi
	movl	%r12d, %esi
	callq	_WPA_PUT_BE16
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13,4), %rdi
	addq	$24, %rdi
	movl	52(%r15), %esi
	movq	_TLS_RANDOM_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_os_memcpy
	movslq	(%rbx), %rax
	leaq	(%r14,%rax,4), %r13
	addq	$24, %r13
	movl	12(%r15), %ecx
	leaq	28(%r14,%rax,4), %rdi
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	%ecx, 24(%r14,%rax,4)
	movl	12(%r15), %edx
	movl	48(%r15), %esi
	callq	_os_memcpy
	movslq	12(%r15), %rbx
	leaq	4(,%rbx,4), %r12
	addq	%r13, %r12
	movl	4(%r15), %esi
	addl	%esi, %esi
	movq	%r12, %rdi
	callq	_WPA_PUT_BE16
	cmpl	$0, 4(%r15)
	je	LBB0_9
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	addq	$8, %r12
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_WPA_PUT_BE16
	incq	%rbx
	movslq	4(%r15), %rax
	cmpq	%rax, %rbx
	jb	LBB0_11
## %bb.12:
	leaq	8(%r12), %rax
	jmp	LBB0_13
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_9:
	leaq	12(,%rbx,4), %rax
	addq	%r13, %rax
LBB0_13:
	movl	$1, (%rax)
	movq	_TLS_COMPRESSION_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movl	44(%r15), %esi
	testl	%esi, %esi
	je	LBB0_14
## %bb.15:
	leaq	24(%r12), %rdi
	movl	8(%r15), %edx
	callq	_os_memcpy
	movslq	8(%r15), %r13
	addq	$6, %r13
	jmp	LBB0_16
LBB0_14:
	movl	$6, %r13d
LBB0_16:
	movq	_TLS_CONN_REQUEST_OCSP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_18
## %bb.17:
	leaq	(%r12,%r13,4), %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_EXT_STATUS_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPA_PUT_BE16
	leaq	(%r12,%r13,4), %rdi
	addq	$8, %rdi
	movl	$5, %esi
	callq	_WPA_PUT_BE16
	leaq	(%r12,%r13,4), %rdi
	addq	$20, %rdi
	movl	$1, 16(%r12,%r13,4)
	xorl	%esi, %esi
	callq	_WPA_PUT_BE16
	leaq	(%r12,%r13,4), %rdi
	addq	$28, %rdi
	xorl	%esi, %esi
	callq	_WPA_PUT_BE16
	leaq	(%r12,%r13,4), %r14
	addq	$36, %r14
	movl	(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_EXT_STATUS_REQUEST_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WPA_PUT_BE16
	leaq	(%r12,%r13,4), %rdi
	addq	$44, %rdi
	movl	$7, %esi
	callq	_WPA_PUT_BE16
	leaq	(%r12,%r13,4), %rdi
	addq	$52, %rdi
	movl	$5, %esi
	callq	_WPA_PUT_BE16
	leaq	(%r12,%r13,4), %rdi
	addq	$64, %rdi
	movl	$2, 60(%r12,%r13,4)
	xorl	%esi, %esi
	callq	_WPA_PUT_BE16
	leaq	(%r12,%r13,4), %rdi
	addq	$72, %rdi
	xorl	%esi, %esi
	callq	_WPA_PUT_BE16
	addq	$20, %r13
LBB0_18:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rdi
	addq	$4, %rdi
	leaq	(%r12,%r13,4), %r14
	cmpq	$6, %r13
	jne	LBB0_20
## %bb.19:
	addq	$-8, %r14
	jmp	LBB0_21
LBB0_20:
	addq	$16, %r12
	addl	$-6, %r13d
	movq	%rdi, %rbx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_WPA_PUT_BE16
	movq	%rbx, %rdi
LBB0_21:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$2, %rsi
	addl	$-3, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_WPA_PUT_BE24
	leaq	40(%r15), %rdi
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	subq	%r12, %r14
	shrq	$2, %r14
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_tls_verify_hash_add
	leaq	32(%r15), %rdi
	movq	_TLS_CONTENT_TYPE_HANDSHAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, (%rsp)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	movq	%r12, %r8
	movl	%r14d, %r9d
	callq	_tlsv1_record_send
	testq	%rax, %rax
	js	LBB0_22
## %bb.23:
	movq	_SERVER_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	jmp	LBB0_24
LBB0_22:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_tls_alert
	movq	%rbx, %rdi
	callq	_os_free
	xorl	%ebx, %ebx
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS_VERSION,8,3                ## @TLS_VERSION
	.comm	_TLS_CONN_DISABLE_TLSv1_0,4,2   ## @TLS_CONN_DISABLE_TLSv1_0
	.comm	_TLS_VERSION_1,8,3              ## @TLS_VERSION_1
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TLSv1: No TLS version allowed"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"TLSv1: Send ClientHello (ver %s)"

	.comm	_TLS_RANDOM_LEN,4,2             ## @TLS_RANDOM_LEN
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"TLSv1: Could not generate client_random"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.3:                               ## @.str.3
	.asciz	"TLSv1: client_random"

	.comm	_TLS_RECORD_HEADER_LEN,4,2      ## @TLS_RECORD_HEADER_LEN
	.comm	_TLS_HANDSHAKE_TYPE_CLIENT_HELLO,4,2 ## @TLS_HANDSHAKE_TYPE_CLIENT_HELLO
	.comm	_TLS_COMPRESSION_NULL,4,2       ## @TLS_COMPRESSION_NULL
	.comm	_TLS_CONN_REQUEST_OCSP,4,2      ## @TLS_CONN_REQUEST_OCSP
L_.str.4:                               ## @.str.4
	.asciz	"TLSv1: Add status_request extension for OCSP stapling"

	.comm	_TLS_EXT_STATUS_REQUEST,4,2     ## @TLS_EXT_STATUS_REQUEST
L_.str.5:                               ## @.str.5
	.asciz	"TLSv1: Add status_request_v2 extension for OCSP stapling"

	.comm	_TLS_EXT_STATUS_REQUEST_V2,4,2  ## @TLS_EXT_STATUS_REQUEST_V2
	.comm	_TLS_CONTENT_TYPE_HANDSHAKE,4,2 ## @TLS_CONTENT_TYPE_HANDSHAKE
L_.str.6:                               ## @.str.6
	.asciz	"TLSv1: Failed to create TLS record"

	.comm	_TLS_ALERT_LEVEL_FATAL,4,2      ## @TLS_ALERT_LEVEL_FATAL
	.comm	_TLS_ALERT_INTERNAL_ERROR,4,2   ## @TLS_ALERT_INTERNAL_ERROR
	.comm	_SERVER_HELLO,4,2               ## @SERVER_HELLO
	.comm	_TLS_CONN_DISABLE_TLSv1_1,4,2   ## @TLS_CONN_DISABLE_TLSv1_1
	.comm	_TLS_CONN_DISABLE_TLSv1_2,4,2   ## @TLS_CONN_DISABLE_TLSv1_2
	.comm	_TLS_EXT_SIGNATURE_ALGORITHMS,4,2 ## @TLS_EXT_SIGNATURE_ALGORITHMS
	.comm	_TLS_HASH_ALG_SHA256,4,2        ## @TLS_HASH_ALG_SHA256
	.comm	_TLS_HASH_ALG_SHA384,4,2        ## @TLS_HASH_ALG_SHA384
	.comm	_TLS_HASH_ALG_SHA512,4,2        ## @TLS_HASH_ALG_SHA512
	.comm	_TLS_SIGN_ALG_RSA,8,3           ## @TLS_SIGN_ALG_RSA
	.comm	_TLS_VERSION_1_1,8,3            ## @TLS_VERSION_1_1
	.comm	_TLS_VERSION_1_2,8,3            ## @TLS_VERSION_1_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_send_client_hello          ; -- Begin function tls_send_client_hello
	.p2align	2
_tls_send_client_hello:                 ; @tls_send_client_hello
	.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
Lloh0:
	adrp	x8, _TLS_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLS_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _TLS_CONN_DISABLE_TLSv1_0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TLS_CONN_DISABLE_TLSv1_0@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh6:
	adrp	x9, _TLS_VERSION_1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TLS_VERSION_1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x24, x9, #0, ne
	b.eq	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh9:
	adrp	x27, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x27, [x27, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w21, [x27]
	mov	x0, x24
	bl	_tls_version_str
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_wpa_printf
	str	xzr, [x20]
	add	x0, sp, #24
	bl	_os_get_time
	ldr	w0, [x19, #52]
	ldr	w1, [sp, #24]
	bl	_WPA_PUT_BE32
	ldr	w8, [x19, #52]
	add	w0, w8, #4
Lloh13:
	adrp	x25, _TLS_RANDOM_LEN@GOTPAGE
Lloh14:
	ldr	x25, [x25, _TLS_RANDOM_LEN@GOTPAGEOFF]
	ldr	w8, [x25]
	sub	w1, w8, #4
	bl	_random_get_bytes
	cbz	x0, LBB0_7
; %bb.2:
Lloh15:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh20:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	bl	_wpa_printf
LBB0_5:
	mov	x21, #0
LBB0_6:
	mov	x0, x21
	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_7:
Lloh25:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	w2, [x19, #52]
	ldr	w3, [x25]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_hexdump
	ldpsw	x8, x9, [x19, #4]
	add	x8, x9, x8, lsl #1
	add	x22, x8, #150
	mov	x0, x22
	bl	_os_malloc
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.8:
Lloh30:
	adrp	x8, _TLS_RECORD_HEADER_LEN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TLS_RECORD_HEADER_LEN@GOTPAGEOFF]
Lloh32:
	ldrsw	x8, [x8]
	add	x23, x21, x8, lsl #2
Lloh33:
	adrp	x8, _TLS_HANDSHAKE_TYPE_CLIENT_HELLO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TLS_HANDSHAKE_TYPE_CLIENT_HELLO@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	mov	x0, x23
	str	w8, [x0], #16
	mov	x1, x24
	bl	_WPA_PUT_BE16
	add	x24, x23, #24
	ldr	w1, [x19, #52]
	ldr	w2, [x25]
	mov	x0, x24
	bl	_os_memcpy
	ldrsw	x8, [x25]
	add	x24, x24, x8, lsl #2
	ldr	w8, [x19, #12]
	str	w8, [x24], #4
	ldr	w1, [x19, #48]
	ldr	w2, [x19, #12]
	mov	x0, x24
	bl	_os_memcpy
	ldrsw	x8, [x19, #12]
	add	x24, x24, x8, lsl #2
	ldr	w8, [x19, #4]
	lsl	w1, w8, #1
	mov	x0, x24
	bl	_WPA_PUT_BE16
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_11
; %bb.9:
	mov	x25, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x24, x24, #8
	ldr	x8, [x19, #16]
	ldr	w1, [x8, x25, lsl #2]
	mov	x0, x24
	bl	_WPA_PUT_BE16
	add	x25, x25, #1
	ldrsw	x8, [x19, #4]
	cmp	x25, x8
	b.lo	LBB0_10
LBB0_11:
	add	x8, x24, #8
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	mov	w9, #1
	str	w9, [x8]
Lloh36:
	adrp	x8, _TLS_COMPRESSION_NULL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TLS_COMPRESSION_NULL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x24, #12]
	ldr	w1, [x19, #44]
	cbz	w1, LBB0_13
; %bb.12:
	add	x0, x24, #24
	ldr	w2, [x19, #8]
	bl	_os_memcpy
	ldrsw	x8, [x19, #8]
	add	x28, x8, #6
	b	LBB0_14
LBB0_13:
	mov	w28, #6
LBB0_14:
	add	x25, x23, #4
	ldr	w8, [x19]
Lloh39:
	adrp	x9, _TLS_CONN_REQUEST_OCSP@GOTPAGE
Lloh40:
	ldr	x9, [x9, _TLS_CONN_REQUEST_OCSP@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	add	x26, x24, x28, lsl #2
	ldr	w0, [x27]
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
Lloh44:
	adrp	x8, _TLS_EXT_STATUS_REQUEST@GOTPAGE
Lloh45:
	ldr	x8, [x8, _TLS_EXT_STATUS_REQUEST@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_WPA_PUT_BE16
	add	x0, x26, #8
	mov	w1, #5
	bl	_WPA_PUT_BE16
	add	x0, x26, #20
	mov	w8, #1
	str	w8, [x26, #16]
	mov	w1, #0
	bl	_WPA_PUT_BE16
	add	x0, x26, #28
	mov	w1, #0
	bl	_WPA_PUT_BE16
	mov	x8, x27
	add	x27, x26, #36
	mov	x22, x8
	ldr	w0, [x8]
Lloh47:
	adrp	x1, l_.str.5@PAGE
Lloh48:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
Lloh49:
	adrp	x8, _TLS_EXT_STATUS_REQUEST_V2@GOTPAGE
Lloh50:
	ldr	x8, [x8, _TLS_EXT_STATUS_REQUEST_V2@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x27
	bl	_WPA_PUT_BE16
	add	x0, x26, #44
	mov	w1, #7
	bl	_WPA_PUT_BE16
	add	x0, x26, #52
	mov	w1, #5
	bl	_WPA_PUT_BE16
	add	x0, x26, #64
	mov	w8, #2
	str	w8, [x26, #60]
	mov	w1, #0
	bl	_WPA_PUT_BE16
	add	x0, x26, #72
	mov	w1, #0
	bl	_WPA_PUT_BE16
	add	x28, x28, #20
	b	LBB0_17
LBB0_16:
	mov	x22, x27
LBB0_17:
	add	x26, x24, x28, lsl #2
	cmp	x28, #6
	b.ne	LBB0_19
; %bb.18:
	sub	x26, x26, #8
	b	LBB0_20
LBB0_19:
	add	x0, x24, #16
	sub	w1, w28, #6
	bl	_WPA_PUT_BE16
LBB0_20:
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	sub	x8, x26, x25
	lsr	x8, x8, #2
	sub	w1, w8, #3
	mov	x0, x25
	bl	_WPA_PUT_BE24
	add	x0, x19, #40
	sub	x8, x26, x23
	lsr	x24, x8, #2
	mov	x1, x23
	mov	x2, x24
	bl	_tls_verify_hash_add
	add	x0, x19, #32
Lloh52:
	adrp	x8, _TLS_CONTENT_TYPE_HANDSHAKE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TLS_CONTENT_TYPE_HANDSHAKE@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x27
	mov	x4, x23
	mov	x5, x24
	mov	x6, x20
	bl	_tlsv1_record_send
	tbnz	x0, #63, LBB0_22
; %bb.21:
Lloh55:
	adrp	x8, _SERVER_HELLO@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SERVER_HELLO@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	b	LBB0_6
LBB0_22:
	ldr	w0, [x22]
Lloh58:
	adrp	x1, l_.str.6@PAGE
Lloh59:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
Lloh60:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh61:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
Lloh63:
	adrp	x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tls_alert
	mov	x0, x21
	bl	_os_free
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS_VERSION,8,3                ; @TLS_VERSION
	.comm	_TLS_CONN_DISABLE_TLSv1_0,4,2   ; @TLS_CONN_DISABLE_TLSv1_0
	.comm	_TLS_VERSION_1,8,3              ; @TLS_VERSION_1
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLSv1: No TLS version allowed"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"TLSv1: Send ClientHello (ver %s)"

	.comm	_TLS_RANDOM_LEN,4,2             ; @TLS_RANDOM_LEN
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"TLSv1: Could not generate client_random"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.3:                               ; @.str.3
	.asciz	"TLSv1: client_random"

	.comm	_TLS_RECORD_HEADER_LEN,4,2      ; @TLS_RECORD_HEADER_LEN
	.comm	_TLS_HANDSHAKE_TYPE_CLIENT_HELLO,4,2 ; @TLS_HANDSHAKE_TYPE_CLIENT_HELLO
	.comm	_TLS_COMPRESSION_NULL,4,2       ; @TLS_COMPRESSION_NULL
	.comm	_TLS_CONN_REQUEST_OCSP,4,2      ; @TLS_CONN_REQUEST_OCSP
l_.str.4:                               ; @.str.4
	.asciz	"TLSv1: Add status_request extension for OCSP stapling"

	.comm	_TLS_EXT_STATUS_REQUEST,4,2     ; @TLS_EXT_STATUS_REQUEST
l_.str.5:                               ; @.str.5
	.asciz	"TLSv1: Add status_request_v2 extension for OCSP stapling"

	.comm	_TLS_EXT_STATUS_REQUEST_V2,4,2  ; @TLS_EXT_STATUS_REQUEST_V2
	.comm	_TLS_CONTENT_TYPE_HANDSHAKE,4,2 ; @TLS_CONTENT_TYPE_HANDSHAKE
l_.str.6:                               ; @.str.6
	.asciz	"TLSv1: Failed to create TLS record"

	.comm	_TLS_ALERT_LEVEL_FATAL,4,2      ; @TLS_ALERT_LEVEL_FATAL
	.comm	_TLS_ALERT_INTERNAL_ERROR,4,2   ; @TLS_ALERT_INTERNAL_ERROR
	.comm	_SERVER_HELLO,4,2               ; @SERVER_HELLO
	.comm	_TLS_CONN_DISABLE_TLSv1_1,4,2   ; @TLS_CONN_DISABLE_TLSv1_1
	.comm	_TLS_CONN_DISABLE_TLSv1_2,4,2   ; @TLS_CONN_DISABLE_TLSv1_2
	.comm	_TLS_EXT_SIGNATURE_ALGORITHMS,4,2 ; @TLS_EXT_SIGNATURE_ALGORITHMS
	.comm	_TLS_HASH_ALG_SHA256,4,2        ; @TLS_HASH_ALG_SHA256
	.comm	_TLS_HASH_ALG_SHA384,4,2        ; @TLS_HASH_ALG_SHA384
	.comm	_TLS_HASH_ALG_SHA512,4,2        ; @TLS_HASH_ALG_SHA512
	.comm	_TLS_SIGN_ALG_RSA,8,3           ; @TLS_SIGN_ALG_RSA
	.comm	_TLS_VERSION_1_1,8,3            ; @TLS_VERSION_1_1
	.comm	_TLS_VERSION_1_2,8,3            ; @TLS_VERSION_1_2
.subsections_via_symbols
