	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_state         ## -- Begin function wpas_dbus_getter_state
	.p2align	4, 0x90
_wpas_dbus_getter_state:                ## @wpas_dbus_getter_state
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	(%rcx), %edi
	callq	_wpa_supplicant_state_txt
	movq	%rax, %rdi
	callq	_os_strdup
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movb	(%rax), %al
	testb	%al, %al
	je	LBB0_4
## %bb.2:
	incq	%rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_tolower
	movb	%al, -1(%rbx)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_3
LBB0_4:
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_wpas_dbus_simple_property_getter
	movl	%eax, %ebx
	movq	-32(%rbp), %rdi
	callq	_os_free
	jmp	LBB0_5
LBB0_6:
	movq	_DBUS_ERROR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_dbus_set_error_const
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DBUS_ERROR_NO_MEMORY,4,2       ## @DBUS_ERROR_NO_MEMORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no memory"

	.comm	_DBUS_TYPE_STRING,4,2           ## @DBUS_TYPE_STRING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_state         ; -- Begin function wpas_dbus_getter_state
	.p2align	2
_wpas_dbus_getter_state:                ; @wpas_dbus_getter_state
	.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, x2
	mov	x20, x1
	ldr	w0, [x3]
	bl	_wpa_supplicant_state_txt
	bl	_os_strdup
	str	x0, [sp, #8]
	cbz	x0, LBB0_5
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_4
; %bb.2:
	add	x21, x0, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_tolower
	sturb	w0, [x21, #-1]
	ldrb	w8, [x21], #1
	cbnz	w8, LBB0_3
LBB0_4:
Lloh0:
	adrp	x8, _DBUS_TYPE_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	mov	x3, x19
	bl	_wpas_dbus_simple_property_getter
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_os_free
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _DBUS_ERROR_NO_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBUS_ERROR_NO_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dbus_set_error_const
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
LBB0_6:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DBUS_ERROR_NO_MEMORY,4,2       ; @DBUS_ERROR_NO_MEMORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no memory"

	.comm	_DBUS_TYPE_STRING,4,2           ; @DBUS_TYPE_STRING
.subsections_via_symbols
