	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_recv_packet                 ## -- Begin function dl_recv_packet
	.p2align	4, 0x90
_dl_recv_packet:                        ## @dl_recv_packet
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rdi), %r12
	movq	%rsi, %rdi
	callq	_dl_sscanf_uint32
	cmpq	%r15, %rax
	jne	LBB0_2
## %bb.1:
	cmpq	$15, %rax
	jbe	LBB0_2
## %bb.3:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %rdi
	callq	_dl_sscanf_uint32
	movq	%rax, %r13
	leaq	8(%rbx), %rdi
	callq	_dl_sscanf_uint32
	movq	%rax, %r12
	leaq	12(%rbx), %rdi
	callq	_dl_sscanf_uint32
	cmpq	$1, %r13
	jne	LBB0_5
## %bb.4:
	movq	_TYPE_PLIST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_5
## %bb.6:
	addq	$-16, %r15
	addq	$16, %rbx
	movq	$0, -64(%rbp)
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_plist_from_xml
	movq	$0, -72(%rbp)
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.8:
	leaq	L_.str(%rip), %rsi
	callq	_plist_dict_get_item
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_plist_get_node_type
	movq	_PLIST_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.9:
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_plist_get_string_val
	movq	-72(%rbp), %rdi
	movq	_DL_ERROR@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.15:
	movq	-72(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.22:
	movq	-72(%rbp), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_26
## %bb.23:
	movq	-64(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_plist_dict_get_item
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_plist_get_uint_val
	movl	(%r15), %r15d
	movq	-48(%rbp), %rdi
	callq	_HT_KEY
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ht_remove
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	%rax, %r15
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	*(%r14)
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_26
LBB0_2:
	movq	_DL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_27
LBB0_5:
	movq	_DL_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_27
LBB0_7:
	movq	_DL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_26:
	movq	-72(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	callq	_plist_free
LBB0_27:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	-64(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_plist_dict_get_item
	testq	%rax, %rax
	je	LBB0_26
## %bb.12:
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_plist_get_uint_val
	cmpq	$0, -48(%rbp)
	jne	LBB0_14
## %bb.13:
	movq	_DL_SUCCESS@GOTPCREL(%rip), %r15
LBB0_14:
	movl	(%r15), %ebx
	jmp	LBB0_26
LBB0_16:
	movq	-64(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_plist_dict_get_item
	testq	%rax, %rax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_26
## %bb.17:
	movq	%rax, %r15
	movq	$0, -48(%rbp)
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdi
	callq	_plist_dict_get_item
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_plist_get_uint_val
	movq	$0, -96(%rbp)
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_plist_dict_get_item
	leaq	-96(%rbp), %rsi
	movq	%rax, %rdi
	callq	_plist_get_uint_val
	movq	$0, -56(%rbp)
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_plist_dict_get_item
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdi
	callq	_plist_get_string_val
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.19:
	callq	_strlen
	cmpl	$24, %eax
	jne	LBB0_21
## %bb.20:
	movl	$26, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	-56(%rbp), %rsi
	movq	%rax, %rdi
	movl	$8, %edx
	callq	_memcpy
	leaq	9(%rbx), %rdi
	movq	-56(%rbp), %rsi
	addq	$8, %rsi
	movl	$17, %edx
	callq	_memcpy
	movb	$45, 8(%rbx)
	movq	-56(%rbp), %rdi
	callq	_free
	movq	%rbx, -56(%rbp)
LBB0_21:
	movq	$0, -88(%rbp)
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_plist_dict_get_item
	leaq	-88(%rbp), %rsi
	movq	%rax, %rdi
	callq	_plist_get_uint_val
	movl	(%r12), %ebx
	movq	-48(%rbp), %rdi
	callq	_HT_KEY
	movq	-56(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ht_put
	movq	-56(%rbp), %rsi
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	callq	*8(%r14)
	movl	%eax, %ebx
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_DL_ERROR,4,2                   ## @DL_ERROR
	.comm	_TYPE_PLIST,8,3                 ## @TYPE_PLIST
	.comm	_DL_SUCCESS,4,2                 ## @DL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MessageType"

	.comm	_PLIST_STRING,8,3               ## @PLIST_STRING
L_.str.1:                               ## @.str.1
	.asciz	"Result"

L_.str.2:                               ## @.str.2
	.asciz	"Number"

L_.str.3:                               ## @.str.3
	.asciz	"Attached"

L_.str.4:                               ## @.str.4
	.asciz	"Properties"

L_.str.5:                               ## @.str.5
	.asciz	"DeviceID"

L_.str.6:                               ## @.str.6
	.asciz	"ProductID"

L_.str.7:                               ## @.str.7
	.asciz	"SerialNumber"

L_.str.8:                               ## @.str.8
	.asciz	"LocationID"

L_.str.9:                               ## @.str.9
	.asciz	"Detached"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_recv_packet                 ; -- Begin function dl_recv_packet
	.p2align	2
_dl_recv_packet:                        ; @dl_recv_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x24, [x0, #16]
	mov	x0, x1
	bl	_dl_sscanf_uint32
	cmp	x0, x21
	b.ne	LBB0_13
; %bb.1:
	cmp	x0, #15
	b.ls	LBB0_13
; %bb.2:
	add	x0, x20, #4
	bl	_dl_sscanf_uint32
	mov	x23, x0
	add	x0, x20, #8
	bl	_dl_sscanf_uint32
	mov	x22, x0
	add	x0, x20, #12
	bl	_dl_sscanf_uint32
	cmp	x23, #1
	b.ne	LBB0_14
; %bb.3:
Lloh0:
	adrp	x8, _TYPE_PLIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_PLIST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_14
; %bb.4:
	sub	x1, x21, #16
	add	x0, x20, #16
	str	xzr, [sp, #40]
	add	x2, sp, #40
	bl	_plist_from_xml
	str	xzr, [sp, #32]
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_15
; %bb.5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plist_dict_get_item
	mov	x20, x0
	bl	_plist_get_node_type
Lloh5:
	adrp	x8, _PLIST_STRING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PLIST_STRING@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.6:
	add	x1, sp, #32
	mov	x0, x20
	bl	_plist_get_string_val
	ldr	x0, [sp, #32]
Lloh8:
	adrp	x21, _DL_ERROR@GOTPAGE
Lloh9:
	ldr	x21, [x21, _DL_ERROR@GOTPAGEOFF]
	ldr	w20, [x21]
	cbz	x0, LBB0_17
; %bb.7:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_19
; %bb.8:
	ldr	x0, [sp, #32]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_21
; %bb.9:
	ldr	x0, [sp, #32]
Lloh14:
	adrp	x1, l_.str.9@PAGE
Lloh15:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_17
; %bb.10:
	ldr	x0, [sp, #40]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_plist_dict_get_item
	cbz	x0, LBB0_17
; %bb.11:
	str	xzr, [sp, #24]
	add	x1, sp, #24
	bl	_plist_get_uint_val
	ldr	w21, [x24]
	ldr	x0, [sp, #24]
	bl	_HT_KEY
	mov	x1, x0
	mov	x0, x21
	bl	_ht_remove
	cbz	x0, LBB0_17
; %bb.12:
	mov	x21, x0
	ldr	x8, [x19]
	ldr	w2, [sp, #24]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	mov	x20, x0
	mov	x0, x21
	bl	_free
	b	LBB0_17
LBB0_13:
Lloh18:
	adrp	x8, _DL_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DL_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	b	LBB0_18
LBB0_14:
Lloh21:
	adrp	x8, _DL_SUCCESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DL_SUCCESS@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	b	LBB0_18
LBB0_15:
Lloh24:
	adrp	x8, _DL_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DL_ERROR@GOTPAGEOFF]
LBB0_16:
	ldr	w20, [x8]
LBB0_17:
	ldr	x0, [sp, #32]
	bl	_free
	ldr	x0, [sp, #40]
	bl	_plist_free
LBB0_18:
	mov	x0, x20
	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
	add	sp, sp, #112
	ret
LBB0_19:
	ldr	x0, [sp, #40]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_plist_dict_get_item
	cbz	x0, LBB0_17
; %bb.20:
	str	xzr, [sp, #24]
	add	x1, sp, #24
	bl	_plist_get_uint_val
	ldr	x8, [sp, #24]
Lloh28:
	adrp	x9, _DL_SUCCESS@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DL_SUCCESS@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x21, eq
	b	LBB0_16
LBB0_21:
	ldr	x0, [sp, #40]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_plist_dict_get_item
	cbz	x0, LBB0_17
; %bb.22:
	mov	x21, x0
	str	xzr, [sp, #24]
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_plist_dict_get_item
	add	x1, sp, #24
	bl	_plist_get_uint_val
	str	xzr, [sp, #16]
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_plist_dict_get_item
	add	x1, sp, #16
	bl	_plist_get_uint_val
	str	xzr, [sp, #8]
Lloh36:
	adrp	x1, l_.str.7@PAGE
Lloh37:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_plist_dict_get_item
	cbz	x0, LBB0_26
; %bb.23:
	add	x1, sp, #8
	bl	_plist_get_string_val
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_26
; %bb.24:
	bl	_strlen
	cmp	w0, #24
	b.ne	LBB0_26
; %bb.25:
	mov	w0, #26
	bl	_malloc
	mov	x20, x0
	ldr	x1, [sp, #8]
	mov	w2, #8
	bl	_memcpy
	add	x0, x20, #9
	ldr	x8, [sp, #8]
	add	x1, x8, #8
	mov	w2, #17
	bl	_memcpy
	mov	w8, #45
	strb	w8, [x20, #8]
	ldr	x0, [sp, #8]
	bl	_free
	str	x20, [sp, #8]
LBB0_26:
	str	xzr, [sp]
Lloh38:
	adrp	x1, l_.str.8@PAGE
Lloh39:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_plist_dict_get_item
	mov	x1, sp
	bl	_plist_get_uint_val
	ldr	w20, [x24]
	ldr	x0, [sp, #24]
	bl	_HT_KEY
	mov	x1, x0
	ldr	x2, [sp, #8]
	mov	x0, x20
	bl	_ht_put
	ldr	x8, [x19, #8]
	ldr	x1, [sp, #8]
	ldr	w2, [sp, #24]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_DL_ERROR,4,2                   ; @DL_ERROR
	.comm	_TYPE_PLIST,8,3                 ; @TYPE_PLIST
	.comm	_DL_SUCCESS,4,2                 ; @DL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MessageType"

	.comm	_PLIST_STRING,8,3               ; @PLIST_STRING
l_.str.1:                               ; @.str.1
	.asciz	"Result"

l_.str.2:                               ; @.str.2
	.asciz	"Number"

l_.str.3:                               ; @.str.3
	.asciz	"Attached"

l_.str.4:                               ; @.str.4
	.asciz	"Properties"

l_.str.5:                               ; @.str.5
	.asciz	"DeviceID"

l_.str.6:                               ; @.str.6
	.asciz	"ProductID"

l_.str.7:                               ; @.str.7
	.asciz	"SerialNumber"

l_.str.8:                               ; @.str.8
	.asciz	"LocationID"

l_.str.9:                               ; @.str.9
	.asciz	"Detached"

.subsections_via_symbols
