	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generic_observer_detach
_generic_observer_detach:               ## @generic_observer_detach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpq	%rsi, 8(%rax)
	je	LBB0_2
## %bb.5:
	movq	%rax, %rdx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdx, %rcx
	movq	%rax, %rdx
	cmpq	%rsi, 8(%rax)
	jne	LBB0_6
	jmp	LBB0_4
LBB0_7:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_warning                        ## TAILCALL
LBB0_2:
	xorl	%ecx, %ecx
LBB0_4:
	testq	%rcx, %rcx
	movq	(%rax), %rdx
	cmovneq	%rcx, %rdi
	movq	%rdx, (%rdi)
	movq	%rax, %rdi
	popq	%rbp
	jmp	_xfree_observer_list_node       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to detach observer"

	.no_dead_strip	_generic_observer_detach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generic_observer_detach
_generic_observer_detach:               ; @generic_observer_detach
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x9, [x8, #8]
	cmp	x9, x1
	b.eq	LBB0_6
; %bb.2:
	mov	x9, x8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x9]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x8, #8]
	mov	x10, x9
	mov	x9, x8
	cmp	x11, x1
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	_warning
LBB0_6:
	mov	x10, #0
LBB0_7:
	ldr	x9, [x8]
	cmp	x10, #0
	csel	x10, x0, x10, eq
	str	x9, [x10]
	mov	x0, x8
	b	_xfree_observer_list_node
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to detach observer"

	.no_dead_strip	_generic_observer_detach
.subsections_via_symbols
