	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coresight_remove_match
_coresight_remove_match:                ## @coresight_remove_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_to_coresight_device
	cmpq	%rbx, %rax
	je	LBB0_7
## %bb.1:
	movq	16(%rax), %rdx
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.2:
	movq	8(%rdx), %rdx
	shlq	$4, %rcx
	xorl	%esi, %esi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rsi
	cmpq	%rsi, %rcx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rdx,%rsi)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rdi
	cmpq	(%rdx,%rsi), %rdi
	jne	LBB0_6
## %bb.5:
	movl	$1, (%rax)
	movq	$0, 8(%rdx,%rsi)
	callq	_fwnode_handle_put
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_coresight_remove_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coresight_remove_match
_coresight_remove_match:                ; @coresight_remove_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_7
; %bb.1:
	ldr	x8, [x0, #16]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.2:
	ldr	x8, [x8, #8]
	add	x10, x8, #8
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #16
	subs	x9, x9, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x10]
	cbz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldur	x11, [x10, #-8]
	cmp	x8, x11
	b.ne	LBB0_3
; %bb.6:
	mov	w9, #1
	str	w9, [x0]
	str	xzr, [x10]
	mov	x0, x8
	bl	_fwnode_handle_put
LBB0_7:
	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_remove_match
.subsections_via_symbols
