	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_fast_set_provisioning_ciphers
_eap_fast_set_provisioning_ciphers:     ## @eap_fast_set_provisioning_ciphers
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	(%rsi), %eax
	movq	_EAP_FAST_PROV_UNAUTH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_TLS_CIPHER_ANON_DH_AES128_SHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	(%r15), %eax
	movl	$1, %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_EAP_FAST_PROV_AUTH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	_TLS_CIPHER_RSA_DHE_AES256_SHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ebx, %ecx
	movl	%eax, -64(%rbp,%rcx,4)
	movq	_TLS_CIPHER_RSA_DHE_AES128_SHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	2(%rbx), %edx
	movl	%eax, -60(%rbp,%rcx,4)
	movq	_TLS_CIPHER_AES256_SHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp,%rdx,4)
	movq	_TLS_CIPHER_AES128_SHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	4(%rbx), %edx
	movl	%eax, -52(%rbp,%rcx,4)
	movq	_TLS_CIPHER_RC4_SHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$5, %ebx
	movl	%eax, -64(%rbp,%rdx,4)
LBB0_5:
	movq	_TLS_CIPHER_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%ebx, %ecx
	movl	%eax, -64(%rbp,%rcx,4)
	movl	(%r14), %edi
	movl	4(%r15), %esi
	leaq	-64(%rbp), %rdx
	callq	_tls_connection_set_cipher_list
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %eax
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_FAST_PROV_UNAUTH,4,2       ## @EAP_FAST_PROV_UNAUTH
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-FAST: Enabling unauthenticated provisioning TLS cipher suites"

	.comm	_TLS_CIPHER_ANON_DH_AES128_SHA,4,2 ## @TLS_CIPHER_ANON_DH_AES128_SHA
	.comm	_EAP_FAST_PROV_AUTH,4,2         ## @EAP_FAST_PROV_AUTH
L_.str.1:                               ## @.str.1
	.asciz	"EAP-FAST: Enabling authenticated provisioning TLS cipher suites"

	.comm	_TLS_CIPHER_RSA_DHE_AES256_SHA,4,2 ## @TLS_CIPHER_RSA_DHE_AES256_SHA
	.comm	_TLS_CIPHER_RSA_DHE_AES128_SHA,4,2 ## @TLS_CIPHER_RSA_DHE_AES128_SHA
	.comm	_TLS_CIPHER_AES256_SHA,4,2      ## @TLS_CIPHER_AES256_SHA
	.comm	_TLS_CIPHER_AES128_SHA,4,2      ## @TLS_CIPHER_AES128_SHA
	.comm	_TLS_CIPHER_RC4_SHA,4,2         ## @TLS_CIPHER_RC4_SHA
	.comm	_TLS_CIPHER_NONE,4,2            ## @TLS_CIPHER_NONE
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"EAP-FAST: Could not configure TLS cipher suites for provisioning"

	.no_dead_strip	_eap_fast_set_provisioning_ciphers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_fast_set_provisioning_ciphers
_eap_fast_set_provisioning_ciphers:     ; @eap_fast_set_provisioning_ciphers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	w8, [x1]
Lloh3:
	adrp	x9, _EAP_FAST_PROV_UNAUTH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EAP_FAST_PROV_UNAUTH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x22]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh10:
	adrp	x8, _TLS_CIPHER_ANON_DH_AES128_SHA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TLS_CIPHER_ANON_DH_AES128_SHA@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w8, [x19]
	mov	w21, #1
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
Lloh13:
	adrp	x9, _EAP_FAST_PROV_AUTH@GOTPAGE
Lloh14:
	ldr	x9, [x9, _EAP_FAST_PROV_AUTH@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x22]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh18:
	adrp	x8, _TLS_CIPHER_RSA_DHE_AES256_SHA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TLS_CIPHER_RSA_DHE_AES256_SHA@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	add	w9, w21, #1
	add	x10, sp, #12
	str	w8, [x10, w21, uxtw #2]
Lloh21:
	adrp	x8, _TLS_CIPHER_RSA_DHE_AES128_SHA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TLS_CIPHER_RSA_DHE_AES128_SHA@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w11, w21, #0x2
	str	w8, [x10, w9, uxtw #2]
Lloh24:
	adrp	x8, _TLS_CIPHER_AES256_SHA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TLS_CIPHER_AES256_SHA@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	add	w9, w21, #3
	str	w8, [x10, w11, uxtw #2]
Lloh27:
	adrp	x8, _TLS_CIPHER_AES128_SHA@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TLS_CIPHER_AES128_SHA@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w11, w21, #0x4
	str	w8, [x10, w9, uxtw #2]
Lloh30:
	adrp	x8, _TLS_CIPHER_RC4_SHA@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TLS_CIPHER_RC4_SHA@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	add	w21, w21, #5
	str	w8, [x10, w11, uxtw #2]
LBB0_5:
Lloh33:
	adrp	x8, _TLS_CIPHER_NONE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TLS_CIPHER_NONE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	add	x9, sp, #12
	str	w8, [x9, w21, uxtw #2]
	ldr	w0, [x20]
	ldr	w1, [x19, #4]
	add	x2, sp, #12
	bl	_tls_connection_set_cipher_list
	cbz	x0, LBB0_7
; %bb.6:
Lloh36:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.2@PAGE
Lloh40:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
LBB0_7:
	ldr	x8, [sp, #40]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_FAST_PROV_UNAUTH,4,2       ; @EAP_FAST_PROV_UNAUTH
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-FAST: Enabling unauthenticated provisioning TLS cipher suites"

	.comm	_TLS_CIPHER_ANON_DH_AES128_SHA,4,2 ; @TLS_CIPHER_ANON_DH_AES128_SHA
	.comm	_EAP_FAST_PROV_AUTH,4,2         ; @EAP_FAST_PROV_AUTH
l_.str.1:                               ; @.str.1
	.asciz	"EAP-FAST: Enabling authenticated provisioning TLS cipher suites"

	.comm	_TLS_CIPHER_RSA_DHE_AES256_SHA,4,2 ; @TLS_CIPHER_RSA_DHE_AES256_SHA
	.comm	_TLS_CIPHER_RSA_DHE_AES128_SHA,4,2 ; @TLS_CIPHER_RSA_DHE_AES128_SHA
	.comm	_TLS_CIPHER_AES256_SHA,4,2      ; @TLS_CIPHER_AES256_SHA
	.comm	_TLS_CIPHER_AES128_SHA,4,2      ; @TLS_CIPHER_AES128_SHA
	.comm	_TLS_CIPHER_RC4_SHA,4,2         ; @TLS_CIPHER_RC4_SHA
	.comm	_TLS_CIPHER_NONE,4,2            ; @TLS_CIPHER_NONE
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"EAP-FAST: Could not configure TLS cipher suites for provisioning"

	.no_dead_strip	_eap_fast_set_provisioning_ciphers
.subsections_via_symbols
