	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_tls_ssl_init          ## -- Begin function eap_peer_tls_ssl_init
	.p2align	4, 0x90
_eap_peer_tls_ssl_init:                 ## @eap_peer_tls_ssl_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rdi, 32(%rsi)
	movl	%ecx, 24(%rsi)
	movq	16(%rdi), %r8
	movq	%r8, 8(%rsi)
	testq	%r8, %r8
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	movq	(%rbx), %rax
LBB0_4:
	movq	%rax, 16(%r12)
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rcx
	callq	_eap_tls_params_from_conf
	testq	%rax, %rax
	js	LBB0_12
## %bb.5:
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_eap_tls_init_connection
	testq	%rax, %rax
	js	LBB0_12
## %bb.6:
	movl	(%r15), %eax
	movl	%eax, (%r12)
	cmpq	$0, 8(%r12)
	je	LBB0_9
## %bb.7:
	cmpl	$101, %eax
	jl	LBB0_9
## %bb.8:
	addl	$-100, %eax
	movl	%eax, (%r12)
LBB0_9:
	movq	8(%r15), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.10:
	leaq	L_.str(%rip), %rsi
	callq	_os_strstr
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movl	$1, 4(%r12)
LBB0_12:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"include_tls_length=1"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"TLS: Include TLS Message Length in unfragmented packets"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_peer_tls_ssl_init          ; -- Begin function eap_peer_tls_ssl_init
	.p2align	2
_eap_peer_tls_ssl_init:                 ; @eap_peer_tls_ssl_init
	.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
	cbz	x2, LBB0_12
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	x0, [x1, #32]
	str	w3, [x1, #24]
	ldr	x4, [x0, #16]
	str	x4, [x1, #8]
	cbz	x4, LBB0_3
; %bb.2:
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_4
LBB0_3:
	ldr	x8, [x21]
LBB0_4:
	str	x8, [x19, #16]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x19
	mov	x3, x20
	bl	_eap_tls_params_from_conf
	tbnz	x0, #63, LBB0_12
; %bb.5:
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_eap_tls_init_connection
	tbnz	x0, #63, LBB0_12
; %bb.6:
	ldr	w8, [x20]
	str	w8, [x19]
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_9
; %bb.7:
	cmp	w8, #101
	b.lt	LBB0_9
; %bb.8:
	sub	w8, w8, #100
	str	w8, [x19]
LBB0_9:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_13
; %bb.10:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_os_strstr
	cbz	x0, LBB0_13
; %bb.11:
Lloh2:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_13
LBB0_12:
	mov	w0, #-1
LBB0_13:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"include_tls_length=1"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"TLS: Include TLS Message Length in unfragmented packets"

.subsections_via_symbols
