	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function event_retry
_event_retry:                           ## @event_retry
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	8(%r14), %r15
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_event_clean
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movslq	16(%rbx), %rdx
	incq	%rdx
	movl	%edx, 16(%rbx)
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_2:
	movl	16(%rbx), %r12d
	leaq	16(%r14), %rdi
	callq	_dl_list_len
	cmpl	%eax, %r12d
	jge	LBB0_3
## %bb.5:
	addq	$4, %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dl_list_add
	jmp	LBB0_6
LBB0_3:
	movl	(%r13), %edi
	movq	8(%rbx), %rax
	movslq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_event_delete
	movl	$1, (%r14)
	leaq	4(%r14), %rdi
	callq	_dl_list_empty
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%r14), %r15
LBB0_6:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_event_send_all_later           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS UPnP: Retry event %p for subscription %p"

L_.str.1:                               ## @.str.1
	.asciz	"WPS UPnP: Try address %d"

L_.str.2:                               ## @.str.2
	.asciz	"WPS UPnP: Giving up on sending event for %s"

	.no_dead_strip	_event_retry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function event_retry
_event_retry:                           ; @event_retry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #24]
	ldr	x20, [x22, #8]
Lloh0:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	str	x22, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_wpa_printf
	mov	x0, x19
	bl	_event_clean
	cbz	w21, LBB0_2
; %bb.1:
	ldrsw	x8, [x19, #16]
	add	x2, x8, #1
	str	w2, [x19, #16]
	ldr	w0, [x23]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_2:
	ldr	w21, [x19, #16]
	add	x0, x22, #16
	bl	_dl_list_len
	cmp	w21, w0
	b.ge	LBB0_4
; %bb.3:
	add	x0, x22, #4
	mov	x1, x19
	bl	_dl_list_add
	b	LBB0_7
LBB0_4:
	ldr	w0, [x23]
	ldr	x8, [x19, #8]
	ldrsw	x2, [x8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	mov	x0, x19
	bl	_event_delete
	mov	w8, #1
	mov	x0, x22
	str	w8, [x0], #4
	bl	_dl_list_empty
	cbz	w0, LBB0_6
; %bb.5:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	x20, [x22, #8]
LBB0_7:
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_event_send_all_later
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS UPnP: Retry event %p for subscription %p"

l_.str.1:                               ; @.str.1
	.asciz	"WPS UPnP: Try address %d"

l_.str.2:                               ; @.str.2
	.asciz	"WPS UPnP: Giving up on sending event for %s"

	.no_dead_strip	_event_retry
.subsections_via_symbols
