	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_sm_init               ## -- Begin function eap_peer_sm_init
	.p2align	4, 0x90
_eap_peer_sm_init:                      ## @eap_peer_sm_init
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	$56, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%r13, 48(%rax)
	movq	%r12, 40(%rax)
	movq	%r15, 32(%rax)
	movq	_EAP_CLIENT_TIMEOUT_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	20(%r14), %eax
	movl	%eax, 20(%rbx)
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_dl_list_init
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_os_memset
	movups	4(%r14), %xmm0
	movups	%xmm0, -60(%rbp)
	movq	_eap_peer_sm_tls_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%rbx, -72(%rbp)
	movl	(%r14), %eax
	movl	%eax, -76(%rbp)
	movq	%r15, %rdi
	callq	_tls_init
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	leaq	-80(%rbp), %rdi
	callq	_tls_init
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_5:
	movq	_MSG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_os_free
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_CLIENT_TIMEOUT_DEFAULT,4,2 ## @EAP_CLIENT_TIMEOUT_DEFAULT
	.comm	_eap_peer_sm_tls_event,4,2      ## @eap_peer_sm_tls_event
	.comm	_MSG_WARNING,4,2                ## @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL: Failed to initialize TLS context."

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"SSL: Failed to initialize TLS context (2)."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_sm_init               ; -- Begin function eap_peer_sm_init
	.p2align	2
_eap_peer_sm_init:                      ; @eap_peer_sm_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	w0, #56
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	str	x23, [x19, #48]
Lloh0:
	adrp	x8, _EAP_CLIENT_TIMEOUT_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_CLIENT_TIMEOUT_DEFAULT@GOTPAGEOFF]
	stp	x21, x22, [x19, #32]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	w8, [x20, #20]
	str	w8, [x19, #20]
	add	x0, x19, #16
	bl	_dl_list_init
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_os_memset
	ldur	q0, [x20, #4]
Lloh3:
	adrp	x8, _eap_peer_sm_tls_event@GOTPAGE
Lloh4:
	ldr	x8, [x8, _eap_peer_sm_tls_event@GOTPAGEOFF]
	stur	q0, [sp, #28]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	x19, [sp, #16]
	ldr	w8, [x20]
	str	w8, [sp, #12]
	add	x0, sp, #8
	bl	_tls_init
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.2:
	add	x0, sp, #8
	bl	_tls_init
	str	x0, [x19]
	cbnz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _MSG_WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	bl	_os_free
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_CLIENT_TIMEOUT_DEFAULT,4,2 ; @EAP_CLIENT_TIMEOUT_DEFAULT
	.comm	_eap_peer_sm_tls_event,4,2      ; @eap_peer_sm_tls_event
	.comm	_MSG_WARNING,4,2                ; @MSG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL: Failed to initialize TLS context."

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"SSL: Failed to initialize TLS context (2)."

.subsections_via_symbols
