	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_tls_process
_eap_tls_process:                       ## @eap_tls_process
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	8(%rsi), %r15
	movq	(%rsi), %r8
	movq	_eap_tls_process_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rsi
	movq	%r14, %rcx
	xorl	%r9d, %r9d
	callq	_eap_server_tls_process
	testq	%rax, %rax
	js	LBB0_8
## %bb.1:
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_tls_connection_established
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_tls_connection_resumed
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movl	(%r15), %edi
	callq	_tls_connection_get_success_data
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_wpabuf_len
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_wpabuf_head
	movq	(%rax), %rdx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpq	(%r14), %rdx
	jne	LBB0_7
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_tls_state
	movl	8(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tls_connection_set_success_data_resumed ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_8:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_tls_state                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_eap_tls_process_msg,4,2        ## @eap_tls_process_msg
	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TLS: No success data in resumed session - reject attempt"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-TLS: Resumed session for another EAP type (%u) - reject attempt"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-TLS: Resuming previous session"

	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_eap_tls_process
.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
_eap_tls_process:                       ; @eap_tls_process
	.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, x1
	mov	x21, x0
	mov	x20, x1
	ldr	x4, [x20], #8
Lloh0:
	adrp	x8, _eap_tls_process_msg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _eap_tls_process_msg@GOTPAGEOFF]
Lloh2:
	ldr	w6, [x8]
	mov	x1, x20
	mov	x3, x19
	mov	x5, #0
	bl	_eap_server_tls_process
	tbnz	x0, #63, LBB0_11
; %bb.1:
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_tls_connection_established
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_tls_connection_resumed
	cbz	w0, LBB0_7
; %bb.3:
	ldr	w0, [x20]
	bl	_tls_connection_get_success_data
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
	bl	_wpabuf_len
	cmp	w0, #0
	b.le	LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_wpabuf_head
	ldr	x8, [x0]
	ldr	x9, [x19]
Lloh3:
	adrp	x10, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x10]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
Lloh8:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_tls_state
	ldr	w0, [x19, #8]
	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
	b	_tls_connection_set_success_data_resumed
LBB0_7:
	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
LBB0_8:
Lloh11:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	bl	_wpa_printf
LBB0_11:
Lloh18:
	adrp	x8, _FAILURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_eap_tls_state
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_eap_tls_process_msg,4,2        ; @eap_tls_process_msg
	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TLS: No success data in resumed session - reject attempt"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-TLS: Resumed session for another EAP type (%u) - reject attempt"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-TLS: Resuming previous session"

	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_eap_tls_process
.subsections_via_symbols
