	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwdp_on_reportConnectedApplicationList ## -- Begin function iwdp_on_reportConnectedApplicationList
	.p2align	4, 0x90
_iwdp_on_reportConnectedApplicationList: ## @iwdp_on_reportConnectedApplicationList
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movslq	(%rdi), %rax
	movl	8(%rax), %r15d
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	cmpq	$0, (%r12)
	jne	LBB0_3
	jmp	LBB0_16
LBB0_1:
	movl	$1, (%rax)
	movl	4(%rax), %edi
	callq	_iwdp_log_connect
	cmpq	$0, (%r12)
	je	LBB0_16
LBB0_3:
	movl	%r15d, %edi
	callq	_ht_keys
	movq	%rax, %r15
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.4:
	movq	%r15, %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rsi
	movq	%r14, %rdi
	callq	_iwdp_remove_app_id
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r13), %rsi
	addq	$8, %r13
	testq	%rsi, %rsi
	je	LBB0_13
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %edi
	callq	_strcmp
	movq	%r12, %rbx
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	addq	$8, %rbx
	movq	(%r13), %rsi
	movl	(%rax), %edi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_12
	jmp	LBB0_11
LBB0_13:
	movq	%r15, %rdi
	callq	_free
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.14:
	addq	$8, %r12
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_rpc_set_app
	movq	-8(%r12), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_iwdp_add_app_id
	movq	(%r12), %rsi
	addq	$8, %r12
	testq	%rsi, %rsi
	jne	LBB0_15
LBB0_16:
	movq	_RPC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_SUCCESS,4,2                ## @RPC_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwdp_on_reportConnectedApplicationList ; -- Begin function iwdp_on_reportConnectedApplicationList
	.p2align	2
_iwdp_on_reportConnectedApplicationList: ; @iwdp_on_reportConnectedApplicationList
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldrsw	x8, [x0]
	ldr	w21, [x8, #8]
	ldr	w9, [x8]
	cbz	w9, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	cbnz	x8, LBB0_3
	b	LBB0_16
LBB0_2:
	mov	w9, #1
	str	w9, [x8]
	ldr	w0, [x8, #4]
	bl	_iwdp_log_connect
	ldr	x8, [x20]
	cbz	x8, LBB0_16
LBB0_3:
	mov	x0, x21
	bl	_ht_keys
	mov	x21, x0
	ldr	x1, [x0]
	cbz	x1, LBB0_13
; %bb.4:
	mov	x22, x21
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x22]
	mov	x0, x19
	bl	_iwdp_remove_app_id
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x22, #8]!
	cbz	x1, LBB0_13
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x8]
	bl	_strcmp
	mov	x23, x20
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x23, x20
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23, #8]!
	cbz	x8, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x1, [x22]
	ldr	w0, [x8]
	bl	_strcmp
	cbnz	x0, LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x23]
	cbnz	x8, LBB0_6
	b	LBB0_5
LBB0_13:
	mov	x0, x21
	bl	_free
	ldr	x1, [x20]
	cbz	x1, LBB0_16
; %bb.14:
	add	x20, x20, #8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_rpc_set_app
	ldur	x8, [x20, #-8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_iwdp_add_app_id
	ldr	x1, [x20], #8
	cbnz	x1, LBB0_15
LBB0_16:
Lloh0:
	adrp	x8, _RPC_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_SUCCESS,4,2                ; @RPC_SUCCESS
.subsections_via_symbols
