	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tlsv1_client_handshake         ## -- Begin function tlsv1_client_handshake
	.p2align	4, 0x90
_tlsv1_client_handshake:                ## @tlsv1_client_handshake
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	16(%rbp), %r13
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movl	$0, (%r13)
LBB0_2:
	movq	(%r15), %rax
	movq	_CLIENT_HELLO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_36
LBB0_5:
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	leaq	8(%r15), %r14
	cmpq	$0, 8(%r15)
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.6:
	movq	%rsi, %r12
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wpabuf_resize
	testq	%rax, %rax
	js	LBB0_21
## %bb.7:
	movq	(%r14), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_wpabuf_put_data
	movq	(%r14), %rdi
	callq	_wpabuf_head
	movq	%rax, %r12
	movq	(%r14), %rdi
	callq	_wpabuf_len
	movq	%r12, %rsi
	movq	%rax, %rbx
LBB0_8:
	xorl	%eax, %eax
	testq	%rsi, %rsi
	je	LBB0_36
## %bb.9:
	testq	%rbx, %rbx
	je	LBB0_36
## %bb.10:
	movq	%rsi, %r12
	movq	%rbx, %rdi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.11:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	jle	LBB0_25
## %bb.12:
	movq	%r12, %rsi
	leaq	(%r12,%rbx,4), %r12
	leaq	32(%r15), %rdi
	leaq	-96(%rbp), %r8
	leaq	-84(%rbp), %r9
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_15
LBB0_13:
	movq	%r15, %rdi
	movq	%rcx, %rsi
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tls_send_client_hello          ## TAILCALL
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movslq	-108(%rbp), %rax                ## 4-byte Folded Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	leaq	(%rsi,%rax,4), %rsi
	movq	-144(%rbp), %r12                ## 8-byte Reload
	cmpq	%r12, %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %r8
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	leaq	-84(%rbp), %r9
	jae	LBB0_25
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	movq	%rbx, -96(%rbp)
	movq	%r12, %r14
	subq	%rsi, %r14
	shrq	$2, %r14
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movl	%r14d, %edx
	movq	%rax, %rcx
	movq	%r8, %r13
	callq	_tlsv1_record_receive
	testl	%eax, %eax
	js	LBB0_37
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	je	LBB0_38
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	-96(%rbp), %rax
	testq	%rax, %rax
	jle	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx), %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rax,4), %r12
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rax
	subq	%rbx, %rax
	sarq	$2, %rax
	movq	%rax, -96(%rbp)
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	movq	-152(%rbp), %r9                 ## 8-byte Reload
	callq	_tlsv1_client_process_handshake
	testq	%rax, %rax
	js	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	-96(%rbp), %rax
	leaq	(%rbx,%rax,4), %rbx
	cmpq	%r12, %rbx
	jb	LBB0_19
	jmp	LBB0_14
LBB0_21:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	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
	xorl	%edi, %edi
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_23:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_24:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_25:
	movq	%rax, %rdi
	callq	_os_free
	movq	-120(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	xorl	%edx, %edx
	cmpq	$0, (%rax)
	sete	%dl
	jmp	LBB0_28
LBB0_27:
	movl	$1, %edx
LBB0_28:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_tlsv1_client_handshake_write
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
LBB0_29:
	callq	_os_free
	cmpq	$0, 24(%r15)
	je	LBB0_31
## %bb.30:
	movq	8(%r15), %rdi
	callq	_wpabuf_free
	movq	$0, 8(%r15)
	movq	_FAILED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movq	24(%r15), %rsi
	movl	16(%r15), %edx
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_tlsv1_client_send_alert
	jmp	LBB0_33
LBB0_31:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_33
## %bb.32:
	movl	$1, %edi
	callq	_os_zalloc
	movq	$0, (%rbx)
LBB0_33:
	testq	%r13, %r13
	je	LBB0_35
## %bb.34:
	cmpl	$0, (%r13)
	jne	LBB0_36
LBB0_35:
	movq	(%r14), %rdi
	movq	%rax, %rbx
	callq	_wpabuf_free
	movq	%rbx, %rax
	movq	$0, (%r14)
LBB0_36:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-84(%rbp), %edx
	movq	%r15, %rdi
	callq	_tls_alert
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_38:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %esi
	callq	_wpabuf_alloc_copy
	movq	%rax, %rbx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdi
	callq	_wpabuf_free
	movq	%rbx, (%r14)
	testq	%rbx, %rbx
	je	LBB0_41
## %bb.39:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_free
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_4
## %bb.40:
	movl	$1, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_36
LBB0_41:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	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
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_CLIENT_HELLO,8,3               ## @CLIENT_HELLO
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TLSv1: Failed to allocate memory for pending record"

	.comm	_TLS_ALERT_LEVEL_FATAL,4,2      ## @TLS_ALERT_LEVEL_FATAL
	.comm	_TLS_ALERT_INTERNAL_ERROR,4,2   ## @TLS_ALERT_INTERNAL_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"TLSv1: Processing received record failed"

L_.str.2:                               ## @.str.2
	.asciz	"TLSv1: Need more data"

	.comm	_FAILED,8,3                     ## @FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tlsv1_client_handshake         ; -- Begin function tlsv1_client_handshake
	.p2align	2
_tlsv1_client_handshake:                ; @tlsv1_client_handshake
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x6
	mov	x25, x5
	mov	x24, x4
	mov	x21, x3
	mov	x27, x2
	mov	x26, x1
	mov	x22, x0
	cbz	x6, LBB0_2
; %bb.1:
	str	wzr, [x19]
LBB0_2:
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _CLIENT_HELLO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CLIENT_HELLO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	cbz	x27, LBB0_13
LBB0_4:
	mov	x28, #0
	b	LBB0_35
LBB0_5:
	mov	x20, x22
	ldr	x8, [x20, #8]!
	cbz	x8, LBB0_8
; %bb.6:
	mov	x0, x20
	mov	x1, x27
	bl	_wpabuf_resize
	tbnz	x0, #63, LBB0_21
; %bb.7:
	ldr	x0, [x20]
	mov	x1, x26
	mov	x2, x27
	bl	_wpabuf_put_data
	ldr	x0, [x20]
	bl	_wpabuf_head
	mov	x26, x0
	ldr	x0, [x20]
	bl	_wpabuf_len
	mov	x27, x0
LBB0_8:
	mov	x28, #0
	cbz	x26, LBB0_35
; %bb.9:
	cbz	x27, LBB0_35
; %bb.10:
	mov	x0, x27
	bl	_os_malloc
	cbz	x0, LBB0_4
; %bb.11:
	mov	x23, x0
	stp	x21, x19, [sp, #16]             ; 16-byte Folded Spill
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	cmp	x27, #1
	b.lt	LBB0_24
; %bb.12:
	add	x20, x26, x27, lsl #2
	add	x0, x22, #32
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_15
LBB0_13:
	mov	x0, x22
	mov	x1, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_tls_send_client_hello
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x26, x26, w28, sxtw #2
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	cmp	x26, x20
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x19
	b.hs	LBB0_24
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	str	x27, [sp, #48]
	sub	x8, x20, x26
	lsr	x21, x8, #2
	add	x4, sp, #48
	add	x5, sp, #60
	mov	x19, x0
	mov	x1, x26
	mov	x2, x21
	mov	x3, x23
	bl	_tlsv1_record_receive
	tbnz	w0, #31, LBB0_36
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x28, x0
	cbz	w0, LBB0_37
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #48]
	cmp	x8, #1
	b.lt	LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w21, [x26]
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	add	x20, x23, x8, lsl #2
LBB0_19:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x8, x20, x23
	asr	x8, x8, #2
	str	x8, [sp, #48]
	add	x3, sp, #48
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x4, x24
	mov	x5, x25
	bl	_tlsv1_client_process_handshake
	tbnz	x0, #63, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [sp, #48]
	add	x23, x23, x8, lsl #2
	cmp	x23, x20
	b.lo	LBB0_19
	b	LBB0_14
LBB0_21:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh8:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_tls_alert
	mov	x23, #0
	mov	x28, #0
	b	LBB0_28
LBB0_22:
	mov	x28, #0
	ldr	x20, [sp, #32]                  ; 8-byte Folded Reload
LBB0_23:
	ldp	x21, x19, [sp, #16]             ; 16-byte Folded Reload
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_28
LBB0_24:
	mov	x0, x23
	bl	_os_free
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x24, LBB0_26
; %bb.25:
	ldr	x8, [x24]
	cmp	x8, #0
	cset	w2, eq
	b	LBB0_27
LBB0_26:
	mov	w2, #1
LBB0_27:
	ldp	x19, x20, [sp, #24]             ; 16-byte Folded Reload
	mov	x0, x22
	mov	x1, x21
	bl	_tlsv1_client_handshake_write
	mov	x28, x0
	mov	x23, #0
LBB0_28:
	mov	x0, x23
	bl	_os_free
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_30
; %bb.29:
	ldr	x0, [x22, #8]
	bl	_wpabuf_free
Lloh14:
	adrp	x8, _FAILED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FAILED@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	stp	x8, xzr, [x22]
	mov	x0, x28
	bl	_os_free
	ldr	x1, [x22, #24]
	ldr	w2, [x22, #16]
	mov	x0, x22
	mov	x3, x21
	bl	_tlsv1_client_send_alert
	mov	x28, x0
	b	LBB0_32
LBB0_30:
	cbnz	x28, LBB0_32
; %bb.31:
	mov	w0, #1
	bl	_os_zalloc
	mov	x28, x0
	str	xzr, [x21]
LBB0_32:
	cbz	x19, LBB0_34
; %bb.33:
	ldr	w8, [x19]
	cbnz	w8, LBB0_35
LBB0_34:
	ldr	x0, [x20]
	bl	_wpabuf_free
	str	xzr, [x20]
LBB0_35:
	mov	x0, x28
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_36:
Lloh17:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh22:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [sp, #60]
	mov	x0, x22
	bl	_tls_alert
	mov	x28, #0
	ldp	x19, x20, [sp, #24]             ; 16-byte Folded Reload
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_28
LBB0_37:
Lloh25:
	adrp	x20, _MSG_DEBUG@GOTPAGE
Lloh26:
	ldr	x20, [x20, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	x0, x26
	mov	x1, x21
	bl	_wpabuf_alloc_copy
	mov	x21, x0
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x0, [x23]
	bl	_wpabuf_free
	str	x21, [x23]
	cbz	x21, LBB0_40
; %bb.38:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_os_free
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x9, LBB0_4
; %bb.39:
	mov	x28, #0
	mov	w8, #1
	str	w8, [x9]
	b	LBB0_35
LBB0_40:
	ldr	w0, [x20]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh31:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_tls_alert
	mov	x28, #0
	mov	x20, x23
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_CLIENT_HELLO,8,3               ; @CLIENT_HELLO
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLSv1: Failed to allocate memory for pending record"

	.comm	_TLS_ALERT_LEVEL_FATAL,4,2      ; @TLS_ALERT_LEVEL_FATAL
	.comm	_TLS_ALERT_INTERNAL_ERROR,4,2   ; @TLS_ALERT_INTERNAL_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"TLSv1: Processing received record failed"

l_.str.2:                               ; @.str.2
	.asciz	"TLSv1: Need more data"

	.comm	_FAILED,8,3                     ; @FAILED
.subsections_via_symbols
