	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_set_pkcs11_engine_and_module_path ## -- Begin function wpas_set_pkcs11_engine_and_module_path
	.p2align	4, 0x90
_wpas_set_pkcs11_engine_and_module_path: ## @wpas_set_pkcs11_engine_and_module_path
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
                                        ## kill: def $al killed $al killed $rax
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	testq	%r15, %r15
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_os_strdup
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%r14, %r14
	je	LBB0_6
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_os_strdup
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	testq	%r14, %r14
	jne	LBB0_4
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r12), %rax
	movq	(%rax), %rdi
	callq	_os_free
	movq	16(%r12), %rax
	movq	8(%rax), %rdi
	callq	_os_free
	movq	16(%r12), %rax
	movq	%r13, (%rax)
	movq	%rbx, 8(%rax)
	movl	8(%r12), %edi
	xorl	%esi, %esi
	callq	_wpa_sm_set_eapol
	movq	(%r12), %rdi
	callq	_eapol_sm_deinit
	movq	$0, (%r12)
	movq	%r12, %rdi
	callq	_wpa_supplicant_init_eapol
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$-1, %ecx
	testq	%r15, %r15
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	$1, %al
	movl	$0, %r15d
	testq	%r14, %r14
	movl	$0, %r14d
	jne	LBB0_1
	jmp	LBB0_14
LBB0_10:
	movl	8(%r12), %edi
	movq	(%r12), %rsi
	callq	_wpa_sm_set_eapol
	xorl	%ecx, %ecx
	jmp	LBB0_14
LBB0_12:
	movq	%r13, %rdi
	callq	_os_free
LBB0_13:
	movl	$-1, %ecx
LBB0_14:
	testb	$1, -41(%rbp)                   ## 1-byte Folded Reload
	movl	$-1, %eax
	cmovel	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_set_pkcs11_engine_and_module_path ; -- Begin function wpas_set_pkcs11_engine_and_module_path
	.p2align	2
_wpas_set_pkcs11_engine_and_module_path: ; @wpas_set_pkcs11_engine_and_module_path
	.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	x20, x1
	mov	x19, x0
	mov	w9, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x9
	mov	x21, x2
	cbz	x20, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_os_strdup
	mov	x22, x0
	cbz	x0, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	x21, LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_os_strdup
	mov	x23, x0
	cbnz	x0, LBB0_7
	b	LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x22, #0
	cbnz	x21, LBB0_4
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, #0
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	bl	_os_free
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #8]
	bl	_os_free
	ldr	x8, [x19, #16]
	stp	x22, x23, [x8]
	ldr	w0, [x19, #8]
	mov	x1, #0
	bl	_wpa_sm_set_eapol
	ldr	x0, [x19]
	bl	_eapol_sm_deinit
	str	xzr, [x19]
	mov	x0, x19
	bl	_wpa_supplicant_init_eapol
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #-1
	cbz	x20, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x20, #0
	mov	x2, #0
	mov	w9, #1
	cbnz	x21, LBB0_1
	b	LBB0_13
LBB0_10:
	ldr	w0, [x19, #8]
	ldr	x1, [x19]
	bl	_wpa_sm_set_eapol
	mov	w8, #0
	b	LBB0_13
LBB0_11:
	mov	x0, x22
	bl	_os_free
LBB0_12:
	mov	w8, #-1
LBB0_13:
	tst	w24, #0x1
	csinv	w0, w8, wzr, eq
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
