	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_set_pkcs11_engine_and_module_path ## -- Begin function wpas_dbus_handler_set_pkcs11_engine_and_module_path
	.p2align	4, 0x90
_wpas_dbus_handler_set_pkcs11_engine_and_module_path: ## @wpas_dbus_handler_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -40(%rbp)
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_dbus_message_iter_init
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_dbus_message_iter_get_basic
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	callq	_os_strlen
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-40(%rbp), %rbx
LBB0_5:
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	callq	_dbus_message_iter_next
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_dbus_message_iter_get_basic
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	callq	_os_strlen
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	-40(%rbp), %rax
LBB0_9:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_wpas_set_pkcs11_engine_and_module_path
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_DBUS_ERROR_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_2
LBB0_1:
	movq	_DBUS_ERROR_INVALID_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_2
LBB0_6:
	movq	%rbx, %rdi
	callq	_os_free
	movq	_DBUS_ERROR_INVALID_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_2:
	movq	%r15, %rdi
	callq	_dbus_message_new_error
LBB0_14:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.12:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	_WPAS_DBUS_NEW_IFACE_INTERFACE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rcx
	callq	_wpa_dbus_mark_property_changed
	movq	(%r14), %rsi
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.4(%rip), %rcx
	callq	_wpa_dbus_mark_property_changed
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_DBUS_ERROR_INVALID_ARGS,4,2    ## @DBUS_ERROR_INVALID_ARGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid pkcs11_engine_path argument"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid pkcs11_module_path argument"

	.comm	_DBUS_ERROR_FAILED,4,2          ## @DBUS_ERROR_FAILED
L_.str.2:                               ## @.str.2
	.asciz	"Reinit of the EAPOL state machine with the new PKCS #11 engine and module path failed."

	.comm	_WPAS_DBUS_NEW_IFACE_INTERFACE,4,2 ## @WPAS_DBUS_NEW_IFACE_INTERFACE
L_.str.3:                               ## @.str.3
	.asciz	"PKCS11EnginePath"

L_.str.4:                               ## @.str.4
	.asciz	"PKCS11ModulePath"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_set_pkcs11_engine_and_module_path ; -- Begin function wpas_dbus_handler_set_pkcs11_engine_and_module_path
	.p2align	2
_wpas_dbus_handler_set_pkcs11_engine_and_module_path: ; @wpas_dbus_handler_set_pkcs11_engine_and_module_path
	.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
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp]
	add	x1, sp, #12
	bl	_dbus_message_iter_init
	add	x0, sp, #12
	mov	x1, sp
	bl	_dbus_message_iter_get_basic
	ldr	x0, [sp]
	cbz	x0, LBB0_4
; %bb.1:
	bl	_os_strlen
	ldr	x8, [sp]
	cmp	x0, #0
	csel	x21, xzr, x8, eq
	add	x0, sp, #12
	bl	_dbus_message_iter_next
	add	x0, sp, #12
	mov	x1, sp
	bl	_dbus_message_iter_get_basic
	ldr	x0, [sp]
	cbz	x0, LBB0_5
; %bb.2:
	bl	_os_strlen
	ldr	x8, [sp]
	cmp	x0, #0
	csel	x2, xzr, x8, eq
	mov	x0, x19
	mov	x1, x21
	bl	_wpas_set_pkcs11_engine_and_module_path
	cbz	x0, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _DBUS_ERROR_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBUS_ERROR_FAILED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str.2@PAGE
Lloh4:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _DBUS_ERROR_INVALID_ARGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DBUS_ERROR_INVALID_ARGS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_os_free
Lloh10:
	adrp	x8, _DBUS_ERROR_INVALID_ARGS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DBUS_ERROR_INVALID_ARGS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x20
	bl	_dbus_message_new_error
LBB0_7:
	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
LBB0_8:
	ldr	x1, [x19]
	cbz	x1, LBB0_10
; %bb.9:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh15:
	adrp	x20, _WPAS_DBUS_NEW_IFACE_INTERFACE@GOTPAGE
Lloh16:
	ldr	x20, [x20, _WPAS_DBUS_NEW_IFACE_INTERFACE@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh17:
	adrp	x3, l_.str.3@PAGE
Lloh18:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_wpa_dbus_mark_property_changed
	ldp	x1, x8, [x19]
	ldr	w0, [x8]
	ldr	w2, [x20]
Lloh19:
	adrp	x3, l_.str.4@PAGE
Lloh20:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_wpa_dbus_mark_property_changed
LBB0_10:
	mov	x0, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DBUS_ERROR_INVALID_ARGS,4,2    ; @DBUS_ERROR_INVALID_ARGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid pkcs11_engine_path argument"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid pkcs11_module_path argument"

	.comm	_DBUS_ERROR_FAILED,4,2          ; @DBUS_ERROR_FAILED
l_.str.2:                               ; @.str.2
	.asciz	"Reinit of the EAPOL state machine with the new PKCS #11 engine and module path failed."

	.comm	_WPAS_DBUS_NEW_IFACE_INTERFACE,4,2 ; @WPAS_DBUS_NEW_IFACE_INTERFACE
l_.str.3:                               ; @.str.3
	.asciz	"PKCS11EnginePath"

l_.str.4:                               ; @.str.4
	.asciz	"PKCS11ModulePath"

.subsections_via_symbols
