	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_tls_params_from_conf
_eap_tls_params_from_conf:              ## @eap_tls_params_from_conf
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_os_memset
	cmpq	$0, 8(%r14)
	movq	(%r12), %rax
	je	LBB0_4
## %bb.1:
	movq	_EAP_TYPE_FAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movq	_EAP_TYPE_TEAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_TLS_CONN_DISABLE_SESSION_TICKET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rbx)
LBB0_4:
	movq	_EAP_TYPE_TEAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	_TLS_CONN_DISABLE_TLSv1_0@GOTPCREL(%rip), %rsi
	movq	_TLS_CONN_DISABLE_TLSv1_1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	orl	(%rbx), %edx
	movl	%edx, (%rbx)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	cmpq	$0, 8(%rsi)
	je	LBB0_7
## %bb.6:
	movq	_TLS_CONN_TEAP_ANON_DH@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, (%rbx)
LBB0_7:
	movq	_EAP_TYPE_FAST@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_11
## %bb.8:
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.9:
	movq	_EAP_TYPE_TTLS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.10:
	movq	_EAP_TYPE_PEAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_11:
	movq	_TLS_CONN_DISABLE_TLSv1_3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rbx)
LBB0_12:
	movq	_EAP_TYPE_TLS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.13:
	movq	_EAP_UNAUTH_TLS_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:
	movq	_EAP_WFA_UNAUTH_TLS_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_15:
	movq	_TLS_CONN_DISABLE_TLSv1_3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r13d, %r13d
	je	LBB0_18
## %bb.17:
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_eap_tls_params_from_conf2
	jmp	LBB0_20
LBB0_18:
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_eap_tls_params_from_conf1
	movq	(%r12), %rax
	cmpq	(%r15), %rax
	jne	LBB0_20
## %bb.19:
	movq	_TLS_CONN_EAP_FAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_20:
	leaq	52(%rbx), %rsi
	leaq	48(%rbx), %rdx
	leaq	44(%rbx), %rcx
	movq	%r14, %rdi
	callq	_eap_tls_check_blob
	testq	%rax, %rax
	jne	LBB0_24
## %bb.21:
	leaq	40(%rbx), %rsi
	leaq	36(%rbx), %rdx
	leaq	32(%rbx), %rcx
	movq	%r14, %rdi
	callq	_eap_tls_check_blob
	testq	%rax, %rax
	jne	LBB0_24
## %bb.22:
	leaq	28(%rbx), %rsi
	leaq	24(%rbx), %rdx
	leaq	20(%rbx), %rcx
	movq	%r14, %rdi
	callq	_eap_tls_check_blob
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:
	leaq	16(%rbx), %rsi
	leaq	12(%rbx), %rdx
	leaq	8(%rbx), %rcx
	movq	%r14, %rdi
	callq	_eap_tls_check_blob
	testq	%rax, %rax
	je	LBB0_25
LBB0_24:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_TLS_CONN_EXT_CERT_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rbx), %eax
	setne	%cl
	movl	%ecx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_TYPE_FAST,8,3              ## @EAP_TYPE_FAST
	.comm	_EAP_TYPE_TEAP,8,3              ## @EAP_TYPE_TEAP
	.comm	_TLS_CONN_DISABLE_SESSION_TICKET,4,2 ## @TLS_CONN_DISABLE_SESSION_TICKET
	.comm	_TLS_CONN_DISABLE_TLSv1_0,4,2   ## @TLS_CONN_DISABLE_TLSv1_0
	.comm	_TLS_CONN_DISABLE_TLSv1_1,4,2   ## @TLS_CONN_DISABLE_TLSv1_1
	.comm	_TLS_CONN_TEAP_ANON_DH,4,2      ## @TLS_CONN_TEAP_ANON_DH
	.comm	_EAP_TYPE_TTLS,8,3              ## @EAP_TYPE_TTLS
	.comm	_EAP_TYPE_PEAP,8,3              ## @EAP_TYPE_PEAP
	.comm	_TLS_CONN_DISABLE_TLSv1_3,4,2   ## @TLS_CONN_DISABLE_TLSv1_3
	.comm	_EAP_TYPE_TLS,8,3               ## @EAP_TYPE_TLS
	.comm	_EAP_UNAUTH_TLS_TYPE,8,3        ## @EAP_UNAUTH_TLS_TYPE
	.comm	_EAP_WFA_UNAUTH_TLS_TYPE,8,3    ## @EAP_WFA_UNAUTH_TLS_TYPE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TLS: using phase2 config options"

L_.str.1:                               ## @.str.1
	.asciz	"TLS: using phase1 config options"

	.comm	_TLS_CONN_EAP_FAST,4,2          ## @TLS_CONN_EAP_FAST
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"SSL: Failed to get configuration blobs"

	.comm	_TLS_CONN_EXT_CERT_CHECK,4,2    ## @TLS_CONN_EXT_CERT_CHECK
	.no_dead_strip	_eap_tls_params_from_conf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_tls_params_from_conf
_eap_tls_params_from_conf:              ; @eap_tls_params_from_conf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #56
	bl	_os_memset
	ldr	x10, [x19, #8]
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _EAP_TYPE_TEAP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EAP_TYPE_TEAP@GOTPAGEOFF]
Lloh2:
	adrp	x24, _EAP_TYPE_FAST@GOTPAGE
Lloh3:
	ldr	x24, [x24, _EAP_TYPE_FAST@GOTPAGEOFF]
	cbz	x10, LBB0_3
; %bb.1:
	ldr	x10, [x24]
	ldr	x11, [x9]
	cmp	x8, x10
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_3
; %bb.2:
Lloh4:
	adrp	x10, _TLS_CONN_DISABLE_SESSION_TICKET@GOTPAGE
Lloh5:
	ldr	x10, [x10, _TLS_CONN_DISABLE_SESSION_TICKET@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	ldr	w11, [x20]
	orr	w10, w11, w10
	str	w10, [x20]
LBB0_3:
	ldr	x10, [x9]
	cmp	x8, x10
	b.ne	LBB0_6
; %bb.4:
Lloh7:
	adrp	x10, _TLS_CONN_DISABLE_TLSv1_0@GOTPAGE
Lloh8:
	ldr	x10, [x10, _TLS_CONN_DISABLE_TLSv1_0@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
Lloh10:
	adrp	x11, _TLS_CONN_DISABLE_TLSv1_1@GOTPAGE
Lloh11:
	ldr	x11, [x11, _TLS_CONN_DISABLE_TLSv1_1@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
	orr	w10, w11, w10
	ldr	w11, [x20]
	orr	w10, w10, w11
	str	w10, [x20]
	ldr	x11, [x21, #8]
	cbz	x11, LBB0_6
; %bb.5:
Lloh13:
	adrp	x11, _TLS_CONN_TEAP_ANON_DH@GOTPAGE
Lloh14:
	ldr	x11, [x11, _TLS_CONN_TEAP_ANON_DH@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
	orr	w10, w11, w10
	str	w10, [x20]
LBB0_6:
	ldr	x10, [x24]
	ldr	x9, [x9]
Lloh16:
	adrp	x11, _EAP_TYPE_TTLS@GOTPAGE
Lloh17:
	ldr	x11, [x11, _EAP_TYPE_TTLS@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
Lloh19:
	adrp	x12, _EAP_TYPE_PEAP@GOTPAGE
Lloh20:
	ldr	x12, [x12, _EAP_TYPE_PEAP@GOTPAGEOFF]
Lloh21:
	ldr	x12, [x12]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
Lloh22:
	adrp	x9, _TLS_CONN_DISABLE_TLSv1_3@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TLS_CONN_DISABLE_TLSv1_3@GOTPAGEOFF]
	b.ne	LBB0_8
; %bb.7:
	ldr	w10, [x9]
	ldr	w11, [x20]
	orr	w10, w11, w10
	str	w10, [x20]
LBB0_8:
Lloh24:
	adrp	x10, _EAP_TYPE_TLS@GOTPAGE
Lloh25:
	ldr	x10, [x10, _EAP_TYPE_TLS@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
Lloh27:
	adrp	x11, _EAP_UNAUTH_TLS_TYPE@GOTPAGE
Lloh28:
	ldr	x11, [x11, _EAP_UNAUTH_TLS_TYPE@GOTPAGEOFF]
Lloh29:
	ldr	x11, [x11]
Lloh30:
	adrp	x12, _EAP_WFA_UNAUTH_TLS_TYPE@GOTPAGE
Lloh31:
	ldr	x12, [x12, _EAP_WFA_UNAUTH_TLS_TYPE@GOTPAGEOFF]
Lloh32:
	ldr	x12, [x12]
	cmp	x8, x10
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	b.ne	LBB0_10
; %bb.9:
	ldr	w8, [x9]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_10:
Lloh33:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	cbz	w23, LBB0_12
; %bb.11:
Lloh36:
	adrp	x1, l_.str@PAGE
Lloh37:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	mov	x1, x21
	bl	_eap_tls_params_from_conf2
	b	LBB0_14
LBB0_12:
Lloh38:
	adrp	x1, l_.str.1@PAGE
Lloh39:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	mov	x1, x21
	bl	_eap_tls_params_from_conf1
	ldr	x8, [x22]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
Lloh40:
	adrp	x8, _TLS_CONN_EAP_FAST@GOTPAGE
Lloh41:
	ldr	x8, [x8, _TLS_CONN_EAP_FAST@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_14:
	add	x1, x20, #52
	add	x2, x20, #48
	add	x3, x20, #44
	mov	x0, x19
	bl	_eap_tls_check_blob
	cbnz	x0, LBB0_18
; %bb.15:
	add	x1, x20, #40
	add	x2, x20, #36
	add	x3, x20, #32
	mov	x0, x19
	bl	_eap_tls_check_blob
	cbnz	x0, LBB0_18
; %bb.16:
	add	x1, x20, #28
	add	x2, x20, #24
	add	x3, x20, #20
	mov	x0, x19
	bl	_eap_tls_check_blob
	cbnz	x0, LBB0_18
; %bb.17:
	add	x1, x20, #16
	add	x2, x20, #12
	add	x3, x20, #8
	mov	x0, x19
	bl	_eap_tls_check_blob
	cbz	x0, LBB0_20
LBB0_18:
Lloh43:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
LBB0_19:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_20:
	ldr	w8, [x21]
	str	w8, [x20, #4]
	ldr	w8, [x20]
Lloh48:
	adrp	x9, _TLS_CONN_EXT_CERT_CHECK@GOTPAGE
Lloh49:
	ldr	x9, [x9, _TLS_CONN_EXT_CERT_CHECK@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19]
	b	LBB0_19
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_TYPE_FAST,8,3              ; @EAP_TYPE_FAST
	.comm	_EAP_TYPE_TEAP,8,3              ; @EAP_TYPE_TEAP
	.comm	_TLS_CONN_DISABLE_SESSION_TICKET,4,2 ; @TLS_CONN_DISABLE_SESSION_TICKET
	.comm	_TLS_CONN_DISABLE_TLSv1_0,4,2   ; @TLS_CONN_DISABLE_TLSv1_0
	.comm	_TLS_CONN_DISABLE_TLSv1_1,4,2   ; @TLS_CONN_DISABLE_TLSv1_1
	.comm	_TLS_CONN_TEAP_ANON_DH,4,2      ; @TLS_CONN_TEAP_ANON_DH
	.comm	_EAP_TYPE_TTLS,8,3              ; @EAP_TYPE_TTLS
	.comm	_EAP_TYPE_PEAP,8,3              ; @EAP_TYPE_PEAP
	.comm	_TLS_CONN_DISABLE_TLSv1_3,4,2   ; @TLS_CONN_DISABLE_TLSv1_3
	.comm	_EAP_TYPE_TLS,8,3               ; @EAP_TYPE_TLS
	.comm	_EAP_UNAUTH_TLS_TYPE,8,3        ; @EAP_UNAUTH_TLS_TYPE
	.comm	_EAP_WFA_UNAUTH_TLS_TYPE,8,3    ; @EAP_WFA_UNAUTH_TLS_TYPE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLS: using phase2 config options"

l_.str.1:                               ; @.str.1
	.asciz	"TLS: using phase1 config options"

	.comm	_TLS_CONN_EAP_FAST,4,2          ; @TLS_CONN_EAP_FAST
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"SSL: Failed to get configuration blobs"

	.comm	_TLS_CONN_EXT_CERT_CHECK,4,2    ; @TLS_CONN_EXT_CERT_CHECK
	.no_dead_strip	_eap_tls_params_from_conf
.subsections_via_symbols
