	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_parse_apps                 ## -- Begin function rpc_parse_apps
	.p2align	4, 0x90
_rpc_parse_apps:                        ## @rpc_parse_apps
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, (%rsi)
	callq	_plist_get_node_type
	movq	_PLIST_DICT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.2:
	movq	%rbx, %rdi
	callq	_plist_dict_get_size
	movq	%rax, %r12
	leaq	1(%rax), %rdi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	movq	$0, -72(%rbp)
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_plist_dict_new_iter
	movq	-72(%rbp), %r13
	testq	%r12, %r12
	je	LBB0_17
## %bb.4:
	testq	%r13, %r13
	je	LBB0_17
## %bb.5:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -48(%rbp)
	movq	$0, -80(%rbp)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	leaq	-48(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	callq	_plist_dict_next_item
	movq	$0, -64(%rbp)
	cmpq	$0, -48(%rbp)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_rpc_parse_app
	testl	%eax, %eax
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi
	movq	-64(%rbp), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testl	%eax, %eax
	sete	%r15b
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, -8(%rcx,%r14,8)
	movq	-48(%rbp), %rdi
	callq	_free
	movq	-72(%rbp), %r13
	cmpq	%r12, %r14
	jae	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	testb	%r15b, %r15b
	jne	LBB0_6
LBB0_13:
	movq	%r13, %rdi
	callq	_free
	testb	%r15b, %r15b
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_18
LBB0_14:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_rpc_free_apps
LBB0_15:
	movq	_RPC_ERROR@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	%r13, %rdi
	callq	_free
	testq	%r13, %r13
	je	LBB0_14
LBB0_18:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
	movq	_RPC_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_ERROR,4,2                  ## @RPC_ERROR
	.comm	_PLIST_DICT,8,3                 ## @PLIST_DICT
	.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	_rpc_parse_apps                 ; -- Begin function rpc_parse_apps
	.p2align	2
_rpc_parse_apps:                        ; @rpc_parse_apps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x1, LBB0_14
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	str	xzr, [x1]
	bl	_plist_get_node_type
Lloh0:
	adrp	x8, _PLIST_DICT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLIST_DICT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.2:
	mov	x0, x20
	bl	_plist_dict_get_size
	mov	x22, x0
	add	x0, x0, #1
	mov	w1, #8
	bl	_calloc
	cbz	x0, LBB0_14
; %bb.3:
	mov	x21, x0
	str	xzr, [sp, #24]
	add	x1, sp, #24
	mov	x0, x20
	bl	_plist_dict_new_iter
	ldr	x23, [sp, #24]
	cbz	x22, LBB0_16
; %bb.4:
	cbz	x23, LBB0_16
; %bb.5:
	mov	x24, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [sp, #8]
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x23
	bl	_plist_dict_next_item
	str	xzr, [sp]
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_rpc_parse_app
	cbz	w0, LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w25, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #16]
	ldr	x8, [sp]
	ldr	w1, [x8]
	bl	_strcmp
	cmp	w0, #0
	cset	w25, eq
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp]
	str	x8, [x21, x24, lsl #3]
	ldr	x0, [sp, #16]
	bl	_free
	add	x24, x24, #1
	ldr	x23, [sp, #24]
	cmp	x24, x22
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	tbnz	w25, #0, LBB0_6
LBB0_12:
	mov	x0, x23
	bl	_free
	tbnz	w25, #0, LBB0_17
LBB0_13:
	mov	x0, x21
	bl	_rpc_free_apps
LBB0_14:
Lloh3:
	adrp	x8, _RPC_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RPC_ERROR@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	mov	x0, x23
	bl	_free
	cbz	x23, LBB0_13
LBB0_17:
	str	x21, [x19]
Lloh5:
	adrp	x8, _RPC_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_ERROR,4,2                  ; @RPC_ERROR
	.comm	_PLIST_DICT,8,3                 ; @PLIST_DICT
	.comm	_RPC_SUCCESS,4,2                ; @RPC_SUCCESS
.subsections_via_symbols
