	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_dbus_handler_wps_type
_wpas_dbus_handler_wps_type:            ## @wpas_dbus_handler_wps_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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rdi, %r15
	leaq	-44(%rbp), %rbx
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_dbus_message_iter_recurse
	movq	%rbx, %rdi
	callq	_dbus_message_iter_get_arg_type
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	leaq	-44(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_dbus_message_iter_get_basic
	movq	-40(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	-40(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_os_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-40(%rbp), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-40(%rbp), %rsi
	jmp	LBB0_5
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r15, %rdi
	callq	_wpas_dbus_error_invalid_args
	movq	%rax, (%r14)
	movl	$-1, %eax
	jmp	LBB0_9
LBB0_6:
	movl	$1, (%r12)
	jmp	LBB0_8
LBB0_7:
	movl	$2, (%r12)
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBUS_TYPE_STRING,8,3           ## @DBUS_TYPE_STRING
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dbus: WPS.Start - Wrong Type type, string required"

L_.str.1:                               ## @.str.1
	.asciz	"Type must be a string"

L_.str.2:                               ## @.str.2
	.asciz	"pin"

L_.str.3:                               ## @.str.3
	.asciz	"pbc"

L_.str.4:                               ## @.str.4
	.asciz	"dbus: WPS.Start - Unknown type %s"

	.no_dead_strip	_wpas_dbus_handler_wps_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_dbus_handler_wps_type
_wpas_dbus_handler_wps_type:            ; @wpas_dbus_handler_wps_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x21, x2
	mov	x8, x1
	mov	x20, x0
	add	x1, sp, #28
	mov	x0, x8
	bl	_dbus_message_iter_recurse
	add	x0, sp, #28
	bl	_dbus_message_iter_get_arg_type
Lloh0:
	adrp	x8, _DBUS_TYPE_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	add	x0, sp, #28
	add	x1, sp, #16
	bl	_dbus_message_iter_get_basic
	ldr	x0, [sp, #16]
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x0, [sp, #16]
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_os_strcmp
	cbz	x0, LBB0_7
; %bb.3:
Lloh7:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x8, [sp, #16]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	ldr	x1, [sp, #16]
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x20
	bl	_wpas_dbus_error_invalid_args
	str	x0, [x19]
	mov	w0, #-1
	b	LBB0_9
LBB0_6:
	mov	w8, #1
	b	LBB0_8
LBB0_7:
	mov	w8, #2
LBB0_8:
	str	w8, [x21]
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DBUS_TYPE_STRING,8,3           ; @DBUS_TYPE_STRING
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dbus: WPS.Start - Wrong Type type, string required"

l_.str.1:                               ; @.str.1
	.asciz	"Type must be a string"

l_.str.2:                               ; @.str.2
	.asciz	"pin"

l_.str.3:                               ; @.str.3
	.asciz	"pbc"

l_.str.4:                               ; @.str.4
	.asciz	"dbus: WPS.Start - Unknown type %s"

	.no_dead_strip	_wpas_dbus_handler_wps_type
.subsections_via_symbols
