	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_tls_decrypt           ## -- Begin function eap_peer_tls_decrypt
	.p2align	4, 0x90
_eap_peer_tls_decrypt:                  ## @eap_peer_tls_decrypt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movq	%rsi, %rbx
	leaq	-20(%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:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	%rax, %rdx
	callq	_tls_connection_decrypt
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_eap_peer_tls_reset_input
	xorl	%eax, %eax
	cmpq	$0, (%r14)
	jne	LBB0_4
## %bb.3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %eax
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	cmpl	$1, -20(%rbp)
	sbbl	%eax, %eax
	orl	$1, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL: Failed to decrypt Phase 2 data"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_tls_decrypt           ; -- Begin function eap_peer_tls_decrypt
	.p2align	2
_eap_peer_tls_decrypt:                  ; @eap_peer_tls_decrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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_3
; %bb.1:
	mov	x2, x0
	ldp	w1, w0, [x20]
	bl	_tls_connection_decrypt
	str	x0, [x19]
	mov	x0, x20
	bl	_eap_peer_tls_reset_input
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	ldr	w8, [sp, #12]
	cmp	w8, #0
	mov	w8, #-1
	cneg	w0, w8, ne
	b	LBB0_5
LBB0_4:
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
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL: Failed to decrypt Phase 2 data"

.subsections_via_symbols
