	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wi_send_plist                  ## -- Begin function wi_send_plist
	.p2align	4, 0x90
_wi_send_plist:                         ## @wi_send_plist
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	$0, -64(%rbp)
	movq	$0, -80(%rbp)
	leaq	-64(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	movq	%rax, %rdi
	callq	_plist_to_bin
	movq	_WI_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rbx
	subq	%r13, %rbx
	movq	_MAX_RPC_LEN@GOTPCREL(%rip), %r14
	movq	%r13, %r12
	movq	(%r14), %r15
	xorl	%eax, %eax
	callq	_plist_new_dict
	movq	-64(%rbp), %rdi
	addq	%r13, %rdi
	movq	-80(%rbp), %rsi
	subq	%r13, %rsi
	cmpq	%r15, %rbx
	cmovgq	(%r14), %rsi
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str(%rip), %rax
	cmovgq	%rax, %r12
	callq	_plist_new_data
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_plist_dict_set_item
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_plist_to_bin
	movq	%r14, %rdi
	callq	_plist_free
	cmpq	$0, -56(%rbp)
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	cmpq	%r15, %rbx
	setg	%al
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	-80(%rbp), %r14
	movq	%r14, -48(%rbp)
	movq	$0, -64(%rbp)
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	movzbl	-45(%rbp), %eax
	movb	%al, (%r12)
	movzbl	-46(%rbp), %eax
	movb	%al, 1(%r12)
	movzbl	-47(%rbp), %eax
	movb	%al, 2(%r12)
	movzbl	-48(%rbp), %eax
	movq	%r12, %rdi
	addq	$4, %rdi
	movb	%al, 3(%r12)
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	callq	_memcpy
	movq	-56(%rbp), %rdi
	callq	_free
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_wi_on_debug
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	*(%rbx)
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_free
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_MAX_RPC_LEN@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	jmp	LBB0_1
LBB0_11:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_6:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_12
## %bb.7:
	movq	-56(%rbp), %rdi
	callq	_free
	jmp	LBB0_12
LBB0_10:
	movq	_WI_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_12:
	movq	-64(%rbp), %rdi
	callq	_free
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WI_ERROR,8,3                   ## @WI_ERROR
	.comm	_MAX_RPC_LEN,8,3                ## @MAX_RPC_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WIRPartialMessageKey"

L_.str.1:                               ## @.str.1
	.asciz	"WIRFinalMessageKey"

L_.str.2:                               ## @.str.2
	.asciz	"wi.send_packet"

	.comm	_WI_SUCCESS,8,3                 ## @WI_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wi_send_plist                  ; -- Begin function wi_send_plist
	.p2align	2
_wi_send_plist:                         ; @wi_send_plist
	.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	x8, x1
	mov	x20, x0
	ldr	x24, [x0, #8]
	stp	xzr, xzr, [sp, #32]
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x8
	bl	_plist_to_bin
	mov	x25, #0
Lloh0:
	adrp	x8, _WI_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WI_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh3:
	adrp	x21, l_.str.2@PAGE
Lloh4:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh5:
	adrp	x27, _MAX_RPC_LEN@GOTPAGE
Lloh6:
	ldr	x27, [x27, _MAX_RPC_LEN@GOTPAGEOFF]
Lloh7:
	adrp	x26, l_.str@PAGE
Lloh8:
	add	x26, x26, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [sp, #16]
	ldr	x8, [x24]
	cbz	x8, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #32]
	sub	x19, x8, x25
	ldr	x28, [x27]
	bl	_plist_new_dict
	mov	x22, x0
	ldp	x9, x8, [sp, #32]
	add	x0, x8, x25
	ldr	x8, [x27]
	sub	x9, x9, x25
	cmp	x19, x28
	csel	x1, x8, x9, gt
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
	csel	x23, x26, x8, gt
	bl	_plist_new_data
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_plist_dict_set_item
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x22
	bl	_plist_to_bin
	mov	x0, x22
	bl	_plist_free
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	x19, x28
	cset	w19, gt
	ldr	x8, [sp, #16]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w19, #0
	ldr	x9, [sp, #40]
	ldr	x8, [sp, #32]
	stp	x8, x9, [sp, #16]
	str	xzr, [sp, #40]
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x22, x8, #4
	mov	x0, x22
	bl	_malloc
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, x0
	ldr	x8, [sp, #16]
	lsr	x8, x8, #24
	strb	w8, [x0]
	ldr	x8, [sp, #16]
	lsr	x8, x8, #16
	strb	w8, [x0, #1]
	ldr	x8, [sp, #16]
	lsr	x8, x8, #8
	strb	w8, [x0, #2]
	ldr	x8, [sp, #16]
	add	x0, x0, #4
	strb	w8, [x23, #3]
	ldp	x2, x1, [sp, #16]
	bl	_memcpy
	ldr	x0, [sp, #24]
	bl	_free
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	_wi_on_debug
	ldr	x8, [x20]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	blr	x8
	mov	x22, x0
	mov	x0, x23
	bl	_free
	cbnz	x22, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	w19, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x27]
	add	x25, x8, x25
	b	LBB0_1
LBB0_9:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_13
LBB0_10:
	ldr	x8, [x24]
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x0, [sp, #24]
	bl	_free
	b	LBB0_13
LBB0_12:
Lloh11:
	adrp	x8, _WI_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WI_SUCCESS@GOTPAGEOFF]
Lloh13:
	ldr	x19, [x8]
LBB0_13:
	ldr	x0, [sp, #40]
	bl	_free
	mov	x0, x19
	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	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_WI_ERROR,8,3                   ; @WI_ERROR
	.comm	_MAX_RPC_LEN,8,3                ; @MAX_RPC_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WIRPartialMessageKey"

l_.str.1:                               ; @.str.1
	.asciz	"WIRFinalMessageKey"

l_.str.2:                               ; @.str.2
	.asciz	"wi.send_packet"

	.comm	_WI_SUCCESS,8,3                 ; @WI_SUCCESS
.subsections_via_symbols
