	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_setter_wps_device_device_type ## -- Begin function wpas_dbus_setter_wps_device_device_type
	.p2align	4, 0x90
_wpas_dbus_setter_wps_device_device_type: ## @wpas_dbus_setter_wps_device_device_type
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_dbus_message_iter_get_arg_type
	movq	_DBUS_TYPE_VARIANT@GOTPCREL(%rip), %rcx
	movq	_FALSE@GOTPCREL(%rip), %r12
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	leaq	-36(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_dbus_message_iter_recurse
	movq	%r15, %rdi
	callq	_dbus_message_iter_get_arg_type
	movq	_DBUS_TYPE_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	leaq	-36(%rbp), %rdi
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_dbus_message_iter_recurse
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_dbus_message_iter_get_fixed_array
	movl	-40(%rbp), %edx
	movq	_WPS_DEV_TYPE_LEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	movl	4(%rax), %edi
	movq	-48(%rbp), %rsi
	callq	_os_memcpy
	movq	_CFG_CHANGED_DEVICE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_wpa_supplicant_update_config
	movq	_TRUE@GOTPCREL(%rip), %r12
LBB0_4:
	movl	(%r12), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBUS_TYPE_VARIANT,8,3          ## @DBUS_TYPE_VARIANT
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DBUS_TYPE_ARRAY,8,3            ## @DBUS_TYPE_ARRAY
	.comm	_WPS_DEV_TYPE_LEN,4,2           ## @WPS_DEV_TYPE_LEN
	.comm	_CFG_CHANGED_DEVICE_TYPE,4,2    ## @CFG_CHANGED_DEVICE_TYPE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_setter_wps_device_device_type ; -- Begin function wpas_dbus_setter_wps_device_device_type
	.p2align	2
_wpas_dbus_setter_wps_device_device_type: ; @wpas_dbus_setter_wps_device_device_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x3
	mov	x20, x1
	mov	x0, x1
	bl	_dbus_message_iter_get_arg_type
Lloh0:
	adrp	x8, _DBUS_TYPE_VARIANT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBUS_TYPE_VARIANT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	add	x1, sp, #16
	mov	x0, x20
	bl	_dbus_message_iter_recurse
	add	x0, sp, #16
	bl	_dbus_message_iter_get_arg_type
Lloh3:
	adrp	x8, _DBUS_TYPE_ARRAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBUS_TYPE_ARRAY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	add	x0, sp, #16
	add	x1, sp, #12
	bl	_dbus_message_iter_recurse
	add	x0, sp, #12
	add	x1, sp, #24
	add	x2, sp, #20
	bl	_dbus_message_iter_get_fixed_array
	ldr	w2, [sp, #20]
Lloh6:
	adrp	x8, _WPS_DEV_TYPE_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WPS_DEV_TYPE_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	ldr	x1, [sp, #24]
	bl	_os_memcpy
Lloh9:
	adrp	x8, _CFG_CHANGED_DEVICE_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CFG_CHANGED_DEVICE_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	mov	x0, x19
	bl	_wpa_supplicant_update_config
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_DBUS_TYPE_VARIANT,8,3          ; @DBUS_TYPE_VARIANT
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DBUS_TYPE_ARRAY,8,3            ; @DBUS_TYPE_ARRAY
	.comm	_WPS_DEV_TYPE_LEN,4,2           ; @WPS_DEV_TYPE_LEN
	.comm	_CFG_CHANGED_DEVICE_TYPE,4,2    ; @CFG_CHANGED_DEVICE_TYPE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
