	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_watch
_remove_watch:                          ## @remove_watch
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_dbus_watch_get_flags
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_dbus_watch_get_unix_fd
	movl	%eax, %ebx
	movq	_EVENT_TYPE_EXCEPTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_eloop_unregister_sock
	movq	_DBUS_WATCH_READABLE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_EVENT_TYPE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_eloop_unregister_sock
LBB0_2:
	movq	_DBUS_WATCH_WRITABLE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_EVENT_TYPE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_eloop_unregister_sock
LBB0_4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dbus_watch_set_data            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EVENT_TYPE_EXCEPTION,4,2       ## @EVENT_TYPE_EXCEPTION
	.comm	_DBUS_WATCH_READABLE,4,2        ## @DBUS_WATCH_READABLE
	.comm	_EVENT_TYPE_READ,4,2            ## @EVENT_TYPE_READ
	.comm	_DBUS_WATCH_WRITABLE,4,2        ## @DBUS_WATCH_WRITABLE
	.comm	_EVENT_TYPE_WRITE,4,2           ## @EVENT_TYPE_WRITE
	.no_dead_strip	_remove_watch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_watch
_remove_watch:                          ; @remove_watch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_dbus_watch_get_flags
	mov	x21, x0
	mov	x0, x19
	bl	_dbus_watch_get_unix_fd
	mov	x20, x0
Lloh0:
	adrp	x8, _EVENT_TYPE_EXCEPTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVENT_TYPE_EXCEPTION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_eloop_unregister_sock
Lloh3:
	adrp	x8, _DBUS_WATCH_READABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBUS_WATCH_READABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EVENT_TYPE_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EVENT_TYPE_READ@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eloop_unregister_sock
LBB0_2:
Lloh9:
	adrp	x8, _DBUS_WATCH_WRITABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DBUS_WATCH_WRITABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _EVENT_TYPE_WRITE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EVENT_TYPE_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eloop_unregister_sock
LBB0_4:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dbus_watch_set_data
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EVENT_TYPE_EXCEPTION,4,2       ; @EVENT_TYPE_EXCEPTION
	.comm	_DBUS_WATCH_READABLE,4,2        ; @DBUS_WATCH_READABLE
	.comm	_EVENT_TYPE_READ,4,2            ; @EVENT_TYPE_READ
	.comm	_DBUS_WATCH_WRITABLE,4,2        ; @DBUS_WATCH_WRITABLE
	.comm	_EVENT_TYPE_WRITE,4,2           ; @EVENT_TYPE_WRITE
	.no_dead_strip	_remove_watch
.subsections_via_symbols
