	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msearchreply_state_machine_handler
_msearchreply_state_machine_handler:    ## @msearchreply_state_machine_handler
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	$0, -44(%rbp)
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%rsi), %r12d
	movl	8(%rsi), %edi
	callq	_inet_ntoa
	movl	%eax, %ebx
	movl	4(%r15), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_next_advertisement
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	4(%r15), %r12
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r13d
	movq	%rax, %rdi
	callq	_wpabuf_head
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_wpabuf_len
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	%r12, %r8
	movl	$8, %r9d
	callq	_sendto
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_strerror
	movl	%eax, %r13d
	movl	8(%r15), %edi
	callq	_inet_ntoa
	movl	%eax, %r14d
	movl	4(%r15), %edi
	callq	_ntohs
	leaq	L_.str.1(%rip), %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_3:
	movq	%rbx, %rdi
	callq	_wpabuf_free
	cmpl	$0, -44(%rbp)
	je	LBB0_5
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r15, %rdi
	callq	_msearchreply_state_machine_stop
	jmp	LBB0_6
LBB0_5:
	incl	(%r15)
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%edx, %edx
	movl	$100, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	_msearchreply_state_machine_handler(%rip), %rdx
	xorl	%edi, %edi
	movl	$100, %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_eloop_register_timeout
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS UPnP: M-SEARCH reply state=%d (%s:%d)"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"WPS UPnP: M-SEARCH reply sendto errno %d (%s) for %s:%d"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"WPS UPnP: M-SEARCH reply done"

L_.str.3:                               ## @.str.3
	.asciz	"WPS UPnP: M-SEARCH reply in %d.%03d sec"

	.no_dead_strip	_msearchreply_state_machine_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msearchreply_state_machine_handler
_msearchreply_state_machine_handler:    ; @msearchreply_state_machine_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #44]
Lloh0:
	adrp	x26, _MSG_MSGDUMP@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w21, [x26]
	ldr	w0, [x1, #8]
	ldr	w24, [x1]
	bl	_inet_ntoa
	mov	x23, x0
	mov	x22, x19
	ldr	w0, [x22, #4]!
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp, #8]
	str	x24, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_wpa_printf
	add	x2, sp, #44
	mov	x0, x20
	mov	x1, x19
	bl	_next_advertisement
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	ldr	w23, [x20]
	bl	_wpabuf_head
	mov	x24, x0
	mov	x0, x21
	bl	_wpabuf_len
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	mov	w3, #0
	mov	x4, x22
	mov	w5, #8
	bl	_sendto
Lloh4:
	adrp	x27, _MSG_DEBUG@GOTPAGE
Lloh5:
	ldr	x27, [x27, _MSG_DEBUG@GOTPAGEOFF]
	tbz	x0, #63, LBB0_3
; %bb.2:
	ldr	w22, [x27]
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	mov	x0, x23
	bl	_strerror
	mov	x24, x0
	ldr	w0, [x19, #8]
	bl	_inet_ntoa
	mov	x25, x0
	ldr	w0, [x19, #4]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x25, x0, [sp, #16]
	stp	x23, x24, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_wpa_printf
LBB0_3:
	mov	x0, x21
	bl	_wpabuf_free
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	w0, [x27]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	bl	_msearchreply_state_machine_stop
	b	LBB0_6
LBB0_5:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	w0, [x26]
	mov	w8, #100
	stp	xzr, x8, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
Lloh15:
	adrp	x2, _msearchreply_state_machine_handler@PAGE
Lloh16:
	add	x2, x2, _msearchreply_state_machine_handler@PAGEOFF
	mov	w0, #0
	mov	w1, #100
	mov	x3, x20
	mov	x4, x19
	bl	_eloop_register_timeout
LBB0_6:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS UPnP: M-SEARCH reply state=%d (%s:%d)"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"WPS UPnP: M-SEARCH reply sendto errno %d (%s) for %s:%d"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"WPS UPnP: M-SEARCH reply done"

l_.str.3:                               ; @.str.3
	.asciz	"WPS UPnP: M-SEARCH reply in %d.%03d sec"

	.no_dead_strip	_msearchreply_state_machine_handler
.subsections_via_symbols
