	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_tls_process_helper    ## -- Begin function eap_peer_tls_process_helper
	.p2align	4, 0x90
_eap_peer_tls_process_helper:           ## @eap_peer_tls_process_helper
	.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	%r9, %r14
	movl	%r8d, -88(%rbp)                 ## 4-byte Spill
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	16(%rbp), %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, (%r12)
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	callq	_wpabuf_len
	testq	%rax, %rax
	jle	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_wpabuf_len
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
	jmp	LBB0_18
LBB0_4:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_wpabuf_len
	testq	%rax, %rax
	jne	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_eap_tls_process_input
	testl	%eax, %eax
	jne	LBB0_18
## %bb.7:
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	leaq	-80(%rbp), %rdx
	movl	$20, %ecx
	callq	_tls_get_version
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:
	cmpq	$0, 8(%rbx)
	je	LBB0_10
LBB0_11:
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	callq	_tls_connection_get_failed
	testq	%rax, %rax
	je	LBB0_12
## %bb.15:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rdi
	callq	_wpabuf_len
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%rbx), %rdi
	callq	_wpabuf_len
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.16:
	movq	8(%rbx), %rdi
	callq	_wpabuf_free
	movq	$0, 8(%rbx)
	movl	$-1, %eax
	jmp	LBB0_18
LBB0_12:
	xorl	%r14d, %r14d
LBB0_13:
	movq	8(%rbx), %rdi
	callq	_wpabuf_len
	testq	%rax, %rax
	je	LBB0_14
## %bb.17:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movq	%r12, %r9
	callq	_eap_tls_process_output
	jmp	LBB0_18
LBB0_8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %r14
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_os_strcmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movl	%ecx, (%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	callq	_eap_peer_tls_reset_output
	movl	$-1, %eax
	jmp	LBB0_18
LBB0_14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%rbx), %rdi
	callq	_wpabuf_free
	movq	$0, 8(%rbx)
	movl	$1, %eax
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL: Received non-ACK when output fragments are waiting to be sent out"

L_.str.1:                               ## @.str.1
	.asciz	"SSL: Using TLS version %s"

L_.str.2:                               ## @.str.2
	.asciz	"TLSv1.3"

L_.str.3:                               ## @.str.3
	.asciz	"SSL: Failed - tls_out available to report error (len=%u)"

L_.str.4:                               ## @.str.4
	.asciz	"SSL: No data to be sent out"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_tls_process_helper    ; -- Begin function eap_peer_tls_process_helper
	.p2align	2
_eap_peer_tls_process_helper:           ; @eap_peer_tls_process_helper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x20, x6
	mov	x24, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	xzr, [x6]
	ldr	x0, [x1, #8]
	cbz	x0, LBB0_6
; %bb.1:
	bl	_wpabuf_len
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x24
	bl	_wpabuf_len
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:
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
	b	LBB0_19
LBB0_4:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_wpabuf_len
	cbnz	x0, LBB0_8
LBB0_6:
	mov	x0, x25
	mov	x1, x19
	mov	x2, x24
	mov	x3, x20
	bl	_eap_tls_process_input
	cbnz	w0, LBB0_20
; %bb.7:
	ldp	w1, w0, [x19, #16]
	add	x24, sp, #20
	add	x2, sp, #20
	mov	w3, #20
	bl	_tls_get_version
	cbz	x0, LBB0_15
LBB0_8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
LBB0_9:
	ldp	w1, w0, [x19, #16]
	bl	_tls_connection_get_failed
	cbz	x0, LBB0_12
; %bb.10:
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
	ldr	x0, [x19, #8]
	bl	_wpabuf_len
	str	x0, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	bl	_wpa_printf
	ldr	x0, [x19, #8]
	bl	_wpabuf_len
	cbz	x0, LBB0_18
; %bb.11:
	mov	w24, #-1
	b	LBB0_13
LBB0_12:
	mov	w24, #0
LBB0_13:
	ldr	x0, [x19, #8]
	bl	_wpabuf_len
	cbz	x0, LBB0_17
; %bb.14:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x24
	mov	x5, x20
	bl	_eap_tls_process_output
	b	LBB0_20
LBB0_15:
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	str	x24, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #20
	bl	_os_strcmp
	cmp	x0, #0
	cset	w8, eq
	str	w8, [x19]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_9
LBB0_16:
	mov	x0, x19
	bl	_eap_peer_tls_reset_output
	b	LBB0_19
LBB0_17:
Lloh20:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x19, #8]
	bl	_wpabuf_free
	str	xzr, [x19, #8]
	mov	w0, #1
	b	LBB0_20
LBB0_18:
	ldr	x0, [x19, #8]
	bl	_wpabuf_free
	str	xzr, [x19, #8]
LBB0_19:
	mov	w0, #-1
LBB0_20:
	ldr	x8, [sp, #40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	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
	add	sp, sp, #128
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL: Received non-ACK when output fragments are waiting to be sent out"

l_.str.1:                               ; @.str.1
	.asciz	"SSL: Using TLS version %s"

l_.str.2:                               ; @.str.2
	.asciz	"TLSv1.3"

l_.str.3:                               ; @.str.3
	.asciz	"SSL: Failed - tls_out available to report error (len=%u)"

l_.str.4:                               ; @.str.4
	.asciz	"SSL: No data to be sent out"

.subsections_via_symbols
