	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coresight_orphan_match
_coresight_orphan_match:                ## @coresight_orphan_match
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_to_coresight_device
	cmpq	%r14, %rax
	je	LBB0_22
## %bb.1:
	cmpl	$0, (%rax)
	je	LBB0_22
## %bb.2:
	movq	16(%rax), %rcx
	movl	(%rcx), %r9d
	testl	%r9d, %r9d
	jle	LBB0_3
## %bb.4:
	movq	8(%rcx), %r8
	cmpl	$1, %r9d
	jne	LBB0_6
## %bb.5:
	xorl	%esi, %esi
	xorl	%ebx, %ebx
LBB0_16:
	movl	%ebx, %ecx
	testb	$1, %r9b
	je	LBB0_21
## %bb.17:
	shlq	$4, %rsi
	cmpq	$0, 8(%r8,%rsi)
	jne	LBB0_20
## %bb.18:
	movq	(%r8,%rsi), %rdx
	movl	$1, %ecx
	cmpq	8(%r14), %rdx
	jne	LBB0_21
## %bb.19:
	leaq	(%r8,%rsi), %rcx
	addq	$8, %rcx
	movq	%r14, (%rcx)
LBB0_20:
	movl	%ebx, %ecx
	jmp	LBB0_21
LBB0_3:
	xorl	%ecx, %ecx
LBB0_21:
	movl	%ecx, (%rax)
LBB0_22:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	%r9d, %r10d
	andl	$-2, %r10d
	leaq	24(%r8), %rcx
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%edi, %ebx
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$2, %rsi
	addq	$32, %rcx
	cmpq	%rsi, %r10
	je	LBB0_16
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -16(%rcx)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-24(%rcx), %rdx
	movl	$1, %edi
	cmpq	8(%r14), %rdx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, -16(%rcx)
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edi
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, (%rcx)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-8(%rcx), %rdx
	movl	$1, %ebx
	cmpq	8(%r14), %rdx
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, (%rcx)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_coresight_orphan_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coresight_orphan_match
_coresight_orphan_match:                ; @coresight_orphan_match
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_to_coresight_device
	cmp	x0, x19
	b.eq	LBB0_11
; %bb.1:
	ldr	w8, [x0]
	cbz	w8, LBB0_11
; %bb.2:
	ldr	x10, [x0, #16]
	ldr	w8, [x10]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	w9, #0
	ldr	x10, [x10, #8]
	add	x10, x10, #8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x19, [x10]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x10, x10, #16
	subs	x8, x8, #1
	b.eq	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cbnz	x11, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x11, [x10, #-8]
	ldr	x12, [x19, #8]
	cmp	x11, x12
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w9, #1
	b	LBB0_5
LBB0_9:
	mov	w9, #0
LBB0_10:
	str	w9, [x0]
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_coresight_orphan_match
.subsections_via_symbols
