	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_signal_poll  ## -- Begin function wpas_dbus_handler_signal_poll
	.p2align	4, 0x90
_wpas_dbus_handler_signal_poll:         ## @wpas_dbus_handler_signal_poll
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, %r14
	leaq	-80(%rbp), %rsi
	movq	%rax, %rdi
	callq	_wpa_drv_signal_poll
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_DBUS_ERROR_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_dbus_message_new_error
	jmp	LBB0_21
LBB0_2:
	movq	%r14, %rdi
	callq	_dbus_message_new_method_return
	testq	%rax, %rax
	je	LBB0_20
## %bb.3:
	movq	%rax, %rbx
	leaq	-36(%rbp), %r15
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_dbus_message_iter_init_append
	movq	_DBUS_TYPE_VARIANT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	leaq	-32(%rbp), %rcx
	movq	%r15, %rdi
	callq	_dbus_message_iter_open_container
	testl	%eax, %eax
	je	LBB0_19
## %bb.4:
	leaq	-32(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	callq	_wpa_dbus_dict_open_write
	testl	%eax, %eax
	je	LBB0_19
## %bb.5:
	movl	-80(%rbp), %edx
	leaq	L_.str.2(%rip), %rsi
	leaq	-28(%rbp), %rdi
	callq	_wpa_dbus_dict_append_int32
	testl	%eax, %eax
	je	LBB0_19
## %bb.6:
	movslq	-76(%rbp), %rax
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$38, %rdx
	addl	%eax, %edx
	leaq	L_.str.3(%rip), %rsi
	leaq	-28(%rbp), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_wpa_dbus_dict_append_int32
	testl	%eax, %eax
	je	LBB0_19
## %bb.7:
	movl	-72(%rbp), %edx
	leaq	L_.str.4(%rip), %rsi
	leaq	-28(%rbp), %rdi
	callq	_wpa_dbus_dict_append_int32
	testl	%eax, %eax
	je	LBB0_19
## %bb.8:
	movl	-44(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	leaq	-28(%rbp), %rdi
	callq	_wpa_dbus_dict_append_uint32
	testl	%eax, %eax
	je	LBB0_19
## %bb.9:
	movq	-64(%rbp), %rdi
	movq	_CHAN_WIDTH_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_11
## %bb.10:
	callq	_channel_width_to_string
	leaq	L_.str.6(%rip), %rsi
	leaq	-28(%rbp), %rdi
	movl	%eax, %edx
	callq	_wpa_dbus_dict_append_string
	testl	%eax, %eax
	je	LBB0_19
LBB0_11:
	movl	-56(%rbp), %edx
	testl	%edx, %edx
	jle	LBB0_15
## %bb.12:
	cmpl	$0, -52(%rbp)
	jle	LBB0_15
## %bb.13:
	leaq	L_.str.7(%rip), %rsi
	leaq	-28(%rbp), %rdi
	callq	_wpa_dbus_dict_append_int32
	testl	%eax, %eax
	je	LBB0_19
## %bb.14:
	movl	-52(%rbp), %edx
	leaq	L_.str.8(%rip), %rsi
	leaq	-28(%rbp), %rdi
	callq	_wpa_dbus_dict_append_int32
	testl	%eax, %eax
	je	LBB0_19
LBB0_15:
	movl	-48(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_17
## %bb.16:
	leaq	L_.str.9(%rip), %rsi
	leaq	-28(%rbp), %rdi
	callq	_wpa_dbus_dict_append_int32
	testl	%eax, %eax
	je	LBB0_19
LBB0_17:
	leaq	-32(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	callq	_wpa_dbus_dict_close_write
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	leaq	-36(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	callq	_dbus_message_iter_close_container
	testl	%eax, %eax
	jne	LBB0_22
LBB0_19:
	movq	%rbx, %rdi
	callq	_dbus_message_unref
LBB0_20:
	movq	%r14, %rdi
	callq	_wpas_dbus_error_no_memory
LBB0_21:
	movq	%rax, %rbx
LBB0_22:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBUS_ERROR_FAILED,4,2          ## @DBUS_ERROR_FAILED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to read signal"

	.comm	_DBUS_TYPE_VARIANT,4,2          ## @DBUS_TYPE_VARIANT
L_.str.1:                               ## @.str.1
	.asciz	"a{sv}"

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

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

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

L_.str.5:                               ## @.str.5
	.asciz	"frequency"

	.comm	_CHAN_WIDTH_UNKNOWN,8,3         ## @CHAN_WIDTH_UNKNOWN
L_.str.6:                               ## @.str.6
	.asciz	"width"

L_.str.7:                               ## @.str.7
	.asciz	"center-frq1"

L_.str.8:                               ## @.str.8
	.asciz	"center-frq2"

L_.str.9:                               ## @.str.9
	.asciz	"avg-rssi"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_handler_signal_poll  ; -- Begin function wpas_dbus_handler_signal_poll
	.p2align	2
_wpas_dbus_handler_signal_poll:         ; @wpas_dbus_handler_signal_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
	add	x1, sp, #24
	mov	x0, x8
	bl	_wpa_drv_signal_poll
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DBUS_ERROR_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBUS_ERROR_FAILED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dbus_message_new_error
	b	LBB0_21
LBB0_2:
	mov	x0, x19
	bl	_dbus_message_new_method_return
	cbz	x0, LBB0_20
; %bb.3:
	mov	x20, x0
	add	x1, sp, #20
	bl	_dbus_message_iter_init_append
Lloh5:
	adrp	x8, _DBUS_TYPE_VARIANT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DBUS_TYPE_VARIANT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #20
	add	x3, sp, #12
	bl	_dbus_message_iter_open_container
	cbz	w0, LBB0_19
; %bb.4:
	add	x0, sp, #12
	add	x1, sp, #16
	bl	_wpa_dbus_dict_open_write
	cbz	w0, LBB0_19
; %bb.5:
	ldr	w2, [sp, #24]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #16
	bl	_wpa_dbus_dict_append_int32
	cbz	w0, LBB0_19
; %bb.6:
	ldrsw	x8, [sp, #28]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w2, w8, w9
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #16
	bl	_wpa_dbus_dict_append_int32
	cbz	w0, LBB0_19
; %bb.7:
	ldr	w2, [sp, #32]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #16
	bl	_wpa_dbus_dict_append_int32
	cbz	w0, LBB0_19
; %bb.8:
	ldr	w2, [sp, #60]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #16
	bl	_wpa_dbus_dict_append_uint32
	cbz	w0, LBB0_19
; %bb.9:
	ldr	x0, [sp, #40]
Lloh18:
	adrp	x8, _CHAN_WIDTH_UNKNOWN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CHAN_WIDTH_UNKNOWN@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.10:
	bl	_channel_width_to_string
	mov	x2, x0
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #16
	bl	_wpa_dbus_dict_append_string
	cbz	w0, LBB0_19
LBB0_11:
	ldr	w2, [sp, #48]
	cmp	w2, #1
	b.lt	LBB0_15
; %bb.12:
	ldr	w8, [sp, #52]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
Lloh23:
	adrp	x1, l_.str.7@PAGE
Lloh24:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x0, sp, #16
	bl	_wpa_dbus_dict_append_int32
	cbz	w0, LBB0_19
; %bb.14:
	ldr	w2, [sp, #52]
Lloh25:
	adrp	x1, l_.str.8@PAGE
Lloh26:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #16
	bl	_wpa_dbus_dict_append_int32
	cbz	w0, LBB0_19
LBB0_15:
	ldr	w2, [sp, #56]
	cbz	w2, LBB0_17
; %bb.16:
Lloh27:
	adrp	x1, l_.str.9@PAGE
Lloh28:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x0, sp, #16
	bl	_wpa_dbus_dict_append_int32
	cbz	w0, LBB0_19
LBB0_17:
	add	x0, sp, #12
	add	x1, sp, #16
	bl	_wpa_dbus_dict_close_write
	cbz	w0, LBB0_19
; %bb.18:
	add	x0, sp, #20
	add	x1, sp, #12
	bl	_dbus_message_iter_close_container
	cbnz	w0, LBB0_22
LBB0_19:
	mov	x0, x20
	bl	_dbus_message_unref
LBB0_20:
	mov	x0, x19
	bl	_wpas_dbus_error_no_memory
LBB0_21:
	mov	x20, x0
LBB0_22:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_DBUS_ERROR_FAILED,4,2          ; @DBUS_ERROR_FAILED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to read signal"

	.comm	_DBUS_TYPE_VARIANT,4,2          ; @DBUS_TYPE_VARIANT
l_.str.1:                               ; @.str.1
	.asciz	"a{sv}"

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

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

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

l_.str.5:                               ; @.str.5
	.asciz	"frequency"

	.comm	_CHAN_WIDTH_UNKNOWN,8,3         ; @CHAN_WIDTH_UNKNOWN
l_.str.6:                               ; @.str.6
	.asciz	"width"

l_.str.7:                               ; @.str.7
	.asciz	"center-frq1"

l_.str.8:                               ; @.str.8
	.asciz	"center-frq2"

l_.str.9:                               ; @.str.9
	.asciz	"avg-rssi"

.subsections_via_symbols
