	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_tls_process_input
_eap_tls_process_input:                 ## @eap_tls_process_input
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %rbx
	leaq	-36(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_eap_peer_tls_data_reassemble
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	8(%rbx), %rdi
	callq	_wpabuf_free
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_WPA_ASSERT
LBB0_4:
	movq	$0, -32(%rbp)
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	leaq	-32(%rbp), %rcx
	movq	%r15, %rdx
	callq	_tls_connection_handshake
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_eap_peer_tls_reset_input
	cmpq	$0, -32(%rbp)
	je	LBB0_8
## %bb.5:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_tls_connection_established
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_tls_connection_get_failed
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	movq	-32(%rbp), %rdi
	callq	_wpabuf_free
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	cmpl	$1, -36(%rbp)
	sbbl	%eax, %eax
	orl	$1, %eax
	jmp	LBB0_9
LBB0_7:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-32(%rbp), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_hexdump_buf_key
	movq	-32(%rbp), %rax
	movq	%rax, (%r14)
	movl	$2, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL: eap_tls_process_input - pending tls_out data even though tls_out_len = 0"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.1:                               ## @.str.1
	.asciz	"SSL: Application data"

	.no_dead_strip	_eap_tls_process_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_tls_process_input
_eap_tls_process_input:                 ; @eap_tls_process_input
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x8, x2
	mov	x20, x1
	add	x2, sp, #12
	mov	x0, x1
	mov	x1, x8
	bl	_eap_peer_tls_data_reassemble
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x20, #8]
	bl	_wpabuf_free
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_WPA_ASSERT
LBB0_3:
	str	xzr, [sp]
	ldp	w1, w0, [x20]
	mov	x3, sp
	mov	x2, x21
	bl	_tls_connection_handshake
	str	x0, [x20, #8]
	mov	x0, x20
	bl	_eap_peer_tls_reset_input
	ldr	x8, [sp]
	cbz	x8, LBB0_6
; %bb.4:
	ldp	w1, w0, [x20]
	bl	_tls_connection_established
	cbz	x0, LBB0_6
; %bb.5:
	ldp	w1, w0, [x20]
	bl	_tls_connection_get_failed
	cbz	w0, LBB0_8
LBB0_6:
	ldr	x0, [sp]
	bl	_wpabuf_free
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	ldr	w8, [sp, #12]
	cmp	w8, #0
	mov	w8, #-1
	cneg	w0, w8, ne
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x2, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_hexdump_buf_key
	ldr	x8, [sp]
	str	x8, [x19]
	mov	w0, #2
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL: eap_tls_process_input - pending tls_out data even though tls_out_len = 0"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.1:                               ; @.str.1
	.asciz	"SSL: Application data"

	.no_dead_strip	_eap_tls_process_input
.subsections_via_symbols
